Sie sind auf Seite 1von 6

VMware KB: Methods of upgrading to ESXi 5.

http://kb.vmware.com/selfservice/microsites/search.do?language=en...

Methods of upgrading to ESXi 5.0


Symptoms
If the host was upgraded from 3.5 to 4.x you will get the below error message while performing a scan during upgrade process to 5.0 in the VMware Update Manager events tab: incompatible with esx.cfg file In the DCUI screen of ESXi, you see the following entries: Error (see log for more info): vmkfstools failed with message: Checking if remote hosts are using this device as a valid file system. This may take a few seconds... Creating vfat file system on "naaa.600508e00000000095b6592ad14b5006:2" with blockSize 1048576 and volume label "none". Usage: vmkfstools -C [vmfs3|vmfs5] /vmfs/devices/disks/vml... or, vmkfstools -C [vmfs3|vmfs5] /vmfs/devices/disks/naa... or, vmkfstools -C [vmfs3|vmfs5] /vmfs/devices/disks/mpx.vmhbaA:T:L:P Error: Invalid argument

Purpose
This article provides high-level information that may be useful when upgrading to ESXi 5.x. This article does not include actual steps for upgrading to ESXi 5.0. For more information about upgrading from ESX/ESXi 3.x or 4.x, see Upgrading to ESXi 5.0 best practices (2005102) (search.do?cmd=displayKC&docType=kc&
docTypeID=DT_KB_1_1&externalId=2005102)

Note: This article assumes that you have read the documentation for the update you are applying. For more information, see the VMware ESXi 5.0 Release Notes (http://www.vmware.com/support/pubs/vsphere-esxi-vcenter-server-pubs.html) and the vSphere Upgrade Guide (http://www.vmware.com/support/pubs/vsphere-esxi-vcenter-server-pubs.html) . The documentation contains definitive information. If there is a discrepancy between the guide and this article, assume that the guide is correct.

Cause This is because of the upgrade path you have opted. Refer Supported Upgrades to ESXi 5.0 in vSphere Upgrade 5.0 (https://www.vmware.com/support/pubs/vsphere-esxi-vcenter-server-pubs.html) Resolution

1 of 6

21/02/2012 12:35

VMware KB: Methods of upgrading to ESXi 5.0

http://kb.vmware.com/selfservice/microsites/search.do?language=en...

Methods to upgrade
VMware provides several ways to upgrade ESX/ESXi hosts: vSphere Update Manager (#UM) Upgrade or migrate interactively using an ESXi installer ISO image on CD/DVD or USB flash drive (#interactive) Scripted upgrade (#script) vSphere Auto Deploy (#auto) esxcli (#esxcli) vSphere Update Manager vSphere Update Manager is robust software for upgrading, migrating, updating, and patching clustered hosts, virtual machines, and guest operating systems. Update Manager orchestrates host and virtual machine upgrades. If your site uses vCenter Server, VMware recommends that you use Update Manager. For instructions on conducting an orchestrated host upgrade, see Using vSphere Update Manager to Upgrade or Migrate Hosts in the vSphere Upgrade Guide (http://www.vmware.com/support/pubs/vsphere-esxi-vcenter-server-pubs.html) . For instructions on conducting an orchestrated virtual machine upgrade, see Perform an Orchestrated Upgrade of Virtual Machines with vSphere Update Manager in the vSphere Upgrade Guide (http://www.vmware.com/support/pubs/vsphere-esxi-vcenter-server-pubs.html) . For complete documentation about Update Manager, see Installing and Administering VMware vSphere Update Manager
(http://www.vmware.com/support/pubs/vsphere-esxi-vcenter-server-pubs.html)

Upgrade or migrate interactively using an ESXi installer ISO image on CD/DVD or USB flash drive You can run the ESXi 5.0 installer from a CD/DVD or USB flash drive to do an interactive upgrade or migration. This method is appropriate for a small number of hosts. The installer works the same as for a fresh installation, but if you select a target disk that already contains an ESX/ESXi 4.x installation, the installer upgrades the host to 5.0, and gives you the option, when possible, to migrate some existing host settings and configuration files, and preserve the existing VMFS datastore. For more information, see Upgrade or Migrate Hosts Interactively in the vSphere Upgrade Guide (http://www.vmware.com/support .

/pubs/vsphere-esxi-vcenter-server-pubs.html)

Scripted upgrade

2 of 6

21/02/2012 12:35

VMware KB: Methods of upgrading to ESXi 5.0

http://kb.vmware.com/selfservice/microsites/search.do?language=en...

You can upgrade or migrate hosts ESX/ESXi 4.x to ESXi 5.0 by invoking an update script. Scripted upgrades provide an efficient way to deploy multiple hosts. You can use a script to upgrade ESXi from a CD, DVD, or USB flash drive, or by PXE-booting the installer. You can also call a script from an interactive installation. For more information, see Installing, Upgrading, or Migrating Hosts Using a Script in the vSphere Upgrade Guide (http://www.vmware.com/support/pubs/vsphere-esxi-vcenter-server-pubs.html) . vSphere Auto Deploy Auto Deploy is a new feature in vSphere 5.0. Working with hosts managed by vCenter Server, Auto Deploy loads the ESXi image directly into the host memory, rather than installing it on the host hard disk. You cannot use Auto Deploy to upgrade or migrate ESX/ESXi 4.x hosts to ESXi 5.0, because ESX/ESXi 4.x hosts are deployed by the traditional method of installing the software on the host hard disk. After a host is deployed with Auto Deploy, you can use Auto Deploy to upgrade or apply patches to the host. To do this, you reprovision the host by rebooting it with a new image profile that contains the ESXi upgrade or patch, a host configuration profile, and, optionally, third-party drivers or management agents provided by VMware partners. You can build custom images by using ESXi Image Builder CLI. See Using vSphere Auto Deploy to Reprovision Hosts. esxcli (Command-line interface) You can update and apply patches to ESXi 5.0 hosts using the esxcli command-line utility for ESXi. You cannot use esxcli to upgrade ESX/ESXi 4.x hosts to ESXi 5.0. This utility requires the vSphere CLI. For more information, see Upgrading Hosts by Using esxcli Command in the vSphere Upgrade Guide (http://www.vmware.com
/support/pubs/vsphere-esxi-vcenter-server-pubs.html)

Note: The esxupdate and vihostupdate utilities are not supported for ESXi 5.0 upgrades.

Summary of ESXi 5.0 upgrade methods


This table summarizes ESXi 5.0 upgrade methods: Upgrade methods vSphere Update Manager Upgrade from ESX/ESXi 4.x to ESXi 5.x Yes

Interactive upgrade from CD, DVD, or USB drive Yes Scripted upgrade vSphere Auto Deploy esxcli Yes No No

Supported upgrades to ESXi 5.0


In most cases, you can migrate an ESX 4.x or upgrade an ESXi 4.x host directly to ESXi 5.0. The details and level of support for an upgrade or migration from ESX/ESXi 4.x to ESXi 5.0 depend on the host to be upgraded and the upgrade method that you use. This table outlines the support for different upgrade scenarios: Scenario for Upgrade or Migration to Support ESXi 5.0 ESX/ESXi 3.x hosts Not supported for direct upgrade. You must upgrade version 3.x ESX and ESXi hosts to ESX or ESXi version 4.x before you can upgrade them to ESXi 5.0. See the vSphere 4.x upgrade

3 of 6

21/02/2012 12:35

VMware KB: Methods of upgrading to ESXi 5.0

http://kb.vmware.com/selfservice/microsites/search.do?language=en...

documentation. Alternatively, you might find it simpler and more cost effective to do a fresh installation of ESXi 5.0. ESX 4.x host that was upgraded from ESX 3.x with a partition layout incompatible with ESXi 5.0 Not supported. The VMFS partition cannot be preserved. Upgrading or migration is possible only if there is at most one VMFS partition on the disk that is being upgraded and the VMFS partition must start after sector 1843200. Perform a fresh installation. To keep virtual machines, migrate them to a different system. ESX/ESXi 4.x host, migration or upgrade with vSphere Update Manager Supported. For more information, see Using vSphere Update Manager to Upgrade or Migrate Hosts in the vSphere Upgrade Guide (http://www.vmware.com/support/pubs/vsphereand Installing and Administering VMware vSphere Update Manager (http://www.vmware.com/support/pubs/vsphere-esxi-vcenter-server-pubs.html) .
esxi-vcenter-server-pubs.html)

ESX/ESXi 4.x host, interactive migration or upgrade

Supported. For more information, see Upgrade or Migrate Hosts Interactively in the vSphere Upgrade Guide (http://www.vmware.com/support/pubs/vsphere-esxi-vcenter-server-pubs.html) . The installer wizard offers the choice to upgrade or perform a fresh installation. If you upgrade, ESX partitions and configuration files are converted to be compatible with ESXi.

ESX/ESXi 4.x host, scripted upgrade

Supported. For more information, see Installing, Upgrading, or Migrating Hosts Using a Script
in the vSphere Upgrade Guide (http://www.vmware.com/support/pubs/vsphere-esxi-vcenterserver-pubs.html) .

In the upgrade script, specify the particular disk to upgrade on the system. If the system cannot be upgraded correctly because the partition table is incompatible, the installer displays a warning and does not proceed. In this case, perform a fresh installation. Upgrading or migration is possible only if there is at most one VMFS partition on the disk that is being upgraded and the VMFS partition must start after sector 1843200. 4.x ESX host on a SAN or SSD Partially supported. You can upgrade the host as you would a normal ESX 4.x host, but no provisions will be made to optimize the partitions on the disk. To optimize the partition scheme on the host, perform a fresh installation. 4.x ESX host, missing Service Console Not supported. .vmdk file, interactive migration from The most likely reasons for a missing Service Console are that the Service CD or DVD, scripted migration, or Console is corrupted or that the VMFS volume is not available, which can occur migration with vSphere Update if the VMFS was installed on a SAN and the LUN is not accessible. In this case, Manager on the disk selection screen of the installer wizard, if you select a disk that has an existing ESX 4.x installation, the wizard prompts you to perform a clean installation.

4 of 6

21/02/2012 12:35

VMware KB: Methods of upgrading to ESXi 5.0

http://kb.vmware.com/selfservice/microsites/search.do?language=en...

ESX/ESXi 4.x host, asynchronously released driver or other third-party customizations, interactive migration

Supported with ESXi Image Builder CLI. If a host contains customizations, such as third-party VIBs or drivers, upgrading

with the standard VMware installer ISO results in the loss of those from CD or DVD, scripted migration, or customizations, and possibly an unstable system. Use ESXi Image Builder CLI migration with vSphere Update to create a customized ESXi installer ISO file that includes the VIBs or drivers. Manager See the information builder information in the vSphere Installation and Setup
(http://www.vmware.com/support/pubs/vsphere-esxi-vcenter-server-pubs.html) documentation.

Additional Information
For more information on migrating to vSphere 5.0 see the VMware ESXi 5.0 Operations Guide (http://www.vmware.com
/resources/techresources/10215) .

Tags upgrade-host See Also Upgrading to ESXi 5.0 best practices (javascript:openDocumentLink('2005102','')) Update History 11/10/2011 - Linked technical paper. Request a Product Feature To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature (http://www.vmware.com/contact/contactus.html?department=prod_request) page. Permalink to: Methods of upgrading to ESXi 5.0 (http://kb.vmware.com/kb/2004501)
Read our blog (http://blogs.vmware.com/kb/)
/vmwarekb)

Watch KBTV (http://blogs.vmware.com/kbtv/)

Follow us (http://www.twitter.com

Request New Content (http://www.vmware.com/landing_pages/knowledgebase-content-request.html)

1 (javascript:void( rate(1,this) )) 2 (javascript:void( rate(2,this) )) 3 (javascript:void( rate(3,this) )) 4 (javascript:void( rate(4,this) )) 5 (javascript:void( rate(5,this) ))
29 Ratings

Actions Bookmark Document (javascript:addBookmark(actionBoxUtil.docURL, actionBoxUtil.docTitle);) Email Document (javascript:emailDoc(actionBoxUtil.extId, actionBoxUtil.sliceId, actionBoxUtil.docTitle, actionBoxUtil.cpplayer,
actionBoxUtil.bbid))

Print Document (javascript:window.print()) Subscribe to Document (/selfservice/microsites/microsite.do?cmd=displayKC&docType=kc&docTypeID=DT_KB_1_1&externalId=2004501&

5 of 6

21/02/2012 12:35

VMware KB: Methods of upgrading to ESXi 5.0

http://kb.vmware.com/selfservice/microsites/search.do?language=en...

format=rss) (http://www.addthis.com/bookmark.php?v=250&username=xa-4b5f42f36e60a29e)

0
tweets

tweet

KB Article: 2004501

Updated: Nov 10, 2011 Categories: Informational

Products: VMware ESXi VMware vCenter Server

Product Versions: VMware ESXi 5.0.x VMware vCenter Server 5.0.x

6 of 6

21/02/2012 12:35

Das könnte Ihnen auch gefallen