Gilberto Ferreira
2024-Nov-05 15:51 UTC
[Gluster-users] Add an arbiter when have multiple bricks at same server.
Hi there. In previous emails, I comment with you guys, about 2 node gluster server, where the bricks lay down in different size and folders in the same server, like gluster vol create VMS replica 2 gluster1:/disco2TB-0/vms gluster2:/disco2TB-0/vms gluster1:/disco1TB-0/vms gluster2:/disco1TB-0/vms gluster1:/disco1TB-1/vms gluster2:/disco1TB-1/vms So I went ahead and installed a Debian 12 and installed the same gluster version that the other servers, which is now 11.1 or something like that. In this new server, I have a small disk like 480G in size. And I created 3 partitions formatted with XFS using imaxpct=75, as suggested in previous emails. And than in the gluster nodes, I tried to add the brick gluster vol add-brick VMS replica 3 arbiter 1 arbiter:/arbiter1/arbiter1 arbiter:/arbiter2/arbiter2 arbiter:/arbiter3/arbiter3 But to my surprise (or not!) I got this message: volume add-brick: failed: Multiple bricks of a replicate volume are present on the same server. This setup is not optimal. Bricks should be on different nodes to have best fault tolerant co nfiguration. Use 'force' at the end of the command if you want to override this behavior. Why is that? --- Gilberto Nunes Ferreira -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20241105/f98d92c9/attachment.html>
Andreas Schwibbe
2024-Nov-05 16:22 UTC
[Gluster-users] Add an arbiter when have multiple bricks at same server.
Your add-brick command adds 2 bricks 1 arbiter (even though you name them all arbiter!) The sequence is important: gluster v add-brick VMS replica 2 arbiter 1 gluster1:/gv0 gluster2:/gv0 arbiter1:/arb1 adds two data bricks and a corresponding arbiter from 3 different servers and 3 different disks,? thus you can loose any one server OR any one disk and stay up and consistent. adding more bricks to the volume you can follow the pattern. A. Am Dienstag, dem 05.11.2024 um 12:51 -0300 schrieb Gilberto Ferreira:> Hi there. > > In previous emails, I comment with you guys, about 2 node gluster > server, where the bricks lay down in different size and folders in > the same server, like > > gluster vol create VMS replica 2 gluster1:/disco2TB-0/vms > gluster2:/disco2TB-0/vms gluster1:/disco1TB-0/vms gluster2:/disco1TB- > 0/vms gluster1:/disco1TB-1/vms gluster2:/disco1TB-1/vms > > So I went ahead and installed a Debian 12 and installed the same > gluster version that the other servers, which is now 11.1 or > something like that. > In this new server, I have a small disk like 480G in size. > And I created 3 partitions?formatted?with XFS using?imaxpct=75, as > suggested in previous emails. > > And than in the gluster nodes, I tried to add the brick > gluster vol add-brick VMS replica 3 arbiter 1 > arbiter:/arbiter1/arbiter1 arbiter:/arbiter2/arbiter2 > arbiter:/arbiter3/arbiter3 > > But to my surprise (or not!) I got this message: > volume add-brick: failed: Multiple bricks of a replicate volume are > present on the same server. This setup is not optimal. Bricks should > be on different nodes to have best fault tolerant co > nfiguration. Use 'force' at the end of the command if you want to > override this behavior. > > Why is that? > > ? > > > > > --- > > > Gilberto Nunes Ferreira > > > > > ________ > > > > Community Meeting Calendar: > > Schedule - > Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC > Bridge: https://meet.google.com/cpu-eiue-hvk > Gluster-users mailing list > Gluster-users at gluster.org > https://lists.gluster.org/mailman/listinfo/gluster-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20241105/7827a407/attachment.html>
Reasonably Related Threads
- Add an arbiter when have multiple bricks at same server.
- Add an arbiter when have multiple bricks at same server.
- Add an arbiter when have multiple bricks at same server.
- Add an arbiter when have multiple bricks at same server.
- Add an arbiter when have multiple bricks at same server.