On Tue, Dec 16, 2008 at 13:38, Brice Figureau <[email protected]> wrote: > On Mon, 2008-12-15 at 15:30 +0100, Andrew Beekhof wrote: >> On Mon, Dec 15, 2008 at 14:04, Brice Figureau <[email protected]> >> wrote: >> > Hi, >> > >> > I'm currently running a mysql/drbd master/slave cluster based on a >> > custom packaged version of Pacemaker 0.6.5 and Heartbeat 2.1.3 for >> > debian Lenny. >> > >> > I want to upgrade to Pacemaker 1.0 / Heartbeat 2.99, and I have a few >> > questions: >> > * does the Etch package released on the OpenSUSE build service are >> > compatible with debian Lenny? I'd love to use them instead of rolling my >> > own versions ;-) >> >> I dont know. >> But you can use the instructions here for building your own: >> http://www.clusterlabs.org/mw/Install#Debian_Builds > > Yes, that's what I started to do. Heartbeat built without any issues, > but Pacemaker stopped on: > cp > -a > /home/brice/debs/ha-2.99/Pacemaker-1-0-6f1e8e0e7203/debian/tmp/usr/lib/service_crm.a > debian/pacemaker-dev//usr/lib/ > cp: cannot stat > `/home/brice/debs/ha-2.99/Pacemaker-1-0-6f1e8e0e7203/debian/tmp/usr/lib/service_crm.a': > No such file or directory > dh_install: command returned error code 256 > make: *** [install-stamp] Error 1 > dpkg-buildpackage: failure: fakeroot debian/rules binary gave error exit > status 2 > > I removed the offending line in debian/pacemaker-dev.install, and > rebuilt, then it choked on: > install -d `pwd`/debian/pacemaker//usr/lib/openais/lcrso > install -m0644 `pwd`/debian/tmp//usr/lib/openais/lcrso/pacemaker.lcrso \ > > `pwd`/debian/pacemaker//usr/lib/openais/lcrso/pacemaker.lcrso > install: cannot stat > `/home/brice/debs/ha-2.99/Pacemaker-1-0-6f1e8e0e7203/debian/tmp//usr/lib/openais/lcrso/pacemaker.lcrso': > No such file or directory > make: *** [install-stamp] Error 1 > dpkg-buildpackage: failure: fakeroot debian/rules binary gave error exit > status 2 > > Maybe I'm missing a dependency somewhere... > If somebody knows what's wrong, let me know.
openais(-devel) you can either install it, or remove the references to pacemaker.lcrso and service_crm.a you only need them if you're planning to switch to the openais stack (instead of heartbeat) > > I'll inspect the debian build more closely today. > >> > >> > * is there an interest in upgrading to Pacemaker 1.0? >> >> You should definitely consider this. 1.0 is significantly better than 0.6 > > OK. It seems that only the crm_shadow stuff is enough to motivate a > transition. > >> > * is the upgrade procedure described somewhere? (I suppose I have to >> > detach one node, upgrade, reattach, move resources to this node, and so >> > on)? >> >> goggle: configuration explained pdf > > I did, and that's a great document! > I read an old version back when I installed the 0.6 version and this one > is now even better. Thanks for this. > -- > Brice Figureau <[email protected]> > > _______________________________________________ > 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
