newstarHA进入cli提示SSH test error
平台:redhat 5双机软件:newstarHA
主机name:host1,host2
问题故障:
每次进入newstarHA的操作界面cli时,总是提示“ssh test error”如下所示:
SSH test host2 error,localhost:host1The authenticity of host 'host2 (10.103.96.138)' can't be established.RSA key fingerprint is 2e:d3:7d:09:2b:c0:94:84:59:90:12:8c:e5:aa:ca:65.Are you sure you want to continue connecting (yes/no)?
故障原因分析:因未知原因的变更导致newstarHA的/etc/ha.d/ha.cf陈旧,ssh无法正确连接另一台主机,导致每次连接总会报ssh test error的问题。
解决方案:1,备份并删除/etc/ha.d/ha.cf。#cp /etc/ha.d/ha.cf /etc/ha.d/ha.cf.old#rm /etc/ha.d/ha.cf2,进入 cli 运行 cluster-init 重新初始化 ha.cf 文件#cliCLI>cluster-init……根据提示重新初始化cluster配置信息即可。