[Ocfs2-tools-users] heartbeat issue with ocfs2 on debian
Sunil Mushran
sunil.mushran at oracle.com
Mon Nov 16 11:27:04 PST 2009
ocfs2 is for general purpose usage.
The error suggests that the cluster.conf is incorrect. The user's
guide explains how to configure it. The hb slot is the same as the node
number. Ensure both nodes have different node numbers and that
both nodes have the same copy of cluster.conf.
The o2net message indicates that the network config needs to be
looked into. Ensure the ip addresses are correct and that the nodes
can ping each other on that interface.
kernel version?
fs version?
Dameon Wagner wrote:
> Hi All,
>
> I'm not sure how many people are still on this list, as the archive
> doesn't show there being much activity. I was going to lurk for a
> little while, but there've been no messages since I joined, so here
> goes.
>
> I'm having a look at shared filesystems for use in a
> semi-production/academic environment, and I'm currently looking at
> ocfs2 because the initial setup looks to be far simpler than that for
> gfs2.
>
> My setup is pretty simple, using only one physical box running debian
> lenny. That box has a xen virtual machine that I'd like to share a
> block device with, also running debian lenny.
>
> The physical box is publishing a LVM2 logical volume using AOE, and
> both systems are mounting the ocfs2 formatted partition on /mnt/ocfs.
>
> All seems to work OK, and running simple commands like `ls` and `cat`
> work nicely, but I first noticed something was off when any edits to a
> file didn't propagate from one node to the other. Looking in syslog
> of the physical host I see kernel entries mentioning:
>
> (27275,0):o2hb_do_disk_heartbeat:762 ERROR: Device "dm-12": another node is heartbeating in our slot
>
> usually near or followed by:
>
> (26956,0):o2net_connect_expired:1629 ERROR: no connection established with node 1 after 30.0 seconds, giving up and returning errors.
>
> o2cb status on both nodes shows that heartbeat is active -- am I
> missing a configuration option somewhere that will give each node it's
> own slot? The list archive doens't seem to mention this, and with the
> terms I've tried searching on Google doesn't seem to dig anything up
> either.
>
> Any pointers? Or am I just trying to do the wrong thing (I did see
> somewhere that ocfs was more for oracle DB usage, rather than as a
> general purpose filesystem)?
>
> Cheers.
>
> Dameon.
>
>
More information about the Ocfs2-tools-users
mailing list