Redeploy the Primary Cell.
/var/vmware/vpostgres/current/pgdata/postgresql.conf: Backup this file then remove the failed Primary cell from the line synchronous_standby_names = ''/opt/vmware/vcloud-director/data/transfer/appliance-nodes: In the appliance-nodes folder you will see additional folders with uuid's. You can cat the repmgr-node-name to determine which uuid folder needs to be removed. Remove the failed Primary cell folder.
/opt/vmware/vcloud-director/data/transfer/cells: In the cells folders you will see additional folders with uuids. You can connect to the database to determine which uuid folder needs to be removed.# sudo -i -u postgres psql vcloud# select name, uuid from cells;