[Pacemaker] resource doesn't migrate after failcount is reached

emmanuel segura emi2fast at gmail.com
Mon Oct 22 13:48:20 UTC 2012


Hello Andreas

Thanks :-) That solved my problem

2012/10/21 Andreas Kurz <andreas at hastexo.com>

> 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
> >
>
>
>
>
> _______________________________________________
> 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
>
>


-- 
esta es mi vida e me la vivo hasta que dios quiera
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20121022/148ab684/attachment.htm>


More information about the Pacemaker mailing list