[Ocfs2-users] nodes can't connect to each other

George izghitu at gmail.com
Mon Mar 15 05:53:53 PDT 2010


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

[root at 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

[root at apache1 ~]# mounted.ocfs2 -f
Device                FS     Nodes
/dev/hda2             ocfs2  apache1

[root at apache2 ~]# mounted.ocfs2 -f
Device                FS     Nodes
/dev/hda2             ocfs2  apache2

[root at apache1 ~]# debugfs.ocfs2 -R "slotmap" /dev/hda2
        Slot#   Node#
            0       0

[root at 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:
[root at 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



More information about the Ocfs2-users mailing list