In short, node 1's attempt to connect to node 0 failed. See the
messages file on node 0. If there is no evidence of a connect request,
check if you have some sort of firewall setup. If so, open up the
required port(s).
You could also use tcpdump to trap traffic on the required port /
ethernet interface to debug the issue.
George Liu wrote:> This is a 2-node system using iscsi target. Both nodes are configured
> to mount an iscsi partition /dev/sda1. Heartbeat status on Node 0 is
> active and it has /dev/sda1 mounted with no problem. On node 1,
> heartbeat status is "Not active" and it can't mount the
/dev/sda1. The
> o2cb status and error messages on node 1 follows,
>
> #/etc/init.d/o2cb status
> Module "configfs": Loaded
> Filesystem "configfs": Mounted
> Module "ocfs2_nodemanager": Loaded
> Module "ocfs2_dlm": Loaded
> Module "ocfs2_dlmfs": Loaded
> Filesystem "ocfs2_dlmfs": Mounted
> Checking O2CB cluster ocfs2: Online
> Checking O2CB heartbeat: Not active
>
>
> Dec 28 21:13:12 blade2 kernel: (3603,1):o2net_connect_expired:1444
> ERROR: no connection established with node 0 after 10 seconds, giving up
> and returning errors.
> Dec 28 21:13:12 blade2 kernel: (7010,1):dlm_request_join:786 ERROR:
> status = -107
> Dec 28 21:13:12 blade2 kernel: (7010,1):dlm_try_to_join_domain:934
> ERROR: status = -107
> Dec 28 21:13:12 blade2 kernel: (7010,1):dlm_join_domain:1186 ERROR:
> status = -107
> Dec 28 21:13:12 blade2 kernel: (7010,1):dlm_register_domain:1379 ERROR:
> status = -107
> Dec 28 21:13:12 blade2 kernel: (7010,1):ocfs2_dlm_init:2007 ERROR:
> status = -107
> Dec 28 21:13:12 blade2 kernel: (7010,1):ocfs2_mount_volume:1062 ERROR:
> status = -107
> Dec 28 21:13:12 blade2 kernel: ocfs2: Unmounting device (8,1) on (node 1)
>
> The ocfs2 packages are following:
> ocfs2-2.6.9-42.0.3.ELsmp-1.2.3-1.i686.rpm
> ocfs2console-1.2.2-1.i386.rpm
> ocfs2-tools-1.2.2-1.i386.rpm
>
> Thanks in advance,
>
> --George
>
> _______________________________________________
> Ocfs2-users mailing list
> Ocfs2-users@oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-users
>