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

Shilu shi.lu at h3c.com
Mon Nov 16 07:08:53 EST 2015


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.

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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20151116/6d6904cb/attachment-0002.html>


More information about the Users mailing list