[Pacemaker] configuration of stonith

emmanuel segura emi2fast at gmail.com
Sun Dec 8 09:54:43 EST 2013


shouldn't the delay's be different to avoid a stonith-battle? yes, in
redhat cluster it was like that


2013/12/8 Masopust, Christian <christian.masopust at siemens.com>

>
>
> > -----Ursprüngliche Nachricht-----
> > Von: Digimer [mailto:lists at alteeve.ca]
> > Gesendet: Freitag, 06. Dezember 2013 17:20
> > An: ms at sys4.de; The Pacemaker cluster resource manager
> > Betreff: Re: [Pacemaker] configuration of stonith
> >
> >
> > If you're using 1.1.10+,
> >
> > pcs stonith create fence_pcmk1_ipmi fence_ipmilan \
> >     pcmk_host_list="pcmk-1" ipaddr="pcmk-1.ipmi" \
> >     action="reboot" login="admin" passwd="secret" delay=15 \
> >     op monitor interval=60s
> >
> > pcs stonith create fence_pcmk2_ipmi fence_ipmilan \
> >     pcmk_host_list="pcmk-2" ipaddr="pcmk-2.ipmi" \
> >     action="reboot" login="admin" passwd="secret" delay=15 \
> >     op monitor interval=60s
> >
> > is sufficient.
> >
>
> Hi,
>
> just two questions about setting these stonith:
>
> - shouldn't the delay's be different to avoid a stonith-battle?
>
> - when creating these stonith I see them both started on one single
>   node. Don't I need some location constraints?  Such that "fence_pcmk1"
>   only runs on pcmk2 and vice versa?
>
> Thanks,
> christian
> _______________________________________________
> 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/20131208/4613fa46/attachment-0003.html>


More information about the Pacemaker mailing list