ITPub博客

首页 > 数据库 > > 安装过程(HA模式)-安装DMServer

安装过程(HA模式)-安装DMServer

作者:GaussDB_数据库 时间:2020-02-11 10:11:07 0 删除 编辑

安装主机

执行以下步骤在主机中安装Ddatabase Manager:

  1. 使用dminstalluser帐户,执行如下命令在主机中安装dmserver:
    python install.py install --with-ha
    输入主数据库和指标数据库的密码。
  2. 例如:

    Enter password for Primary & Metric Database:
    再次输入密码。
  3. 例如:

    Retype password:
    Note:Remember the Primary & Metric Database password, it helps to
    1. Resetting Admin Password.
    2. Unlocking Admin User.
     说明:

    用户需记住主数据库和指标数据库的密码,以便后续进行以下操作:

    1. 重置Admin密码。
    2. 解锁Admin用户。

  4. 通过以下方式创建Database Manager管理员账户admin的密码:

    • 如果选择输入yes,则继续输入Database Manager管理员账户admin的密码,并再次输入该密码进行确认。

      Database Manager安装成功后,系统显示信息如下:

      [dminstalluser@blrlabvm_171_29 ~]$ python install.py install --with-ha     
      Enter password for Primary & Metric Database:
      Retype password:
      Note:Remember the Primary & Metric Database password, it helps to
      1. Resetting Admin Password.
      2. Unlocking Admin User.
      Do you want create Database Manager Admin password (Yes/No)? Yes
      Enter Database Manager Admin password:
      Retype password:
      Distributing package...
      Checking for crontab user permission...
      Installing haproxy on 10.X.X.X...
      Installing on Local host...
      [27/27] Pre Check for installation - COMPLETED
      [27/27] Preparing installation - COMPLETED
      [27/27] Deploying - COMPLETED
      [27/27] Configuring - COMPLETED
      [27/27] Starting - COMPLETED
      [27/27] Verify Start - COMPLETED
      [27/27] Cleaning up temporary files - COMPLETED
      Installing on 10.X.X.X...
      [27/27] Pre Check for installation - COMPLETED
      [27/27] Preparing installation - COMPLETED
      [27/27] Deploying - COMPLETED
      [27/27] Configuring - COMPLETED
      [27/27] Starting - COMPLETED
      [27/27] Verify Start - COMPLETED
      [27/27] Cleaning up temporary files - COMPLETED
      Registering services on Local host.
      Registering services...
      . . . . . . . . . . . . . . . . . . . .
      Some Service Registrations are pending, check the status after few minutes.
      If status is still unsuccessful, refer to troubleshooting.
      Registering services on 10.X.X.X.
      Registering services...
      .
      Exchanging install summary...
      Finished Exchanging install summary...
      Activating proxy monitor on Local host...
      Activating proxy monitor on 10.X.X.X...
      Proxy monitor activated successfully.
      Database Manager HA cluster has been installed successfully.
      Access the below URL for High availability...
      https://10.X.X.X:9190/APW
    • 如果选择输入no,则系统将使用admin的默认密码,并在安装完成后提示用户立即修改默认密码。

      安装成功后,显示如下信息(以默认设置安装为例)。

      [dminstalluser@blrlabvm_171_29 ~]$ python install.py install --with-ha     
      Enter password for Primary & Metric Database:
      Retype password:
      Note:Remember the Primary & Metric Database password, it helps to
      1. Resetting Admin Password.
      2. Unlocking Admin User.
      Do you want create Database Manager Admin password (Yes/No)? No
      System will be using default password for admin. Please change the password after installation.
      Enter Database Manager Admin password:
      Retype password:
      Distributing package...
      Checking for crontab user permission...
      Installing haproxy on 10.X.X.X...
      Installing on Local host...
      [27/27] Pre Check for installation - COMPLETED
      [27/27] Preparing installation - COMPLETED
      [27/27] Deploying - COMPLETED
      [27/27] Configuring - COMPLETED
      [27/27] Starting - COMPLETED
      [27/27] Verify Start - COMPLETED
      [27/27] Cleaning up temporary files - COMPLETED
      Installing on 10.X.X.X...
      [27/27] Pre Check for installation - COMPLETED
      [27/27] Preparing installation - COMPLETED
      [27/27] Deploying - COMPLETED
      [27/27] Configuring - COMPLETED
      [27/27] Starting - COMPLETED
      [27/27] Verify Start - COMPLETED
      [27/27] Cleaning up temporary files - COMPLETED
      Registering services on Local host.
      Registering services...
      . . . . . . . . . . . . . . . . . . . .
      Some Service Registrations are pending, check the status after few minutes.
      If status is still unsuccessful, refer to troubleshooting.
      Registering services on 10.X.X.X.
      Registering services...
      .
      Exchanging install summary...
      Finished Exchanging install summary...
      Activating proxy monitor on Local host...
      Activating proxy monitor on 10.X.X.X...
      Proxy monitor activated successfully.
      Database Manager HA cluster has been installed successfully.
      Access the below URL for High availability...
      https://10.X.X.X:9190/APW
     说明:

    默认密码为Admin@123。

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

上一篇: 主页-主页概述
请登录后发表评论 登录
全部评论

注册时间:2020-01-06

  • 博文量
    2907
  • 访问量
    19256