Upgrading from VMware Release 4.0 to VMware Release 4.1
The steps to upgrade from VMware Release 4.0 to VMWare Release 4.1 are as follows:
Before You Begin
Download the upgrade ZIP bundle to a local desktop or vCenter Server.
For ESX, download upgrade-from-ESX4.0-to-4.1.0-0.0.260247-release.zip
For ESXi, download upgrade-from-ESXi4.0-to-4.1.0-0.0.260247-release.zip
For Cisco Nexus 1000V, download the bundle from www.cisco.com (VEM-4.1.0-GA-v120.zip)
See the Cisco Nexus 1000V and VMware Compatibility Information to determine the correct VIB version, VEM bundle, host build, vCenter Server, and Update Manager versions.
Upgrading the vCenter Server to VMware Release 4.1
This upgrade procedure also applies to vCenter Server 4.1 Update 1 and later.
Procedure
Step 1
Navigate to the VMware-vpx-all-4.1.0-258902 folder.
Step 2
Double-click autorun.
The VMware vCenter Installer wizard opens.
Step 3
In the VMware Product Installers area, click vCenter Server.
Step 4
Choose a language and click OK..
Step 5
Click Next.
Step 6
In the Patent Agreement window, click Next.
Step 7
In the License Agreement screen, click the I agree to the terms in the license agreement radio button and click Next.
Step 8
In the Database Options window, click Next.
Step 9
Click the Upgrade existing vCenter Server database radio button and check the I have taken a backup of the existing vCenter Server database and SSL certificates in the folder: C:\ProgramData\VMware\VMware VirtualCenter\SSL\. check box.
Step 10
From the Windows Start Menu, click Run.
Step 11
Enter the name of the folder that contains the vCenter Server database and click OK.
Step 12
Drag a copy of the parent folder (SSL) to your Desktop as a backup.
Step 13
Return to the installer program and click Next.
Step 14
In the vCenter Agent Upgrade screen, click the Automatic radio button and click Next.
Step 15
In the vCenter Server Service screen, check the Use SYSTEM Account check box and click Next.
Step 16
In the Configure Ports screen, review the port settings and click Next.
Step 17
Based on the number of hosts, in the vCenter Server JVM Memory screen click the appropriate memory radio button and click Next.
Step 18
In the Ready to Install the Program screen, click Install.
Step 19
In the Installation Completed screen, click Finish.
Step 20
Upgrade the VMware vSphere Client to ESXi 4.1.0.
Step 21
Open the VMware vSphere Client.
Step 22
From the Help menu, choose About VMware vSphere.
Step 23
Confirm that the vSphere Client and the VMware vCenter Server are both version 4.1.0, Build 258902, click OK, and exit the VMware vSphere Client.
Upgrading the ESX/ESXi Hosts to VMware Release 4.1
This upgrade procedure also applies to ESX/ESXi hosts 4.1 Update 1 and later.
Procedure
Step 1
In the vSphere Client, click Home.
Step 2
Click the Update Manager tab.
Step 3
Click the Host Upgrade Release tab.
Step 4
In the Imported Upgrade Releases area, click Import Upgrade Release.
Step 5
In the Select Upgrade FIles screen, click Browse and navigate to the location of the upgrade-from-ESX4.0-to-4.1.0-0.0.260247-release.zip Zip bundle.
Step 6
Choose the Zip file and click Open.
Step 7
In the Select Upgrade Files screen, click Next.
If you receive a Security Warning about the certificate, you can install the certificate or ignore the warning. Go to Step 8 if you must install a certificate. If you do not need to install a certificate, go to Step 9.
Step 8
Click Finish when the upload is successful.
Step 9
In the Host Upgrade Releases tab, click Create Baseline to create a baseline.
When you create a baseline and attach it to a host or cluster, the Update Manager can remediate the device by applying all updates needed to bring it into compliance with the baseline.
Step 10
In the Baseline Name and Description area, enter a Name.
Step 11
In the Baseline Type area, click the Host Upgrade radio button and click Next.
Step 12
Click the Host Upgrade Release and click Next..
Step 13
Click Next.
Step 14
Check the Try to reboot the host and roll back the upgrade in case of failure check box
Step 15
In the COS VMDK Location screen, click Next.
Step 16
Review the upgrade information and click Finish.
The baseline has been created.
Step 17
Click Home.
Step 18
Click the Host and Cluster Inventory tab.
Step 19
Click the Cluster icon to upgrade all hosts in the cluster.
Step 20
Click the Update Manager tab.
Step 21
In the Cluster area, click Attach.
Step 22
In the Individual Baselines by Type pane, check the 4.0 to 4.1 check box.
Step 23
Click Attach.
Step 24
In the Cluster area, click Scan to test the cluster’s compliance to the baseline.
Step 25
In the Confirm Scan window, check the Upgrades check box.
Step 26
Uncheck the Patches and Extensions check box.
Step 27
Click Scan.
Step 28
In the Host Compliance pane, verify that all hosts are Non-Compliant and click Remediate.
Step 29
In the Remediation Selection screen, click Next.
Step 30
Click the I agree to the term in the license agreement radio button and click Next.
Step 31
In the ESX 4.1.0 Upgrade window, click Next.
Step 32
In the Maintenance Mode Options area, check the Disable any removable media devices connected to the virtual machines on the host check box and click Next.
Step 33
In the Cluster Remediation Options screen, check all check boxes and click Next.
Step 34
Click Finish to begin the remediation.
Note
You can monitor the remediation progress in the Recent Tasks section of the vSphere Server window.
Step 35
In the Confirming Host ESX/ESXi Release window, click each host in the left-hand pane to check the host versions and confirm that 4.1.0, 260247 appears in the top-left corner of the right-hand pane.
Step 36
Determine upgrade completion as follows:
If all hosts have been upgraded, the upgrade is complete.
If any one of the hosts was not upgraded, perform Step 42 through Step 61 for each host that requires an upgrade.
Step 37
Right-click the host’s IP address and choose Enter Maintenance Mode.
Step 38
In the Confirm Maintenance Mode dialog box, click Yes.
The host’s VMs are migrated.
Step 39
Click the Update Manager tab.
Step 40
In the Attached Baselines section, right-click the 4.0 to 4.1 baseline.
Step 41
In the drop-down list, choose Detach Baseline.
Step 42
In the Detach Baseline from Cluster window, check the Cluster check box and click Detach.
Step 43
In the Update Manager - Attach Baseline window, click Attach to attach the baseline to the host that did not upgrade.
Step 44
In the Individual Baselines by Type pane, check the 4.0 to 4.1 check box and click Attach.
Step 45
In the Host Compliance pane, verify that all hosts are Non-Compliant and click Remediate.
Step 46
In the Remediation Selection pane, click Next.
Step 47
Click the I agree to the term in the license agreement radio button.
Step 48
Click Next.
Step 49
In the ESX 4.1.0 Upgrade window, click Next.
Step 50
In the Maintenance Mode Options area, check the Disable any removable media devices connected to the virtual machines on the host check box.
Step 51
Click Next.
Step 52
In the Cluster Remediation Options screen, check all check boxes.
Step 53
Click Next.
Step 54
In the Ready to Complete screen, click Finish to begin the remediation.
Step 55
When the remediation is complete, confirm that the host is compliant in the Host Compliance section.
Step 56
In the left-hand pane of the Exit Maintenance Mode window, right-click on the host and choose Exit Maintenance Mode.
Step 57
In the left-hand pane of the Select Cluster window, choose Cluster to scan the entire cluster for compliance.
Step 58
Detach the baseline from the host and attach it to the cluster.
Note
You can also be confirm the upgrade by entering the show module command on the VSM and check that the VEMs are on the correct build.
This upgrade procedure also applies to vCenter Server 5.0 and vCenter Server 5.0 Update 1 and later.
Before You Begin
Download the upgrade ISO file that contains the ESXi 5.1 bits and the Cisco Nexus 1000VRelease 4.2(1)SV1(5.2) bits.
See the Cisco Nexus 1000V and VMware Compatibility Information document to determine the correct VIB Version, VEM Bundle, Host Build, vCenter Server, and Update Manager versions.
Procedure
Step 1
Navigate to the VMware vSphere 5.1 installation file.
Note
If you have the ISO image, you should mount it on the host.
Step 2
Double-click autorun.
Step 3
In the VMware vCenter Installer window, click vCenter Server.
Step 4
Click Install.
Step 5
Choose a language and click OK.
Step 6
Click Next.
Step 7
In the Patent Agreement window, click Next.
Step 8
In the License Agreement window, click the I agree to the terms in the license agreement radio button.
Step 9
Click Next.
Step 10
In the Database Options screen, click Next.
Step 11
Click the Upgrade existing vCenter Server database radio button and check the I have taken a backup of the existing vCenter Server database and SSL certificates in the folder: C:\ProgramData\VMware\VMware VirtualCenter\SSL\. check box.
Step 12
From the Windows Start Menu, click Run.
Step 13
Enter the name of the folder that contains the vCenter Server database and click OK.
Step 14
Drag a copy of the parent folder (SSL) to the desktop as a backup.
Step 15
Return to the installer program.
Step 16
Click Next.
Step 17
In the vCenter Agent Upgrade window, click the Automatic radio button.
Step 18
Click Next.
Step 19
In the vCenter Server Service screen, check the Use SYSTEM Account check box.
Step 20
Click Next.
Step 21
Review the port settings and click Next.
Step 22
In the vCenter Server JVM Memory screen based on the number of hosts, click the appropriate memory radio button.
Step 23
Click Next.
Step 24
Click Install.
Step 25
Click Finish.
This step completes the upgrade of the vCenter Server.
Step 26
Upgrade the VMware vSphere Client to ESXi 5.1.
Step 27
Open the VMware vSphere Client.
Step 28
From the Help menu, choose About VMware vSphere.
Step 29
Confirm that the vSphere Client and the VMware vCenter Server are both version VMware 5.1.
Augmenting the Customized ISO for VMware Release 5.1
Before You Begin
If you are using a QLogic NIC, download the driver to include in the customized ISO for that specific NIC.
Procedure
If the ESXi host that is being upgraded to VMware 5.1 needs any Async drivers that are not already in VMware 5.1, see the respective vendor’s documentation for the drivers and the procedure to update the customized ISO.
This upgrade procedure also applies to ESXi hosts 5.0 and 5.0 Update 1 and later.
Procedure
Step 1
In the vSphere Client, click Home.
Step 2
Click the Update Manager tab.
Step 3
Click the ESXi Image tab.
Step 4
Click the Import ESXi Image link in the ESXi Image window.
Step 5
Click the Browse button and navigate to the customized upgrade ISO image.
Step 6
Choose the upgrade file and click Open.
Step 7
To import the ISO file, click Next.
Step 8
When the upgrade ISO file is uploaded, click Next.
Step 9
In the Baseline Name and Description area, enter a name for the baseline and an optional description.
Step 10
Click Finish.
Step 11
In the vSphere Client, choose Home > Hosts and Clusters.
Step 12
In the left-hand pane, select the host or cluster to upgrade and click the Update Manager tab.
Step 13
Click Attach.
Step 14
In the Individual Baselines by Type area, check your upgrade baseline's check box.
Step 15
Click Attach.
Step 16
Click Scan.
After the scan, the baseline will display non-compliant.
Step 17
In the Confirm Scan dialog box, check the Upgrades check box and click Scan.
Step 18
In the Upgrade Details window, if the Compliance State has a value of Incompatible, reboot the host with the baseline attached.
After the reboot, the Compliance State will have a value of Non-Compliant.
Step 19
When you are finished viewing the upgrade details, click Close.
Step 20
Verify that all hosts are Non-Compliant.
Step 21
Click Remediate.
Step 22
Click Next
Step 23
In the End User License Agreement screen, check the I accept the terms and license agreement check box.
Step 24
Click Next
Step 25
In the ESXi 5.x Upgrade window, click Next.
Step 26
Click Next.
Step 27
In the Maintenance Mode Options area, check the Disable any removable media devices connected to the virtual machines on the host check box.
Step 28
Click Next.
Step 29
In the Cluster Remediation Options window, check all check boxes.
Step 30
Click Next.
Step 31
Click Finish to begin the remediation.
Step 32
To check the host versions, click each host in the left-hand pane and confirm that 5.1 appears in the top-left corner of the right-hand pane and that the version information matches the contents of the Cisco Nexus 1000V and VMware Compatibility Information.
Step 33
The upgrade can also be confirmed by running the show module command on the VSM and observing that the VEMs are on the correct build.
You have upgraded the VSMs and VEMs to the current Cisco Nexus 1000V release.
You have upgraded the vCenter Server to VMware Release 5.0.0.
You have upgraded the VMware Update Manager to VMware Release 5.0.0.
You have upgraded your ESX/ESXi hosts to VMware Release 5.0.0.
Procedure
Step 1
Verify the build number on the ESXi host.
~ # vmware -v
VMware ESXi 5.0.0 build-469512
Step 2
Verify the upgrade on the Cisco Nexus 1000V.
switch# show module
N1KV-VSM# show mod
Mod Ports Module-Type Model Status
--- ----- -------------------------------- ------------------ ------------
1 0 Virtual Supervisor Module Nexus1000V active *
2 0 Virtual Supervisor Module Nexus1000V ha-standby
3 248 Virtual Ethernet Module NA ok
Mod Sw Hw
--- --------------- ------
1 4.2(1)SV2(1.1a) 0.0
2 4.2(1)SV2(1.1a) 0.0
3 4.2(1)SV2(1.1a) 3.0
Mod MAC-Address(es) Serial-Num
--- -------------------------------------- ----------
1 00-19-07-6c-5a-a8 to 00-19-07-6c-62-a8 NA
2 00-19-07-6c-5a-a8 to 00-19-07-6c-62-a8 NA
3 02-00-0c-00-09-00 to 02-00-0c-00-09-80 NA
Mod Server-IP Server-UUID Server-Name
--- --------------- ------------------------------------ --------------------
1 10.104.245.152 NA NA
2 10.104.245.152 NA NA
3 10.104.245.140 42064d20-4e52-62d1-e0ee-0b14be4388d6 mn-esxi-5.0-statefull
* this terminal session
The upgrade to VMware Release 5.0 is complete.
Upgrading to VMware ESXi 5.0 Patch 01
Upgrading a VMware ESXi 5.0 Stateful Host to VMware ESXi 5.0 Patch 01
Procedure
Step 1
Copy the ESXi 5.0 Patch 01 bundle (ESXi500-201109001.zip) to the host.
Step 2
Upgrade the host to ESXi 5.0 Patch 01.
~ # esxcli software vib update -d /vmfs/volumes/newnfs/MN-patch01/ESXi500-201109001.zip
Installation 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_5.0.0-0.3.474610, VMware_locker_tools-light_5.0.0-0.3.474610
VIBs Removed: VMware_bootbank_esx-base_5.0.0-0.0.469512, VMware_locker_tools-light_5.0.0-0.0.469512
VIBs Skipped: VMware_bootbank_ata-pata-amd_0.3.10-3vmw.500.0.0.469512, VMware_bootbank_ata-pata-atiixp_0.4.6-3vmw.500.0.0.469512,
<============================================================================================================>
VMware_bootbank_scsi-qla4xxx_5.01.03.2-3vmw.500.0.0.469512, VMware_bootbank_uhci-usb-uhci_1.0-3vmw.500.0.0.469512
Installing ESXi 5.1 Host Software Using the CLI
You can upgrade an ESXi host by installing a VMware patch or update with the compatible Cisco Nexus 1000V VEM software.
Before You Begin
If you are using the vCLI, do the following:
You have downloaded and installed the VMware vCLI. For information about installing the vCLI, see the VMware vCLI documentation.
You are logged in to the remote host when the vCLI is installed.
Note
The vSphere Command-Line Interface (vSphere CLI) command set allows you to enter common system administration commands against ESXi systems from any machine with network access to those systems. You can also enter most vSphere CLI commands against a vCenter Server system and target any ESXi system that the vCenter Server system manages. vSphere CLI commands are especially useful for ESXi hosts because ESXi does not include a service console.
If you are using the esxupdate command, you are logged into the ESX host.
Check the Cisco Nexus 1000V and VMware Compatibility Information for compatible versions.
You have already copied the ESXi host software and VEM software installation file to the /tmp directory.
You know the name of the ESXi and VEM software file to be installed.
Procedure
Step 1
Download the VEM bits and copy them to the local host.
Step 2
Determine the upgrade method that you want to use.
If you are using the vCLI, enter the esxcli command and install the ESXi and VEM software simultaneously.
Note
When using the esxcli software vib install command, you must log in to each host and enter the command. ESXi 5.1 expects the VIB to be in the /var/log/vmware directory if the absolute path is not specified.
esxcli software vib install -vfull-path-to-vib
This example shows how to install ESXi 5.1 on a host.
This command loads the software manually onto the host, loads the kernel modules, and starts the VEM Agent on the running system.
Step 3
Verify that the installation was successful.
~ # vmware -v -l
VMware ESXi 5.0.0 build-469512
VMware ESXi 5.0.0 GA
~ #
~ # vemcmd show version
VEM Version: 4.2.1.1.5.2.0-3.0.2
VSM Version: 4.2(1)SV1(5.2)
System Version: VMware ESXi 5.0.0 Releasebuild-469512
~ # vem status -v
Package vssnet-esxmn-ga-release
Version 4.2.1.1.5.2.0-3.0.2
Build 2
Date Fri Aug 3 05:11:27 PDT 2012
Number of PassThru NICs are 0
VEM modules are loaded
Switch Name Num Ports Used Ports Configured Ports MTU Uplinks
vSwitch0 128 24 128 1500 vmnic2
DVS Name Num Ports Used Ports Configured Ports MTU Uplinks
switch 256 14 256 1500 vmnic5,vmnic4,vmnic3
Number of PassThru NICs are 0
VEM Agent (vemdpa) is running
~ # esxcli software vib list | grep cisco
cisco-vem-v144-esx 4.2.1.1.5.2.0-3.0.2 Cisco PartnerSupported 2012-08-21
~ #
~ # vem version -v
Number of PassThru NICs are 0
Running esx version -469512 x86_64
VEM Version: 4.2.1.1.5.2.0-3.0.2
VSM Version: 4.2(1)SV1(5.2)
System Version: VMware ESXi 5.0.0 Releasebuild-469512
~ #
Note
If the VEM Agent is not running, see the Cisco Nexus 1000V Troubleshooting Guide.
Step 4
Verify that the VEM has been upgraded by entering the following command from the VSM.
switch# show module
Mod Ports Module-Type Model Status
--- ----- -------------------------------- ------------------ ------------
1 0 Virtual Supervisor Module Nexus1000V ha-standby
2 0 Virtual Supervisor Module Nexus1000V active *
3 248 Virtual Ethernet Module NA ok
4 248 Virtual Ethernet Module NA ok
Mod Sw Hw
--- ------------------ ------------------------------------------------
1 4.2(1)SV1(5.2) 0.0
2 4.2(1)SV1(5.2) 0.0
3 4.2(1)SV1(5.2) VMware ESXi 5.0.0 Releasebuild-469512 (3.0)
4 4.2(1)SV1(5.2) VMware ESXi 5.0.0 Releasebuild-623860 (3.0)
Mod MAC-Address(es) Serial-Num
--- -------------------------------------- ----------
1 00-19-07-6c-5a-a8 to 00-19-07-6c-62-a8 NA
2 00-19-07-6c-5a-a8 to 00-19-07-6c-62-a8 NA
3 02-00-0c-00-03-00 to 02-00-0c-00-03-80 NA
4 02-00-0c-00-04-00 to 02-00-0c-00-04-80 NA
Mod Server-IP Server-UUID Server-Name
--- --------------- ------------------------------------ --------------------
1 10.104.249.171 NA NA
2 10.104.249.171 NA NA
3 10.104.249.172 7d41e666-b58a-11e0-bd1d-30e4dbc299c0 10.104.249.172
4 10.104.249.173 17d79824-b593-11e0-bd1d-30e4dbc29a0e 10.104.249.173
* this terminal session
switch#
Note
The highlighted text in the previous command output confirms that the upgrade was successful.
Step 5
Do one of the following:
If the installation was successful, you do nothing because the installation procedure is complete.
If not, see the Recreating the Cisco Nexus 1000V Installation section in the Cisco Nexus 1000V Troubleshooting Guide.
You have completed this procedure.
Creating an Upgrade ISO with a VMware ESX Image and a Cisco Nexus 1000V VEM Image
Before You Begin
Install the VMware PowerCLI on a Windows platform. For more information, see the vSphere PowerCLI Installation Guide.
On the same Windows platform, where the VMware PowerCLI is installed, do one of the following:
Download the ESX depot, which is a .zip file, to a local file path.
Download the VEM offline bundle, which is a .zip file, to a local file path.
Note
In the following procedure, the ESX depot is available as C:\VMware-ESXi-5.0.0-469512-depot.zip and the VEM bundle is available as C:\VEM500-20110822140-BG.zip.
Procedure
Step 1
Start the VMWare PowerCLI application.
Step 2
Connect to the vCenter Server.[vSphere PowerCLI] > Connect-VIServer 192.0.2.1 -User Administrator -Password XXXXX
Step 3
Load the ESX depot.[vSphere PowerCLI] > Add-ESXSoftwareDepot c:\vmware-ESXi-5.0.0-depot.zip
Step 4
Display the image profiles.
[vSphere PowerCLI] > Get-EsxImageProfile
Name Vendor Last Modified Acceptance Level
---- ------ ------------- ----------------
ESXi-5.0.0-469512-no-tools VMware, Inc. 8/19/2011 1:... PartnerSupported
ESXi-5.0.0-469512-standard VMware, Inc. 8/19/2011 1:... PartnerSupported
Step 5
Clone the ESX standard image profile.
Note
The image profiles are usually in READ-ONLY format. You must clone the image profile before adding the VEM image to it.
[vSphere PowerCLI] > New-ESxImageProfile -CloneProfile ESXi-5.0.0-469512-standard -Name n1kv-Image
Name Vendor Last Modified Acceptance Level
---- ------ ------------- ----------------
n1kv-Image VMware, Inc. 8/19/2011 1:... PartnerSupported