Versions Compared

Key

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

...

Info

The following procedure is applicable to 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 static by default. Hence, changing the IP address of the appliance is requires a 4-few steps process.

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

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

    Change the values of IPADDR and NETMASK fields

    Code Block
    languagetext
    titleifcfg-eth0
    #My IP description
    # IPv-4
    
    DEVICE="eth0"
    NM_CONTROLLED="yes"
    ONBOOT=yes
    HWADDR=00:ee:dd:cc:bb:aa
    TYPE=Ethernet
    BOOTPROTO=static
    NAME="System eth0"
    UUID=aaaabbbb-7777-8888-9999-aaaabbbbcccc
    IPADDR= 192.168.0.100
    NETMASK=255.255.255.0

    Use the command - ip addr show to see a device's IP address

    When the appliance is moved to a different network subnet - Change the Default gatewayYou 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

    Change the value of the GATEWAY field in the file

    Code Block
    languagetext
    title/etc/sysconfig/network
    NETWORKING=yes
    HOSTNAME=server1.example.com
    GATEWAY=192.168.0.1
    [...]

    Use the command - ip route show to see a device's IP address

    Change DNS name (Optional step) - DNS can be added or changed in the file /etc/resolv.conf 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

    Change or add Domain Name Servers if required.

    Code Block
    languagetext
    titleresolv.conf
    [...]
    nameserver	192.168.1.1
    nameserver	192.168.1.2
    [...]
  4. Restart the network service:

    Code Block
    languagebash
    titlerestart network services
    servicesystemctl restart network restart

    Edit the /etc/hosts file

    Change all the entries referring to the
  5. Update hosts file and replace the old IP address to use with the new IP address. For example:

    Code Block
    languagebash
    titlerestart network services
    192.168.65.175     montier-management
    192.168.65.175     montier-syslog
    192.168.65.175     montier-wsm
    192.168.65.175     montier-ext-eth

    No need to change entries using the IP address 127.0.0.1

  6. Stop and Start all system services.
  7. In the web console navigate to system → nodes and edit the IP address of the agents in your data node raw.
  8. Re-configure syslog for the default domain on each monitored device (the Setup Syslog for device  on the Device Management section
    sed -i "3,1000 s/<Old IP Address>/<New IP Address>/" /etc/hosts
  9. 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;
  10. Stop all the application services using app-util.sh → option 2 (stop all)

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