If you want to change only the DNS name or if you want to change both the IP address and DNS name of the Primary Server after installing ZENworks, and if the certificate’s CN has fully qualified DNS configured, use the following steps to change only the DNS name or to change both the IP address and DNS name of the Primary Server.
The following two scenarios are supported:
Take a reliable backup of the following on all the Primary Servers in the Management Zone:
Content-Repo Directory: The content-repo directory is located by default in the directory on Windows and in the /var/opt/novell/zenworks/on Linux.
Ensure that the images directory located within the content-repo directory has been successfully backed up.
Certificate Authority: For detailed information on how to back up the certificate authority, see Section 1.3, Backing Up the Certificate Authority.
Embedded Database: For detailed information on how to back up the embedded database, see the ZENworks Database Management Reference.
ZENworks Server: For detailed information on how to back up the ZENworks Server, see Section 1.0, Backing Up and Restoring the ZENworks Server and Certificate Authority.
Change the DNS name or the DNS name and IP address.
If the database is located on the Primary Server whose IP address you changed in Step 2.
Change the database server address on all the second Primary Servers. On all the second Primary Servers, change the value of database server address in the ZENworks_Installation_Directory\Novell\ZENworks\conf\datamodel\zdm.xml to point to the new IP address of the first Primary Server.
Change the audit database server address on all the second Primary Servers. On all the second Primary Servers, change the value of audit database server address in the ZENworks_Installation_Directory\novell\ZENworks\conf\datamodel\zenaudit.xml to point to the new IP address of the first Primary Server.
(Conditional) On a Linux Primary Server, you need to remove the Docker container for the modified hostname to take effect. To remove the container:
Stop all ZENworks services.
Remove the docker containers using the command docker container prune -f.
Restart all ZENworks services.
Remint the server certificate. For information, see Reminting Server Certificates
in the ZENworks SSL Management Reference.
(Conditional) If Multizone is configured with this server (whose IP address and DNS name is changed) as Publisher, then after replacing the First Primary Server with the Second Primary Server, update the new IP address and DNS name of this server for all its Subscribers. Perform the following to update the new IP address and DNS name:
Log in to ZENworks Control Center (ZCC) of subscribers.
Navigate to Subscribe And Share > Subscriptions > <subscription_name> > Remote Server > Base URL>Edit.
Update the IP address or Hostname with new IP address or Hostname of the Primary Server (Publisher).
To update the new certificate:
Navigate to Subscribe And Share > Subscriptions > <subscription_name> > Remote Server > Update Certificate.
Update the certificate.
If you want to change only the DNS name or if you want to change both the IP address and the DNS name of the Primary Server after installing ZENworks 2020, and if the certificates CN has fully qualified DNS configured, perform the following steps to change only the DNS name or to change both the IP address and the DNS name of the Primary Server.
Take a reliable backup of the following on all the Primary Servers in the Management Zone:
Content-Repo Directory: The content-repo directory is located by default in the ZENworks_installation_directory\work directory on Windows and in the /var/opt/novell/zenworks/ on Linux.
Ensure that the images directory located within the content-repo directory has been successfully backed up.
Certificate Authority: For detailed information on how to backup certificate authority, see Section 1.3, Backing Up the Certificate Authority.
Embedded Database: For detailed information on how to back up the embedded database, see the ZENworks Database Management Reference.
ZENworks Server: For detailed information on how to back up the ZENworks Server, see Section 1.0, Backing Up and Restoring the ZENworks Server and Certificate Authority.
Change the DNS name or the DNS name and IP address.
If the database is located on the Primary Server whose IP address you changed.
Change the database server address on all the second Primary Servers. On all the second Primary Servers, change the value of database server address in the ZENworks_Installation_Directory\Novell\ZENworks\conf\datamodel\zdm.xml to point to the new IP address of the first Primary Server.
Change the audit database server address on all the second Primary Servers. On all the second Primary Servers, change the value of audit database server address in the ZENworks_Installation_Directory\Novell\ZENworks\conf\datamodel\zenaudit.xml to point to the new IP address of the first Primary Server.
If the database is located on the Primary Server whose IP address you changed.
Change the database server address on all the second Primary Servers. On all the second Primary Servers, change the value of database server address in the to point to the new IP address of the first Primary Server.
Change the audit database server address on all the second Primary Servers. On all the second Primary Servers, change the value of audit database server address in the to point to the new IP address of the first Primary Server.
(Conditional) On a Linux Primary Server, you need to remove the Docker container for the modified hostname to take effect. To remove the container:
Stop all ZENworks services.
Remove the docker containers using the command docker container prune -f.
Restart all ZENworks services.
Remint the server certificate. For information, see Reminting Server Certificates
in the ZENworks SSL Management Reference.
(Conditional) If your zone includes Intel AMT devices, unprovision and provision the devices.
For more information about unprovisioning and provisioning Intel AMT devices, see Introducing Intel Active Management Technology
in the ZENworks Out-of-Band Management Reference.
(Conditional) If Multizone is configured with this server (whose IP address and DNS name is changed) as Publisher, then after replacing the First Primary Server with the Second Primary Server, update the new IP address and DNS name of this server for all its Subscribers. Perform the following to update the new IP address and DNS name:
Log in to ZENworks Control Center (ZCC) of subscribers.
Navigate to Subscribe And Share > Subscriptions > <subscription_name> > Remote Server > Base URL>Edit.
Update the IP address or Hostname with new IP address or Hostname of the Primary Server (Publisher).
To update the new certificate:
Navigate to Subscribe And Share > Subscriptions > <subscription_name> > Remote Server > Update Certificate.
Update the certificate.