• 0 Posts
  • 11 Comments
Joined 1 year ago
cake
Cake day: October 22nd, 2023

help-circle










  • For clustering 2 nodes should be fine and so would no shared storage. However if HA clustering is your goal then shared storage and at least 3 other nodes is pretty much the only way to do HA clustering properly. Sure you could do it without 3 nodes and without shared storage but it wouldn’t be the proper way. 3 servers are needed because of how quorum works. Without that 3rd node both nodes will start considering the other one as down and they each vote for themselves and act accordingly and ultimately you risk potential outage and if replication is used you even risk data corruption. Now that’s not that big of a deal in a home lab but kinda defeats the purpose of HA. Now as for shared storage you don’t need it but it’s definitely much better than replication because 1. replication is very taxing on the network and 2. You don’t have to worry about how often to replicate the data therefore your data is never “behind”. Personally I set my HA clusters up with Ceph as my shared storage but nothing is stopping you from using ZFS it’s really up to you on what shared storage method you wanna use.