QUESTION#1>[/b]Do rollup patches exist for ESX 3.0.1 or do I have to write/use a script which applies them all?
I guess the option is to manually apply them 1 by 1.
QUESTION#2>[/b]If I apply the most recent patch...will it also apply all the
other patches which have not been applied to a new ESX version?
For example>If I applied the patch dated 03/05/07 will it apply on the
other patches which happened before this date automatically?
Also....how do I know what PATCH and version number I am using.
YES THIS COMMAND DOES WORK>vmware -v
But the version number does not match the patch number?
QUESTION #3>[/b]How do I correlate a patch number to a version number with out researching it vigourously?
Shouldn't the website should at least indicate what version the patch will place on your ESX BOX?
Please help me with this....
search engine refererence
==================
ESX Version
ESX BUILD
VERSION BUILD
LINUX BUILD
VMWARE BUILD
VERSION OF ESX
ROLLUP PATCH
ROLLED UP PATCH
VMWARE PATCH
ROLLUPPATCH
Roll-up patch for ESX 3.0.1
BUILD VERSION OF VMWARE
Sorry for the duplicate post, but it seemed appropriate for this topic...
This may be a little crude, but I like to control the exact order in which the patches apply. The script requires maintenance when new patches come out and the patches need to be copied to the ESX box, but I'm just more comfortable with it this way. As written, the script applies patches with earlier dates first, and in ascending numerical order.
Assumptions:
1. All patches are copied to /var/updates.
2. This script (ESXPatches.pl) is copied to /var/updates.
Instructions:
1. PuTTY or use the console and cd into /var/updates.
2. type ./ESXPatches.pl
Oh, the results of the updates will dump to the console after all patches apply. It takes me between 30-40 minutes for the script to run to completion.
\#----
/var/updates/ESXPatches.pl
#ESX-1006511 Patch | 11/30/06 | Critical Patch
#ESX-1410076 Patch | 11/30/06 | Critical Patch
#ESX-2158032 Patch | 11/30/06 | Critical Patch
#ESX-2066306 Patch | 12/28/06 | Critical Patch
#ESX-6921838 Patch | 12/28/06 | General Patch
#ESX-8173580 Patch | 12/28/06 | General Patch
#ESX-9986131 Patch | 12/28/06 | Security Patch
#ESX-1271657 Patch | 01/31/07 | General Patch (Reboot Required)
#ESX-1917602 Patch | 01/31/07 | General Patch
#ESX-2031037 Patch | 01/31/07 | General Patch (Reboot Required)
#ESX-2092658 Patch | 01/31/07 | General Patch (Reboot Required)
#ESX-3996003 Patch | 01/31/07 | General Patch
#ESX-5497987 Patch | 01/31/07 | General Patch
#ESX-6075798 Patch | 01/31/07 | General Patch
#ESX-3199476 Patch | 03/05/07 | Critical Patch
#ESX-5031800 Patch | 03/05/07 | Security Patch
#ESX-5885387 Patch | 03/05/07 | Security Patch
#ESX-6050503 Patch | 03/05/07 | General Patch
#ESX-6856573 Patch | 03/05/07 | Security Patch
#ESX-9865995 Patch | 03/05/07 | General Patch (Reboot Required)
-
Begin script \----
!/bin/bash
echo Installing ESX patches...
for i in ESX-*.tgz
do
tar -xvzf $i
done
rm -f ESX-*.tgz
cd ESX-1006511
esxupdate --noreboot update
cd ..
cd ESX-1410076
esxupdate --noreboot update
cd ..
cd ESX-2158032
esxupdate --noreboot update
cd ..
cd ESX-2066306
esxupdate --noreboot update
cd ..
cd ESX-6921838
esxupdate --noreboot update
cd ..
cd ESX-8173580
esxupdate --noreboot update
cd ..
cd ESX-9986131
esxupdate --noreboot update
cd ..
cd ESX-1271657
esxupdate --noreboot update
cd ..
cd ESX-1917602
esxupdate --noreboot update
cd ..
cd ESX-2031037
esxupdate --noreboot update
cd ..
cd ESX-2092658
esxupdate --noreboot update
cd ..
cd ESX-3996003
esxupdate --noreboot update
cd ..
cd ESX-5497987
esxupdate --noreboot update
cd ..
cd ESX-6075798
esxupdate --noreboot update
cd ..
cd ESX-3199476
esxupdate --noreboot update
cd ..
cd ESX-5031800
esxupdate --noreboot update
cd ..
cd ESX-5885387
esxupdate --noreboot update
cd ..
cd ESX-6050503
esxupdate --noreboot update
cd ..
cd ESX-6856573
esxupdate --noreboot update
cd ..
cd ESX-9865995
esxupdate --noreboot update
cd ..
rm -r -f ESX-*
grep -i TOTALS: /var/log/vmware/esxupdate.log
echo You really need to think about rebooting this box now, Homey...
#---End script \--
Try to use esxupdate query. Shows version off installed patches.
Sorry for the duplicate post, but it seemed appropriate for this topic...
This may be a little crude, but I like to control the exact order in which the patches apply. The script requires maintenance when new patches come out and the patches need to be copied to the ESX box, but I'm just more comfortable with it this way. As written, the script applies patches with earlier dates first, and in ascending numerical order.
Assumptions:
1. All patches are copied to /var/updates.
2. This script (ESXPatches.pl) is copied to /var/updates.
Instructions:
1. PuTTY or use the console and cd into /var/updates.
2. type ./ESXPatches.pl
Oh, the results of the updates will dump to the console after all patches apply. It takes me between 30-40 minutes for the script to run to completion.
\#----
/var/updates/ESXPatches.pl
#ESX-1006511 Patch | 11/30/06 | Critical Patch
#ESX-1410076 Patch | 11/30/06 | Critical Patch
#ESX-2158032 Patch | 11/30/06 | Critical Patch
#ESX-2066306 Patch | 12/28/06 | Critical Patch
#ESX-6921838 Patch | 12/28/06 | General Patch
#ESX-8173580 Patch | 12/28/06 | General Patch
#ESX-9986131 Patch | 12/28/06 | Security Patch
#ESX-1271657 Patch | 01/31/07 | General Patch (Reboot Required)
#ESX-1917602 Patch | 01/31/07 | General Patch
#ESX-2031037 Patch | 01/31/07 | General Patch (Reboot Required)
#ESX-2092658 Patch | 01/31/07 | General Patch (Reboot Required)
#ESX-3996003 Patch | 01/31/07 | General Patch
#ESX-5497987 Patch | 01/31/07 | General Patch
#ESX-6075798 Patch | 01/31/07 | General Patch
#ESX-3199476 Patch | 03/05/07 | Critical Patch
#ESX-5031800 Patch | 03/05/07 | Security Patch
#ESX-5885387 Patch | 03/05/07 | Security Patch
#ESX-6050503 Patch | 03/05/07 | General Patch
#ESX-6856573 Patch | 03/05/07 | Security Patch
#ESX-9865995 Patch | 03/05/07 | General Patch (Reboot Required)
-
Begin script \----
!/bin/bash
echo Installing ESX patches...
for i in ESX-*.tgz
do
tar -xvzf $i
done
rm -f ESX-*.tgz
cd ESX-1006511
esxupdate --noreboot update
cd ..
cd ESX-1410076
esxupdate --noreboot update
cd ..
cd ESX-2158032
esxupdate --noreboot update
cd ..
cd ESX-2066306
esxupdate --noreboot update
cd ..
cd ESX-6921838
esxupdate --noreboot update
cd ..
cd ESX-8173580
esxupdate --noreboot update
cd ..
cd ESX-9986131
esxupdate --noreboot update
cd ..
cd ESX-1271657
esxupdate --noreboot update
cd ..
cd ESX-1917602
esxupdate --noreboot update
cd ..
cd ESX-2031037
esxupdate --noreboot update
cd ..
cd ESX-2092658
esxupdate --noreboot update
cd ..
cd ESX-3996003
esxupdate --noreboot update
cd ..
cd ESX-5497987
esxupdate --noreboot update
cd ..
cd ESX-6075798
esxupdate --noreboot update
cd ..
cd ESX-3199476
esxupdate --noreboot update
cd ..
cd ESX-5031800
esxupdate --noreboot update
cd ..
cd ESX-5885387
esxupdate --noreboot update
cd ..
cd ESX-6050503
esxupdate --noreboot update
cd ..
cd ESX-6856573
esxupdate --noreboot update
cd ..
cd ESX-9865995
esxupdate --noreboot update
cd ..
rm -r -f ESX-*
grep -i TOTALS: /var/log/vmware/esxupdate.log
echo You really need to think about rebooting this box now, Homey...
#---End script \--
Better yet use MichaelKnight's script with checking of the release date in descriptor.xml. http://www.vmware.com/community/thread.jspa?messageID=595218򑔒
This little script was just what the doctor ordered: PERFECT
Now vmware just has to release the a zip file with all the patches
from time to time. It took be about an hour to download all the patches manually one by one
EXCELLENT SCRIPT:
Better yet use MichaelKnight's script with checking of the release date in descriptor.xml. http://www.vmware.com/community/thread.jspa?messageID=595218򑔒
Yep, should be able to hammer something together with wget, but I can't get thru the proxy. I've been downloading the last 3 months patches as well.
Try setting the http_proxy environment variable on your system. I think wget will use that.