6.2 Changing the ZooKeeper role from the first Primary Server to the second Primary Server

Perform the following steps only if the first Primary Server is up and running. In case of a failure of the first Primary Server, see Replacing an Existing Primary Server with a New Primary Server in the ZENworks Disaster Recovery Reference.

  1. Add the second Primary Server to the ZooKeeper cluster: Run the command zman srzas --servers=<GUID, path of the server object relative to /Devices/Servers, or the DNS of the second Primary Server> in the command line utility.

  2. Remove the first Primary Server: Run the command zman srzrs --servers= <GUID, path of the server object relative to /Devices/Servers, or the DNS of the first Primary Server> in the command line utility.