this post was submitted on 09 Nov 2023
1 points (100.0% liked)
Homelab
380 readers
9 users here now
Rules
- Be Civil.
- Post about your homelab, discussion of your homelab, questions you may have, or general discussion about transition your skill from the homelab to the workplace.
- No memes or potato images.
- We love detailed homelab builds, especially network diagrams!
- Report any posts that you feel should be brought to our attention.
- Please no shitposting or blogspam.
- No Referral Linking.
- Keep piracy discussion off of this community
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.