Fencing devices when using fence_vmware_soap
Hi,
I am trying to setup a 6 node Redhat HA cluster for Resilient storage and I am confused of the number of fencing devices and the type. My environment is as below Using VMware VMs with vCenter Number of nodes 6 OS Redhat 7.9 I am stuck at creating fencing devices. 1. Do I need to create a fencing device for each node or do I need to share one fencing device across all 6 nodes. 2. What method would be the best for resilient storage (GFS2) Thank you and Kind Regards |
Hi All
It seems you can just create one fence device with semicolon separated list of "pacemaker_nodename:node-vm as below # pcs stonith create vmfence01 fence_vmware_soap pcmk_host_map="<pacemaker_nodename1:node1-vm;pacemaker_nodename2:node2-vm>" ipaddr=<ESXi/vCenter IP address> ssl_insecure=1 login=<Vcenter/vSpher login> passwd=<vCenter/vSpher password> delay=10 You can get the node-vm name by using below command # fence_vmware_soap -a <ESXi/vCenter IP address> -l <Vcenter/vSpher login> -p <vCenter/vSpher password> --ssl-insecure -o list | egrep '(node2-vm|node*-vm)' Correct me if I am wrong or there is any additional things that I need to do like creating second stonith device as below and assign a constrain to each to avoid the chance of cluster trying to start both services on the same node # pcs stonith create vmfence fence_vmware_soap pcmk_host_map="<pacemaker_nodename1:node1-vm;pacemaker_nodename2:node2-vm>" ipaddr=<ESXi/vCenter IP address> ssl_insecure=1 login=<Vcenter/vSpher login> passwd=<vCenter/vSpher password> delay=10 Thank you and Kind Regards |
All times are GMT -5. The time now is 02:49 AM. |