[Ocfs2-users] Problem with clustering on Linux

Marcos E. Matsunaga Marcos.Matsunaga at oracle.com
Mon Aug 25 05:42:00 PDT 2008


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 


More information about the Ocfs2-users mailing list