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

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

Product
Teradata Data Mover
Release Number
17.20
Published
2022 年 9 月
Language
中文 (简体)
Last Update
2022-10-12
dita:mapPath
zh-CN/lzn1650878358910.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 监控服务会使用这些连接监控 designated-active Data Mover 组件并在任何 designated-active 组件停止工作时启动故障转移。
  1. 在 designated-active (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 username for the ACTIVE repository [datamover]: 为 DM1 上的 designated-active Data Mover 存储库提供数据库用户名。
    Please enter the password for ACTIVE repository: 为 DM1 上的 designated-active Data Mover 存储库的所述用户名提供密码。
    Please enter 'postgres' user password for ACTIVE repository: 为 DM1 上的 designated-active Data Mover 存储库提供 Postgres 用户密码。
    Please enter the username for the STANDBY repository [datamover]: 为 DM2 上的 designated-standby Data Mover 存储库提供数据库用户名。
    Please enter the password for STANDBY repository: 为 DM2 上的 designated-standby Data Mover 存储库的所述用户名提供密码。
    Please enter 'postgres' user password for STANDBY repository: 为 DM2 上的 designated-standby Data Mover 存储库提供 Postgres 用户密码。
    Please enter the Root Password for the server running ACTIVE Repository: 请提供 DM1 的 root Linux 密码。
    Please enter the Root Password for the server running STANDBY Repository: 请提供 DM2 的 root Linux 密码。
    Please enter the password for root@DM1(ACTIVE DAEMON): 请提供 DM1 的 root Linux 密码。
    Please enter the password for root@DM2(STANDBY DAEMON): 请提供 DM2 的 root Linux 密码。
    Please enter the password for root@VP1(ACTIVE MONITOR): 请提供 VP1 的 root Linux 密码。
    Please enter the password for root@VP2(STANDBY MONITOR): 请提供 VP2 的 root Linux 密码。
    Please enter the password for root@DM3(ACTIVE Agent(s)): 请提供 DM3 的 root Linux 密码。
    Do you need to backup the ACTIVE repository to the STANDBY repository? [y or n] 故障转移要求 designated-active 存储库和 designated-standby 存储库同步。请输入 y 以同步存储库。