NOTE:ZENworks no longer supports Windows Server as a Primary Server from version 24.2 onwards. For more information, see End of Support for Windows Primary Server.
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 /var/opt/microfocus/zenworks/.
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.
(Conditional) If any of Vertica or Kafka is configured,
Update the IP address of the server in which Vertica is configured. For more information, see Changing the IP address of the Vertica Nodes.
Reconfigure all Kafka brokers by running: zman server-role-kafka-reconfig-broker --servers=<comma separated list of servers> or zman srkrcb --servers=<comma separated list of servers>.
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.
Change the audit database server address on all the second Primary Servers.
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.
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).