Hemant Mamtora
2017-Oct-26 21:00 UTC
[Gluster-users] Change IP address of few nodes in GFS 3.8
Folks, We have a 12 node replicated gluster with 2 X 6. I need to change IP address in 6 nodes out of the 12 nodes, keeping the host name same. The 6 nodes that I plan to change IP are part of the 3 sub-volumes. Is this possible and if so is there any formal process to tell that there is a change in IP address. My requirement is to keep the volume up and not bring it down. I can change IP address for the nodes one at a time. When a IP change is done that node will be rebooted as well. Many thanks in advance. -- - Hemant Mamtora
Atin Mukherjee
2017-Oct-30 16:46 UTC
[Gluster-users] Change IP address of few nodes in GFS 3.8
If the gluster nodes are peer probed through FQDNs then you?re good. If they?re done through IPs then for every node you?d need to replace the old IP with new IP for all the files in /var/lib/glusterd along with renaming the filenames with have the associated old IP and restart all gluster services. I used to have a script for this which I shared earlier in users ML, need to dig through my mailbox and find it. On Sun, 29 Oct 2017 at 18:45, Hemant Mamtora <hemantrm at hotmail.com> wrote:> Folks, > > We have a 12 node replicated gluster with 2 X 6. > > I need to change IP address in 6 nodes out of the 12 nodes, keeping the > host name same. The 6 nodes that I plan to change IP are part of the 3 > sub-volumes. > > Is this possible and if so is there any formal process to tell that > there is a change in IP address. > > My requirement is to keep the volume up and not bring it down. I can > change IP address for the nodes one at a time. When a IP change is done > that node will be rebooted as well. > > Many thanks in advance. > > -- > - Hemant Mamtora > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://lists.gluster.org/mailman/listinfo/gluster-users >-- - Atin (atinm) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20171030/5402450f/attachment.html>
Hemant Mamtora
2017-Nov-03 14:39 UTC
[Gluster-users] Change IP address of few nodes in GFS 3.8
Thanks Atin. Peer probes were done using FQDN and I was able to make these changes. The only thing I had to do on rest of the nodes was to flush nscd; after that everything was good and I did not have to restart gluster services on these rest of the nodes. - Hemant On 10/30/17 11:46 AM, Atin Mukherjee wrote: If the gluster nodes are peer probed through FQDNs then you?re good. If they?re done through IPs then for every node you?d need to replace the old IP with new IP for all the files in /var/lib/glusterd along with renaming the filenames with have the associated old IP and restart all gluster services. I used to have a script for this which I shared earlier in users ML, need to dig through my mailbox and find it. On Sun, 29 Oct 2017 at 18:45, Hemant Mamtora <hemantrm at hotmail.com<mailto:hemantrm at hotmail.com>> wrote: Folks, We have a 12 node replicated gluster with 2 X 6. I need to change IP address in 6 nodes out of the 12 nodes, keeping the host name same. The 6 nodes that I plan to change IP are part of the 3 sub-volumes. Is this possible and if so is there any formal process to tell that there is a change in IP address. My requirement is to keep the volume up and not bring it down. I can change IP address for the nodes one at a time. When a IP change is done that node will be rebooted as well. Many thanks in advance. -- - Hemant Mamtora _______________________________________________ Gluster-users mailing list Gluster-users at gluster.org<mailto:Gluster-users at gluster.org> http://lists.gluster.org/mailman/listinfo/gluster-users -- - Atin (atinm) -- - Hemant Mamtora -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20171103/bddcb872/attachment.html>
Apparently Analagous Threads
- Change IP address of few nodes in GFS 3.8
- Gluster Server upgrade from 3.5 to 3.8 in online upgrade mode
- Gluster Server upgrade from 3.5 to 3.8 in online upgrade mode
- Gluster Server upgrade from 3.5 to 3.8 in online upgrade mode
- Change IP address of few nodes in GFS 3.8