I’ve been deploying VMware ESX 3.0.2 on a few sites around town recently and thought it was about time I upgraded our internal systems to reflect the latest patch levels. I took a few hours this week and upgraded the UDA build that I use here for our development environment. I was all ready to test out the new build on our systems when I realised that if something went wrong I wasn’t well-placed to waste time fixing it and retrieving any of my colleagues’ VMs that were being used at the time. So I reached for the ESX3 – 3.0.2 tarball (esx-upgrade-from-esx3-3.0.2-52542.tar.gz) and went through the process to see how it went. It was arguably just as risky, but that’s how I’m rollin’ at the moment. The process is a lot simpler than upgrading from ESX 2 (no rebooting into linux mode), but it still requires downtime for your VMs if you don’t have DRS running or N+1 capacity available.
Here’s how to do it:
Using username “root”.
root@vi3host’s password:
Last login: Wed Sep 12 09:28:32 2007 from workstation
[root@vihost root]# tar xzvf esx-upgrade-from-esx3-3.0.2-52542.tar.gz
52542/
52542/acl-2.2.3-1.i386.rpm
52542/ash-0.3.8-16.i386.rpm
[…]
52542/yum-2.0.7-4vmw.noarch.rpm
52542/zip-2.3-16.1.i386.rpm
52542/zlib-1.1.4-10.EL3.i386.rpm
52542/descriptor.xml
[root@vi3host root]# cd 52542/
[root@vi3host 52542]# esxupdate -n update
INFO: No repository URL specified, going with file:/root/52542
INFO: Configuring…
INFO: Pre-installing [‘VMware-esx-scripts’]…
INFO: | Enabling repackaging capability…
INFO: | Gathering header information file(s) from server(s)
INFO: | Server: Esxupdate-compatible repository for VMware ESX Server 3.0.2-52542
INFO: | Finding updated packages
[…]
INFO: | Installed: VMware-esx-drivers-net-forcedeth 0.60-52542.i386
INFO: | Transaction(s) Complete
INFO: Shutting down hostd…
INFO: Running esxcfg-boot to regenerate initrds…
INFO: Restarting hostd…
INFO: — TOTALS: 222 packages installed, 0 pending or failed, 1 removed, 0 excluded —
INFO: Install succeeded – please come again.
[root@vi3host 52542]# reboot
And you’re all done. For the complete log fanboys here’s a link to the, er, complete log.
Once the host has rebooted, you can fire up the VMs and proceed as normal. I also took the opportunity to ensure that my patching script worked with the new 3.0.2 September updates. It does, but funnily enough, the output of an esxupdate query command now looks like this:
[root@vi3host root]# esxupdate query
Installed software bundles:
—— Name —— — Install Date — — Summary —
3.0.1-32039 11:39:36 07/09/07 Full 3.0.1 release of VMware ESX Server
ESX-1006511 12:13:15 07/09/07 Fixing TX hang in 80003ES2LAN Controller
ESX-1410076 12:15:59 07/09/07 BSOD 0x109 during 64-bit Windows install
ESX-2158032 12:17:18 07/09/07 Add LFENCE for RWO on AMD K8 before RevF
ESX-2066306 12:18:08 07/09/07 Patch for VM crashes and possible freeze
ESX-6921838 12:20:18 07/09/07 hot removal of a virtual disk thru SDK
ESX-8173580 12:21:36 07/09/07 Fix COS Oops running Dell OM5 w/ QLogic
ESX-9986131 12:22:45 07/09/07 Updated openssh, python, and openssl
ESX-1271657 12:23:41 07/09/07 Open IPMI improvement for slowness.
ESX-1917602 12:24:23 07/09/07 To improve compatibility for Windows NT.
ESX-2031037 12:25:07 07/09/07 To provide LUN an unique ID Name
ESX-3996003 12:58:42 07/09/07 To support the latest time zone rules.
ESX-5497987 13:00:00 07/09/07 Fixes a misleading locking message.
ESX-6075798 13:01:01 07/09/07 Force vmxnet module to be installed 1st.
ESX-3199476 13:02:03 07/09/07 VMXNET shutdown may lead to BSOD
ESX-5031800 13:02:49 07/09/07 RHSA-2006:0749 tar security update
ESX-5885387 13:03:33 07/09/07 RedHat Moderate: gzip security update
ESX-6050503 13:05:45 07/09/07 Error on “network adapters” tab in VC UI
ESX-6856573 13:06:31 07/09/07 PhysMem_Get() accesses wrong pages
ESX-9865995 13:07:49 07/09/07 LUNs of MSA Array disappear and reappear
ESX-1541239 13:08:42 07/09/07 Updates Emulex Fibre Channel driver.
ESX-2257739 13:09:58 07/09/07 To deliver several fixes in vmkernel.
ESX-2559638 13:10:45 07/09/07 Update info rpm for ESX 3.0.1.
ESX-1161870 13:11:36 07/09/07 Several bug fixes in vmware-vmx.
ESX-3416571 13:12:22 07/09/07 Potential Buffer Overflow.
ESX-5011126 13:13:11 07/09/07 Potential Buffer Overflow.
ESX-7737432 13:13:58 07/09/07 Potential Buffer Overflow.
ESX-7780490 13:14:43 07/09/07 Potential Buffer Overflow.
ESX-8174018 13:15:32 07/09/07 Potential Buffer Overflow.
ESX-8852210 13:17:43 07/09/07 Potential Buffer Overflow.
ESX-9617902 13:19:00 07/09/07 Potential Buffer Overflow.
ESX-9916286 13:19:52 07/09/07 To update zlib library for ESX 3.0.1
ESX-4825991 13:21:11 07/09/07 To deliver several fixes in vmkernel.
ESX-5095559 13:22:19 07/09/07 This patch contains several fixes.
ESX-5140477 13:24:02 07/09/07 SSL certificate verified by MKS plugins.
ESX-6657345 13:24:56 07/09/07 iSCSI device failed with check condition
ESX-6704314 13:25:47 07/09/07 Memory leaks in VMware Tools.
ESX-7281356 13:26:43 07/09/07 To update tzdata rpm from Red Hat.
ESX-7302867 13:27:41 07/09/07 console OS oops after aacraid_esx30 load
ESX-7408807 13:28:34 07/09/07 Hang when booting with one local mirror.
ESX-7557441 13:29:44 07/09/07 Each mgmt-vmware restart impacts all VMs
3.0.2-52542 09:46:10 09/12/07 Full 3.0.2 release of VMware ESX Server
ESX-1001735 12:14:18 09/14/07 To update tzdata rpm.
ESX-1001725 12:19:54 09/14/07 Security update for the bind package.
ESX-1001726 12:20:46 09/14/07 Security update for shadow-utils package
ESX-1001727 12:21:37 09/14/07 Security update for openldap packages.
ESX-1001728 12:22:34 09/14/07 Security update for pam packages.
ESX-1001729 12:23:42 09/14/07 Security update for gcc packages.
ESX-1001730 12:24:33 09/14/07 Security update for gdb packages.
ESX-1001731 12:25:22 09/14/07 Security update for krb5 packages.
ESX-1001732 12:26:21 09/14/07 Fix multicast extra packets in NIC Team.
For a differential list of rpms, use the -l/–listrpms option.
[root@vi3host root]#
Notice that the system was originally installed with 3.0.1, most all patches applied, and then the full release of 3.0.2 is treated as a super patch. I seem to recall some rambling on the forums about this, but I don’t recall exactly where. In any case, I’m fine with that, really.
So now our dev environment is up to date, and I’m looking forward to doing the same in production and seeing if that breaks anything.