[Pacemaker] Some questions about master/slave clones?

Andrew Beekhof andrew at beekhof.net
Thu Jan 14 09:00:37 UTC 2010


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

> Online: [ vm1 vm2 vm3 ]
>
>  Master/Slave Set: ss
>     Slaves: [ vm1 vm2 vm3 ]
>
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>




More information about the Pacemaker mailing list