[Pacemaker] Reason for cluster resource migration

Andrew Martin amartin at xes-inc.com
Fri Feb 15 22:57:57 UTC 2013


----- Original Message -----
> From: "Ante Karamatić" <ante.karamatic at canonical.com>
> To: pacemaker at oss.clusterlabs.org
> Sent: Thursday, February 14, 2013 3:57:38 AM
> Subject: Re: [Pacemaker] Reason for cluster resource migration
> 
> On 13.02.2013 16:27, Andrew Martin wrote::
> 
> > Unfortunately the pacemaker and corosync packages in the Ubuntu
> > repositories are too old. Due to bugs in these versions, I
> > upgraded to the latest Pacemaker 1.1.8 and Corosync 2.1.0 (it was
> > the latest at that time).
> 
> We tend to backport security fixes and nasty bugs to older versions
> (those we have in distribution). We don't pull in new version cause
> new
> versions bring new features and thus new bugs. But I'm sure I'll get
> slapped for saying that on upstream mailing list :)
> 
> > Are there newer versions of these packages
> > available in a PPA or somewhere? I have been working to build them
> > on my own, but the way that Ubuntu separates out the single source
> > package into many binary packages is making it difficult.
> 
> In most of the cases, very simple procedure goes without problems:
> 
> wget http://upstream.com/supertool-new-version.tar.gz
> apt-get source supertool
> sudo apt-get build-dep supertool
> cd supertool...
> uupdate ../supertool-new-version.tar.gz
> cd ../supertool-new-version
> fakeroot dpkg-buildpackage
> 
> In case you want debugging symbols, instead of just building the
> package, build it with 'special' env variable:
> 
> DEB_BUILD_OPTIONS=nostrip dpkg-buildpackage
> 
> You could also fetch source from 12.10 release and build those
> packages
> on 12.04.
Ante,

Thanks for these instructions. How do you normally generate the
.install files in the debian/ directory? Using your instructions,
when I try to build pacemaker 1.1.8 it errors out on the dh_install
step:
dh_install --sourcedir=debian/tmp --list-missing
dh_install: pacemaker missing files (usr/lib*/heartbeat/plugins/RAExec/stonith.so), aborting
make: *** [binary-arch] Error 2

I could simply run "find debian/tmp > debian/install" and delete
the *.install files for each specific package, but then all the files
would be put into the pacemaker package and would probably include
more than is needed. Is there a better way to update or generate
these .install files?

Thanks,

Andrew
> 
> --
> Ante Karamatic <ante.karamatic at canonical.com>
> Professional and Engineering Services
> Canonical Ltd
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started:
> http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
> 




More information about the Pacemaker mailing list