ITPub博客

首页 > 数据库 > > SAP HANA] HANA 数据库的启动与关闭

SAP HANA] HANA 数据库的启动与关闭

作者:u_9ff4c058a0e0 时间:2022-05-07 15:54:14 0 删除 编辑

本文重点介绍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.不同管理工具需要的账号与密码

ToolsRoot<sid>admCockpit UserDB user
SAP HANA CockpitNOYESYESYES
SAPControlYESYESNONO
HDBNOYESNONO
SQL via HANA CockpitNONOYESYES
SQL via HDBSQLNOYESNONO

 

 

 

 

 注意 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.

来源 https://www.cnblogs.com/tingxin/p/12567136.html

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/69999831/viewspace-3160133/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2022-02-11

  • 博文量
    1828
  • 访问量
    20574