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
You can put host in maintenance mode using CLI with following command
# 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
And you are done






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.
Worked great for me… Couldn’t use your command to put my host into maintenance mode, kept returning a bunch of jibberish. So I did so from the vsphere client instead! I’m all updated now! Thx!
Not able to download
1.pre-upgrade-from-ESX4.0-to-4.1.0-0.0.260247-release.zip
2.upgrade-from-ESX4.0-to-4.1.0-0.0.260247-release.zip
Please let me know from where i can download these above zip file.I had ESX 4.1
iso image but didnt find the ZIP file.
regds
These files are available at vmware.com for customers with active support subscription
http://downloads.vmware.com/d/info/datacenter_downloads/vmware_vsphere_4/4
Hi;
What about the vmware tools?.
It is mandatory to update the vmware tools in the VMs?.
Thanks
Hi Francisco,
It is not mandatory to upgrade VMware Tools but it is highly recommended.
I can find the
upgrade-from-ESX4.0-to-4.1.0-0.0.260247-release.zip file but not the
pre-upgrade-from-ESX4.0-to-4.1.0-0.0.260247-release.zip <<– Where can I get this file?
All these files are available at vmware.com vSphere 4.1 downloads, to access the files you need active support subscription.
The update patch will not show up of you click on the ESXi download.. only the ESX one.
Try this it worked for me http://stevehardie.com/2011/07/how-to-upgrade-esxi4-0-to-esxi4-1-update-1/
Okay so I applied the changes and it look like it installed the update, but I still show the same build number. Are you guys having the same issue, shouldn’t the build number get updated. I am upgrade from esxi 4.1 update1 to 4.1 update 2. Let me know what you think. Thanks.
Ray
[...] ESX host upgrade to 4.1 using esxupdate: http://v-reality.info/2010/07/esx-host-upgrade-to-4-1-using-esxupdate/ This entry was posted in vmware. Bookmark the [...]
[...] Source: http://v-reality.info/2010/07/esx-host-upgrade-to-4-1-using-esxupdate/ [...]