web analytics

Could not connect to vmware directory service via ldap. verify vmware directory service is running on the appropriate system and is reachable from this host.

Problem:

Deploying a brand new vCSA 6.7 appliance results in the following error during the “stage 2: Appliance setup is in progress” phase of the deployment.

This problem is purely related to the DNS name ressolution issues.

Solution:

  1. You must always use a local DNS server(s) which is up and running in your network. Don’t use public DNS servers like Google DNS servers (8.8.8.8,8.8.4.4) etc.
  2. Before starting the deployment, make sure that you have created the A and PTR records pointing to the name of your vCenter appliance. Note: If you just create A record and forget to create the PTR record then also the deployment will fail for sure. It requires both the A and PTR records.

In this example case, the FQDN of the VCSA appliance is vcenter.tgxinfra.com with IP address 192.168.1.151. A local DNS server hosts the A and PRT records pointing to the FQDN of the VCSA appliance.

A record

PTR Record