2025-05-29 05:05:14 | configure-repmgr.sh | Writing /opt/vmware/vpostgres/current/etc/repmgr.conf
Cloning primary database (PrimaryCell_DB_IP) to standby using repmgr. This may take a long time, depending on database size.
2025-05-29 05:05:14 | setup-repmgr-standby.sh | Cloning primary database (PrimaryCell_DB_IP) to standby using repmgr. This may take a long time, depending on database size.
NOTICE: destination directory "/var/vmware/vpostgres/current/pgdata" provided
INFO: connecting to source node
DETAIL: connection string is: user=repmgr host=PrimaryCell_DB_IP gssencmode=disable
ERROR: connection to database failed
DETAIL:
connection to server at "PrimaryCell_DB_IP", port 5432 failed: Connection refused
Is the server running on that host and accepting TCP/IP connections?
Error creating clone of primary node to this standy server using repmgr
2025-05-29 05:05:14 | setup-repmgr-standby.sh | [ERROR] Error creating clone of primary node to this standby server using repmgr
2025-05-29 05:05:14 | setupvcd.sh | [ERROR] Failed to configure repmgr on this standby. Check /opt/vmware/var/log/vcd/configure-vcd.log for additional information. Aborting.
2025-05-29 05:05:14 | configure-vcd.sh | [ERROR] setupvcd script failed to execute.
2025-05-29 05:05:14 | cleanup-vcd.sh | Starting cleanup script.
2025-05-29 05:05:14 | cleanup-vcd.sh | The following error code was provided as argument to script: 15
VMware Cloud Director
This issue was caused by incorrect database address in /opt/vmware/vcloud-director/data/transfer/responses.properties of primary VCD database cell
To resolve this issue, perform the following actions:
Once the database address is corrected on primary cell, setup of newly deployed standby cell will complete