Miloš Čučulović - MDPI
2016-Dec-02 16:08 UTC
[Gluster-users] Add new server to glusterFS (replica)
Hi All, I have a running GlusterFS volume with one brick, the actual server1. I purchased a 2nd server and would like to add it as replica. Could someone propose a tutorial? Should I first sync the files between server1 and server2? Thank you! -- - Kindest regards, Milos Cuculovic IT Manager --- MDPI AG Postfach, CH-4020 Basel, Switzerland Office: St. Alban-Anlage 66, 4052 Basel, Switzerland Tel. +41 61 683 77 35 Fax +41 61 302 89 18 Email: cuculovic at mdpi.com Skype: milos.cuculovic.mdpi
Nag Pavan Chilakam
2016-Dec-02 16:41 UTC
[Gluster-users] Add new server to glusterFS (replica)
Hi Milos, You need to follow the below steps: 1)once you identify server2, install the same version gluster packages as in server1 2) peer server2 from server1 3) do a "gluster volume add-brick <volname> replica 2 <server2 brickpath which you want as the replica pair> The syncing of files in your gluster storage will happen automatically when self-heal deamon picks up the job. If you don't want to wait, issue a "gluster volume heal <volname> thanks, nag pavan ----- Original Message ----- From: "Milo? ?u?ulovi? - MDPI" <cuculovic at mdpi.com> To: gluster-users at gluster.org Sent: Friday, 2 December, 2016 9:38:55 PM Subject: [Gluster-users] Add new server to glusterFS (replica) Hi All, I have a running GlusterFS volume with one brick, the actual server1. I purchased a 2nd server and would like to add it as replica. Could someone propose a tutorial? Should I first sync the files between server1 and server2? Thank you! -- - Kindest regards, Milos Cuculovic IT Manager --- MDPI AG Postfach, CH-4020 Basel, Switzerland Office: St. Alban-Anlage 66, 4052 Basel, Switzerland Tel. +41 61 683 77 35 Fax +41 61 302 89 18 Email: cuculovic at mdpi.com Skype: milos.cuculovic.mdpi _______________________________________________ Gluster-users mailing list Gluster-users at gluster.org http://www.gluster.org/mailman/listinfo/gluster-users
Hi Milos, On a more generic note, the process of expanding an existing volume is described here in the documentation: https://gluster.readthedocs.io/en/latest/Administrator%20Guide/Managing%20Volumes/#expanding-volumes Best, M. -------- Original Message -------- Subject: [Gluster-users] Add new server to glusterFS (replica) Local Time: December 2, 2016 5:08 PM UTC Time: December 2, 2016 4:08 PM From: cuculovic at mdpi.com To: gluster-users at gluster.org Hi All, I have a running GlusterFS volume with one brick, the actual server1. I purchased a 2nd server and would like to add it as replica. Could someone propose a tutorial? Should I first sync the files between server1 and server2? Thank you! -- - Kindest regards, Milos Cuculovic IT Manager --- MDPI AG Postfach, CH-4020 Basel, Switzerland Office: St. Alban-Anlage 66, 4052 Basel, Switzerland Tel. +41 61 683 77 35 Fax +41 61 302 89 18 Email: cuculovic at mdpi.com Skype: milos.cuculovic.mdpi _______________________________________________ Gluster-users mailing list Gluster-users at gluster.org http://www.gluster.org/mailman/listinfo/gluster-users -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20161202/d95bc685/attachment.html>