Re: Add new server to glusterFS (replica)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx [mailto:gluster-users-bounces@xxxxxxxxxxx] On Behalf Of Nag Pavan Chilakam
Sent: Friday, December 02, 2016 8:42 AM
To: Miloš Čučulović - MDPI <cuculovic@xxxxxxxx>
Cc: gluster-users@xxxxxxxxxxx
Subject: Re:  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@xxxxxxxx>
To: gluster-users@xxxxxxxxxxx
Sent: Friday, 2 December, 2016 9:38:55 PM
Subject:  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@xxxxxxxx
Skype: milos.cuculovic.mdpi
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users




[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux