| 1 | |
| 2 | == Installing Patches for VMware ESX 3.5 Update 5 == |
| 3 | |
| 4 | 1. Download the contents.zip file. |
| 5 | |
| 6 | {{{ |
| 7 | $ wget -q http://download3.vmware.com/software/esx/ESX-3.5.0-contents.zip |
| 8 | $ |
| 9 | $ unzip -l ESX-3.5.0-contents.zip |
| 10 | Archive: ESX-3.5.0-contents.zip |
| 11 | Length Date Time Name |
| 12 | -------- ---- ---- ---- |
| 13 | 18304 11-19-10 01:11 contents.xml |
| 14 | 701 11-19-10 01:11 contents.xml.sig |
| 15 | -------- ------- |
| 16 | 19005 2 files |
| 17 | $ |
| 18 | }}} |
| 19 | |
| 20 | 2. Create a patch depot. |
| 21 | |
| 22 | {{{ |
| 23 | $ mkdir -p ESX350.Depot/ESX350 |
| 24 | $ ( cd ESX350.Depot/ESX350 ; unzip ../../ESX-3.5.0-contents.zip ) |
| 25 | Archive: ../../ESX-3.5.0-contents.zip |
| 26 | inflating: contents.xml |
| 27 | inflating: contents.xml.sig |
| 28 | $ |
| 29 | }}} |
| 30 | |
| 31 | 3. Create list of patches to download (Dec-2009, and newer). |
| 32 | |
| 33 | {{{ |
| 34 | $ egrep 'ESX350-20(0912|10)' ESX350.Depot/ESX350/contents.xml | \ |
| 35 | cut -d\" -f4 > patch-list.txt |
| 36 | $ |
| 37 | $ head -1 patch-list.txt ; tail -1 patch-list.txt |
| 38 | ESX350-200912401-BG |
| 39 | ESX350-201012410-BG |
| 40 | $ wc -l patch-list.txt |
| 41 | 47 patch-list.txt |
| 42 | $ |
| 43 | }}} |
| 44 | |
| 45 | 4. Download all patch bundles. |
| 46 | |
| 47 | {{{ |
| 48 | $ ( while read p ; do |
| 49 | wget -q http://download3.vmware.com/software/vi/${p}.zip |
| 50 | done ) < patch-list.txt |
| 51 | $ |
| 52 | }}} |
| 53 | |
| 54 | 5. Extract patch bundles into the patch depot. |
| 55 | |
| 56 | {{{ |
| 57 | $ for f in ESX350-*.zip ; do |
| 58 | ( cd ESX350.Depot/ESX350 ; unzip -q ../../$f ) |
| 59 | done |
| 60 | $ |
| 61 | $ ls -log ESX350.Depot/ESX350 |
| 62 | total 212 |
| 63 | -rw-rw-rw- 1 18304 Nov 19 01:11 contents.xml |
| 64 | -rw-r--r-- 1 701 Nov 19 01:11 contents.xml.sig |
| 65 | drwxr-xr-x 3 4096 Dec 21 2009 ESX350-200912401-BG |
| 66 | drwxr-xr-x 3 4096 Dec 21 2009 ESX350-200912402-BG |
| 67 | drwxr-xr-x 3 4096 Dec 21 2009 ESX350-200912403-BG |
| 68 | drwxr-xr-x 3 4096 Dec 21 2009 ESX350-200912404-BG |
| 69 | drwxr-xr-x 3 4096 Dec 21 2009 ESX350-200912405-BG |
| 70 | drwxr-xr-x 3 4096 Dec 21 2009 ESX350-200912406-BG |
| 71 | drwxr-xr-x 3 4096 Feb 9 2010 ESX350-201002401-SG |
| 72 | drwxr-xr-x 3 4096 Feb 9 2010 ESX350-201002402-SG |
| 73 | drwxr-xr-x 3 4096 Feb 9 2010 ESX350-201002403-BG |
| 74 | drwxr-xr-x 3 4096 Feb 9 2010 ESX350-201002404-SG |
| 75 | drwxr-xr-x 3 4096 Feb 9 2010 ESX350-201002405-BG |
| 76 | drwxr-xr-x 3 4096 Feb 9 2010 ESX350-201002406-BG |
| 77 | drwxr-xr-x 3 4096 Feb 9 2010 ESX350-201002407-SG |
| 78 | drwxr-xr-x 3 4096 Feb 9 2010 ESX350-201002408-BG |
| 79 | drwxr-xr-x 3 4096 Feb 9 2010 ESX350-201002409-BG |
| 80 | drwxr-xr-x 3 4096 Feb 9 2010 ESX350-201002411-BG |
| 81 | drwxr-xr-x 3 4096 Mar 22 2010 ESX350-201003401-BG |
| 82 | drwxr-xr-x 3 4096 Mar 22 2010 ESX350-201003402-BG |
| 83 | drwxr-xr-x 3 4096 Mar 22 2010 ESX350-201003403-SG |
| 84 | drwxr-xr-x 3 4096 Jun 22 00:05 ESX350-201006401-SG |
| 85 | drwxr-xr-x 3 4096 Jun 22 00:06 ESX350-201006402-BG |
| 86 | drwxr-xr-x 3 4096 Jun 22 00:06 ESX350-201006403-BG |
| 87 | drwxr-xr-x 3 4096 Jun 22 00:06 ESX350-201006404-BG |
| 88 | drwxr-xr-x 3 4096 Jun 22 00:06 ESX350-201006405-SG |
| 89 | drwxr-xr-x 3 4096 Jun 22 00:06 ESX350-201006406-SG |
| 90 | drwxr-xr-x 3 4096 Jun 22 00:06 ESX350-201006407-SG |
| 91 | drwxr-xr-x 3 4096 Jun 22 00:06 ESX350-201006408-SG |
| 92 | drwxr-xr-x 3 4096 Jun 22 00:06 ESX350-201006409-BG |
| 93 | drwxr-xr-x 3 4096 Aug 18 22:52 ESX350-201008401-SG |
| 94 | drwxr-xr-x 3 4096 Aug 18 22:52 ESX350-201008402-BG |
| 95 | drwxr-xr-x 3 4096 Aug 18 22:52 ESX350-201008403-BG |
| 96 | drwxr-xr-x 3 4096 Aug 18 22:52 ESX350-201008405-SG |
| 97 | drwxr-xr-x 3 4096 Aug 18 22:52 ESX350-201008406-SG |
| 98 | drwxr-xr-x 3 4096 Aug 18 22:53 ESX350-201008407-SG |
| 99 | drwxr-xr-x 3 4096 Aug 18 22:53 ESX350-201008409-BG |
| 100 | drwxr-xr-x 3 4096 Aug 18 22:53 ESX350-201008410-SG |
| 101 | drwxr-xr-x 3 4096 Aug 18 22:53 ESX350-201008411-SG |
| 102 | drwxr-xr-x 3 4096 Aug 18 22:53 ESX350-201008412-SG |
| 103 | drwxr-xr-x 3 4096 Nov 19 01:10 ESX350-201012401-SG |
| 104 | drwxr-xr-x 3 4096 Nov 19 01:11 ESX350-201012402-BG |
| 105 | drwxr-xr-x 3 4096 Nov 19 01:11 ESX350-201012404-BG |
| 106 | drwxr-xr-x 3 4096 Nov 19 01:11 ESX350-201012405-BG |
| 107 | drwxr-xr-x 3 4096 Nov 19 01:11 ESX350-201012406-BG |
| 108 | drwxr-xr-x 3 4096 Nov 19 01:11 ESX350-201012407-BG |
| 109 | drwxr-xr-x 3 4096 Nov 19 01:11 ESX350-201012408-SG |
| 110 | drwxr-xr-x 3 4096 Nov 19 01:11 ESX350-201012409-SG |
| 111 | drwxr-xr-x 3 4096 Nov 19 01:11 ESX350-201012410-BG |
| 112 | $ |
| 113 | }}} |
| 114 | |
| 115 | 6. Make an ISO image, burn a DVD. |
| 116 | |
| 117 | {{{ |
| 118 | $ mkisofs -J -r -V ESX350u5-20101217 -o ./ESX350u5-20101217.iso ./ESX350.Depot |
| 119 | [...] |
| 120 | $ ls -log ESX350u5-20101217.iso |
| 121 | -rw-rw-r-- 1 1942310912 Dec 17 16:34 ESX350u5-20101217.iso |
| 122 | $ cdrecord -sao -data ESX350u5-20101217.iso |
| 123 | }}} |
| 124 | |
| 125 | 7. Put the DVD into ESX host's optical drive, mount it up, install the patches. |
| 126 | |
| 127 | {{{ |
| 128 | esx3# mkdir /mnt/cdrom |
| 129 | esx3# mount -r /dev/cdrom /mnt/cdrom |
| 130 | esx3# esxupdate --noreboot -d file:///mnt/cdrom/ESX350 update |
| 131 | [...] |
| 132 | esx3# esxupdate query | grep 12/17/10 |
| 133 | ESX350-200912403-BG 17:59:06 12/17/10 Updates e1000e driver |
| 134 | ESX350-200912404-BG 17:59:06 12/17/10 Updates igb driver |
| 135 | ESX350-200912405-BG 17:59:06 12/17/10 Updates ixgbe driver |
| 136 | ESX350-201002401-SG 17:59:06 12/17/10 Updates Net-SNMP |
| 137 | ESX350-201002402-SG 17:59:06 12/17/10 Security updates to Python package |
| 138 | ESX350-201002404-SG 17:59:06 12/17/10 Security update to BIND |
| 139 | ESX350-201002405-BG 17:59:06 12/17/10 Updates Aacraid driver |
| 140 | ESX350-201002407-SG 17:59:07 12/17/10 Updates Libxml2 |
| 141 | ESX350-201002408-BG 17:59:07 12/17/10 Updates MPT SCSI driver |
| 142 | ESX350-201002409-BG 17:59:07 12/17/10 Updates iSCSI driver, iSCSI daemon |
| 143 | ESX350-201003403-SG 17:59:07 12/17/10 Updates vmware-webCenter-esx |
| 144 | ESX350-201006401-SG 17:59:07 12/17/10 Updates VMkernel,Tools,Hostd,VMX,VMnix |
| 145 | ESX350-201006403-BG 17:59:07 12/17/10 Updates Qlogic driver |
| 146 | ESX350-201006404-BG 17:59:07 12/17/10 Updates e1000 driver |
| 147 | ESX350-201006405-SG 17:59:07 12/17/10 Updates GNU GCC package |
| 148 | ESX350-201006406-SG 17:59:07 12/17/10 Updates GNU zip package |
| 149 | ESX350-201006407-SG 17:59:07 12/17/10 Updates NTP package |
| 150 | ESX350-201006409-BG 17:59:07 12/17/10 Updates CIM and Pegasus |
| 151 | ESX350-201008402-BG 17:59:07 12/17/10 Updates bnx2x driver |
| 152 | ESX350-201008405-SG 17:59:07 12/17/10 Updates cpio |
| 153 | ESX350-201008406-SG 17:59:07 12/17/10 Updates expat |
| 154 | ESX350-201008407-SG 17:59:07 12/17/10 Updates tar |
| 155 | ESX350-201008411-SG 17:59:07 12/17/10 Updates krb5 |
| 156 | ESX350-201008412-SG 17:59:07 12/17/10 Updates perl |
| 157 | ESX350-201012401-SG 17:59:07 12/17/10 Updates VMkernel, hostd, VMX |
| 158 | ESX350-201012402-BG 17:59:07 12/17/10 Updates VMware-esx-tools |
| 159 | ESX350-201012404-BG 17:59:07 12/17/10 Updates VMware-esx-scripts |
| 160 | ESX350-201012405-BG 17:59:07 12/17/10 Updates kernel-vmnix |
| 161 | ESX350-201012406-BG 17:59:07 12/17/10 Updates VMware-esx-perftools |
| 162 | ESX350-201012407-BG 17:59:07 12/17/10 Updates Emulex Fiber Channel driver |
| 163 | ESX350-201012408-SG 17:59:07 12/17/10 Updates samba |
| 164 | ESX350-201012409-SG 17:59:07 12/17/10 Updates bzip |
| 165 | ESX350-201012410-BG 17:59:07 12/17/10 Important: Update ESX 3.5 secure key |
| 166 | For a differential list of rpms, use the -l/--listrpms option. |
| 167 | esx3# |
| 168 | }}} |
| 169 | |
| 170 | === See Also === |
| 171 | |
| 172 | http://downloads.vmware.com/d/info/datacenter_downloads/vmware_infrastructure_3/3_5 \\ VMware ESX 3.5 Update 5 - Release Date 2009/12/03 |
| 173 | |
| 174 | http://www.vmware.com/pdf/vi3_35/esx_3/r35/vi3_35_25_esxupdate.pdf \\ ESX Server 3 Patch Management Guide |
| 175 | |
| 176 | |