3.1 Changing the IP Address of a Primary Server after Installing ZENworks

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:

  1. Before changing the IP address of the Primary Server, take a reliable backup of the following on all Primary Servers in the Management Zone:

  2. Change the IP address of the Primary Server.

    IMPORTANT:Do not change the DNS name of the server.

  3. Ensure that the new IP address of the server is correctly mapped to its existing DNS name on the DNS server.

  4. Run the microfocus-zenworks-configure -c GenerateOSPProperties configure action.

  5. (Conditional) If any of Vertica or Kafka is configured,

    1. Update the IP address of the server in which Vertica is configured. For more information, see Changing the IP address of the Vertica Nodes.

    2. 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>.

  6. 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.

  7. 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

  8. If the database is located on the Primary Server whose IP address you changed in Step 2.

    1. Change the database server address on all the second Primary Servers.

    2. Change the audit database server address on all the second Primary Servers.

  9. 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.

  10. Restart the Proxy DHCP services on all the Satellites.

  11. (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:

    1. Log in to ZENworks Control Center (ZCC) of subscribers.

    2. Navigate to Subscribe And Share > Subscriptions > <subscription_name> > Remote Server > Base URL > Edit.

    3. Update the IP address with new IP address of the Primary Server (Publisher).