Sap Hana Start and Stop

Sap Hana Start and Stop Commands

In this article ,I am going to cover 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 <Instance No> -function StopSystem HDB

 

How to Start HANA via commands:

  • ./HDB start
    /usr/sap/hostctrl/exe/sapcontrol -nr <Instance No> -function StartSystem HDB

 

How to Check Hana Current Status of all Hosts:

/usr/sap/hostctrl/exe/sapcontrol -nr <Instance No> -function GetSystemInstanceList

<HOSTNAME> /usr/sap/hostctrl/exe/sapcontrol -nr 00 -function GetSystemInstanceList

28.10.2017 18:47:07
GetSystemInstanceList
OK
hostname, instanceNr, httpPort, httpsPort, startPriority, features, dispstatus, 0, 50013, 50014, 0.3, HDB|HDB_WORKER, GREEN
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

One Comment

  1. Pingback: SAP HANA | INTRODUCTION - SAP BASIS-1 SOLUTION

Leave a Reply

Your email address will not be published. Required fields are marked *