If you want to change the IP address of the Primary Server after installing ZENworks, and if the CN of the certificate does not have the IP address configured, use the following steps to change the IP address of the Primary Server:
Before changing the IP address of the Primary Server, take a reliable backup of the following on all Primary Servers in the Management Zone:
Content-Repo Directory: 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.
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 Back up: 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 IP address of the Primary Server.
IMPORTANT:Do not change the DNS name of the server.
Ensure that the new IP address of the server is correctly mapped to its existing DNS name on the DNS server.
Run the microfocus-zenworks-configure -c GenerateOSPProperties configure action.
Restart all the ZENworks services by running the following command at the server’s command prompt:
microfocus-zenworks-configure -c Start
By default, all the services are selected. You must select Restart as the Action.
Re-create all the default and custom deployment packages:
Default Deployment Packages: At the server’s command prompt, enter the following command:
microfocus-zenworks-configure -c CreateExtractorPacks -Z
Custom Deployment Packages: At the server’s command prompt, enter the following command:
microfocus-zenworks-configure -c RebuildCustomPacks -Z
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 %ZENSERVER_HOME%\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 %ZENSERVER_HOME%\conf\datamodel\zenaudit.xml to point to the new IP address of the first Primary Server.
Restart the ZENworks Agent and the ZENworks Updater Service on the primary server by executing the following commands:
On a Linux Server:
SLES 12 and above: systemctl restart novell-zenworks-xplatzmd.service and systemctl restart novell-zenworks-updater-service.service.
On a Windows Server:
Navigate to Start > Administrative tools > Services and restart the ZENworks Agent and ZENworks Updater Services.
Restart the Proxy DHCP services on all the Satellites.
(Conditional) If multizone is configured with this server (whose IP address is changed) as Publisher, then after replacing the First Primary Server with the Second Primary Server, update the new IP address of this server for all its Subscribers. Perform the following to update the new IP address:
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 with new IP address of the Primary Server (Publisher).