[Pacemaker] Some questions about master/slave clones?

Jason Lee listen1001 at 163.com
Thu Jan 14 12:22:02 UTC 2010


Thank you for your reply.
I read the document,but what still bother me is i don't understand the 
master/slaver relationship.
would you please give me a example of what kind of resource should use 
the master/slaver clone?


于 2010-1-14 17:01, Andrew Beekhof 写道:
> 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?
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
>    





More information about the Pacemaker mailing list