[ClusterLabs] stonith device locate on same host in active/passive cluster

Albert Weng weng.albert at gmail.com
Mon May 1 21:39:19 EDT 2017

Hi All,

I have created active/passive pacemaker cluster on RHEL 7.

here is my environment:
clustera :
clusterb :
clustera-ilo4 :
clusterb-ilo4 :

both nodes are connected SAN storage for shared storage.

i used the following cmd to create my stonith devices on each node :
# pcs -f stonith_cfg stonith create ipmi-fence-node1 fence_ipmilan parms
lanplus="ture" pcmk_host_list="clustera" pcmk_host_check="static-list"
action="reboot" ipaddr="" login=adminsitrator passwd=1234322
op monitor interval=60s

# pcs -f stonith_cfg stonith create ipmi-fence-node02 fence_ipmilan parms
lanplus="true" pcmk_host_list="clusterb" pcmk_host_check="static-list"
action="reboot" ipaddr="" login=USERID passwd=password op
monitor interval=60s

# pcs status
ipmi-fence-node1                     clustera
ipmi-fence-node2                     clusterb

but when i failover to passive node, then i ran
# pcs status

ipmi-fence-node1                    clusterb
ipmi-fence-node2                    clusterb

why both fence device locate on the same node ?

Kind regards,
Albert Weng

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20170502/1c8cc73a/attachment-0002.html>

More information about the Users mailing list