[Pacemaker] pacemaker kills corosync

Andrew Beekhof andrew at beekhof.net
Wed Oct 5 23:08:24 EDT 2011


On Wed, Oct 5, 2011 at 10:39 PM, Olivier Nicole
<Olivier.Nicole at cs.ait.ac.th> wrote:
> Hi Max,
>
>> Normally pacemaker is loaded by Corosync, ie you just start corosync
>> and leave pacemaker stopped and disabled via chkconfig. This is set
>> in corosync.conf by this:
>>
>> service {
>>         # Load the Pacemaker Cluster Resource Manager
>>         name: pacemaker
>>         ver:  0
>> }
>>
>> http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Clusters_from_Scratch/s-configure-corosync.html
>
> Yes, I followed this HowTo, but it mentions that the directive service
> {} should be in /etc/corosync/service.d/pcmk, not in
> /etc/corosync/corosync.conf

either-or is fine

>
> And it also mention in the note at the bootm that pacemaker is not
> started automatically by corosync, that it will have to be started
> later by /etc/init.d/pacemaker start in part 3.2 of the HowTo.

Only for "ver: 1", not for "ver: 0"

>
> Thank you,
>
> Olivier
>
>> Do you have this set?
>> Max
>>
>> -----Original Message-----
>> From: Olivier Nicole [mailto:Olivier.Nicole at cs.ait.ac.th]
>> Sent: 05 October 2011 12:11
>> To: Pacemaker at oss.clusterlabs.org
>> Subject: [Pacemaker] pacemaker kills corosync
>>
>> Hi,
>>
>> I am new to pacemaker. I want to set-up a small cluter to provide high availability for NFS. The disk sharing is taken care off.
>>
>> I am trying to figure out how to configure/run corosync and pacemaker.
>>
>> My test plateform is CentOS 6.0, with pacemaker installed from the packages.
>>
>> [root at cos3 log]# pacemakerd --version
>> Pacemaker 1.1.2
>> Written by Andrew Beekhof
>> [root at cos3 log]# corosync -v
>> Corosync Cluster Engine, version '1.2.3' SVN revision 'exported'
>> Copyright (c) 2006-2009 Red Hat, Inc.
>>
>> It seems that corosync is working fine, but whenever I try to start pacemakerd, the corosync process dies and I get nothing in any log.
>>
>> I am completely lost.
>>
>> Best regards,
>>
>> Olivier
>>
>
> _______________________________________________
> 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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>




More information about the Pacemaker mailing list