George,

The nodes don't connect because you are using  a local disk on each
node. You need to have a shared storage.

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.”


On 03/15/2010 08:53 AM, George wrote:
> Hi,
>
> I have a strange problem with my new ocfs2 cluster set up where the
> nodes do not want to talk/connect to each other.
>
> /etc/ocfs2/cluster.conf(on both)
> node:
>         ip_port = 7777
>         ip_address = 1.1.1.1
>         number = 0
>         name = apache1
>         cluster = webcluster
> node:
>         ip_port = 7777
>         ip_address = 1.1.1.2
>         number = 1
>         name = apache2
>         cluster = webcluster
> cluster:
>         node_count = 2
>         name = webcluster
>
> [r...@apache1 ~]# service o2cb status(on both)
> Driver for "configfs": Loaded
> Filesystem "configfs": Mounted
> Driver for "ocfs2_dlmfs": Loaded
> Filesystem "ocfs2_dlmfs": Mounted
> Checking O2CB cluster webcluster: Online
> Heartbeat dead threshold = 7
> Checking O2CB heartbeat: Active
>
> [r...@apache1 ~]# mounted.ocfs2 -f
> Device                FS     Nodes
> /dev/hda2             ocfs2  apache1
>
> [r...@apache2 ~]# mounted.ocfs2 -f
> Device                FS     Nodes
> /dev/hda2             ocfs2  apache2
>
> [r...@apache1 ~]# debugfs.ocfs2 -R "slotmap" /dev/hda2
>         Slot#   Node#
>             0       0
>
> [r...@apache2 ~]# debugfs.ocfs2 -R "slotmap" /dev/hda2
>         Slot#   Node#
>             0       1
>
> When I try to telnet on port 7777 from one host to another, I get a
> closed connection:
> [r...@apache1 ~]# telnet apache2 7777
> Trying 209.126.162.7...
> Connected to apache2 (1.1.1.2).
> Escape character is '^]'.
> Connection closed by foreign host.
>
> Selinux is disabled, the firewall is disabled.
>
> When mounting the ocfs2 partition I do not see any communication
> attempt between the 2 nodes in dmesg.
>
> Am I doing something wrong?
>
> Please help
>
> _______________________________________________
> Ocfs2-users mailing list
> Ocfs2-users@oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-users
>   
_______________________________________________
Ocfs2-users mailing list
Ocfs2-users@oss.oracle.com
http://oss.oracle.com/mailman/listinfo/ocfs2-users

Reply via email to