SAP Basis Snippets #2

Start and stop commands for Hana database

Ashwin Sharma P
Mar 30, 2024

First login to <sid>adm user of hana database

su  - <sid>adm

Execute the below command

HDB start

This executes the HDB program in path /usr/sap/<SID>/HDB<instance no.>/

The below command for stopping also uses same HDB program

HDB stop

One more program that can be used for start/stop of Hana DB is the sapcontrol program located in the path /usr/sap/hostctrl/exe/

The start command is as follows

sapcontrol -nr <instance no.> -function Start

The stop command is as given below

sapcontrol -nr <instance no.> -function Stop

--

--

Ashwin Sharma P

A writer who loves to experiment. Learning the art of unopinion. If writings are helpful please support me here: https://www.buymeacoffee.com/ashwinsharmap