Hi, On Wed, Aug 11, 2010 at 11:17:33AM -0400, Peter Sylvester wrote: > Andrew, > > Thanks for the doc, however I'm working with a cluster that already has > heartbeat on it and I'm trying to add pacemaker to it. > > So far I have managed to get pacemaker installed on both machines and have > ran the following command to create the pacemaker XML config file. > > */usr/lib/heartbeat/haresources2cib.py /etc/ha.d/haresources*
haresources2cib.py is obsolete and probably produces a bad cib.xml. The recommended way is to create a configuration using the crm shell. > I have also added "crm respawn" to the ha.cf file in heartbeat. Once I made > these changes I restarted heartbeat and now neither node is taking the VIP > or starting the resources that it was running back when I was just working > with heartbeat. The /var/log/messages file also states the following. > > *Aug 11 11:15:35 gatebak2 crmd: [2027]: info: do_cib_control: Could not > connect to the CIB service: connection failed > Aug 11 11:15:35 gatebak2 crmd: [2027]: WARN: do_cib_control: Couldn't > complete CIB registration 20 times... pause and retry* Looks like an installation problem. cib didn't start or there's a problem with directory permissions. How did you install pacemaker? > From what I can tell from running ls -lh on /var/lib/heartbeat/crm/cib.xml > the file is owned by the correct user and group, so I'm not sure why it > would have a problem connecting. > > *[r...@gatebak2 ~]# ls -lh /var/lib/heartbeat/crm/cib.xml > -rw-r--r-- 1 hacluster haclient 3.7K Aug 11 10:31 > /var/lib/heartbeat/crm/cib.xml* The mode should be 600. But that's probably not the reason why cib (the program) cannot start. > Any suggestions? Install packages from clusterlabs.org/rpm Thanks, Dejan > - Peter > > On Mon, Aug 9, 2010 at 4:09 AM, Andrew Beekhof <[email protected]> wrote: > > > On Fri, Aug 6, 2010 at 10:11 PM, Peter Sylvester > > <[email protected]> wrote: > > > Hey guys. I figured out what was wrong with my code yesterday, but the > > > bad/good (depending) is that the client is now leaning towards using > > > pacemaker in addition to heartbeat. > > > > > > I was wondering if anyone knew of any good documentation that could be > > > recommended for working with pacemaker with someone that is relatively > > new > > > to clustering in Linux. I know that there is some documentation on the > > HA > > > website, but if anyone can recommend any other good resources please let > > me > > > know. > > > > www.clusterlabs.org/doc <--- clusters from scratch > > > > > > > > - Peter > > > _______________________________________________ > > > 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 > > > _______________________________________________ > 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
