[Pacemaker] Installation woes (w/Debian packages)

Matthew Palmer mpalmer at hezmatt.org
Fri Oct 16 10:04:42 UTC 2009


On Fri, Oct 16, 2009 at 10:54:18AM +0200, Raoul Bhatia [IPAX] wrote:
> On 10/16/2009 09:59 AM, Matthew Palmer wrote:
> > If this were a single-machine service, I'd completely agree with you. 
> > Unfortunately, a cluster service like pacemaker needs to have absolutely
> > consistent configuration across all the nodes in the cluster, and having it
> > read off a file on disk would make that *amazingly* difficult and dangerous. 
> > I remember the fun and games I had dealing with cman (or whatever it was
> > that went with that) and it's "read an XML config file and update everyone"
> > model.  I'll take "crm configure edit" over that any day, TYVM.
> 
> to my knowledge, if no cib.xml file exists, pacemaker creates an empty
> one with epoch="0" (or similar, to my experience at least < 100 ;) )
> 
> i've done the following steps numerous times:
> 1. stop pacemaker on all nodes
> 2. erase all cib.xml related files
> 3. drop a new cib.xml into the correct directory on one node
> 4. set the correct permissions
> 5. startup all nodes
> 6. witness the new configuration unfold

And boy won't *that* work well on a live cluster.

Furrfu,
- Matt




More information about the Pacemaker mailing list