Category Archives: VMware 6.0 Appliance

vCenterServer FQDN does not match DNS when upgrading vCenter Appliance from 5.5 to 6.0

Thanks to the vExpert program I have some new licenses for my lab systems.  Since I only have vCenter 6 Standard licenses and my current vCenter Appliance is running 5.5, I need to upgrade to 6.0.  I found a great walkthrough article on the VMware site that I followed.  During step 4 of the appliance deployment, the wizard goes out to confirm communication to the existing 5.5 appliance.  I ran across the following error and could not proceed:

vCenterServer FQDN Source_vCenter_Server_Appliance_FQDN does not match DNS servers “localhost.localdom,localhost” and IP addresses “Source_vCenter_Server_Appliance_IP_Address” from VC Certificate

As usual I did some research and found KB Article 2110772 which explained how to fix this issue.  I have included the steps from this article to fix the issue:

To resolve this issue, toggle the certificate settings on the source vCenter Server Appliance to regenerate new certificates with the appropriate hostname and IP address.
To toggle the certificate settings:
  1. Log in to the source vCenter Server Appliance Web interface athttps://Source_vCenter_Server_Appliance_FQDN:5480/.
  2. Click the Admin tab.
  3. Regenerate certificates:
    • vCenter Server 5.1: Select Toggle certificate setting so that the Certificate regeneration enabled displays Yes.
    • vCenter Server 5.5: Select Yes under Certificate regeneration enabled.
  4. Click Submit.
  5. Reboot the vCenter Server Appliance.
  6. After the vCenter Server Appliance reboots, ensure that the Certificate regeneration enabled option is set to disabled and disable if it is enabled.

After completing, attempt to upgrade the vCenter Server Appliance 5.x to vSphere 6.0.

After performing these steps I was able to successfully upgrade my appliance from 5.5. to 6.0.

Repost : with a few additions: What is my SSO Domain Name & Site Name?

I had to use this today after forgetting a little used VMware Workstation Lab’s vSphere 6 sso domain.

 

I ended up finding this blog post, and i’m going to refer to it in my blog post as well.

vCenter Server 6.0 Tidbits Part 2: What is my SSO Domain Name & Site Name?

 

You will find it in the following two configuration files:

Windows:

C:\ProgramData\VMware\vCenterServer\cfg\install-defaults\vmdir.domain-name

VCSA:

/etc/vmware/install-defaults/vmdir.domain-name

You have to enable shell via ssh to vcenter first.

login to vcenter via ssh. I enabled this by default.

If not do the below steps or skip this section if ssh is enabled.

—————————————-

How to enable ssh on the vcenter appliance

 

by 

1. Open the console of the appliance using in this case the vsphere client.

2. Press F2 and log in as root.

3. Notice the choices and select Troubleshooting Mode Options.

4. Notice the two options. Select Enable SSH.

5.  Press Enter to enable it.

—————————————-

Command> shell.set –enabled True
Command> shell

localhost:~ # vi /etc/vmware/install-defaults/vmdir.domain-name

This returned

ssolocal.local

Thus I knew I had to login to [email protected] to vcenter.

P.S. Document your lab login and sso information… :0)

Roger L