ESX 3.x Updater Standard (Repository Server)

July 12th, 2007

Project Purpose:

CURRENT STATUS: VmWare site changes detected, adjusting the script to work with latest changes, please check back later!

ESX Updater 3.x project has been created to simplify the patch management of ESX 3.x hosts. It connects to vmware site and downloads various update packages you choose (critical, general, security or all). It creates tar.gz file with install script. Written in bash, it must be run on non-esx, preferably Linux host, to create tar.gz installer. Script must be ran on Linux with general GNU utilities (sed, awk, wc, wget, tar, gz and perl) host connected to the internet.

Script Type: Repository Server Edition -> this script must be run on Linux non ESX host.If you ESX host has internet connectivity, I highly recommend using this script.
Supported OS:
ESX 3.0.0 and ESX 3.0.1

Click here to download ESX Updater 3.x ….

How it Works:

0) Choose what ESX version you have, either ESX 3.0.0 or ESX 3.0.1.

Step 0, ESX Updater, Choosing ESX version

1) Upon execution, script connects to VmWare site and generates the list of patches to download.

Step 1 of the ESX Update script

 

2) Upon parsing the VmWare patches page, it gives 4 options for user to choose from.
Options are: All Patches, Security Patches, Critical Patches and General Patches.

Step 2 of ESX Update, choose which packages to download.

3) Once the selection is made, script connects to VmWare and downloads required packages.

Step 3, ESX Updater, Downloading patches

4) Upon completion, you will see a script like this… You need to copy the file over to your ESX host.

Step 4, ESX Updater, Generation completed

5) Once copied, cd into vm-patches and run ./install.sh

It is highly recommended to reboot upon completion of updates.


Download ESX Updater 3.x Script

(This script will download and generate patch installation package)

  File Name Type Date Size Version
  esx-updater.sh Bash Script 07/18/2007 6.5 kb v.02
  esx-updater.tgz Compressed Script 07/18/2007 2.1 kb v.02

Download ESX Updater 3.x Virtual Machine (CentOS 5)
(This is a preset V.M. with for VmWare Server)

  File Name Type Date Size Version
  esx-updater-vm.srv.tgz VmWare Server v1.0.1 07/18/2007 512MB v.02
           

Questions, issues, comments or suggestions, post them here. Make sure to include what Linux OS you are running and if you have general GNU utilities installed.

Happy VmWaring!!

Entry Filed under: Projects/Scripts, Virtualization

14 Comments Add your own

  • 1. anon  |  July 13th, 2007 at 3:06 pm

    Sounds right, where is the script :) ?

  • 2. ilya.m  |  July 13th, 2007 at 3:07 pm

    Just a little, its almost here…. :-)

  • 3. Alex  |  July 19th, 2007 at 2:20 pm

    Dude.. where’s the script?

  • 4. ilya.m  |  July 19th, 2007 at 6:37 pm

    Sorry for delay, finally posted….

  • 5. Paul  |  July 27th, 2007 at 5:38 am

    Do you have a link for the CentOS VM Server image?

  • 6. Randy  |  July 30th, 2007 at 1:09 pm

    How about an option to scan download folder for previously downloaded patches to prevent re-downloading them on subsequent script executions?

  • 7. ilya.m  |  July 30th, 2007 at 2:28 pm

    Randy,

    Thanks for the comment. I will try to incorporate your request in newer realease. I will also add a feature to be able to specify a range of dates.

    If you ESX host has internet connectivity, I highly recommend using this script.
    http://www.serverchief.com/content/esx-3x-updater-standard-esx-host-edition/

    Good luck..

  • 8. Tom  |  July 31st, 2007 at 2:24 am

    Download link for the VM?? Thank you, Tom

  • 9. ESX 3.x Updater Standard &hellip  |  July 31st, 2007 at 1:05 pm

    […] Script Type: VmWare ESX 3.x Edition -> this script must be run on VmWare ESX 3.x host. If your ESX host does not have internet connectivty, please use this script instead. […]

  • 10. Daniele Salpietro  |  August 4th, 2007 at 6:43 pm

    Hi Guy,

    this shell script does not work after vmware update their web site. I have update this script so:

    remark these lines:

    #version 0.2
    #curl http://www.vmware.com/download/vi/vi3_patches.html | grep -A 1 “ESX Server $ESXVersion” |grep Updates | cut –output-delimiter “ESX-” -f3 | sed -e :a -e ’s/]*>//g;/ $DATAFILE
    #sleep 2

    and insert these:

    #version 0.3
    curl http://www.vmware.com/download/vi/vi3_patches.html | grep -A 1 “ESX Server $ESXVersion” |grep Patch | cut –output-delimiter “ESX-” -f3 | sed -e :a -e ’s/]*>//g;/ $DATAFILE
    sleep 2

    and now: work fine ;-)

    bye,
    Daniele/Italy

  • 11. ilya.m  |  August 5th, 2007 at 11:56 am

    Script is slightly out of sync now due to changes on vmware site. It will be fixed on Monday, 08/05/2007.

  • 12. ilya.m  |  August 6th, 2007 at 2:06 pm

    Script has been fixed now. Due to insconsistencies on VmWare site, i have made a small modifcation to support new VmWare layout.

    Also, proposed fix by Daniele Salpietro will only work for VmWare ESX 3.0.1 and not 3.0.0.

    My fix will work with both releases.

    Please update your script.

    Regards
    ServerChief

  • 13. Michael.H  |  August 28th, 2007 at 9:48 am

    Just curious but is there a live link for download of Download ESX Updater 3.x Virtual Machine (CentOS 5)?

  • 14. Daniele Salpietro  |  October 16th, 2007 at 6:32 pm

    Hi ilya.m,
    vmware.com has been changed yet the html web page, that do you think to do?
    next week-end I can try again to change your script alone, but only if you are no free time to do that for us ;-)

    Regards,
    Daniele

Leave a Comment

Required

Required, hidden

This is a captcha-picture. It is used to prevent mass-access by robots. (see: www.captcha.net)

You must read and type the 5 chars within 0..9 and A..F, and submit the form.

  

Oh no, I cannot read this. Please, generate a

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed