Change Externally Facing IP Addresses

Change IP addresses—for customers to change after ClusterStor is installed

Use this procedure to change externally facing IP addresses, for customers to change one or both of the IP addresses of a ClusterStor system after it has been installed. Each MGMT node binds an Ethernet interface to one of these externally facing IP addresses. On release 3.0.0 and 3.1 and later, that interface is pub0, which is used in the following examples. On releases 1.5.0, 2.0.0, and 2.1.0, that interface is eth1.
  1. Log in to the secondary MGMT node.
  2. SSH to the primary MGMT node:
    $ ssh -l admin primary_MGMT_node
  3. Sudo to root:
    [admin@n000]$ sudo su -
  4. Edit the Ethernet configuration file and change as desired:
    [root@n000]# vi /etc/sysconfig/network-scripts/ifcfg-pub0
    If the system was initially configured to use dynamic (DHCP) IP addresses, the file will look something like this:
    DEVICE=pub0
    BOOTPROTO=dhcp
    ONBOOT=yes
    If the system was configured to use static IP addresses, it will look something like this:
    DEVICE=pub0
    BOOTPROTO=static
    IPADDR=xx.xx.xx.xx
    NETMASK=255.255.x.x
    GATEWAY=xx.xx.xx.xx
    ONBOOT=yes
    Where xx.xx.xx.xx is the valid IP address.
  5. Toggle the Ethernet interface:
    [root@n000]# ifdown pub0; ifup pub0
  6. Exit out of the SSH session for the primary MGMT node.
  7. Log in to the primary MGMT node and SSH into the secondary MGMT node.
  8. Repeat steps 3 through 5 to configure the externally facing IP address on the secondary MGMT node.