CRITICAL PROBLEM'.'There was an error getting the appliance's embedded database availability status''repmgr cluster show' when run on the VCD cell command line reports the following response:ERROR: connection to database failedDETAIL:connection to server at "<ip address>", port 5432 failed: No route to hostIs the server running on that host and accepting TCP/IP connections?
DETAIL! attempted to connect using:user=repmgr connect_timeout=2 dbname=repmgr host=<ip address> gssencmode=disable fallback_application_name=search path=
repmgr cluster show' command is not matching the IP address configured on eth1 of the VCD database cell.VMware Cloud Director 10.6.1.x
This issue will occur if there is an incorrect IP address entered into the /opt/vmware/vpostgres/14/etc/repmgr.conf file in the database cell. Such a misconfiguration is most likely to occur if an attempt was made to change the VCD cell IP addresses post deployment of the VCD cell.
repmgrd ("replication manager daemon") is a management and monitoring daemon which runs on each node in a database cluster and is used to report the status of the database cluster to the VAMI UI. If an incorrect IP address is present in the configuration file then it prevents repmgrd from functioning.
To resolve this issue identify the IP address currently in use on the eth1 interface of the database cell and ensure this matches the IP address present in the /opt/vmware/vpostgres/14/etc/repmgr.conf file.
repmgr.conf file run this command:conninfo' . Ensure it matches the current IP address of the eth1 interface identified earlier in step 2.