Wednesday, October 17, 2012

Upgrade vSphere 4.1 to 5.1 – ESXi Host Upgrade

In the previous post entry Upgrade vSphere 4.1 to 5.1 – Update Manager Upgrade,  we have upgrade the vSphere Update Manager.  In this post entry, I am using the Update Manager to upgrade my ESXi 4.1 host to ESXi 5.1.

To begin with, I will need to download the ESXi 5.1 ISO image from the VMware site.  The image will need to be imported into Update Manager.

Connect to the vCenter and navigate to the Administration view of the Update Manager.  Click on the Import ESXi Image link.

01_Admin View

Use the Browse button to select the ESXi 5.1 image downloaded from VMware.  Click Next to continue.

02_Select ESXi Image

The ESXi 5.1 image will be uploaded.

03 Import ESXi Image Uploading ESXi Image

The ESXi 5.1 image has been uploaded successfully.  Click Next to continue.

04 Import ESXi Image Uploading ESXi Image Completed

Create a baseline for the ESXi 5.1 image.  Click Finish to complete the baseline creation.

05 Import ESXi Image Baseline Name

The imported image and baseline will appear in the Administration view.

03_ESXi Image Imported

Switch to the Update Manager’s Compliance view and click on the Attach link.

04_Compliance View

Select the ESXi 5.1 baseline which was created after importing the image.  Click the Attach button to attach the baseline.

05_Attach Upgrade Baseline

The attached ESXi 5.1 baseline will appear with the type Upgrade.  Since this is a host upgrade baseline, the ESXi hosts will appear as eligible candidate.

06_Baseline Attached

I want to start upgrading esxi01 first, so I put esxi01 into maintenance mode and all running virtual machines vMotion to esxi02.  Click on the Remediate button.

Select esxi01 host and click Next to continue.

07_Remediation Selection

Agree to the EULA and click Next to continue.

08_EULA

I chose to remove incompatible third-party software to allow the remediation to continue.

09_Upgrade Settings

Provide a name for the task and I chose to remediate it immediately.

10_Schedule

If you have already put the ESXi host into maintenance mode, the selection here does not make any different.

11_Maintenance Mode Options

I have chose to disable DPM, FT, HA and migrate VMs.

12_Cluster Remediation Options

Click Finish to start the remediation.

17 Remediate Ready to Complete

The Recent Tasks pane will display the progress of the upgrade.

13_Remediating

However at about 24%, the host will be rebooted and installation will begin.  During the installation, the vCenter will not be able to connect to the ESXi host so the progress will stuck at around 24% until the installation has completed.  If your server comes with remote access card (e.g. Dell RAC, HP ILO), you can monitor the upgrade process of the ESXi host remotely.

I got the following warning during the upgrade which I think is normal.  The upgrade does a new installation of ESXi 5.1, so configuration is not available at this stage but will be restored at the end of the upgrade.

Could not bring up network (Did not get an IP Address from DHCP server)

15_No Network

Once the upgrade has completed, press Enter to reboot the server.

16_Upgrade completed

After the upgrade has successfully completed, the host will be running in evaluation mode for 60days.  So do remember to update the license key as soon as possible.

17_ESXi Upragde completed

Next entry will be upgrading VMware Tools and VM Hardware using Update Manager.

No comments: