HP BladeSystem Firmware Deployment Tool

Menu Driven Mode

	* Connect to the iLO web page with a browser.
	* Select Virtual Media in the Virtual Devices tab.
		o To use a physical CD/DVD-ROM drive in your client PC:
			* Select Local Media Drive within the Virtual CD/DVD-ROM section.
			* Select the drive letter of the desired physical CD/DVD-ROM drive
			  on your client PC from the dropdown menu.
			* Click Connect.
		o To use an image file:
			* Select Local Image File within the Virtual CD/DVD-ROM section of
			  the Virtual Media applet.
			* Enter the path or file name of the image in the text box or click
			  Browse to locate the image file using the Choose Disk Image File dialog.
			* Click Connect.
	* Select Momentary Press in the Power Management tab.

Scripted Mode

Windows
Requirements

	* Windows
		o A ssh windows utility is required. The examples use the "openssh"
                  implementation. Openssh can be downloaded from the web.

		o cpqlocfg.exe  This utility is included in the BladeRIBCLWindows.zip
                  found in bbfirmware-x.xx-x.zip.

HowTos
Batch Files

	* BB1.bat
		Usage: BB1.bat <OA_ipaddress> <OA_username> <OA_password> <script_filename>
		BB1.bat is to be used to "Insert Virtual Media" to each iLO and then invoke
		the shell script you pass on the command line.  This given shell script is
		usually used to power-on using Set_Host_Power_On.bat or boot the Blade using
		Warm_Boot_Server.bat to cause the Blade to boot from the "Connected" media.
		The shell script should invoke the Lights-Out Configuration Utility
		cpqlocfg.exe for Windows and locfg.pl for Linux.  This utility will pass a
		RIBCL script to the iLO over a secure connection by using cpqlocfg.exe.

	* BB2.bat
		Usage: BB2.bat <OA_ipaddress> <OA_username> <OA_password> <script_filename>
		BB2.bat is used to invoke a shell script.  The shell script invokes the
		Windows Lights-Out Configuration Utility cpqlocfg.exe.  This utility will
		invoke the shell script given as <script_filename>.  That script will pass
		the associated RIBCL script to the iLO over a secure connection.

	* Insert_Virtual_Media.bat
		Usage: Insert_Virtual_Media <iLO_username> <iLO_password> <iLO_ipaddress>
		Insert_Virtual_Media.bat is used to connect virtual media to a blade
		specified by <iLO ipaddress>

	* Eject_Virtual_Media.bat
		Usage: Eject_Virtual_Media <iLO_username> <iLO_password> <iLO_ipaddress>
		Eject _Virtual_Media.bat is used to disconnect virtual media from a blade
		specified by <iLO ipaddress>

	* Set_Host_Power_Off.bat
		Usage: Set_Host_Power_Off <iLO_username> <iLO_password> <iLO_ipaddress>
		Set_Host_Power_Off.bat is used to power down a blade specified by <iLO ipaddress>

                This script is not meant to shutdown a blade with a running operating system.

	* Set_Host_Power_On.bat
			Usage: Set_Host_Power_On <iLO_username> <iLO_password> <iLO_ipaddress>
			Set_Host_Power_On.bat is used to power up a blade specified by <iLO ipaddress>

	* Warm_Boot_Server.bat
			Usage: Warm_Boot_Server<iLO_username> <iLO_password> <iLO_ipaddress>

	* If all hosts use the same Username and Password the example scripts can be
		given a sequence of ipaddress.
		Example invocation of the Windows Lights-Out Configuration Utility (cpqlocfg.exe).
		This utility uses a secure connection.
		cpqlocfg [-l <logfilename>] ?s <OA ipaddress | OA servername> -u <OA username>
			-p <OA password> -f <RIBCL filename>

	* If all hosts do not use the same Username and Password the scripts can be call
		for each host individually.

Linux
Requirements

	* Net::SSLeay and IO::Socket::SSL.  You may obtain these modules from
		http://www.cpan.org/ or you installation media.

HowTos
Shell Script Files

	* BB1.sh
		Usage: BB1.sh <OA_ipaddress> <OA_username> <OA_password> <script_filename>
		BB1.sh is to be used to ?Insert Virtual Media? to each iLO and then invoke
		the shell script you pass on the command line.  This given shell script is
		usually used to power-on using Set_Host_Power_On.sh or boot the Blade
		using Warm_Boot_Server.sh to cause the Blade to boot from the
		Connected media.  The shell script should invoke the Lights-Out Configuration
		Utility cpqlocfg.exe for Windows and locfg.pl for Linux.  This utility will
		pass a RIBCL script to the iLO over a secure connection by using cpqlocfg.exe.

	* BB2.sh
		Usage: BB2.sh <OA_ipaddress> <OA_username> <OA_password> <script_filename>
		BB2.sh is used to invoke a shell script.  The shell script invoke the
		Windows Lights-Out Configuration Utility cpqlocfg.exe.  This utility will
		pass a RIBCL script to the iLO over a secure connection.

	* Insert_Virtual_Media.sh
		Usage: Insert_Virtual_Media <iLO_ipaddress> <iLO_username> <iLO_password>
		Insert_Virtual_Media.sh is used to connect virtual media to a blade
		specified by <iLO ipaddress>

	* Eject_Virtual_Media.sh
		Usage: Eject_Virtual_Media <iLO_ipaddress> <iLO_username> <iLO_password>
		Eject _Virtual_Media.sh is used to disconnect virtual media from a blade
		specified by <iLO ipaddress>

	* Set_Host_Power_Off.sh
		Usage: Set_Host_Power_Off <iLO_ipaddress> <iLO_username> <iLO_password>
		Set_Host_Power_Off.sh is used to power down a blade specified by <iLO ipaddress>

                This script is not meant to shutdown a blade with a running operating system.

	* Set_Host_Power_On.sh
		Usage: Set_Host_Power_On <iLO_ipaddress> <iLO_username> <iLO_password>
		Set_Host_Power_On.sh is used to power up a blade specified by <iLO ipaddress>

	* Warm_Boot_Server.sh
		Usage: Warm_Boot_Server <iLO_ipaddress> <iLO_username> <iLO_password>

	* If all hosts use the same Username and Password the example scripts can
		be given a sequence of ipaddress.

		Example invocation of the Windows Lights-Out Configuration Utility (cpqlocfg.exe).
		This utility uses a secure connection.
		cpqlocfg [-l <logfilename>] -s <OA ipaddress | OA servername> -u <OA username> -p <OA password> -f <RIBCL filename>

	* If all hosts do not use the same Username and Password the scripts
		can be call for each host individually.

	* If all hosts use the same Username and Password the example scripts can
		be given a sequence of ipaddress.

		Example invocation of the Windows Lights-Out Configuration Utility (
		cpqlocfg.exe).  This utility uses a secure connection.

	* locfg.pl ?s <DNS hostname | ipaddress> [-l <logfile>]-f <RIBCLfilename>

	* If all hosts do not use the same Username and Password the scripts can be call for each host individually.

	* locfg.pl ?s <DNS hostname | ipaddress> [-l <logfile>]-f <inputfile>

