[Gluster-users] Add new server to glusterFS (replica)

Page, Garrett S garrett.s.page at intel.com
Fri Dec 2 17:17:20 UTC 2016


These are the correct steps. I'll add that we did some experiments and pre-staging the data on the new brick did seem to reduce the rebuild time. 

-----Original Message-----
From: gluster-users-bounces at gluster.org [mailto:gluster-users-bounces at gluster.org] On Behalf Of Nag Pavan Chilakam
Sent: Friday, December 02, 2016 8:42 AM
To: Miloš Čučulović - MDPI <cuculovic at mdpi.com>
Cc: gluster-users at gluster.org
Subject: Re: [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
_______________________________________________
Gluster-users mailing list
Gluster-users at gluster.org
http://www.gluster.org/mailman/listinfo/gluster-users


More information about the Gluster-users mailing list