LINUX OCFS2: node1/还是node2写数据。都不会同步到另一台去

环境:
VMWARE做的两台虚拟机 网卡类型选择的是HOST ONLY
用ocfs2console工具,将node1 的 cluser.conf 信息可以同步到node2的

[root@node1 /]# cat /etc/ocfs2/cluster.conf
node:
        ip_port = 7777
        ip_address = 192.26.26.10
        number = 0
        name = node1
        cluster = ocfs2

node:
        ip_port = 7777
        ip_address = 192.26.26.20
        number = 1
        name = node2
        cluster = ocfs2

cluster:
        node_count = 2
        name = ocfs2




node1 o2cb status 信息:
[root@node1 init.d]# pwd
/etc/init.d
[root@node1 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


node2 o2cb status信息:
[root@node2 init.d]# pwd
/etc/init.d
[root@node2 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@node1 /]# 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
192.16.16.10 node1
192.26.26.10 node1priv
192.16.16.20 node2
192.26.26.20 node2priv


[root@node2 /]#  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
192.16.16.10 node1
192.26.26.10 node1priv
192.16.16.20 node2
192.26.26.20 node2priv
[root@node2 /]#



标签: 暂无标签
oracle_student

写了 1 篇文章,拥有财富 66,被 2 人关注

转播转播 分享分享 分享淘帖
回复

使用道具

P4 | 发表于 2016-2-29 17:28:03
问题已解决
回复

使用道具

您需要登录后才可以回帖 登录 | 加入社区

本版积分规则

意见
反馈