Restoring Contrail Nodes in a RHOSP-based Environment
Contrail nodes are virtual machines hosted on a KVM hypervisor. In the Contrail RHOSP environment, the Contrail nodes are of three types– controller nodes, analytics nodes, and analytics database nodes. From time-to-time, the system may encounter a node crash or other node failure. This topic describes how to restore one or more failed Contrail controller nodes or analytics and analytics database nodes.
Use the following procedures to rebuild one or more Contrail nodes.
Prerequisites
Before attempting to rebuild one or more failed Contrail nodes, ensure that:
The system is stable and the node has the correct status to be deployed again.
The MAC address of the network interface card (NIC) used for PXE boot has not changed.
If you are restoring more than one node, make a backup of the Contrail databases and make sure you have access to the backup file (*.tar.bz2). For more information about backups, see Backing Up Contrail Databases Using JSON Format.
Verify the Controller Node Status and Rebuild the Node
This is the initial procedure for verifying the node is ready to be rebuilt.
Finish Rebuilding One or Two Contrail Controller Nodes
This procedure provides details to finish the rebuilding of the nodes when you are restoring one or two Contrail controller nodes.
Finish the Rebuilding of all Contrail Controller Nodes
This procedure provides details to finish the rebuilding of the nodes when you are restoring all of the Contrail controller nodes.
Rebuilding Contrail Analytics And Analytics Database Nodes
This topic describes how to rebuild failed Contrail analytics and analytics database nodes. The same procedure is used for analytics nodes and analytics database nodes.
To rebuild Contrail analytics and analytics database nodes:
Finish Rebuilding the Analytics Nodes
Use this procedure to finish the rebuilding of the Contrail analytics or analytics database nodes that have been rebuilt.