vIDM was reporting errors when accessing the appliance health page. All nodes displayed failures in ACS health and Application Manager services. The vIDM nodes were unable to communicate with the master node, impacting overall cluster health.
In a few scenarios, when running the show pool_nodes Command to check the database cluster status, the operation fails with the following error:
psql.bin: FATAL: failed to create a backend connection
DETAIL: executing failover on backend
VMware Identity Manager 3.3.x
vIDM nodes was unable to communicate with the master node and upon verifing it was found that /etc/hosts file on one of the node was missing critical entries for the master and delegate IP addresses. As a result, the node could not resolve or communicate with the master node, which prevented OpenSearch and Horizon Workspace services from starting correctly.
# Begin /etc/hosts (network card version) # End /etc/hosts (network card version) # Do not modify below values manually. Modifying below values would affect postgres clustering For Example: ##.##.##.## master ##.##.##.## delegateIP # VAMI_EDIT_BEGIN # Generated by Studio VAMI service. Do not modify manually. 127.0.0.1 <hostname> <shortname> localhost ::1 <hostname> <shortname> localhost ipv6-localhost ipv6-loopbackservice horizon-workspace restart