Starting and Stopping SAP HANA
To start and stop an SAP HANA database, you require the credentials of the <sid>adm operating system user. Alternatively, you can also use the root user to start and stop the SAP HANA database using the sapcontrol operating system command.
The SAP start service (sapstartsrv) is the standard SAP mechanism for starting and stopping
systems. It starts all necessary database services, such as the name server, index server, and
for example, the preprocessor services.
You can start or stop the SAP HANA database using the
1)SAP HANA cockpit
2)Operating system commands HDB
3) sapcontrol
SAP HANA cockpit :
Stopping the database
Note:
To start and stop the SAP HANA database using the Overall System Database Status application, you need to provide the <sid>adm credentials. These credentials are needed because the starting and stopping are performed by the sapstartsrv.
Stopping Tenant Databases
Note:
SAP HANA studio doesn’t support starting and stopping of individual tenants.
--> Stopping Tenant database using HANA Cockpit
-->As a system administrator, you can start or stop tenant databases individually using the following SQL commands:
● ALTER SYSTEM START DATABASE <tenant name>
● ALTER SYSTEM STOP DATABASE <tenant name>
Starting and Stopping of Individual SAP HANA Database Services
You can stop and start the individual database services (nameserver, indexserver, xsengine,and so on) running on hosts.
The following are examples of situations where you have to restart an individual database
service:
● A host in a distributed system failed and a standby host took over. However, the services
of the failed host remain inactive even after the host is available again. In this case, you
need to restart the services manually.
● After an update of SAP HANA extended application services, you need to restart the
xsengine service.
Comments
Post a Comment