OCFS2出错

[复制链接]
查看11 | 回复5 | 2008-11-27 14:56:58 | 显示全部楼层 |阅读模式
昨个在VMware中想做个RAC实验,没想出这样的错,由于是头次做RAC,一头雾水,
是昨回事啊?


回复

使用道具 举报

千问 | 2008-11-27 14:56:58 | 显示全部楼层
[root@rac1 init.d]# ./o2cb configure
Configuring the O2CB driver.
This will configure the on-boot properties of the O2CB driver.
The following questions will determine whether the driver is loaded on
boot.The current values will be shown in brackets ('[]').Hitting
without typing an answer will keep that current value.Ctrl-C
will abort.
Load O2CB driver on boot (y/n) [y]:
Cluster to start on boot (Enter "none" to clear) [ocfs2]:
Specify heartbeat dead threshold (>=7) [31]: 61
Specify network idle timeout in ms (>=5000) [30000]:
Specify network keepalive delay in ms (>=1000) [2000]:
Specify network reconnect delay in ms (>=2000) [2000]:
Writing O2CB configuration: OK
Loading module "configfs": OK
Mounting configfs filesystem at /sys/kernel/config: OK
Loading module "ocfs2_nodemanager": OK
Loading module "ocfs2_dlm": OK
Loading module "ocfs2_dlmfs": OK
Mounting ocfs2_dlmfs filesystem at /dlm: OK
Starting O2CB cluster ocfs2: Failed
Cluster ocfs2 created
o2cb_ctl: Configuration error discovered while populating cluster ocfs2.None of its nodes were considered local.A node is considered local when its node name in the configuration matches this machine's host name.
Stopping O2CB cluster ocfs2: OK
[root@rac1 init.d]# ./o2cb status
Module "configfs": Loaded
Filesystem "configfs": Mounted
Module "ocfs2_nodemanager": Loaded
Module "ocfs2_dlm": Loaded
Module "ocfs2_dlmfs": Loaded
Filesystem "ocfs2_dlmfs": Mounted
Checking O2CB cluster ocfs2: Offline
看最后一行,人家做的时候是Online的,我偏偏的Offline的,真是见鬼了为,
回复

使用道具 举报

千问 | 2008-11-27 14:56:58 | 显示全部楼层
我的/etc/hosts是这样的,
192.168.0.10 rac1
192.168.0.20 rac2
192.168.0.110 rac1-vip
192.168.0.120 rac2-vip
10.0.0.10
node1
10.0.0.20
node2
它在校验的时候,可能认错了,会不会和这个有关啊?
把10.0.0.10(20)当成了VIP,把192.168.0.10(20)当成了专用互连接口,这怎么解决啊?
回复

使用道具 举报

千问 | 2008-11-27 14:56:58 | 显示全部楼层
还有这里也抱错,还没开始呢,就这么多错,叫人怎么有信心继续下去,,,




回复

使用道具 举报

千问 | 2008-11-27 14:56:58 | 显示全部楼层
1.是不是按步骤来的
2./etc/hosts中少了localhost
回复

使用道具 举报

千问 | 2008-11-27 14:56:58 | 显示全部楼层
To LS的,
/etc/hosts中是有localhost,我这里忘了写,
你说“按步骤来”,哪有什么标准步骤啊,网上的参考只是“参考”,我从来不照抄的,
其实我就想知道这里的“Cluster service”,是个啥东东,为什么起不来?
昨晚做的时候不能上网,所以今早来问问了,
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行