You can enable access from particular external IP addresses to the VMware Cloud Director database that is embedded in the primary appliance.
During a migration to the VMware Cloud Director appliance, or if you plan to use a third party database backup solution, you might want to enable external access to the embedded VMware Cloud Director database.
- Log in directly or by using an SSH client 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 188.8.131.52/32 md5 host vcloud vcloud 184.108.40.206/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.