VMware vSphere ESX and vCenter Upgrade 5.5 to 6.0 or 6.5 or 6.7 best practices

vcenter upgrade 5.5 to 6.0 6.5 vsphere best practices cpu

Tips, tricks, and missing steps for the VMWare upgrade

Having done several small / medium business upgrades from vCenter and ESXi 5.5 to 6.0 and 6.5 and 6.7, I wanted to share some best practices and lessons learned with the IT community.


Table of Contents


vSphere ESXi



Upgrade from 5.5 to 6.7 cannot be performed in one step

First, heads-up. You can’t upgrade directly from 5.5 to 6.7.  You will need to upgrade to 6.5 first, then perform the jump to 6.7.  vCenter and vSphere ESXi 6.7 are not a big deal once you’ve got everything working at 6.5.  The steps for vSphere ESXi are the same.  vCenter is an in-place upgrade (you can perform it via the vCenter Appliance management website).



How long does it take to upgrade vCenter?

About 2-4 hours during the actual upgrade process.  Figure one hour to deploy the appliance (no risk, original vCenter is unchanged), then another hour and a half to replace your existing appliance (your original vCenter is shut down).   VMWare is very good about this process and will perform many system checks before shutting down your original vCenter.  If something goes wrong at this stage, remember you can shut down (power off) the new vCenter and then start your old vCenter and it should recover.

Don’t forget the preliminary research, system checks, and preparation is another 4 hours for a small or medium business (this includes research for vSphere upgrades).

1-2 hours of the preparation is getting the images downloaded, either to your burned DVD or directly from the VMWare website.


What is the risk of downtime while upgrading vCenter?

Good news:  For small and medium businesses, there is almost no chance of customer impact while upgrading vCenter.  Just don’t plan to do other management tasks at the same time.  Remember that the hosts will keep running the VMs, the storage, and the virtual networking unchanged even if they can’t reach vCenter.  DRS, HA and vMotion will not be available, so you won’t have normal redundancy.

As long as you complete your upgrade in a reasonable amount of time (one evening), you should be fine.   What are the odds a host crashes in that 2-4 hour period?  Generally extremely low (less than 0.1%) unless you have more than 5 hosts.

If you have 100+ hosts, then your odds of a server randomly crashing during the upgrade gets closer to 5%.  But in that case, you should have a team of experts on the job, so you shouldn’t need much help from this lowly blogger <grin>.


Can I upgrade vCenter and vSphere remotely?

You can perform this entire process (vCenter and ESX host upgrades) 100% remotely.  Make sure you have a plan for what to do if a host doesn’t come back after rebooting.


Research before migrating or upgrading vCenter

Make sure you have deep-dived into the existing vCenter appliance and each host before starting.

Make sure to get the following configurations:

  1. Existing vCenter IP , verify root username and password (see next topic)
  2. Network basics (internal domain name, subnet mask, gateway, two DNS servers)
  3. Time provider (NTP).  Make sure this matches the NTP source your hosts are using!   This is a good time to standardize it across your environment.
  4. A ‘free’ IP address on the same subnet as your existing vCenter server.  Will be used for a few minutes during the upgrade.
  5. Configure your DNS servers to have a fully-qualified name for vCenter (the old vCenter IP and your new vCenter’s name).  For example:  vcenter01.company.com .  Make sure you can resolve it before you start the upgrade.  The vCenter install (particularly new installs) will bomb out if you don’t have good DNS.



When you upgrade to vCenter or VMWare 6x, your vSphere Client (the program) will stop working!  There is no client download on the website! How can you connect?

History: vCenter and vSphere 6x are designed to be managed with your web browser, using flash.   VMware did this because there are all sorts of really niche configuration options that almost no-one uses.  Adding the niche options to a website is easy.  Adding them to the vSphere client is not.  In version 5x, VMware put only basic functionality in the vSphere client and started offering niche options in the management website ( https://hostname:9443/vsphere-client ).  In version 6x, VMware got sick of updating both the website and the vSphere client, so they stopped offering the vSphere client program.  Nooo!

So now that you’ve upgraded to 6x, how can you connect and manage your virtual environment?

  1. Using Chrome, IE, or Firefox, make sure you have Flash installed.   https://get.adobe.com/flashplayer/   (Personally, I use Chrome, so the rest of the instructions will match Chrome.)
  2. Navigate to https://vcenter_server_fqdn/vsphere-client
  3. or for a host..  https://host_ip_address_or_fqdn/vsphere-client
  4. Didn’t connect? Make sure you have a DNS entry for your vCenter server. This is a requirement for 6x
  5. Now you probably have a warning “To view this page ensure that Adobe Flash Player version x or greater is installed”.   But you already installed Flash Player!  What the heck, Chrome?
  6. You need to enable Flash each time you open the website for the day.   Look for the lock icon in the address bar.  Click on it and you will see Flash listed as blocked.  Change it to Allow.
  7. You will be prompted to Reload the page. Do so. Now flash will work and you can log on.  Default username for vCenter: administrator@vsphere.local .  Default username for vSphere: root.   In both cases, you should have been prompted to set the password during install or upgrade.


chrome security vcenter vsphere web client how to connect flash


What about opening the Console to a virtual machine?

The console still works, but for many VMs, the experience is crappy.  Here is how to open console in 6.0 6.5 and 6.7.

You need to download the “VMware Remote Console” from the VMware website.   It can be reached by … Downloads > vSphere > “Drivers & Tools” tab > VMware Remote Console.

Direct link: https://my.vmware.com/en/web/vmware/info/slug/datacenter_cloud_infrastructure/vmware_vsphere/6_7#drivers_tools

Install the remote console on your computer.

Next time you select “Open Console” from the vSphere / vCenter web client, it should prompt you to open the link with a program.  Select the VMRC (Vmware Remote Console).

Your VMRC console should now open and you can interact with the desktop.  But, the experience for you may be lousy.  I’ve had lots of problems with jumpy mouse, or mouse disappearing, or offset mouse.  Offset mouse is when it shows the mouse in location X, but when you click, it clicks location Y.  This especially seems to happen in Windows 2016.    Installing VMware Tools does NOT always help.   Since VMware 6x, I’ve started avoiding the console as much as possible.  Very disappointed about this change.

vcenter vsphere open console vm 6x 6.5 6.0 6.7
When you click Open Console in 6x, a new webpage will open. It attempts to start the VMware Remote Console program and connect it to the guest VM. It is safe to close this window as soon as VMRC is started.



Problem: Can’t log onto the old 5.5 vCenter appliance

Symptom: You are pretty sure you know the root password, but it is not working on the web GUI.   ( https://vCenterIP:5480 )  It says wrong password.

Symptom: The 5.5 vCenter appliance was built more than a year ago.

Fix: Connect to vCenter using SSH

(I recommend using the Putty SSH application which is available at this link).  After connecting, when you enter ‘root’ and the correct password  (default is ‘vmware’ but you’ve probably changed it), you will be told that the password is expired.   Change the password using the SSH dialogue and now you can log on to the web GUI.

Cause:  When you build a vCenter appliance (5.5, 6.0, or 6.5 or 6.7), by default, the system expires the root account after one year.   I recommend un-checking this immediately whenever you build vCenter.  If you want to change the root password periodically, you can still do it, but this way your department won’t get locked out.


How to upgrade vCenter from 5.5 to 6.5 or 6.7

The step by step guides available online are good.

This one at tech-coffee is straightforward and easy to use.   I personally recommend deploying 6.5 vCenter appliances (rather than deploying vCenter onto a Windows server).


Remember, the first step to upgrading is to perform a snapshot of your vCenter virtual machine.  If you quiesce guest memory and something goes wrong during the upgrade, you can revert to the snapshot and everything will be working again within 5 minutes.  This truly can be depended upon.  Make a reminder to remove the snapshot after everything is stable.



Can I install vCenter without DNS?


Check out this blog I wrote on how I installed vCenter 6.7 without DNS.

How to install vCenter 6.7 (and 6.0 and 6.5) with no DNS, only IP address



What if you have a Windows-based vCenter appliance?

Especially if you have update manager installed?  This can get ugly.  The basic steps are to install the vCenter update then install the Update Manager update.  But, occasionally, vCenter will start acting really buggy and the client crashes.  The good news is that you can roll back to the latest snapshot of vCenter (you did snapshot it with quiesce memory before the upgrade , right?) and it will go back to normal, the bad news is that you probably will need to rebuild vCenter or call VMware if you have a problem.



Upgrade fails, need to rebuild vCenter

If your vCenter deployment is a typical medium or small business size, re-building your vCenter from scratch is actually faster than troubleshooting it, and doesn’t involve downtime.  90% of the configuration is held on the hosts, including datastores, virtual switches, and VMs.   Make sure to spend 10 minutes looking at your old vCenter and screenshot the following:

  • License keys
  • User accounts and any custom permissions
  • Network settings for vCenter server
  • NTP settings
  • HA and DRS settings
  • CPU compatiblity settings
  • Keep-away and custom rules settings
  • If you use distributed switches or other advanced items like NSX and vSAN, rebuild at your own risk.  Make sure you’ve really captured the configuration steps before you proceed.

Once you have the config’s captured, just turn off your old vCenter and build a new appliance from scratch.  Set up your clusters and licensing, then add each host.  Everything should come in correctly.   Make sure to re-connect your backup programs to the new vCenter afterward.

Hint: You can install vCenter at 6x directly.  No need to install a 5.5 version.



vSphere ESXi upgrades from 5.5 to 6.5 or 6.7

Before you upgrade your ESX hosts, take a quick read through the rest of the topics below.  There are lots of good tips and things to avoid.



How long does it take to upgrade an ESXi host?

Do you have a shared SAN with 10gbps storage networking??? It is normally about 1.5 hours per host to perform the upgrade.

Are your VMs stored on the local hard drive of the ESXi hosts?  It will take # minutes to vMotion the VMs to another host, + 1 hour.    In many cases, it is more efficient to power off all VMs and perform the upgrade, then power the VMs back on, if you are using local storage.

You can save time by upgrading multiple hosts at once.  This of course requires either powering off the guests or having enough extra resources to host them on the other servers.

Here is the time breakdown I use:

10 minutes: vMotion all guests off the host (this assumes you have fast shared storage).  Or power-off the guests.

2 minutes: Put the host into maintenance mode

5 minutes: Enable SSH in services.  SSH into the host and perform pre-upgrade scripts.

30 minutes: Download and install the latest image from VMware repository (requires Internet)

15 minutes:  Reboot the host and wait for the server to load back into the ESXi operating system fully.

20 minutes: Apply SPECRTRE / MELTDOWN setting and reboot again ( only if you haven’t patched in a while).

5 minutes. Disable SSH in services. Take the host out of maintenance mode.

10 minutes: vMotion a non-critical guest to the host and test functionality.

10 minutes: Finish vMotioning other guests to the host (or power on the guests).




What is the risk of downtime for ESXi upgrades?

The first question is: Are all your hosts running the same model of hardware? 

  • If YES…  then your risk is almost nil.
  • If NO… your hosts are running different hardware models (such as a Dell R710 and a HP DL360 gen8 and a HP DL360 gen9), then your risk of downtime or customer impact is pretty high.  Read through the topic below, “CPU Generation Compatibility Levels” before you continue.

Next question:  Do you have enough RAM and disk space to run all your VMs on (HOSTS – 1) ?

Figure this out ahead of time.  Many companies have a few high-resource VMs such as database servers, which take up all or most of the resources on a host.  Plan how you will migrate the VMs around so that all the VMs will fit onto your other servers.  Note: You CAN overallocate RAM on ESXi hosts.  They will page the less-used memory to disk.  This normally won’t hurt performance much as long as you don’t over-allocate too many resources.  Here is a (very) technical article about overallocating memory and CPU on VMware: https://labs.vmware.com/vmtj/memory-overcommitment-in-the-esx-server


If you properly migrate your VMs off each host, putting it into maintenance mode, before upgrade, you should be good.   I still recommend doing this portion after-hours so that you minimize impact from vMotion and have the maximum amount of redundancy during the workday in case one of your hosts randomly fails.


Problem: When I try to vMotion a guest VM, the option is grayed out?

Normally this issue is because Veeam is performing a backup of that VM.

Wait for the Veeam backup to complete, or cancel it.


How to upgrade ESXi hosts using command line remotely

For this procedure, you WILL need Internet access from the host.  If you have a decent business ISP, it should take less than 20 minutes to download the update.

1. vMotion or power-off all VMs off the host.   Note: you may need to disable automatic load balancing in your cluster if the VMs are automatically migrated back.

2. Put the host into Maintenance Mode

3. Start the SSH service on the host  ( Configuration > Security Profile > Services > Edit )

4. SSH to the host  ( I use the Putty program which is freely available on the internet)

5. Log on as root

6. Perform this command to enable downloads from the VMware Internet repository”

esxcli network firewall ruleset set -e true -r httpClient

7. Determine which version of ESXi you want to update to.

IMPORTANT: Never update your ESXi version higher than your vCenter version!!    If you do, your vCenter will disconnect the hosts!!! 

Reference this VMware KB article for ESXi versions available.  You should be able to match the release name to one of the updates available from the VMware Internet Repository.


For example:  When I check my vCenter version in the Appliance website ( https://vcenter.fqdn.com:5480   , update tab), I see my vCenter is version “  Build Number 10964411” with a Release date of November 29, 2018.

find vmware vcenter version and release date 6.5 6

I look up the VMware patch table and decide I want to download ESXi 6.5 EP 11 which was released November 9, 2018 and has a slightly lower build number than my vCenter server.

Version Release Name Release Date Build Number
ESXi 6.5 EP 11 ESXi650-201811001 11/09/2018 10719125


Perform this command in SSH to see what versions of ESXi are available from the VMware Internet Repository:

esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | grep ESXi-6


Note: You can modify this command to specify version ESXi 6.5 or 6.0 or 6.7 by editing the “grep ESXi-6” portion of command.

Example, for version 6.5:

esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | grep ESXi-6.5


Example, for version 6.7:

esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | grep ESXi-6.7

Review the list for the version you want.  Copy the package name to your clipboard.  The package name will look like ESXi-6.#.#-########-standard


When I perform the query in SSH, I see packages that match the release name:

ESXi-6.5.0-20170304101-standard VMware, Inc. PartnerSupported
ESXi-6.5.0-20171201001s-standard VMware, Inc. PartnerSupported
ESXi-6.5.0-20170304101-no-tools VMware, Inc. PartnerSupported
ESXi-6.5.0-20181101001s-standard VMware, Inc. PartnerSupported
ESXi-6.5.0-20180604001-no-tools VMware, Inc. PartnerSupported
ESXi-6.5.0-20180502001-no-tools VMware, Inc. PartnerSupported
ESXi-6.5.0-20171204001-no-tools VMware, Inc. PartnerSupported
ESXi-6.5.0-20170304001-standard VMware, Inc. PartnerSupported
ESXi-6.5.0-20181104001-no-tools VMware, Inc. PartnerSupported
ESXi-6.5.0-4564106-no-tools VMware, Inc. PartnerSupported
ESXi-6.5.0-20181101001s-no-tools VMware, Inc. PartnerSupported
ESXi-6.5.0-20181103001-no-tools VMware, Inc. PartnerSupported
ESXi-6.5.0-20180501001s-standard VMware, Inc. PartnerSupported
ESXi-6.5.0-20170304001-no-tools VMware, Inc. PartnerSupported

Since I want the full package including latest VMWare tools, I pick the package named “-standard”.

8. I then run the UPDATE command, adding the package name to it.

esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p PACKAGE_NAME_FROM_REPOSITORY


esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-6.5.0-20181101001s-standard


After about 5 minutes (depending on your internet connection), you should get a successful message.

Update Result
Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
Reboot Required: true
VIBs Installed: VMware_bootbank_esx-base_6.5.0-2.71.10868328,………,………,………,………,………,………,………,………,………


9. Type  reboot  in SSH to reboot your host.

10. Wait for the reboot to finish.  Generally, I just wait for vCenter to show that the host is back online.

11. SSH back into the host, logging on as root.  Note: If SSH doesn’t connect, you may need to re-start the SSH service in Security Profile.

12. Disable downloads from the VMware Internet repository by running this command:

esxcli network firewall ruleset set -e false -r httpClient

13. Take the host out of Maintenance Mode

14. vMotion or power-on a non-critical guest VM to this upgraded host.

15. Test functionality of the non-critical VM (especially check the ability to ping it, which is a good all-around test of host, network, and VM)

16. vMotion or power-on the other VMs to the upgraded host.

17. Stop the SSH service on the host  (Configuration > Security Profile > Services > Edit )

18.  Continue upgrading other hosts.


If you need more information, here is a longer guide for upgrading ESX 5.5 to 6.x using command line by Deflounder.



Problem: CPU Generation Compatibility Levels

This is a big concern because if you don’t avoid it in advance, you will have to shut down some VMs in order to complete the ESXi hosts upgrade.

If you have more than one model of server, deep dive on this BEFORE you start upgrading ANY hosts.


  • You have older hosts mixed in with newer servers.
  • After upgrading a host to vSphere 6.0 or 6.5, you cannot vMotion your VMs to it.  “The virtual machine requires hardware features that are unsupported or disabled on the target host.  General incompatibilities.  If possible, use a cluster with Enhanced vMotion Compatibility (EVC) enabed, see KB article 1003212.

Root Cause

vCenter 5.5 seems to handle CPU compatibility without any configuration steps.  Later versions need to be configured for this before you turn up hosts.

In vCenter 6.0 and 6.5 and 6.7 , you need to set up a Cluster object and put your hosts into it in order for Enhanced vMotion Compatibility to work across CPU generations.  But you can’t do this while your host has any VMs running.  If you upgrade then move your VMs onto the host without setting up the cluster object, you will have issues vMotioning the VMs to other hosts later.

Fix:  Set up cluster in vCenter, configure CPU compatibility levels to the lowest common denominator, and add your newest host to it early.

  1. For each of your hosts, look up their CPU generation against this chart on VMWare KB:  https://kb.vmware.com/s/article/1003212
  2. After upgrading vCenter, but before upgrading hosts, create a cluster object (right-click the datacenter, New Cluster)
  3. After naming the cluster, right-click it and select Settings.
  4. Select the “VMware EVC” tab in settings.   Enable it, and select the lowest (oldest) CPU generation for all of your hosts.
  5. Starting with your newest hosts (the highest generation), move them into this cluster after upgrade but before migrating VMs back onto them.

For example, I will upgrade ESX05 first because it has the highest CPU generation.

    1. (I have already upgraded vCenter to 6.5)
    2. Create a cluster object and configure CPU compatibility at the LOWEST common level
    3. vMotion all VMs off ESX05 to older hosts.
    4. Put ESX05 into maintenance mode in vCenter
    5. Install ESXi 6.5 on this host
    6. Re-add ESX05 to vCenter if needed.
    7. Move ESX05 into the compatibility cluster while it is in maintenance mode with no VMs.
    8. Configure and thoroughly test ESX05 (see topic below).
    9. Take ESX05 out of maintenance mode
    10. vMotion some VMs onto ESX05, in preparation for upgrading ESX04 (the next lower generation server) next.

If you do this right, you should be able to avoid customer impacting downtime.

Problem: Did you miss the CPU compatibility fix and already vMotioned some VMs into an upgraded, newer host?

Sorry.  You are stuck with a situation where you can’t get your last host(s) into the compatibility cluster because you have live VMs on it and you can’t vMotion the VMs to any other host.   This is not an acceptable stopping point because you lose cluster benefits like DRS and also can’t vMotion for regular maintenance in the future.  So bite the bullet and fix it now, rather than wait until you are forced to do it in the future.

  1. If you get stuck in this compatibility hell, then the easiest solution is to shut down all the VMs on that host then move the host into the cluster. This normally results in a downtime of about 10-15 minutes, depending on how fast your VMs boot up.
  2. Here is some more information from a fellow blogger:  https://tinkertry.com/easier-way-to-vmotion-to-incompatible-cpu-host


Problem: Did you upgrade the host with vCenter on it, and now you can’t migrate without shutting down vCenter?

How to fix vCenter vMotion CPU compatibility issue:

Here is the situation.  You are trying to vMotion your vCenter to another host, but you get an error about CPU compatibility.  Errors like “The virtual machine requires hardware features that are unsupported or disabled on the target host”  “If possible, use a cluster with Enhanced vMotion Compatibility (EVC) enabled; see KB article 1003212″  ” CPUID details” “incompatibility at level 0x1 register ‘ecx'”.   “FMA3 is unsupported” “MOVBE is unsupported”  “RDRAND is unsupported”

The normal fix is to power off the VM momentarily, vMotion it, then power it back on.  During power-on, it will use the new host’s CPU capabilities.

But with vCenter, you can’t do this, because you are using vCenter to perform the vMotion, so powering it off means you can’t communicate with both hosts at once.

Shared storage fix:

If you have shared storage  (both hosts can reach the same datastore), you can use VMWare’s instructions to fix the problem.   Essentially, you make sure the vCenter server is on shared storage, then you connect to each host’s vSphere website directly.  Power vCenter off and remove it from inventory (no delete!!!!) on the first host.  Then Add vCenter to inventory on the second host and power it on.

Here are  VMware’s instructions for what to do if your vCenter appliance is one of the VMs on that incompatible host.  


No shared storage?  Using local disk / datastore for each host?

This is how I’ve fixed it.

  1. Using vCenter, with vCenter powered on, I right-click the existing vCenter server and Clone it to the second host’s datastore.  Note: Name the clone something you are happy to use permanently)
  2. Wait for the clone to finish, (the clone will be powered off).
  3. Open the vCenter management website ( https://vcenterURL:5840 ) and log on to it
  4. In another tab, open vSphere website to the second host (that has the clone) and log on to it.
  5. Right-click the clone vCenter and Power On
  6. Immediately Shut Down the original vCenter using the management website.
  7. Wait for about 10 minutes, then attempt to connect to vCenter normally.   You should be working from the clone now.
  8. Once you feel comfortable, delete the old vCenter.

Something went wrong??  Rollback instructions:

  1. If the clone vCenter doesn’t work, just shut it down using the second host’s vSphere website.
  2. Connect to the first host’s vSphere website and power on the original vCenter.


Problem: Conflicting VIB Error (HP Servers especially)

Wrote a post about how to solve this issue last year.  You can find it at this link here.

SDLC independent software testing validation debug verification


Testing your hosts

You can avoid 99% of the risk by testing your upgraded host thoroughly before you put production VMs onto it.

I recommend the following tests (at minimum)

  1. Make sure you’ve got your upgraded host configured, into vCenter, and into it’s destination cluster.
  2. Using a test VM (build one up if you don’t have one ready), test connecting to

One thought on “VMware vSphere ESX and vCenter Upgrade 5.5 to 6.0 or 6.5 or 6.7 best practices

Leave a Reply

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