Get 50% Discount Offer 7 Days


Contact Info

Chicago 12, Melborne City, USA

+88 01682648101

[email protected]

2 Ways to Upgrade VMware ESXi on Dedicated Server

Nowadays, the importance and application of virtualizers on a dedicated server are clear to all the activists in the field of hosting. In this tutorial, you will learn 2 ways to upgrade VMware ESXi on Dedicated server. As you upgrade this useful virtualizer, you will enjoy a number of functional features. Also, many companies are willing to upgrade their VMware. This hypervisor is the central part of vSphere. So read this content carefully and follow the instruction.

What Is VMware ESXi?

VMware is a bare metal hypervisor developed for vSphere. As mentioned this hypervisor is one of the main components of VMware. ESXi, which is a type1 hypervisor, operates directly on the hardware without the need for an operating system. VMware allows multiple virtual machines to run smoothly on a physical server.


1- The first requirement is to have a dedicated server, we recommend a cheap dedicated server from NeuronVM.

2- Up-to-date system with up-to-date components. your hardware must be compatible with the last version of ESXi. You can refer to VMware Hardware Compatibility Guide.

3- Note that no virtual machines are running during the ESXi upgrade process.

4- You should have enough free storage space for upgrading VMware.

5- You can check if any VMware add-ons or plugins are installed, referring to the VMware compatibility matrix.

6- You should note that, if you are managing ESXi hosting by vCenter, the version of vCenter must be the same as the desired version of ESXi after the upgrade.

Upgrade VMware ESXi on Dedicated Server

Here we are going to introduce 2 different methods to upgrade Vmware on a dedicated server.

1. Using ESXCLI to upgrade VMware

ESXCLI is a command line interface that can be used to upgrade VMware ESXi. You can use it for standalone ESXi hosts and hosts are managed by vCenter.

Updating ESXi is an easy process using ESXCL, but before starting your task you should have an ESXi backup. So if you encounter any problem, you can use the backup file and go to the previous version.

There are two methods to upgrade ESXi by ESXCLI:

1_ The first one is to open system customization in ESXi direct console and go to the troubleshooting options and enable ESXi shell and ssh. As you wish, you can disable them manually

2_ The second method, is to enter your ESXi host IP address in a browser. Then use your ESXi root credentials to log in to the VMware Host Client and go to the manage -> services part.

Start the services this way:



As you started the services on the VMware host client, the services will be enabled until the system reboots:

VMware esxi host client

Use vmware -v command or go through Help -> about on the VMware host client to check the current version:

Upgrade VMware ESXi on Dedicated Server

Note that you should shut down all virtual machines running on the ESXi host.

If you want to use ESXCLI, you will have two types to choose from:

Offline method: Downloading the offline bundle from the VMware website manually.

Online method: Using VMware online repositories to download.

Use Offline Method to Upgrade

First, you should download the offline bundle from the VMware website. You can find the zip achieve of the offline bundle along with the ESXi ISO installation image. Then select the suitable version from the drop-down list containing different versions. In our example, we used the name

Use Offline Method to Upgrade VMware ESXi

Here, you can upload the downloaded file to the ESXi datastore, using VMware host client or SFTP client. We will use the VMware host client.

Go to storage -> datastores. Select the one you desired and click datastore browser.

Upgrade VMware ESXi on Dedicated Server

You should create a new file or select a directory to store bundle files. Here we created an ESXi7-bundle directory to keep our file. It is time to upload and search for a zip bundle file and upload the file to the chosen directory in the data store:

Upgrade VMware ESXi on Dedicated Server

Ensure that there is no virtual machine in the running state. To allow checking the current version of the ESXi file on your server use the vmware -v command.

Use the update command to upgrade your ESXi version:

esxcli software profile update -p ESXi-7.0U2d-18538813-standard -d /vmfs/volumes/datastore1/ESXi7-bundle/

As you know is the file name.

You should wait to see the command output for vmware -v command.

After the successful execution of the command, you will see a list of updated packages in the console output.

To finish the upgrade process, reboot the ESXi host.


You should assign a serial number for your upgraded ESXi file. The upgraded ESXi file will start to work in a full-featured evaluation mode for 60 days. So you have 60 days to enter a valid serial number, otherwise, the performance will be limited.

Use Online Method to Upgrade

In this method, first of all, you have to configure internet access to upgrade the ESXi host and place the host in maintenance mode manually. Follow the instruction below:

You should use the command to list all current image profiles and contained packages:

esxcli software profile get

Use the command below to enter ESXi into maintenance mode:

vim-cmd /hostsvc/maintenance_mode_enter

or you can use:

esxcli system maintenanceMode set –enable true

In the built-in firewall on the ESXi host, allow HTTP traffic by editing the setting part:

esxcli network firewall ruleset set -e true -r httpClient 

The list of profiles provided by VMware in the VMware repository is as follows:

esxcli software sources profile list -d | grep ESXi-7.0U2

Here, use this profile:


Using the following command, you can check which packages are going to install:

esxcli software profile update -d -p ESXi-7.0U2d-18538813-standard –dry-run

By using the related command run the updating process:

esxcli software profile update -d -p ESXi-7.0U2d-18538813-standard

You should wait for a short time to finish the upgrade process.

If you want to prevent overwriting existing packages, configurations, and drivers, you should choose ESXCLI software profile update instead of ESXCLI profile to install.

Tip: You will get the following error if there is a persistent scratch partition.

If all of the processes run without any problem, reboot the ESXi host to apply the changes:


Use the command below, to exit maintenance:

vim-cmd /hostsvc/maintenance_mode_enter

Or use:

esxcli system maintenanceMode set –enable false 

2. Using vCenter to Upgrade VMware

If you want to access to vCenter, you should open the VMware vSphere client in your browser. Now you can upgrade your ESXi host using the IP address Choose the host you need and check the current hypervisor version. Also, if you want to upgrade several ESXi hosts, you can use a cluster or data center:

Using vCenter to Upgrade VMware

1- You have two methods to open a lifecycle manager:

a- The first method is to click Home and as you see the left pane (navigation pane), click lifecycle manager.

b- Second, you can click the menu at the top of the vSphere client window and press lifecycle manager.

2- Now that you have opened the lifecycle manager in the vSphere client, you will see the imported ISOs tab and click on import ISO.

Upgrade VMware ESXi on Dedicated Server

3- Press Browse and choose the ESXi 7 Update 2 installation ISO image file. As you registered, you can download the ESXi installation image from the VMware website.

The importing process will start, as you have selected the ISO file.

Upgrade VMware ESXi on Dedicated Server

Then you will see the ESXi 7 Update 2 installation ISO image in the imported ISOs tab.

Upgrade VMware ESXi on Dedicated Server

4- To create a new baseline you should click new baseline:

Upgrade VMware ESXi on Dedicated Server

Here, you should enter your baseline name and description:

Upgrade VMware ESXi on Dedicated Server

Now you should select the ESXi ISO image which you uploaded before. As you see in the following image, the name is based on the corresponding ESXi profile: (ESXi-7.0.2-17630552-standard)

Upgrade VMware ESXi on Dedicated Server

Here is the summary part. Before the creation of the baseline, review your selections:

Upgrade VMware ESXi on Dedicated Server

5- Go to the Hosts and Clusters screen and choose the ESXi host to update. Then in the top right side of the interface, click the Updates tab.

Upgrade VMware ESXi on Dedicated Server

As you created the baseline you have to attach it to ESXi hosts.

6- Click on baselines go down and find the Attached Baseline section then click Attach. When the menu opens, click on Attach Baseline or Baseline Group:

Upgrade VMware ESXi on Dedicated Server

Choose the ESXi7.0 Update 2 baseline and click Attach. Remove other baselines by clicking Detach:

Upgrade VMware ESXi on Dedicated Server

7- Now you should check compliance. The purpose of this step is to check if the ESXi host has already the update installed. Click check compliance.

Upgrade VMware ESXi on Dedicated Server

In the next image, you can see the result as non-compliant and it means that you can install the needed update and upgrade ESXi version:

Upgrade VMware ESXi on Dedicated Server

Now, it is time to pre-check remediation check for any compliance issues that may occur after installation updates:

Upgrade VMware ESXi on Dedicated Server

Here, you can press Done and go to upgrade the ESXi host:

Upgrade VMware ESXi on Dedicated Server

8- In the attached baseline section, select the ESXi 7.0 Update 2 baseline and click Remediate:

attached baseline section on VMware ESXi

9- Here, you will encounter a pop-up screen select I accept the terms and license agreement then press Ok:

VMware ESXi license agreement

10- Power off the virtual machines and then make sure that your host is selected and press Remediate:

Upgrade VMware ESXi on Dedicated Server

Then you will see the ESXi upgrade progress in the Recent task toolbar at the bottom of the VMware vSphere client interface. It will automatically be entered into maintenance mode:

vSphere client interface

As you have finished, maintenance mode will be turned off for the host. The upgraded ESXi host is ready to work. Now you are able to select the ESXi host in the Hosts and Clusters view. check the version after the upgrade part:

vsphere client

Upgrade VMware ESXi on Dedicated server

If you find that the license has expired after upgrading, you must apply for the license for the upgraded version.


Using this guide, you learned how to upgrade VMware ESXi on Dedicated server in two ways. You can use ESXCLI which is a command-line interface and vCenter to manage a large number of ESXi hosts by VMware lifecycle manager. We hope this article has helped you. If you have any questions just leave a comment.


Can we upgrade ESXi for free?

It has a free version. You can use the free version to learn the installation and configuration procedure of ESXi and run your own virtual machine.

How much RAM is needed for ESXi?

We need a minimum of 8 GB physical RAM and 12 GB RAM to run virtual machines in a typical production environment.

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

Share this Post

Leave a Reply

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