Sap Hana Start and Stop Commands

Very important commands which are used for Starting/ Stopping SAP HANA and also how to start Name server and Index Server via command line:

How to Stop HANA via commands:

  • ./HDB stop
  • /usr/sap/hostctrl/exe/sapcontrol -nr &-function StopSystem HDB

How to Start HANA via commands:

  • ./HDB start
    /usr/sap/hostctrl/exe/sapcontrol -nr &-function StartSystem HDB

How to Check Hana Current Status of all Hosts:

/usr/sap/hostctrl/exe/sapcontrol -nr &-function GetSystemInstanceList
How to Start Name Server:

/usr/sap/hdbenv.sh
/usr/sap/exe/hdbnameserver
How to Start Index Server in new console:
/usr/sap/hdbenv.sh
/usr/sap/exe/hdbindexserver -console

Leave a comment