Hi.
One would think, that changing the port agents connect to on primary servers would be a common taks, well documented, and relatively easy to do.
Unfortunately, that doesn't seem to be the case.
First, the documentation is strangely hidden in the "disaster recovery" section, e.g fpr 23.4 here:
https://www.novell.com/documentation/zenworks-23.4/zen_sys_disaster_recovery/data/t4mi8pv5vba5.html
Second, a google search only finds the 2020.2 version of the docs:
https://www.novell.com/documentation/zenworks-2020-update-3/zen_sys_disaster_recovery/data/b1htfzg2.html
Which differ vastly from the 23.3 and 23.4, which comes a bit as surprise.
The files to be edited are apparently very different
/etc/opt/microfocus/zenworks/tomcat-conf/zenclient-mgmt/server.xml on 2020.2 vs. /etc/opt/microfocus/zenworks/zen-api-gateway/application.properties on 23.3 or later, although on 23.3 and later the server.xml files also exists and contains the port 443 prominently. So the first question is, is server.xml no longer used on 23.3 and later? Why is it still there then on a fresh installed 23.4 appliance?
So, the current doc tell you to change the port in application.properties, and then, I quote:
"
-
Open an SQL console to execute the following SQL queries:
-
For MSSQL run the following queries:
-
update zzenserver set SSLPort = <NEW_HTTPS_PORT> where zuid = 0x<SERVER_GUID>
-
-
For Oracle run the following queries:
-
update zzenserver set SSLPort = <NEW_HTTPS_PORT> where zuid = HEXTORAW('<SERVER_GUID>)
-
-
For PostgreSQL run the following queries:
-
update zzenserver set SSLPort = <NEW_HTTPS_PORT> where zuid = '\x<SERVER_GUID>'"
-
-
I have some issues with this.
1. No mention or link *how* one should "Open an SQL console". I understand that for external DBs, but it should *at least* contain a link or a subsection that explains how to do that on a ZCM appliance.
Also
2. "where zuid = '\x<SERVER_GUID>" Again, not a word what that is (it is clear to me, but to the regular ZCM admin?), nor any word how to find the zuid of the server you want to change the port on.
Seriously, me thinks changing the ports ZCM uses should be an easy option reachable in the ZEN appliance config, whithout having to manually fiddle around with a critical SQL database without proper documentation.