LinuxILO
From My Admin Page
Lookup product info on iLO4: http://www.hpe.com/support/ilo4 download and install hponcfg: HP Lights-Out Online Configuration Utility for Linux (AMD64/EM64T) (American, International) (current version is hponcfg-4.6.0-0.x86_64) # rpm -qlp hponcfg-4.6.0-0.x86_64.rpm /sbin/hponcfg /usr/lib64/libhponcfg64.so /usr/share/doc/hponcfg /usr/share/doc/hponcfg/readme.txt Optionally, you can also download and install the latest firmware. (current: hp-firmware-ilo4-2.40-1.1.i386.rpm) # rpm -i hp-firmware-ilo4-2.40-1.1.i386.rpm # /usr/lib/i386-linux-gnu/hp-firmware-ilo4-2.40-1.1/ ; sh hpsetup (if it's at the same version will show something like) ERROR: Cannot write same firmware version. [rewrite 2.40=>2.40] create license.xml and populate with the license key: <RIBCL VERSION="2.0"> <LOGIN PASSWORD="password" USER_LOGIN="adminname"> <RIB_INFO MODE="write"> <LICENSE> <ACTIVATE KEY="11223-34455-66778-89900-AABBC"/> </LICENSE> </RIB_INFO> </LOGIN> </RIBCL> Command: /sbin/hponcfg -f license.xml -l license.out To configure, first get network settings (from http://shell-scripts01.blogspot.com/2012/03/ilo-configuration-procedure-using.html) Step1: Get Network Settings File Path: /tmp File: Get-Network-Settings.xml (Optional File Name) File Content: <RIBCL VERSION="2.0"> <LOGIN USER_LOGIN="adminname" PASSWORD="password"> <RIB_INFO MODE="read"> <GET_NETWORK_SETTINGS/> </RIB_INFO> </LOGIN> </RIBCL> Command: /sbin/hponcfg –f /tmp/Get-Network-Settings.xml -l /tmp/Get-Network-Settings.out Next Modify Network Settings File: Mod-Network-Settings.xml (modify with right info) File Content: <RIBCL VERSION="2.0"> <LOGIN USER_LOGIN="adminname" PASSWORD="password"> <RIB_INFO MODE="write"> <MOD_NETWORK_SETTINGS> <DHCP_ENABLE value="No"/> <IP_ADDRESS value="172.16.17.18"/> <SUBNET_MASK value="255.255.255.0"/> <GATEWAY_IP_ADDRESS value="172.16.17.254"/> </MOD_NETWORK_SETTINGS> </RIB_INFO> </LOGIN> </RIBCL> Command: /sbin/hponcfg -f /tmp/Mod-Network-Settings.xml -l /tmp/Mod-Network-Settings.out Optionally add/delete users Add File: Add-User.xml File Content: <RIBCL VERSION="2.0"> <LOGIN USER_LOGIN="adminname" PASSWORD="password"> <USER_INFO MODE="write"> <ADD_USER USER_NAME="user" USER_LOGIN="user" PASSWORD="12345678"> <ADMIN_PRIV value ="Y"/> <REMOTE_CONS_PRIV value ="Y"/> <RESET_SERVER_PRIV value ="Y"/> <VIRTUAL_MEDIA_PRIV value ="Y"/> <CONFIG_ILO_PRIV value="Y"/> </ADD_USER> </USER_INFO> </LOGIN> </RIBCL> Command: /sbin/hponcfg -f /tmp/Add-User.xml -l /tmp/Add-User.out Delete File: Del-User.xml File Content: <RIBCL VERSION="2.0"> <LOGIN USER_LOGIN="adminname" PASSWORD="password"> <USER_INFO MODE="write"> <DELETE_USER USER_LOGIN="username"/> </USER_INFO> </LOGIN> </RIBCL> Command: /sbin/hponcfg -f /tmp/Del-User.xml -l /tmp/Del-User.out Enable SSH File: Modify-Global-Settings.xml File Content: <RIBCL VERSION="2.0"> <LOGIN USER_LOGIN="adminname" PASSWORD="password"> <RIB_INFO MODE="write"> <MOD_GLOBAL_SETTINGS> <SSH_PORT value="22"/> <SSH_STATUS value="Y"/> </MOD_GLOBAL_SETTINGS> </RIB_INFO> </LOGIN> </RIBCL> Command: /sbin/hponcfg -f Modify-Global-Settings.xml -l Modify-Global-Settings.out