Loading...

Changing the IP Address For HyperScale Nodes

IP addresses associated with private (Storage Pool) and public (Data Protection) network in the HyperScale nodes can be changed.

Before You Begin

  • The following procedure can be used to address network changes that demand IP address changes.

    Note: The following procedure cannot be used to change IP address resulting from moving a Data Center.

  • Update the DNS to reflect the new IP address of the Storage Pool network and/or the Data Protection network.
  • Set the Disk libraries and MediaAgents associated with the nodes in the Maintenance mode. For more information on setting the Disk Libraries and MediaAgents in the Maintenance mode, see the following:
  • Verify and ensure that the gluster uses hostnames for resolution and does not use the IP addresses directly. Use the following command to verify gluster hostnames:

    gluster peer status

    The above command should list the hostnames associated with the nodes. (IP addresses should not be displayed.)

Procedure

Changing the IP Address of the Storage Pool (Private) Network

  1. Stop the volumes using the following command:

    gluster volume stop <volume_name>

  2. Update the relevant network configuration file for the private network interface with the new IP address, bonded and non-bonded, as follows:
    1. Navigate to the following folder:

      /etc/sysconfig/network-scripts

    2. Modify the following file:

      ifcfg-<Interface name>n

  3. Modify the attributes of the resolv.conf with chattr -i /etc/resolv.conf.

    Make necessary adjustments to the file with nano, vi, or whichever editing tool.

  4. Update /etc/hosts with the new IP address.
  5. Restart the network service to reflect the new IP using the following command:

    systemctl restart network

  6. Restart the volume using the following command:

    gluster volume start <volume name>

Changing the IP Address of the Data Protection (Public) Network

  1. Update the relevant network configuration file for the public network interface with the new IP address - bonded and non-bonded as follows:
    1. Navigate to the following folder:

      /etc/sysconfig/network-scripts

    2. Modify the following file:

      ifcfg-<Interface name>n

  2. Modify the attributes of the resolv.conf with chattr -i /etc/resolv.conf.

    Make necessary adjustments to the file with nano, vi, or whichever editing tool.

  3. Restart the network service using the following command:

    systemctl restart network

What to Do Next

Last modified: 11/1/2019 8:24:27 PM