Download the samples script for Linux
http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?swItem=MTX-9ded60bd746942e18651211f51They include a perl script called locfp.pl
The locfg.pl script connects to the iLO management processor using a Secure Sockets Layer (SSL) connection.
perl locfg.pl -s {servername|ipaddress}[:port] [-l logfilename] -f input_filename [-u username -p password] [-ilo2|-ilo3]
Where:
-s servername is the DNS name of target server.
-s ipaddress is the IP Address of the target server. If a port is not specified, the port will default to :443. DO NOT USE this switch if launching from System Insight Manager.
-l logfilename is the name of the file to log all output to. A default file with the server name/ipaddress is created if this option is not specified. DO NOT USE this switch if launching from System Insight Manager.
-f input_filename is the filename containing the RIB Commands
-u username is the iLO user account name
-p password Command line user name and password override those which are in the script file.
Note: Use -u and -p with caution as command line options are visible on Linux.
-ilo2|-ilo3
Specifies the type of device on the server. Communications with Integrated
Lights-Out 3 (-ilo3) is different from other devices (-ilo2).
Note: locfg.pl detects the device automatically if this option is not present.
__________________________________________________
If you feel this was helpful please click the KUDOS! thumb below!