Issue
- When running a Groovy script to check cluster formation, the output shows "null" for
PortalInetSocketAddress
andPortalProtocol
for some nodes.
Environment
- DXP 7.4
- Quarterly Releases
Resolution
- This behavior is expected when not all cluster nodes have been accessed through a web browser, which prevents the "Updated cluster node {...}" event from being generated.
- To verify this, enable cluster debug logging (Control Panel > System Settings > Infrastructure > Cluster Executor > Enabled debug), restart all nodes, and check the logs for cluster events.
-
To fix the issue:
- Access each node in the cluster via a web browser and check logs to verify the "Updated cluster node" event.
- If the issue persists try to explicitly set the following properties in
portal-ext.properties
on each node:portal.instance.protocol=<protocol> portal.instance.inet.socket.address=<ip>:<port>