The problem
Problems with "two_node" Clusters This corosync options depends on a fence race condition, and only works using reliable HW fence devices. Above 'self fencing' algorithm does not work if you use this option! Via https://git.proxmox.com/?p=pve-ha-m...177f16e81fba2df819a4e469cd03323ac89a4;hb=HEAD
The workaround
Let’s say we have 2 bare metal servers ( server 1 + server2).
The suggested setup, with 4 nodes cluster:
Node1 - Proxmox bare metal server1
Node2 - Nested Proxmox on KVM on server1
Node3- Proxmox bare metal server2
Node4 - Nested Proxmox on KVM on server2
The nested nodes, will be only “dummy” nodes, just to satisfy the “fencing algorithm” , there won’t be VMs on.
Questions:
1. Is there a flow, in this design?
2. If server1 goes down, from the initial 4 nodes cluster, I shall have only 2 active ( node3, node4)
The minimum 3 nodes recommendation, is about total number of nodes in the cluster, and you should be fine if, at a certain moment, you have only 2 active… Or, you should have all the time minimum 3 active-online ? From my tests, works even with 2 online, in case of the third node failure.
See also:
For HA, 3 nodes were always needed and recommended. https://forum.proxmox.com/threads/proxmox-4-1-2-nodes.26172/#post-131335
If you are interested in High Availability too, for reliable quorum you must have at least 3 active nodes at all times (all nodes should have the same version). https://pve.proxmox.com/wiki/Proxmox_VE_4.x_Cluster#Requirements
Thx!
Problems with "two_node" Clusters This corosync options depends on a fence race condition, and only works using reliable HW fence devices. Above 'self fencing' algorithm does not work if you use this option! Via https://git.proxmox.com/?p=pve-ha-m...177f16e81fba2df819a4e469cd03323ac89a4;hb=HEAD
The workaround
Let’s say we have 2 bare metal servers ( server 1 + server2).
The suggested setup, with 4 nodes cluster:
Node1 - Proxmox bare metal server1
Node2 - Nested Proxmox on KVM on server1
Node3- Proxmox bare metal server2
Node4 - Nested Proxmox on KVM on server2
The nested nodes, will be only “dummy” nodes, just to satisfy the “fencing algorithm” , there won’t be VMs on.
Questions:
1. Is there a flow, in this design?
2. If server1 goes down, from the initial 4 nodes cluster, I shall have only 2 active ( node3, node4)
The minimum 3 nodes recommendation, is about total number of nodes in the cluster, and you should be fine if, at a certain moment, you have only 2 active… Or, you should have all the time minimum 3 active-online ? From my tests, works even with 2 online, in case of the third node failure.
See also:
For HA, 3 nodes were always needed and recommended. https://forum.proxmox.com/threads/proxmox-4-1-2-nodes.26172/#post-131335
If you are interested in High Availability too, for reliable quorum you must have at least 3 active nodes at all times (all nodes should have the same version). https://pve.proxmox.com/wiki/Proxmox_VE_4.x_Cluster#Requirements
Thx!
Last edited: