Deploying a vCenter Server Appliance (VCSA) with No DNS

Figured the root cause of the issues also documented the process for non DNS Sites

After booting up the VCSA, you will be presented with this message.

vcsa

Toprovide the VCSA    with the correct IP address, follow these step

To provide the VCSA with the correct IP address, follow these steps:

  • Login, default account is root, password is vmware.
  • As the message in the red sections suggests, run the following command:
    /opt/vmware/share/vami/vami_config_net
  • You will be presented a menu

network_config

  • At a minimum, run option 6 (IP address), 3 (Hostname) and 2 (Default Gateway). Check your effort by running option 0. If everything is OK, leave the menu with option 1.

Now it is time to check connectivity to the ESXi hosts. Remember in my case, the ESXi hosts reside in another subnet.
N.B. All traffic between subnets was allowed.
In case a ping test does not work, check the routing on the VCSA with the command:

# route –n

The output should be something like the example. Important is the line starting with 0.0.0.0, representing the default gateway.

route

In case this line is missing, add the default gateway with the following command:

# route add default gw <IP address default gateway> eth0

Without a proper DNS, the SSO configuration will fail with this error: “Failed to execute /usr/sbin/vpxd_servicecfg ‘sso  ‘write’ ‘embedded’ CENSORED CENSORED ‘default-pass’’: VC_CFG_RESULT=702 (error: an unexpected error occurred during the installation of the appliance sso service. Please collect a support bundle and file a service request”).

sso_setup

Resolution modify the /etc/hosts file.

It will look like this

127.0.0.1  MACHINENAME.local MACHINENAME.local localhost

::1     MACHINENAME.local MACHINENAME.local localhost ip6-localhost ip6-loopback

Add the VCSA and the ESX hosts as not DNS is accessible @ site example below:

 

127.0.0.1  MACHINENAME.local MACHINENAME.local localhost

::1     MACHINENAME.local MACHINENAME.local localhost ip6-localhost ip6-loopback

IP ADDRESS of VCSA MACHINENAME.local

“IP OF ESXI SERVER” ESXSRV01

“IP OF ESXI SERVER” ESXSRV02

Run the setup for the VCSA

 

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *