I have a question regarding 2 node HA cluster configuration.
I am confused whether quorum configuration is required for 2 node cluster configuration on Cent OS 7. I was researching online and there were conflicting ideas. Somewhere its said it does not make sense to configure quorum disk on 2 node cluster, others highly recommend quorum disk configuration. Is it required?
HA Cluster question
Re: HA Cluster question
No but fencing is required.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
-
- Posts: 2019
- Joined: 2015/02/17 15:14:33
- Location: Bulgaria
- Contact:
Re: HA Cluster question
You can consider using poison pill device (a.k.a. sbd) for fencing which can be provided over iscsi.For watchdog, you can use even 'softdog' kernel module.
In our production environment, we are using 3 sbd devices - one per each storage and one iscsi.
In our production environment, we are using 3 sbd devices - one per each storage and one iscsi.
Re: HA Cluster question
Thank you for your reply. We are using vmware fencing agent.
Re: HA Cluster question
I configured fencing using the below command:
However, sometimes the fencing resource does not start and I have to do a resource cleanup. Is it possible to configure a different fencing agent that will restart or poweroff virtualized (vmware) cluster nodes? I don't think vcenter user will be reliable as vcenter can be down!
Also, here is what I found on RHEL official docs regarding quorum device: A quorum device is recommended for clusters with an even number of nodes and highly recommended for two-node clusters.
Code: Select all
# pcs stonith create sfence fence_vmware_soap ipaddr="vcenterIP" ipport=443 ssl=1 ssl_insecure=1 login='username' passwd='password' action=reboot pcmk_host_map="node1hostname:node1VMname;node2hostname:node2VMname"
Also, here is what I found on RHEL official docs regarding quorum device: A quorum device is recommended for clusters with an even number of nodes and highly recommended for two-node clusters.
-
- Posts: 2019
- Joined: 2015/02/17 15:14:33
- Location: Bulgaria
- Contact:
Re: HA Cluster question
Another fencing mechanism is poison pill (a.k.a. sbd device).
You can load the 'softdog' module on both nodes. Prepare an iSCSI target that will host the sbd device and then login both nodes to this iSCSI target.
You can use up to 3 sbd devices and they are not limited only to iSCSI
You can load the 'softdog' module on both nodes. Prepare an iSCSI target that will host the sbd device and then login both nodes to this iSCSI target.
You can use up to 3 sbd devices and they are not limited only to iSCSI