可通过 import-system.sh 命令将某个系统从一个 QueryGrid 集群导入到另一个集群中。这两个集群都必须运行 QueryGrid 管理器 02.11.00.00 或更高版本,并且要导入的系统必须运行 tdqg-node 02.11.00.00 或更高版本。
请从要将该系统导入到的同一集群的一个 QueryGrid 管理器中运行 import-system.sh 命令。
在运行 import-system.sh 命令时,系统会提示您提供以下信息:
- 要导入的系统所在的 QueryGrid 管理器实例的主机名和凭据
- 要导入的系统的名称
- 指定用于导入的集群成为新导入系统的主集群还是辅助集群
[root@clusterA ~]# /opt/teradata/tdqgm/bin/import-system.sh Starting import-system command, just a moment... Enter remote QueryGrid Manager hostname containing the system to import: qgm1-clusterB Enter remote QueryGrid Manager service username: support Enter remote QueryGrid Manager service password: ******** System ------ 1. TD1 2. TD2 Select a system to import [1-2]: 2 Data Center ----------- 1. San Diego 2. Las Vegas Select the data center where the system is located [1-2]: 1 Cluster Option -------------- 1. Make this QueryGrid Manager cluster the primary cluster 2. Make this QueryGrid Manager cluster a secondary cluster Select the cluster option [1-2]: 2 Ready to import the system from QueryGrid Manager "qgm1-clusterB". Do you wish to continue? [y/n]: y Starting system import... System configuration imported. Waiting for nodes to register... Continuing to wait for nodes to register Nodes registered successfully. System successfully imported