beautypg.com

HP ProLiant Support Pack User Manual

Page 10

background image

Using the Firmware Deployment Tool 10

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"

# If you want to use a pre-made/modified list, just comment out the if

statement
# and the "show server list" line as well.
if [ -f ${TMP}/${hostfile} ]