Re: hostname

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

 




Hi,

I hope you have gluster volume running on your cluster and you just want to change host name of your nodes to some other host name.
Ex: From hostname1 to hostname2
I think changing a host name of any node is very simple using linux command.
I think changing host name should automatically detect by the peers in peer list of cluster.

Only thing is what will happen to all those volume on which we have bricks with this host name? How that volume is going to recognize bricks when we change the host name.
That's where we have introduced "reset-brick"  command.
https://gluster.readthedocs.io/en/latest/release-notes/3.9.0/
Please go through above link and understand the reset-brick command and usage and try it.
If you have any doubt, please let us know before disturbing  anything on your setup which can lead to volume unavailable.
I hope you are using gluster version 3.9.0 and above.

Ashish






From: "Alexandre Blanca" <alexandre.blanca@xxxxxxxx>
To: gluster-users@xxxxxxxxxxx
Sent: Wednesday, September 20, 2017 6:02:16 PM
Subject: hostname

Hi,

how to change the host name of gluster servers?
if I modify the hostname1 in /etc/lib/glusterd/peers/uuid, the change is not save...
 
gluster pool list return ipserver and not new hostname...
 
Thank you

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://lists.gluster.org/mailman/listinfo/gluster-users

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://lists.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