SAP 应用-创建SAP S/4HANA(带HANA):查看SAP HANA部署状态

时间:2025-02-12 14:52:05

查看SAP HANA部署状态

  1. 使用PuTTY软件,以“root”帐号和密钥文件(“.ppk”文件)为鉴权方式,登录绑定了弹性IP的NAT Server,并通过SSH协议,跳转到SAP HANA服务器。
  2. 检查SAP HANA安装结果。

    1. 切换到“/hana/shared/$SID/HDB00/”目录。

      例如

      cd /hana/shared/S00/HDB00

    2. 切换到数据库系统管理员用户。

      管理员帐号为安装过程中界面提示的“s00adm”

      su - s00adm

    3. 查询数据库的版本。

      如果能查询到版本信息,则表示数据库软件安装成功。

      HDB -version

      数据库安装成功,系统返回的版本信息类似如下所示。

      HDB version info:  version:             2.00.020.00.1500920972  branch:              fa/hana2sp02  git hash:            7f63b0aa11dca2ea54d450aa302319302c2eeaca  git merge time:      2017-07-24 20:29:32  weekstone:           0000.00.0  compile date:        2017-07-24 20:35:12  compile host:        ld4551  compile type:        rel

  3. 检查数据库进程是否运行正常。

    1. 执行命令,检查进程。

      “00”为SAP HANA的实例ID。

      sapcontrol -nr 00 -function GetProcessList

      系统返回结果示例如下,“dispstatus”“GREEN”表示进程正常。

      13.04.2017 16:04:15GetProcessListOKname, description, dispstatus, textstatus, starttime, elapsedtime, pidhdbdaemon, HDB Daemon, GREEN, Running, 2017 04 13 11:18:33, 4:45:42, 3013hdbcompileserver, HDB Compileserver, GREEN, Running, 2017 04 13 11:18:42, 4:45:33, 3154hdbindexserver, HDB Indexserver, GREEN, Running, 2017 04 13 11:18:47, 4:45:28, 3180hdbnameserver, HDB Nameserver, GREEN, Running, 2017 04 13 11:18:34, 4:45:41, 3027hdbpreprocessor, HDB Preprocessor, GREEN, Running, 2017 04 13 11:18:42, 4:45:33, 3156hdbwebdispatcher, HDB Web Dispatcher, GREEN, Running, 2017 04 13 11:19:09, 4:45:06, 3513hdbxsengine, HDB XSEngine, GREEN, Running, 2017 04 13 11:18:47, 4:45:28, 3182
    1. 退回到“root”用户模式。

      exit

support.huaweicloud.com/s4hana-ugqd/s4hana_01_0016.html