[Pacemaker] configuration of stonith

emmanuel segura emi2fast at gmail.com
Fri Dec 6 15:57:43 UTC 2013


make two resources

pcs -f stonith_cfg stonith create impi-fencing fence_ipmilan
pcmk_host_list="sv2836" ipaddr=10.0.0.1 login=testuser passwd=acd123 op
monitor interval=60s

pcs -f stonith_cfg stonith create impi-fencing fence_ipmilan
pcmk_host_list="sv2837" ipaddr=10.0.0.2 login=testuser passwd=acd123 op
monitor interval=60s


2013/12/6 Dvorak Andreas <Andreas.Dvorak at baaderbank.de>

> Dear all
>
>
>
> I would like to configure stonith and found example like this:
>
> pcs cluster cib stonith_cfg
>
> pcs -f stonith_cfg stonith
>
> pcs -f stonith_cfg stonith create impi-fencing fence_ipmilan
> pcmk_host_list="sv2836 sv2837" ipaddr=10.0.0.1 login=testuser passwd=acd123
> op monitor interval=60s
>
> pcs -f stonith_cfg property set stonith-enabled=true
>
> pcs -f stonith_cfg property
>
> pcs cluster push cib stonith_cfg
>
>
>
> But I have two different ip addresses, one for each server, so I do not
> know how to configure that. Can you please help me?
>
>
>
> Best regards,
>
> Andreas
>
> _______________________________________________
> 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/20131206/adedc7ce/attachment.htm>


More information about the Pacemaker mailing list