[Linux-HA] OCFS2 and Heartbeat2
Lars Marowsky-Bree
lmb at suse.de
Thu Aug 10 17:06:09 MDT 2006
On 2006-08-10T14:01:05, Robert Wipfel <rawipfel at novell.com> wrote:
> Configure OCFS2 using ocfs2console - make it match your Linux-ha nodes
> and network interfaces.
>
> Setup OCFS2 for user space heartbeats - /etc/init.d/o2cb configure -
> enter y for "Use user-space driven heartbeat?"
>
> mkfs.ocfs2 -N <number of cluster nodes> /dev/whatever
>
> The cluster stack doesn't need to be running in order to do this.
> /dev/whatever is your shared storage - e.g. iSCSI, FC, SAS etc.
>
> Create a clone cluster resource using Heartbeat's OCF Filesystem
> resource agent.
>
> Specify the device, mount point and ocfs2 as your filesystem type. E.g.
> use the attach CIB XML fragment like this: cibadmin -C -o resources -x
> ./ocfs2cloneset.xml
In addition to what Robert said, you'll need to pull various patches
from the SUSE kernel tree to make this work - otherwise OCFS2 won't
accept the membership events from user-space (heartbeat).
The ocfs2-* patch series is probably all required, or simply use SLES10
directly as your base and all will be well ;-)
(We're still working with Oracle to merge them upstream.)
Sincerely,
Lars Marowsky-Brée
--
High Availability & Clustering
SUSE Labs, Research and Development
SUSE LINUX Products GmbH - A Novell Business -- Charles Darwin
"Ignorance more frequently begets confidence than does knowledge"
More information about the Linux-HA
mailing list