5.2 Changing ZENWorks Administration Management Port

The ZENworks Administration Management by default uses the 7443 port. The following actions should be performed in the same order.

  1. Update the port number on the server. The server.xml file can be accessed from the following location:

    • Windows: %ZENSERVER_HOME%\conf\tomcat-conf\zenadmin-mgmt

    • Linux: /etc/opt/microfocus/zenworks/tomcat-conf/zenadmin-mgmt

    1. Stop the zenworks services by using the microfocus-zenworks-configure -c Start command.

    2. Open the server.xml file in a text editor and go to the Service section. In this section, look for the Connector subsection in which the value of the port is the same as the previous https port value and the scheme is https. Update the port to the https port that you want to configure. It should have a line similar to <!-- Define a SSL HTTP/1.1 Connector on port 7443 --> above it.

      NOTE:On Linux, at the end, ensure that the permissions of server.xml are intact. Permissions should be -rw-r--r--, and ownership should be zenworks:zenworks. If you are unsure, it is recommended to run permissions.sh at the command prompt.

    3. Open an SQL console to execute the following SQL queries:

      • For MSSQL run the following queries:

        • update zzenserver set AdminPort = <NEW_HTTPS_PORT> where zuid = 0x<SERVER_GUID>

      • For Oracle run the following queries:

        • update zzenserver set AdminPort = <NEW_HTTPS_PORT> where zuid = HEXTORAW('<SERVER_GUID>)

      • For PostgreSQL run the following queries:

        • update zzenserver set AdminPort = <NEW_HTTPS_PORT> where zuid = '\x<SERVER_GUID>'

    4. If you have a firewall enabled, update it with the new port numbers.

    5. Run the following configure actions to configure probe:

      • microfocus-zenworks-configure -c ZenProbeConfigureAction

      • microfocus-zenworks-configure -c UpdateZMANGlobalOptionsConfigureAction

    6. Restart the ZENworks services using the microfocus-zenworks-configure -c Start command (select the option next to Restart).