Gilberto Nunes
2020-Oct-20 13:53 UTC
[Gluster-users] gluster replica 3 with third less powerful machine
Hi I have 3 servers but the third one is a very low machine compared to the 2 others servers. How could I create a replica 3 in order to prevent split-brain, but tell the gluster to not use the third node too much??? I hope I can make myself understandable. Thanks --- Gilberto Nunes Ferreira -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20201020/07d3cc28/attachment.html>
Diego Zuccato
2020-Oct-21 07:12 UTC
[Gluster-users] gluster replica 3 with third less powerful machine
Il 20/10/20 15:53, Gilberto Nunes ha scritto:> I have 3 servers but the third one is a very low machine compared to the > 2 others servers.How much RAM does it have?> How could I create a replica 3 in order to prevent split-brain, but tell > the gluster to not use the third node too much???You could have it host just arbiters in a "replica 3 arbiter 1" volume. I currently use a VM in this role, but it needs at least 8GB RAM to avoid OOM (it handles 26 arbiters, so you probably can get away with less if you have less bricks). My VM also have 8 CPUs to reduce the time needed for resync. Remember that backing filesystems for arbiters should be tweaked for allowing a lot of inodes. I formatted my XFS volumes with mkfs.xfs -i size=512,maxpct=90 /dev/sdXn to allow up to 90% for inodes (instead of the usual 5%) => a single fs can handle multiple arbiter bricks. -- Diego Zuccato DIFA - Dip. di Fisica e Astronomia Servizi Informatici Alma Mater Studiorum - Universit? di Bologna V.le Berti-Pichat 6/2 - 40127 Bologna - Italy tel.: +39 051 20 95786
Strahil Nikolov
2020-Oct-21 10:31 UTC
[Gluster-users] gluster replica 3 with third less powerful machine
I would use the thord system as an arbiter which stores only metadata of the file , but no data. For such systems , SSDs are most optimal. Best Regards, Strahil Nikolov ? ???????, 20 ???????? 2020 ?., 16:53:59 ???????+3, Gilberto Nunes <gilberto.nunes32 at gmail.com> ??????: Hi I have 3 servers but the third one is a very low machine compared to the 2 others servers. How could I create a replica 3 in order to prevent split-brain, but tell the gluster to not use the third node too much??? I hope I can make myself?understandable. Thanks --- Gilberto Nunes Ferreira ________ Community Meeting Calendar: Schedule - Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC Bridge: https://bluejeans.com/441850968 Gluster-users mailing list Gluster-users at gluster.org https://lists.gluster.org/mailman/listinfo/gluster-users