[SAP HANA] HANA 數據庫的啟動與關閉


本文重點介紹HANA 啟動與關閉在不同管理工具的具體用法

  1. HANA 數據庫啟動與關閉的工具
  2. HANA 數據庫啟動與關閉工具需要的賬號與密碼
  3. HANA 數據庫啟動與關閉在各個不同管理工具的具體用法

1.HANA 數據庫管理工具

the whole database system  :             SAP HANA COCKPIT and SAP Control
one or more tenants:                     SAP HANA COCKPIT and SQL
one or more hosts in scale-out scenairo:    HDB and SAPControl
SAP HANA servcies:                       SAP HANA COCKPIT and SQL

2.不同管理工具需要的賬號與密碼

Tools Root <sid>adm Cockpit User DB user
SAP HANA Cockpit NO YES YES YES
SAPControl YES YES NO NO
HDB NO YES NO NO
SQL via HANA Cockpit NO NO YES YES
SQL via HDBSQL NO YES NO NO

 

 

 

 

 注意 SAP HANA cockpit 和SAPcontrol 的特點

 Using SAP HANA Cockpit and the SAPControl function Stop System and Start system will stop the entire sap HANA database system,independently of whether the system is
a singel-host system or a multi-host(scale-out) system.

3.各個管理工具的具體用法

SAPControl

sapcontrol -nr <instancenumber> -function StopSystem
sapcontrol -nr <instancenumber> -function StartSystem
sapcontrol -nr <instancenumber> -function RestartSystem
sapcontrol -nr <instancenumber> -function GetSysteminstanceList
sapcontrol -nr <instancenumber> -function GetProcessList

SQL

alter system start database tenant1
alter system stop database H93

 

HDB

HDB STOP
HDB START
HDB RESTART

 

 注意:

both SAP HANA Cockpit and the SAPControl use the the SAP start servcies (sapstartsrv)to stop and start HANA database system in a controled way.Sapstartsrv start all necessary OS servcies and the SAP HANA Daemon.

The SAP HANA daemon starts all required SAP HANA services, such as the name server,index server and for example the preprocessor services.


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM