[Pacemaker] Stonith question

Andrew Beekhof andrew at beekhof.net
Sun Nov 10 18:23:13 EST 2013


On 9 Nov 2013, at 1:55 am, s.oreilly <s.oreilly at linnovations.co.uk> wrote:

> Hi Chrissie, thanks I did try that and it didn't work, but then, neither has
> adding the location constraints so maybe (and this is very possible) I am doing
> something else wrong!!

Quite probably. But we cant say for sure without logs.

> 
> Sean O'Reilly
> 
> On Fri 08/11/13  2:40 PM , Christine Caulfield ccaulfie at redhat.com sent:
>> 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> <
>> 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 g
>> mail.com>      mail.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>     >      >
> 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>
>> 
>> 
>> _______________________________________________
>> Pacemaker mailing list:
> Pacemaker at oss.clusterlabs.orghttp://oss.clusterlabs.org/mailman/listinfo/pacemaker
>> Project Home: http://www.clusterlabs.orgGetting started:
> http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdfBugs:
> 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





More information about the Pacemaker mailing list