[Pacemaker] Stonith question

Christine Caulfield ccaulfie at redhat.com
Fri Nov 8 14:40:46 UTC 2013


On 08/11/13 14:20, emmanuel segura wrote:
> with location constrain. if you need info about constrains, you can look
> the clusterlab docs
>
>

You don't need to do that. Stonith is intelligent enough to know how to 
fence a node regardless of where the device is supposedly running from.

Try it ;-)

Chrissie


> 2013/11/8 s.oreilly <s.oreilly at linnovations.co.uk
> <mailto:s.oreilly at linnovations.co.uk>>
>
>     That's what I thought. How do I specify which node to run them on?
>
>     Many thanks
>
>     Sean O'Reilly
>
>     On Fri 08/11/13  1:08 PM , "emmanuel segura" emi2fast at gmail.com
>     <mailto:emi2fast at gmail.com> sent:
>      > fence of host1 needs to be running on host2 and fence of host2
>     needs to be
>      > running on host1
>      >
>      > 2013/11/8 s.oreilly
>      > I am trying to configure stonith on a 2 node cluster.
>      >
>      > Using fence_vmware_soap and it works manually
>      >
>      > I configure stonith as below
>      >
>      > pcs stonith create test-stonith1 params ipaddr=vcenterserver
>     login-login
>      > passwd=passwd ssl=1 port=hostname1 action=reboot
>      > pcs stonith create test-stonith2 params ipaddr=vcenterserver
>     login-login
>      > passwd=passwd ssl=1 port=hostname2 action=reboot
>      >
>      > Both of these stonith resources start on the same host. Is this
>     correct?
>      > Doesn't
>      > seem right to me????
>      >
>      > Many thanks
>      >
>      > Sean O'Reilly
>      >
>      > _______________________________________________
>      > Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
>     <mailto:Pacemaker at oss.clusterlabs.org>
>      > http://oss.clusterlabs.org/mailman/listinfo/pacemaker [1]
>      >
>      > Project Home: http://www.clusterlabs.org [2]
>      > Getting started:
>     http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>      > [3]
>      > Bugs: http://bugs.clusterlabs.org [4]
>      >
>      > --
>      > esta es mi vida e me la vivo hasta que dios quiera
>      >
>      > Links:
>      > ------
>      > [1] http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>      > [2] http://www.clusterlabs.org
>      > [3] http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>      > [4] http://bugs.clusterlabs.org
>      >
>      >
>
>
>
>
> --
> 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
>





More information about the Pacemaker mailing list