Chinaunix
标题:
RAC 节点间无法共享文件
[打印本页]
作者:
bosser2008
时间:
2017-03-07 10:29
标题:
RAC 节点间无法共享文件
节点一:
[root@rac1 ocfs]# /etc/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 = 61
Network idle timeout: 30000
Network keepalive delay: 2000
Network reconnect delay: 2000
Checking O2CB heartbeat: Active
[root@rac1 ocfs]# mount -l |grep /dev/sdb1
/dev/sdb1 on /ocfs type ocfs2 (rw,_netdev,datavolume,nointr,heartbeat=local) [oracle]
[root@rac1 ocfs]# less /etc/ocfs2/cluster.conf
node:
ip_port = 7777
ip_address = 10.67.123.15
number = 0
name = rac1
cluster = ocfs2
node:
ip_port = 7777
ip_address = 10.67.123.96
number = 1
name = rac2
cluster = ocfs2
cluster:
node_count = 2
name = ocfs2
节点二:
[root@rac2 ocfs]# /etc/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 = 61
Network idle timeout: 30000
Network keepalive delay: 2000
Network reconnect delay: 2000
Checking O2CB heartbeat: Active
[root@rac2 ocfs]# mount -l |grep /dev/sdb1
/dev/sdb1 on /ocfs type ocfs2 (rw,_netdev,datavolume,nointr,heartbeat=local) [oracle]
[root@rac2 ocfs]# less /etc/ocfs2/cluster.conf
node:
ip_port = 7777
ip_address = 10.67.123.15
number = 0
name = rac1
cluster = ocfs2
node:
ip_port = 7777
ip_address = 10.67.123.96
number = 1
name = rac2
cluster = ocfs2
cluster:
node_count = 2
name = ocfs2
在rac1和rac2上查询:
[root@rac1 ocfs]# ls
clusterware lost+found
[root@rac2 ocfs]# ls
lost+found test
为什么在两个节点的/ocfs文件夹查询的文件不一样?请大神帮忙解答!感谢~~
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2