On 10/20/2012 12:53 PM, emmanuel segura wrote:
> Hello List
> 
> I have a stand alone resource and one group, i would like that when the
> stand alone resource reaches the failcount, the group doesn't migrate
> and the stand alone stays on the node where the group is situated

Then don't set a migration-threshold for that resource ... or maybe I
misunderstand what you want to achieve....

Regards,
Andreas

-- 
Need help with Pacemaker?
http://www.hastexo.com/now


> 
> This is my test conf
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> node suse01
> node suse02
> primitive apache lsb:apache2 \
>         op monitor interval="60s"
> primitive dovecot lsb:dovecot \
>         op monitor interval="20s"
> primitive dummy ocf:heartbeat:Dummy
> group apachegroup dummy apache
> colocation mycolo inf: dovecot apachegroup
> property $id="cib-bootstrap-options" \
>         dc-version="1.1.6-9971ebba4494012a93c03b40a2c58ec0eb60f50c" \
>         cluster-infrastructure="openais" \
>         expected-quorum-votes="2" \
>         stonith-enabled="false" \
>         no-quorum-policy="ignore" \
>         last-lrm-refresh="1350729134"
> rsc_defaults $id="rsc-options" \
>         migration-threshold="4"
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> Thanks
> 
> 
> -- 
> esta es mi vida e me la vivo hasta que dios quiera
> 
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker@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://bugs.clusterlabs.org
> 



Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Pacemaker mailing list: Pacemaker@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://bugs.clusterlabs.org

Reply via email to