On 09/17/2013 02:09 AM, Ray Powell wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512Howdy, 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 _______________________________________________ Gluster-users mailing list [email protected] http://supercolony.gluster.org/mailman/listinfo/gluster-users
