使用 set-primary.sh 命令可确保系统的所有节点使用相同的主 QueryGrid 管理器集群。请从集群中的 QueryGrid 管理器实例运行命令以指定为主集群。
[root@clusterA ~]# /opt/teradata/tdqgm/bin/set-primary.sh Starting set-primary command, just a moment... System ------ 1. TD1 2. TD2 Select a system for the set-primary command [1-2]: 2 Ready to make this QueryGrid Manager cluster the primary for system "TD2", do you wish to continue? [y/n]: y Submitted request to make this QueryGrid Manager cluster the primary. Waiting for nodes to update primary cluster... Continuing to wait for nodes to update primary cluster... set-primary command successful.