iLO - IPMI on HP servers

Download Latest firmware
http://pingtool.org/latest-hp-ilo-firmwares/
https://support.hpe.com/hpesc/public/home/driverHome?sp4ts.oid=1009143853
# download "RECOMMENDED * Online ROM Flash Component for Linux - HPE Integrated Lights-Out"

Extract firmware

chmod +x /tmp/CP0*.scexe 
/tmp/CP0*.scexe  --unpack=/tmp
 
# flash iLo firmware (local)
yes | ./CP036949.scexe
 
# ipmitool -I lanplus -H www1-ipmi -U Administrator -P pass1234 hpm upgrade ilo4_261.bin

Flash iLo with SSH (not tested)

https://voice1.me/upgrading-hp-ilo-firmware-without-a-browser/
ssh ${BMC_USER}@${BMC_HOST}
#cd map1/firmware1
load /map1/firmware1 -source http://www.example.com/ilo4_255.bin

hponcfg
http://jon.netdork.net/2013/01/06/updating-ilo-firmware-using-hponcfg-and-xml/

Restart iLo

cd /map1
reset

Reset iLo to factory defaults
https://support.hpe.com/hpsc/doc/public/display?docId=mmr_kc-0115522

Configure iLo from CLI
https://prasadlinuxblog.wordpress.com/2016/11/08/configuring-hp-ilo-through-linux-automatically/

Fix flash error
# downgrade to 2.54
https://community.hpe.com/t5/ProLiant-Servers-ML-DL-SL/HPE-DL380p-GEN8-iLO4-Self-Test-Error/td-p/6979847#.XLyXyt9fi00
https://support.hpe.com/hpsc/swd/public/detail?swItemId=MTX_3830eb5b87574d6cb463c44994

Intelligent Provisioning for Gen9 Servers (update)
Register your server first!
Login to iLo > Remote Support > Registration
https://support.hpe.com/hpsc/swd/public/detail?sp4ts.oid=1008862660&swItemId=MTX_77b94511492441a08eb272ed27&swEnvOid=4184

Serial console over SSH

ssh -o KexAlgorithms=diffie-hellman-group14-sha1 -oHostKeyAlgorithms=+ssh-dss Administraotr@10.0.1.2

Hardware: HP Microserver - How to fix ILO4 after adding second graphics card
https://lukas.dzunko.sk/index.php/Hardware:_HP_Microserver_-_How_to_fix_ILO4_after_adding_second_graphics_card

Ansilbe hpilo_facts
http://docs.ansible.com/ansible/latest/hpilo_facts_module.html
https://downloads.linux.hpe.com/SDR/keys.html