Wednesday, 24 April 2013

reset the HANA SYSTEM user password

  • SSH to the HANA system and login as root
  • SU to the <sid>adm user
    • su – anaadm
    • 1.png
  • Identify running HANA services
    • ps aux | grep anaadm
    • 2.png
  • Stop the HANA server
    • ./HDB stop
    • 3.png
  • Verify services are no longer running
    • ps aux | grep anaadm
    • 4.png
  • Start the name server service – this may not get back to a prompt
    • hdbnameserver &
    • 5.png
  • Start index server. Run command even though may not be at a prompt.
    • hdbindexserver –console
    • 6.png
  • Reset password for user SYSTEM
    • ALTER USER SYSTEM PASSWORD Password1234
    • 7.png
  • Stop hdbindexserver service by hitting Ctrl-C
    • 8.png
  • Kill hdbnameserver service
    • killall -9 hdbnameserver
  • Verify all HDB services are stopped
    • ps aux | grep anaadm
    • 9.png
  • Start HANA
    • ./HDB start
  • Verify HANA services are running
    • ps aux | grep anaadm
    • 10.png
  • Update password in HANA studio
    • 11.png

No comments:

Post a Comment