Back up and restore a ZooKeeper database
MCP uses a custom script to back up a ZooKeeper database. ZooKeeper is a part
of every OpenContrail deployment and the backup utility includes the following
components:
- ZooKeeper server stores ZooKeeper backups rsynced from the ZooKeeper
client nodes and runs on any node, for example, the Salt Master node.
- ZooKeeper client sends database backups to the ZooKeeper server and
always runs on all the nodes of the ZooKeeper cluster. However, the back up
is performed only on the leader node.
This section describes how to create and restore the ZooKeeper cluster
on your OpenContrail 3.2 or 4.x cluster.