I am looking at building a 4 node cluster spread over 2 physical locations. The locations are connected by fiber. Each location will have two hosts to provide a node to manually migrate to for maintenance and also quick recovery from hardware failure. This requires replication between the node pairs at each location. Due to the need for some USB pass through devices, HA isn't practical.
The obvious options are a single 4 node cluster (benefits of a single pane of glass) or two independently managed clusters of 2 nodes each. From a sizing perspective, a single node could handle everything if it wasn't for the USB devices that are specific to each location and cannot be moved.
I've been looking at various
The obvious options are a single 4 node cluster (benefits of a single pane of glass) or two independently managed clusters of 2 nodes each. From a sizing perspective, a single node could handle everything if it wasn't for the USB devices that are specific to each location and cannot be moved.
I've been looking at various
corosync
configuration options, but I am not sure which ones are supported or recommended. I've come up with the following options:- A Qdevice for each cluster of 2 nodes. Is a Qdevice needed for a 4 node cluster?
- Two node cluster configurations with
wait_for_all
to prevent split brain during startup but should allow shutting down one node for maintenance in a two node cluster.Code:quorum { provider: corosync_votequorum two_node: 1 wait_for_all: 1 }
- Use of
last_man_standing
to allow a single node to remain operational and manageable in a 4 node cluster - Use of
quorum_votes
to allow a single node in 2 node cluster or 4 node cluster to remain operational
Last edited: