Sample scripts – HP SmartStart-Software User Manual
Page 24
Smart Update Firmware DVD Automatic Deployment Mode 24
Sample scripts
The sample script is used to control updating firmware on blades in an enclosure. This script connects
virtual media to each iLO in the enclosure. The script can either invoke the RIBCL script directly or invoke
a wrapper script containing an invocation of the RIBCL script. The "for" loop at the bottom of this file
contains two lines, one of which has been commented out. Comment in or out the line for the desired
mode of operation.
After you have flashed the server blades, you can use the BB2.sh script to disconnect the Virtual Media by
passing it the Eject_Virtual_Media.xml file as the RIBCL script to execute or Eject_Virtual_Media.sh script
based on the state of the commented out lines.
#
# check for args
#
if [ "$TMP" == "" ]
then
echo "Please set the TMP environment variable"
exit
fi
usage ()
{
echo "usage: Used to connect Virtual Media and execute a RIBCL script on
each Blade in an enclosure"
echo " BB1.sh
}
if [ "$4" = "" ]
then
usage
exit
fi
host=$1
user=$2
passwd=$3
script=$4
hostfile="hostlist.txt"
- Scripting Toolkit for Linux (68 pages)
- Scripting Toolkit for Windows 9.50 (62 pages)
- Scripting Toolkit for Windows 9.60 (62 pages)
- Storage Area Manager (13 pages)
- Core HP-UX (5 pages)
- Matrix Operating Environment Software (95 pages)
- Matrix Operating Environment Software (152 pages)
- Matrix Operating Environment Software (264 pages)
- Matrix Operating Environment Software (138 pages)
- Matrix Operating Environment Software (137 pages)
- Matrix Operating Environment Software (97 pages)
- Matrix Operating Environment Software (33 pages)
- Matrix Operating Environment Software (142 pages)
- Matrix Operating Environment Software (189 pages)
- Matrix Operating Environment Software (58 pages)
- Matrix Operating Environment Software (68 pages)
- Matrix Operating Environment Software (79 pages)
- Matrix Operating Environment Software (223 pages)
- Matrix Operating Environment Software (136 pages)
- Matrix Operating Environment Software (34 pages)
- Matrix Operating Environment Software (63 pages)
- Matrix Operating Environment Software (67 pages)
- Matrix Operating Environment Software (128 pages)
- Matrix Operating Environment Software (104 pages)
- Matrix Operating Environment Software (75 pages)
- Matrix Operating Environment Software (245 pages)
- Matrix Operating Environment Software (209 pages)
- Matrix Operating Environment Software (71 pages)
- Matrix Operating Environment Software (239 pages)
- Matrix Operating Environment Software (107 pages)
- Matrix Operating Environment Software (77 pages)
- Insight Management-Software (148 pages)
- Matrix Operating Environment Software (80 pages)
- Insight Management-Software (128 pages)
- Matrix Operating Environment Software (132 pages)
- Matrix Operating Environment Software (74 pages)
- Matrix Operating Environment Software (76 pages)
- Matrix Operating Environment Software (233 pages)
- Matrix Operating Environment Software (61 pages)
- Matrix Operating Environment Software (232 pages)
- Matrix Operating Environment Software (70 pages)
- Matrix Operating Environment Software (120 pages)
- Matrix Operating Environment Software (36 pages)
- Matrix Operating Environment Software (99 pages)
- Matrix Operating Environment Software (192 pages)