[Pacemaker] how to realize group with colocation?

Andrew Beekhof andrew at beekhof.net
Mon May 17 03:40:16 EDT 2010


version? actual config? cibadmin output?

On Mon, May 17, 2010 at 9:14 AM, 李森 <lisen1001 at gmail.com> wrote:
> hi all:
>
>        I create a group with two resources:
>
> group1:
>             ip-aliase
>             apache
>
>        my cluster has two nodes:
>
> crm(live)# configure
> crm(live)configure# property symmetric-cluster=false
> crm(live)configure# location constrain1 group1 200: host1
> crm(live)configure# location constrain2 group2 100: host2
>
> #################
>
> my problem is when the ip-aliase runs ok and the apache is failed,the group1
> can't move to host2:
>
> Onlien [ host1 host2]
>
> Resource Group: group1
>          ip-aliase                Started host1
>          apache                  Stoppped
>
> i want to realise that if one of the resources in a group is failed,then the
> group is failed and move to another node in the cluster.
>
>
>
> _______________________________________________
> 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
>




More information about the Pacemaker mailing list