Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

The following procedure is applicable to Appliance Mode Only

The steps below are only applicable for All-in-One DPOD appliance mode installation only. In non-appliance installations, the operating system and network configuration is under the responsibility of the customer, so the following procedure can only be used as an example.
For details about changing network addresses in a Cell environment, Change Cell Environment's Network Addresses.

The appliance IP addresses are address is static by default. Hence, changing the IP address of the appliance requires a few steps.

  1. Change the IP address (IPADDR) of the network interface, and if required also the network subnet mask (NETMASK), by editing the network interface configuration file (e.g.: for network interface eth0):

    Code Block
    languagebash
    vi /etc/sysconfig/network-scripts/ifcfg-eth0

    You may use the command ip a to display the list of current IP addresses and network interfaces.

  2. [Optional] If the appliance’s network subnet has changed, change the default gateway (GATEWAY) by editing the network configuration file:

    Code Block
    languagebash
    vi /etc/sysconfig/network

    You may use the command ip route to display the current routing configuration.

  3. [Optional] If the DNS configuration has changed, change the name servers (nameserver) by editing the DNS configuration file:

    Code Block
    languagebash
    vi /etc/resolv.conf
  4. Restart the network service:

    Code Block
    languagebash
    systemctl restart network
  5. Update hosts file and replace the old IP address with the new IP address:

    Code Block
    sed -i "3,1000 s/<Old IP Address>/<New IP Address>/" /etc/hosts
  6. Run the following SQL using ij utility:

    Code Block
    update node set agentsIp='<New IP Address>' where agentsIp='<Old IP Address>';
    update node set
    restClientAddress='https://<New IP Address>' where restClientAddress='https://<Old IP Address>';
    UPDATE HatsRecurringTask SET isEnabled = true where tasktype = 'POST_UPGRADE';
    quit;
  7. Stop all the application services using app-util.sh -> option 2 (stop all)

  8. Start all the application services using app-util.sh -> option 1 (start all)