Hello, Finally succeed to update pacemaker. Got a problem reported 2 days ago to the mailinglist: Failed to fetch http://people.debian.org/~madkiss/ha-corosync/dists/lenny/main/binary-amd64/cluster-agents_1.0+hg20090915-1~bpo50+1_amd64.deb Size mismatch
Workaround was to completely uninstall previous heartbeat version, then download and manually install cluster-agents package. It complains because heartbeat is not installed. Then install heartbeat and pacemaker-heartbeat. cluster-agents install will be completed at this step. Then I figure I have to keep old repository (deb http://people.debian.org/~madkiss/ha lenny main) in /etc/apt/sources.list.d/pacemaker.list because of pacemaker-mgmt-heartbeat and pacemaker-mgmt-heartbeat-client I currently use. They are not in the new repository. Well, after all I began to read you howto. As it's writen for openais, will I have to install it instead of openais to get ocfs better integration or can I do it as well with heartbeat ? I will try to adapt your howto for heartbeat this evening and see what happen ;-) Thanks, JB Andrew Beekhof a écrit : > 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
