[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 : 192.168.11.1
clusterb : 192.168.11.2
clustera-ilo4 : 192.168.11.10
clusterb-ilo4 : 192.168.11.11
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="192.168.11.10" 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="192.168.11.11" 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
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
不含病毒。www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
-------------- 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