3.6 Changing the IP address of the Vertica Nodes

When the IP address of the Vertica node is changed, you need to perform the following tasks:

3.6.1 Creating a Mapping File

To create a mapping file, perform the following steps:

  1. Run the following command to retrieve the old IP address:

    $ admintools -t list_allnodes

    The details will be displayed in the following format:

    Node |Host | State | Version | DB

    Example:

    • Zenworks_node0001 192.0.1.234 UP vertica-9.2.0.xx zenworks

    • Zenworks_node0002 192.0.1.235 UP vertica-9.2.0.xx zenworks

  2. Copy the Host column, which is the old IP address, and create a text file in the following format:

    <old_ip> <new_iP>
    <old_ip> <new_ip>
  3. After creating the mapping file, you need to re-IP the new IP addresses.

3.6.2 Re-IP The New IP Addresses

To re-IP the old IP address to the new IP address, perform the following steps. The re-IP process automatically takes a backup of admintools.conf, which can used to recover the original settings, if required.

  1. Stop the database.

  2. Run the following command to map the old IP addresses to the new IP address:

    $ admintools -t re_ip -f mapfile

  3. Restart the database.