beautypg.com

HP SmartStart-Software User Manual

Page 26

background image

Smart Update Firmware DVD Automatic Deployment Mode 26

# 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} ]
then
echo "removing ${TMP}/${hostfile}"
rm -f ${TMP}/${hostfile}
fi

echo Retrieving Blade ips from OA
#
# get list of iLO ips in enclosure from OA
#
#/usr/bin/ssh $user@$host "show server list"|grep OK |awk '{print $3}' >>

${TMP}/${hostfile}
# or do
/usr/bin/ssh $user@$host "show server list"|grep OK >> ${TMP}/${hostfile}

#
# The for loop will loop thru the results of the above command.
# You can then invoke a RIBCL script on each ip via a wrapper shell script.
#
for ip in `awk '{print $3}' ${TMP}/${hostfile}`;
do
echo Inserting Virtual Media on ${ip};
./Insert_Virtual_Media.sh ${ip} ${user} ${passwd};

echo ${script} on [$ip];
./${script} ${ip} ${user} ${passwd};


done

Determining the success of an Automatic Mode

deployment

When you boot to Automatic Mode, the UID light provides all feedback.

UID light status

Meaning

Blinking

Either a remote console is active, or the Automatic Mode is flashing