Sample scripts – HP ProLiant BL465c Server Blade User Manual
Page 21
5.
Install the following:
•
For Windows operating systems:
◦
iLO Advanced Pack license
◦
OpenSSH, which you can download from the OpenSSH for Windows website at
package_id=111688
◦
The HP Lights-Out Configuration Utility (cpqlocfg.exe), which you can download
from the HP Software and Transitions website.
•
For Linux operating systems:
◦
iLO Advanced Pack license
◦
SSLeay
and IO::Socket::SSL, which can be obtained modules from the
Comprehensive Perl Archive Network website at
.
The following functionalities require the iLO Advanced License:
•
Virtual Power—Power up, power down, or cold boot.
•
Integrated Remote Console—Use any computer to gain access with Integrated Remote
Console.
•
Virtual Media—Use any computer DVD, CD, or USB key capability as virtual media.
•
Virtual Folders—Use folders as local folders.
For more information on scripting and the syntax of the RIBCL XML, see the HP iLO Scripting and
Command Line Guide at
.
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 run the RIBCL script directly
or run a wrapper script containing 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"
Updating the firmware on a server
21
- 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