So vSphere 4.1 is out, here is a quick example how to upgrade ESX 4.0 host to 4.1 using esxupdate on ESX Service Console.
Download pre-upgrade-from-ESX4.0-to-4.1.0-0.0.260247-release.zip and upgrade-from-ESX4.0-to-4.1.0-0.0.260247-release.zip files from vmware.com, you need active support subscription for that.
- Copy both files ESX host Service Console
- Put host in maintenance mode
- Run esxupdate with “update –bundle=/path/to/pre-upgrade-zip-file”
- Run esxupdate with “update –bundle=/path/to/upgrade-zip-file”
- Reboot
- Exit maintenance mode
Tip how to put host in maintenance mode using CLI
# vimsh -n -e /hostsvc/maintenance_mode_enter
Execute pre-upgrade patching
# esxupdate update --bundle=pre-upgrade-from-ESX4.0-to-4.1.0-0.0.260247-release.zip pre-upgrade-from-ESX4.0-to-4.1.0-0.0.26024.. #################################### [100%] Unpacking vmware-esx-esxupdate-4.1.0-0.0.2.. #################################### [100%] Unpacking vmware-esx-uwlibs-4.1.0-0.0.2602.. #################################### [100%] Unpacking glibc-common-2.5-34.2926.vmw.x86.. #################################### [100%] Unpacking glibc-2.5-34.2926.vmw.x86_64.vib #################################### [100%] Unpacking glibc-2.5-34.2926.vmw.i686.vib #################################### [100%] Installing glibc-common #################################### [100%] Installing glibc #################################### [100%] Installing glibc #################################### [100%] Installing vmware-esx-uwlibs #################################### [100%] Installing vmware-esx-esxupdate #################################### [100%] Cleaning up vmware-esx-esxupdate #################################### [100%] Cleaning up vmware-esx-uwlibs #################################### [100%] Cleaning up glibc-common #################################### [100%] Cleaning up glibc #################################### [100%] Cleaning up glibc #################################### [100%]
Execute upgrade patching
# esxupdate update --bundle=upgrade-from-ESX4.0-to-4.1.0-0.0.260247-release.zip Host was not updated, no changes required. Skipping bulletin ESX410-GA-esxupdate; it is installed or obsoleted. Unpacking rpm_vmware-esx-likewise-ad.. ########################################## [100%] ... lots of updated RPM packages ... Cleaning up nss_ldap ########################################## [100%] Running [/usr/sbin/cim-install.sh]... ok. Running [/usr/sbin/vmkmod-install.sh]... ok. Running [esxcfg-boot -b]... ok. The update completed successfully, but the system needs to be rebooted for the changes to be effective.
And after succesful patching reboot ESX host
# reboot
To exit from maintenance mode using CLI run
# vimsh -n -e /hostsvc/maintenance_mode_exit

From where do i find the 2 files pre-upgrade-from-ESX4.0-to-4.1.0-0.0.260247-release.zip and upgrade-from-ESX4.0-to-4.1.0-0.0.260247-release.zip
I have a valid license
http://downloads.vmware.com/d/info/datacenter_downloads/vmware_vsphere_4/4 click download button on ESX 4.1
THANKS! Sunday morning and not enough coffee. Command listing was helpful when trying to get the esxupdate to process the zip. Like a dummy I had unzipped it first..
This worked fine for me with ESX 4.0.0,
but not with ESX 4.0 Update 2.
I got a message ‘Duplicate Entries in the patch database’
or something similar.
So i did a new installation of 4.1 and said ‘preserve existing datastore’.
Is there a way to go from 4.0 Update2 to 4.1?
Sorry, never seen that error so can’t help you with that. If you find an solution, please post it here, I’d be grateful for that.