VMWARE做的两台虚拟机 网卡类型选择的是HOST ONLY
用ocfs2console工具,将NOTE1 的 cluser.conf 信息可以同步到NOTE2的
[root@note1 init.d]# cat /etc/ocfs2/cluster.conf
node:
ip_port = 7777
ip_address = 172.10.10.10
number = 0
name = note1
cluster = ocfs2
node:
ip_port = 7777
ip_address = 172.10.10.20
number = 1
name = note2
cluster = ocfs2
cluster:
node_count = 2
name = ocfs2
NOTE1 o2cb status 信息:
[root@note1 oradata]# cd /etc/init.d/
[root@note1 init.d]# ./o2cb status
Driver for "configfs": Loaded
Filesystem "configfs": Mounted
Driver for "ocfs2_dlmfs": Loaded
Filesystem "ocfs2_dlmfs": Mounted
Checking O2CB cluster ocfs2: Online
Heartbeat dead threshold = 31
Network idle timeout: 30000
Network keepalive delay: 2000
Network reconnect delay: 2000
Checking O2CB heartbeat: Active
NOTE2 o2cb status信息:
[root@note2 oradata]# cd /etc/init.d
[root@note2 init.d]# ./o2cb status
Driver for "configfs": Loaded
Filesystem "configfs": Mounted
Driver for "ocfs2_dlmfs": Loaded
Filesystem "ocfs2_dlmfs": Mounted
Checking O2CB cluster ocfs2: Online
Heartbeat dead threshold = 31
Network idle timeout: 30000
Network keepalive delay: 2000
Network reconnect delay: 2000
Checking O2CB heartbeat: Active
[root@note1 init.d]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
100.100.100.100 note1
172.10.10.10 note1
100.100.100.200 note2
172.10.10.20 note2