DCA · Question #85
Seven managers are in a swarm cluster. Is this how should they be distributed across three datacenters or availability zones? Solution: 3-3-1
The correct answer is B. No. A 3-3-1 distribution of seven Docker Swarm managers across three datacenters is not an ideal configuration as it results in one datacenter becoming a single point of failure for quorum.
Question
Seven managers are in a swarm cluster. Is this how should they be distributed across three datacenters or availability zones? Solution: 3-3-1
Options
- AYes
- BNo
How the community answered
(51 responses)- A25% (13)
- B75% (38)
Why each option
A 3-3-1 distribution of seven Docker Swarm managers across three datacenters is not an ideal configuration as it results in one datacenter becoming a single point of failure for quorum.
A 3-3-1 distribution means that if one of the datacenters with three managers goes offline, the remaining total of four managers barely meets quorum, and any further node loss would compromise cluster availability.
With seven Docker Swarm managers, a Raft quorum requires at least four nodes. A 3-3-1 distribution means if a datacenter with three managers fails, the remaining three managers in the second datacenter plus the single manager in the third datacenter (3+1=4) can barely maintain quorum, and any additional failure would lead to a cluster outage.
Concept tested: Docker Swarm manager quorum distribution
Source: https://docs.docker.com/engine/swarm/admin_guide/#add-manager-nodes-for-high-availability
Topics
Community Discussion
No community discussion yet for this question.