I'd suggest an upgrade.
The OCFS2 integration with more recent versions of openais and
Pacemaker is _much_ simpler.

Coincidentally I just finished a howto for just such a scenario:
   
http://www.clusterlabs.org/wiki/Image:Clusters_from_Scratch_-_Apache_on_Fedora11.pdf

In theory its for Fedora 11, but the vast majority is not specific to
any distribution.

On Mon, Sep 21, 2009 at 8:34 AM, Jean Baptiste Favre
<[email protected]> wrote:
> Hello,
> I'm trying to build a Xen cluster on Debian Lenny.
> For the moment, I only have 2 nodes. VM configuration's files are shared
> trough an OCFS2 DRBD partition.
>
> I would like to set an OCFS2 resource in heartbeat to avoid VM getting
> started if conf partition is not mounted.
>
> I've seen many howto based on SLES using /etc/init.d/o2cb configure.
> With Debian, I've to use dpkg-reconfigure ocfs2-tools.
>
> The problem is that I can not integrate heartbeat without mounting
> partition: according to man ocfs2_hb_ctl:
> "ocfs2_hb_ctl starts and stops the heartbeat on an OCFS2 device.  Users
> are strongly urged not to use this tool directly.  It is invoked by
> mount.ocfs2."
>
> So, how could I manage mountpoints trough heartbeat instead of doing an
> ugly init script which perform mount operation ?
>
> Thanks,
> JB
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to