Starting and Stopping Distributed SAP HANA Systems Using SAPControl

You can use SAPControl to start or stop all the hosts in a scaled-out SAP HANA system from the command line.
You must be logged on to the SAP system host as user <sid>adm or as a user with root permissions.

To Start the system

/usr/sap/hostctrl/exe/sapcontrol -nr <instance_number> -function StartSystem HDB

To Stop the system

/usr/sap/hostctrl/exe/sapcontrol -nr <instance_number> -function StopSystem HDB

To Query current status of all hosts in the system

/usr/sap/hostctrl/exe/sapcontrol -nr <instance_number> -function GetSystemInstanceListNote

HDB start or HDB stop only starts and stops the local host.

Leave a Reply