If we have a K-Safe database, we can replace nodes, as a copy of the data will be maintained under the nodes. We do not need to shut down the database to replace the nodes.
Sometimes, you will be required to upgrade one or more nodes in the cluster. If the new node has the same IP as the original node, then use the following method for replacement:
From a working node in the cluster, run the following
install_vertica
script with the-s
(used for providing the hostname or IP(s)) and–r
(the path of therpm/deb
package) parameters:# /opt/vertica/sbin/install_vertica -s host -r rpm_package
The installation script will verify the system configuration and the installation of various important components of Vertica, such as Vertica, Spread, and the administration tool's metadata.
Now, create catalog and data directories on the new node. Make sure that the path of these directories is the same as that of the original node.
Once ready...