NOTE:ZENworks no longer supports Windows Server as a Primary Server from version 24.2 onwards. For more information, see End of Support for Windows Primary Server.
When the IP address of the Vertica node is changed, you need to perform the following tasks:
To create a mapping file, perform the following steps:
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
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>
After creating the mapping file, you need to 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.
Stop the database.
Run the following command to map the old IP addresses to the new IP address:
$ admintools -t re_ip -f mapfile
Restart the database.