[Pacemaker] resource doesn't migrate after failcount is reached
Andreas Kurz
andreas at hastexo.com
Sat Oct 20 22:12:14 UTC 2012
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 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
> Bugs: http://bugs.clusterlabs.org
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 222 bytes
Desc: OpenPGP digital signature
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20121021/31ee68d8/attachment-0004.sig>
More information about the Pacemaker
mailing list