[ClusterLabs] how to configure fence in a two node cluster?who can help me?

Dejan Muhamedagic dejanmm at fastmail.fm
Tue Nov 17 08:18:21 UTC 2015


Hi,

On Mon, Nov 16, 2015 at 12:08:53PM +0000, Shilu wrote:
> The following configuration is mine.it work well when I didn't add the fence configureation.
> But when I add the configureation primitive st-ipmilan1 stonith:ipmilan, it report the following error.
> I want to know how to configure it and how to confirm that it will work well.

Please use stonith:external/ipmi as stonith:ipmilan is
deprecated.

Otherwise, if you can use the ipmitool(8) with the same
parameters, then the stonith resource should work too.

Thanks,

Dejan

> Failed actions:
>     st-ipmilan1_monitor_0 (node=ubuntu212, call=-1, rc=1, status=Timed Out, last
> -rc-change=Mon Nov 16 06:47:19 2015
> , queued=0ms, exec=0ms
> ): unknown error
> 
> 
> node $id="3232244179" ubuntu211
> node $id="3232244180" ubuntu212
> primitive VIP ocf:heartbeat:IPaddr \
>          params ip="192.168.33.129" \
>          op monitor timeout="10s" interval="1s"
> primitive lunit ocf:heartbeat:iSCSILogicalUnit \
>          params implementation="tgt" target_iqn="hoo" lun="1" path="rbd/hoo" tgt
> _bstype="rbd" \
>          op monitor timeout="10s" interval="1s"
> primitive st-ipmilan1 stonith:ipmilan \
>          params hostname="ubuntu211" ipaddr="192.168.33.127" port="623" auth="md
> 5" priv="admin" login="admin" password="12345678"
> primitive tgt ocf:heartbeat:iSCSITarget \
>          params implementation="tgt" iqn="hoo" tid="5" \
>          op monitor interval="1s" timeout="10s"
> group cluster VIP tgt lunit
> property $id="cib-bootstrap-options" \
>          dc-version="1.1.10-42f2063" \
>          cluster-infrastructure="corosync" \
>          stonith-enabled="true" \
>          no-quorum-policy="ignore"
> -------------------------------------------------------------------------------------------------------------------------------------
> ????????????????????????????????????????
> ????????????????????????????????????????
> ????????????????????????????????????????
> ???
> This e-mail and its attachments contain confidential information from H3C, which is
> intended only for the person or entity whose address is listed above. Any use of the
> information contained herein in any way (including, but not limited to, total or partial
> disclosure, reproduction, or dissemination) by persons other than the intended
> recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender
> by phone or email immediately and delete it!

> _______________________________________________
> Users mailing list: Users at clusterlabs.org
> http://clusterlabs.org/mailman/listinfo/users
> 
> 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 Users mailing list