Shop
Support
Community
TechCenter
Home
Topics: All
Wikis
Forums
Blogs
Video
TechChat
Events
About
TechCenter
Dell Community
Search Options
Search Everything
Search Systems Management
TechCenter
>
Systems Management
>
Systems Management - Wiki
>
Script to deploy Dell Updates on ESX 3.x
Join
Sign in
Script to deploy Dell Updates on ESX 3.x
Systems Management
4,000
OpenManage Essentials - Discover, Monitor, Inventory and Update Dell Servers, Storage, and Networking
OpenManage Essentials (OME) is a systems management console that provides simple, basic Dell hardware management and replaces OpenManage IT Assistant (ITA).
Learn about OpenManage Essentials
Default Title
CTA Text Area!
Home
Forums
Wiki
Group and Wiki Navigation
Loading...
Search
Article
History
Script to deploy Dell Updates on ESX 3.x
Systems Management - Wiki
This script will allow you to install the updates (
DUPs - Dell Update Packages
) from the
SUU (Server Update Utility
) DVD image mounted on your ESX 3.x host in the service console. Copy and paste to a file and be sure to chmod +x to make it executable.
Update Script
#!/bin/sh
# scott_hanson@dell.com
#
# Script to apply DUPs (Dell Update Packages) on ESX 3.x hosts
# PreReqs : SUU (Server Update Utility) DVD image mounted on /mnt/cdrom
#
# WARNING : This script applys updates with no user interaction or
# WARNING : prompting. Make sure this is what you want done. See below
# WARNING : for the line to un-comment to make it work.
#
echo 'Creating SUU Comparison report .... patience is a virtue'
/mnt/cdrom/suu -c > /tmp/suu_comparison_report
# Pull out the .BIN file names from the report - dump everything else
for i in `grep -i '.bin' < /tmp/suu_comparison_report | perl -pi -e 's/.*\s(.*?.bin).*/$1/gi'`
do
echo '----------------------------------------------'
echo 'Applying package '$i
# Apply DUPs with -q option to update silently with no user prompts
# Un-comment out the line below when done testing to apply updates.
# As-is the script just list updates it **would** have installed.
# /mnt/cdrom/repository/$i -q
done
echo ' '
echo ' '
echo 'Updates applied'
echo 'Now would be a good time to reboot the system.'
echo 'This script brought to you by the Dell Enterprise TechCenter'
echo 'Join us at www.delltechcenter.com'
ESX script Openmanage