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.

Procedure

  1. Log in directly or by using an SSH client to the primary cell as root.
  2. Navigate to the database directory, /opt/vmware/appliance/etc/pg_hba.d/.
  3. Create a text file containing entries for the target external IP addresses similar to:
    #TYPE  DATABASE  USER    ADDRESS        METHOD
    host   vcloud    vcloud  CIDR_notation  md5
    For example:
    #TYPE  DATABASE  USER    ADDRESS           METHOD
    host   vcloud    vcloud  172.168.100.5/32  md5
    host   vcloud    vcloud  172.168.20.5/32   md5
    Your entries are appended to the dynamically updated pg_hba.conf file, which controls the access to the primary database in the HA cluster.