在安装完成ocfs2 之后, 运行# ocfs2console
Configure Nodes --> Add --> 输入Private Node名和Private IP --> OK --> Apply
出现如下错误:
o2cb_ctl: Unable to access cluster service while creating node
Could not add node node1
后来搜索到一些文章,发现所有节点需要到 /etc/ocfs2/ 查看 cluster.conf 是否有内容,如果有,全部删除掉 ,然后重新配置一次: Configure Nodes --> Add --> 输入Private Node名和Private IP --> OK --> Apply
在用图形界面Configure Nodes的时候,/etc/ocfs2/cluster.conf文件最好是空文件,要不然也会报错。
在随后的启动ocfs2 ,ocfs节点配置文件一定要配置好,如果没有配置正确, 会报错
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/35489/viewspace-85095/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/35489/viewspace-85095/
本文介绍了解决在配置ocfs2集群时遇到的错误“o2cb_ctl:Unabletoaccessclusterservice”的方法。首先检查并清空/etc/ocfs2/cluster.conf文件,然后重新进行节点配置。
762

被折叠的 条评论
为什么被折叠?



