CAS/UIS虚拟化环境+共享存储
前台启动共享存储时报错存储池“心跳正在退出或存在于集群之外”
①在启动不成功的cvk后台看 /var/log/fsm/fsm_core.log日志,发现存在以下报错,10.229.23.2非故障节点。
2021-10-25 09:46:25,703 os_utils:327 ERROR Execute ps -ef | grep "\[o2hb-ECCA100F51\]" on 10.229.23.2 failed, Unexpected error while running ['timeout 15 ssh -q -o ServerAliveInterval=5 -o ServerAliveCountMax=2 -o COnnectionAttempts=2 root@10.229.23.2 ps -ef | grep "\\[o2hb-ECCA100F51\\]"'] Exit code: 1 2021-10-25 09:46:25,703 ocfs2:339 ERROR Query heartbeat thread failed, Unexpected error while running ['timeout 15 ssh -q -o ServerAliveInterval=5 -o ServerAliveCountMax=2 -o COnnectionAttempts=2 root@10.229.23.2 ps -ef | grep "\\[o2hb-ECCA100F51\\]"'] Exit code: 1 2021-10-25 09:46:25,704 ocfs2:696 ERROR Fs is not mounted on 10.229.23.2, maybe mount on other cluster or CVM. 2021-10-25 09:46:25,728 wsgi:296 ERROR Heartbeat on 10.229.23.2 is exiting or started outside of cluster
②ssh 到日志中提到的节点10.229.23.2,有以下报错,免密失效。
③按照上图执行ssh-keygen -f "/root/.ssh/know_hosts" -R 10.229.23.2
更新节点间免密,存储卷成功启动
某节点免密失效导致节点间通信失败,因此无法启动共享存储卷
异常节点的
/root/.ssh/id_rsa
/root/.ssh/id_rsa.pub
/root/.ssh/authorized_keys
备份一下
然后将好的节点的上述三个文件直接scp到坏的节点也可解决
scp /root/.ssh/id_rsa /root/.ssh/id_rsa.pub /root/.ssh/authorized_keys xx.xx.xx.xx/root/.ssh/
(0)
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作