部署了openGauss 3.1.0 一主两备集群,打算对该集群进行在线扩容,使用gs_expansion。
另外也使用gs_sshexkey 配置了 ssh 互信,root用户和omm也都可以ssh IP或者ssh 主机名。
[root@opengauss-db1 script]# vim hostIP.txt – 在该目录下编辑一内核所有节点IP文件,参照如下
192.168.17.113
192.168.17.139
192.168.17.159
192.168.17.112
– 执行gs_sshexkey 配置互信
[root@opengauss-db1 script]# ./gs_sshexkey -f /opt/software/openGauss/script/hostIP.txt -W {password}
Please enter password for current user[root].
Password: – 输入 root口令
但执行扩容就报如下错误
[root@opengauss-db1 script]# ./gs_expansion -U omm -G dbgrp -X /opt/software/openGauss/clusterconfig.xml -h 192.168.17.112
[GAUSS-51100] : Failed to verify SSH trust on these nodes:
opengauss-db1, opengauss-db2, opengauss-db3, opengauss-db4, 192.168.17.113, 192.168.17.139, 192.168.17.159, 192.168.17.112 by root
opengauss-db1, opengauss-db2, opengauss-db3, opengauss-db4, 192.168.17.113, 192.168.17.139, 192.168.17.159, 192.168.17.112 by individual user.
执行日志信息也没什么详细信息,只有[gs_expansion][DEBUG]:Checking environment variable.
墨值悬赏

评论


