NOTE:The migration steps should not be performed if you have configured multi-node ZooKeeper cluster.
Take a reliable backup of the existing ZENworks Server. For more information, see Backing Up and Restoring the ZENworks Server and Certificate Authority in the ZENworks Disaster Recovery Reference
(Conditional) Take a reliable backup of the database in any of the following scenarios:
You are using an internal ZENworks database.
You are using an external database installed on the device hosting the Primary Server and you do not plan to use the device after uninstalling the Primary Server.
PostgreSQL:
For detailed information on how to move the data from one PostgreSQL database to another PostgreSQL database, see the Oracle documentation. Later on, perform the steps described in Backing up an Embedded PostgreSQL Database on One Primary Server and Restoring it on another Primary Server
in the ZENworks Database Management Reference.
To take a backup of an external database, see the documentation for the database.
Take a reliable backup of the content-repo directory of the Primary Server. The content-repo directory is located by default in the %ZENSERVER_HOME%\work directory on Windows and in the /var/opt/microfocus/zenworks/ on Linux.
Ensure that the images directory located within the content-repo directory has been successfully backed up.
(Optional) If there are any TFTP customizations related to imaging, then back up the TFTP files. The tftp directory is located in the /srv/ folder on the Linux server and in %ZENWORKS_HOME%\share\ on the Windows server.
Disconnect the device from the network.