Can you re-ip servers in a gluster brick without breaking it?

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

 



On 09/17/2013 02:09 AM, Ray Powell wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> Howdy,
>     We need to re-ip the servers that make up a gluster volume.
> Unfortunately when they were setup I was stupid and did not use
> hostnames and instead specified each brick in the volume by ip.  Ex
> 10.103.114.4:/exports/DATA 10.103.114.5:/exports/DATA ...
> 10.103.114.X:/exports/DATA
>
>    Can I just stop gluster services on every server, search/replace the
> contents of /var/lib/glusterd/vols and /var/lib/glusterd/peers, then
> restart everything?  My fear is the hostname (IP) is important to
> something in DHT or the metadata written to the bricks xattrs.
>

The metadata maintained in bricks is not a function of the hostname or 
IP. The procedure that you refer to should work. Make sure that you have 
a backup of /var/lib/glusterd on each node before you attempt this :-).

-Vijay



[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