Sometimes, during networking-related maintenance chores, the IP(s) of one or more servers running Vertica changes to some other IP. In these cases, IP changes are needed to be done in Vertica as well. However, before making changes in Vertica, we must make sure that changes are made in /etc/hosts
of all nodes, where the hostname is mapped to the IP address. After making system-level changes, proceed with the following steps to change the IP address of one or more nodes in a cluster:
Back up the following three files:
/opt/vertica/config/admintools.conf
/opt/vertica/config/vspread.conf
/etc/sysconfig/spreadd
It is assumed that Vertica is installed on
/opt/vertica
. If Vertica is installed on some other location, then we should take backups from that location.We should stop Vertica on all nodes.
As a root user, we need to stop Spread manually on each node. Spread is the messaging system for distributed systems such as Vertica. We can stop Spread using...