Virtualization Technology News and Information
Article
RSS
Deploying VMware Patches to ESX 3.x Servers

If you haven't implemented VMware's Update Manager for patching your ESX servers, you should check out this Altiris Juice member's robust set of scripts to do the patching via the Deployment console. 

Use the ESX-100xxxx patch number as the job name.

1. Check to see if the patch is installed

#Check to see if this patch is already installed
#!/bin/sh
esxupdate query | grep %JOBNAME%

Set this job to STOP on a "Success" (exit code zero), and Continue (sucessfully) on exit code 1.

grep will return exit code 0 if the text is found (ie patch is installed), 1 if it is not.

 

The other steps are below, but you need to go to Altiris Juice to grab the scripts!

2. Check that the host is in maintenance mode

3. Create patch directory

4. Download Patch

5. Verify MD5 hash

6. Decompress and install patch

7. Clean up after install

Grab the other set of 6 scripts, here, at the Altiris Juice site.

Published Saturday, February 09, 2008 7:10 PM by David Marshall
Filed under:
Comments
There are no comments for this post.
To post a comment, you must be a registered user. Registration is free and easy! Sign up now!
Calendar
<February 2008>
SuMoTuWeThFrSa
272829303112
3456789
10111213141516
17181920212223
2425262728291
2345678