示例:配置集群并启动监控服务 - Teradata Data Mover

Teradata® Data Mover 安装、配置和升级指南(适用于客户)

Product
Teradata Data Mover
Release Number
17.00
Published
2021 年 11 月
Language
中文 (简体)
Last Update
2021-12-03
dita:mapPath
zh-CN/xmy1574692806525.ditamap
dita:ditavalPath
zh-CN/stp1591127384938.ditaval
dita:id
B035-4102
Product Category
Analytical Ecosystem
dmcluster config 命令用于设置 DM1、DM2、DM3、VP1 和 VP2 服务器之间的 SSH 连接。Data Mover 监控服务会使用这些连接监控活动 Data Mover 组件并在任何活动组件停止工作时启动故障转移。
  1. 在活动 (DM1) 服务器上输入对 failover.properties 文件的以下更改︰
    • local.daemon.host=DM1
    • remote.daemon.host=DM2
    • local.monitor.host=VP1
    • remote.monitor.host=VP2
    • local.repository.host=DM1
    • remote.repository.host=DM2
    • local.agents.host=DM1, DM2, DM3
    • remote.agents.host=DM1, DM2, DM3
  2. 以 root 身份运行 ./dmcluster config 并按照以下提示操作︰
    提示 操作
    Please enter the Root Password for the server running Master Repository: 请提供 DM1 的 root Linux 密码。
    Please enter the Root Password for the server running Slave Repository: 请提供 DM2 的 root Linux 密码。
    Please enter the password for root@DM1(MASTER DAEMON): 请提供 DM1 的 root Linux 密码。
    Please enter the password for root@DM2(SLAVE DAEMON): 请提供 DM2 的 root Linux 密码。
    Please enter the password for root@VP1(MASTER MONITOR): 请提供 VP1 的 root Linux 密码。
    Please enter the password for root@VP2(SLAVE MONITOR): 请提供 VP1 的 root Linux 密码。
    Please enter the password for root@DM3(Master Agent(s)): 请提供 DM3 的 root Linux 密码。