<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000066" bgcolor="#ffffcc">
<tt>George,<br>
<br>
The nodes don't connect because you are using  a local disk on each
node. You need to have a shared storage.<br>
</tt>
<pre class="moz-signature" cols="72">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.”
</pre>
<br>
On 03/15/2010 08:53 AM, George wrote:
<blockquote
 cite="mid:948a6d891003150553s42469a85k59428f154ff85ad6@mail.gmail.com"
 type="cite">
  <pre wrap="">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@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@apache1 ~]# mounted.ocfs2 -f
Device                FS     Nodes
/dev/hda2             ocfs2  apache1

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

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

[root@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@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
<a class="moz-txt-link-abbreviated" href="mailto:Ocfs2-users@oss.oracle.com">Ocfs2-users@oss.oracle.com</a>
<a class="moz-txt-link-freetext" href="http://oss.oracle.com/mailman/listinfo/ocfs2-users">http://oss.oracle.com/mailman/listinfo/ocfs2-users</a>
  </pre>
</blockquote>
</body>
</html>