You can enable access from particular external IP addresses to the vCloud Director database that is embedded in the primary appliance.
During a migration to the vCloud Director appliance, or if you plan to use a third party database backup solution, you might want to enable external access to the embedded vCloud Director database.
- Log in directly or SSH to the primary cell as root.
- Navigate to the database directory, /opt/vmware/appliance/etc/pg_hba.d/.
- Create a text file containing entries for the target external IP addresses similar to:
#TYPE DATABASE USER ADDRESS METHOD host vcloud vcloud CIDR_notation md5For example:
#TYPE DATABASE USER ADDRESS METHOD host vcloud vcloud 22.214.171.124/32 md5 host vcloud vcloud 126.96.36.199/32 md5Your entries are appended to the dynamically updated pg_hba.conf file, which controls the access to the primary database in the HA cluster.