HP ProLiant BL465c Server Blade User Manual
Page 22
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} ]
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
22
Smart Update Firmware DVD Automatic Deployment Mode
- ProLiant BL680c G7 Server-Blade ProLiant SL390s G7 Server ProLiant SL230s Gen8 Server ProLiant BL490c G6 Server-Blade ProLiant DL320s Server ProLiant DL320 Server ProLiant BL495c G5 Server-Blade ProLiant ML350e Gen8 Server ProLiant BL465c Gen8 Server Blade ProLiant DL360 Server ProLiant ML330 G6 Server ProLiant DL160 Gen8 Server ProLiant DL360e Gen8 Server ProLiant BL680c G5 Server-Blade ProLiant BL420c Gen8 Server Blade ProLiant BL620c G7 Server-Blade ProLiant BL280c G6 Server-Blade ProLiant DL385 Server ProLiant DL580 G2 Server ProLiant ML370 Server ProLiant DL785 G6 Server ProLiant DL785 G5 Server ProLiant BL460c Server-Blade ProLiant BL2x220c G6 Server-Blade ProLiant DL385p Gen8 Server ProLiant DL388p Gen8 Server ProLiant BL260c G5 Server-Blade Smart Update Manager ProLiant ML350 Server ProLiant BL460c Gen8 Server Blade ProLiant SL335s G7 Server ProLiant BL495c G6 Server-Blade Service Pack for ProLiant ProLiant DL120 G7 Server ProLiant SL250s Gen8 Server ProLiant ML350p Gen8 Server ProLiant BL480c Server-Blade ProLiant BL2x220c G7 Server-Blade ProLiant DL980 G7 Server ProLiant DL585 Server ProLiant BL685c Server-Blade ProLiant BL490c G7 Server-Blade ProLiant ML310 G5 Server