ESX 3.x Updater Standard (ESX Host Edition - UPDATED)

July 26th, 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, downloads and installs various update packages you choose. It is intelligent enough to autodetect ESX version you are running, checks for internet connectivity and root permissions. Moreover, script lets user choose which packages can be installed (critical, general, security or all).

Written in bash, script should run on ESX 3.x host. Please note, if ESX host is in active state - serving VMs, prior to update, all VMs must be either VMontion(ed) to another ESX host or shutdown. Since ESX 3.x comes stripped of all essential utilities, this script comes bundled with GNU wget utility from RHEL3 that will work on VmWare ESX 3.x.

Watch video demo on ESX-Updater in action

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.

Requirements:
The ESX host must have internet connectivity.
Script must be ran as a root user in order to auto-install packages.

Supported OS:
ESX 3.0.0 and ESX 3.0.1

How it Works:

Watch this video, just click on the image below….

ESX 3.x Updater  - ESX Host Edition

It is highly recommended to reboot upon completion of updates.

———————————————————————————-
Latest Updates and Bug Fixes

Release v.05:
Added support for bundle patches
Added ability to check for missing packages
Added ability to install only required packages
Script can now be used to update ESX 3.x servers that were previously patched, it will only attempt to install new or missing patches.

Release v.04
Added ESX autodetect feature

Release v.03
Enhanced logic for detecting proper patches on VmWare site
Added wget utility that is supported by ESX 3.x for ease of updates
———————————————————————————


Download ESX
3.x Updater - ESX host Edition
(This script will download and generate patch installation package)

  File Name Type Date Size Version
  esx-updater-host-edition.tgz Compressed Script 08/02/2007 105 kb v.05

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

2 Comments Add your own

  • 1. Mark  |  January 24th, 2008 at 12:51 pm

    I have modified the wget line to work for just the 3.0.0 url. This breaks the descriptions such as “critical” on the patches, but it gets the job done. Great script and good luck in the future.
    Mark

    ./wget -O - http://www.vmware.com/download/vi/vi3_patches_300.html | grep -A 1 “.tgz” | cut –output-delimiter “ESX-” -f3 | perl -p -i -e ’s/ESX/\nESX/g|s/\;?\&nbsp//g|s/\;//g’ | grep “ESX-” | sed ‘1!G;h;$!d’ | sed -e :a -e ’s/]*>//g;/ $DATAFILE

  • 2. ilya.m  |  January 24th, 2008 at 1:02 pm

    Mark,

    I have created lightweight perl screen scrapper for vmware patches. You
    can use that to do what you want.

    http://www.serverchief.com/content/vmware-patches-screen-scrapper-in-perl/

    I need to rewrite the updater scripts with screen scrapper built in…

    Thanks for the post,

    Regards

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