Hi All,
I have a problem configuring OCFS2 cluster:
I've made configuration, created filesystems etc but hosts are unable
to join each other:
[root at acs2 ~]# cat /etc/ocfs2/cluster.conf
node:
ip_port = 7777
ip_address = 10.1.0.1
number = 0
name = acs1
cluster = configcluster
node:
ip_port = 7777
ip_address = 10.1.0.2
number = 1
name = acs2
cluster = configcluster
cluster:
node_count = 2
name = configcluster
[root at acs1 ~]# mounted.ocfs2 -d
Device FS UUID Label
/dev/sda4 ocfs2 d29f1a4f-f69d-4b10-9459-7390d2cdbc6f configvol
/dev/sdb4 ocfs2 d29f1a4f-f69d-4b10-9459-7390d2cdbc6f configvol
/dev/md3 ocfs2 d29f1a4f-f69d-4b10-9459-7390d2cdbc6f configvol
[root at acs1 ~]# mounted.ocfs2 -f
Device FS Nodes
/dev/sda4 ocfs2 acs1
/dev/sdb4 ocfs2 acs1
/dev/md3 ocfs2 acs1
[root at acs2 ~]# mounted.ocfs2 -d
Device FS UUID Label
/dev/sda4 ocfs2 71602628-03d2-478a-ab11-740500778f4b configvol
/dev/sdb4 ocfs2 71602628-03d2-478a-ab11-740500778f4b configvol
/dev/md3 ocfs2 71602628-03d2-478a-ab11-740500778f4b configvol
[root at acs2 ~]# mounted.ocfs2 -f
Device FS Nodes
/dev/sda4 ocfs2 acs2
/dev/sdb4 ocfs2 acs2
/dev/md3 ocfs2 acs2
--
Best Regards,
George Machitidze
George, You clearly have two different volumes (UUID are different), one on each machine. Make sure you have a shared disk that can be accessed by both systems. You have to format the partition only in one of the systems and mounted.ocfs2 -d should show it on both systems (same UUID). Your problem seems to be more of a hardware configuration than ocfs2. Regards, Marcos Eduardo Matsunaga Oracle USA Linux Engineering ?The statements and opinions expressed here are my own and do not necessarily represent those of Oracle Corporation.? George Machitidze wrote:> Hi All, > > I have a problem configuring OCFS2 cluster: > > I've made configuration, created filesystems etc but hosts are unable > to join each other: > [root at acs2 ~]# cat /etc/ocfs2/cluster.conf > node: > ip_port = 7777 > ip_address = 10.1.0.1 > number = 0 > name = acs1 > cluster = configcluster > > node: > ip_port = 7777 > ip_address = 10.1.0.2 > number = 1 > name = acs2 > cluster = configcluster > > cluster: > node_count = 2 > name = configcluster > > [root at acs1 ~]# mounted.ocfs2 -d > Device FS UUID Label > /dev/sda4 ocfs2 d29f1a4f-f69d-4b10-9459-7390d2cdbc6f configvol > /dev/sdb4 ocfs2 d29f1a4f-f69d-4b10-9459-7390d2cdbc6f configvol > /dev/md3 ocfs2 d29f1a4f-f69d-4b10-9459-7390d2cdbc6f configvol > [root at acs1 ~]# mounted.ocfs2 -f > Device FS Nodes > /dev/sda4 ocfs2 acs1 > /dev/sdb4 ocfs2 acs1 > /dev/md3 ocfs2 acs1 > > [root at acs2 ~]# mounted.ocfs2 -d > Device FS UUID Label > /dev/sda4 ocfs2 71602628-03d2-478a-ab11-740500778f4b configvol > /dev/sdb4 ocfs2 71602628-03d2-478a-ab11-740500778f4b configvol > /dev/md3 ocfs2 71602628-03d2-478a-ab11-740500778f4b configvol > [root at acs2 ~]# mounted.ocfs2 -f > Device FS Nodes > /dev/sda4 ocfs2 acs2 > /dev/sdb4 ocfs2 acs2 > /dev/md3 ocfs2 acs2 >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20080825/1c41c2b9/attachment.html
No, it's not a parallel filesystem in that regard. Here are your options for that: Application Level: MogileFS Replication style: ChironFS, MirrorFS If you want to use ocfs2 you need to do the following: Set up DRBD between your two nodes, each as a primary. Use ocfs2 on top of the drbd. HOWTO: (mind you, this uses GFS, but the principle is the same) http://www.drbd.org/users-guide/ch-gfs.html Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20080825/d0c95137/attachment.html