[Pacemaker] Some questions about master/slave clones?

Andrew Beekhof andrew at beekhof.net
Thu Jan 14 09:01:59 UTC 2010


On Thu, Jan 14, 2010 at 10:00 AM, Andrew Beekhof <andrew at beekhof.net> wrote:
> On Wed, Jan 13, 2010 at 10:54 AM, Jason Lee <listen1001 at 163.com> wrote:
>> hi:
>>        what's the difference between anonymous clone and master/slave clones?
>
> they're orthogonal concepts.
>   http://www.clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/s-resource-clone.html
>
> master/slave resources can be anonymous or globally unique.
>
>>        how to use crm command to set up a apache master/slave clone?
>>
>>
>>        #crm(live)configure: primitive www ocf:heartbeat:apache params confile=/etc/apache2/httpd.conf op
>> monitor intervals=10s
>>        #crm(live)configure: ms ss www
>>
>>        then i got all slaves,how to make one of the node is master?
>
> http://www.clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/ch10s03s03s06.html

Wait a second - a "master" apache instance makes no sense at all.
Apart from not being supported by the agent, how would it differ from
the "slave" instance?




More information about the Pacemaker mailing list