Update iLO4 to the latest version

To have HTML5 console supported in ILO4, we must to update iLO4 to the new version on HP ML310e Gen8 V2

Go to the HPE support center: support.hpe.com

Search iLO4

Select HPE Integrated Lights-Out 4 (iLO 4)

Select Driver and Software

Download ilO4 2.81 of Online ROM Flash Component for Windows x64 – HPE Integrated Lights-Out 4 —— cp051874.exe

Execute the cp051874.exe under windows, extract the firmware bin file, instead of install

Launch a browser, such as firefox, and login into the iLO4 of ML310e Gen8 V2

Go to Administration / Firmware, select the download bin file, and updating

Four ways to update HP iLO firmware

http://techmolecules.blogspot.com/2014/08/four-ways-to-update-hp-ilo-firmware.html

HP iLO firmware are scexe (self extracting files).  To get the iLO firmware, search system model on support section of hp.com.

ONE : From OS (Linux) CLI use scexe file

– Download iLO firmware say CP023069.scexe
– Unpack it
$ cd /tmp
$ chnmod 755 CP023069.scexe
$ ./CP023069.scexe
– follow online instruction
– Check iLO new version
$ curl http:///xmldata?item=All

TWO : From iLO CLI load bin file

On some webserver ( that should be on same same vlan as iLO valn and network), copy firmware bin file in DocumentRoot.

$ ./CP023069.scexe –unpack=firmware
$ cd firmware
$ cp firmware/ilo2_NNN.bin $DocumentRoot (usually /var/www/html/)

– Login on iLO over ssh and upload firmware
$ssh -l Administrator
– To see current iLO version
iLO> show

– to check if your web servers is pingable from iLO (to get iLO bin file)
iLO> cd /map1
iLO> oemhp_ping
iLO> load -source http:///firmware/ilo2_NNN.bin

– Your session will seems to hang for 2-3 minute – do not worry ! If all is good. iLo firmware will be upgraded and iLO will be rebooted. Check iLo version
$ curl http:///xmldata?item=All

THREE : Using iLO WebUI to upload bin file

– Download and save ilo firmware bin files extracted above by keying in below in you web browser
http:///firmware/ilo2_NNN.bin
-access iLO Web UI, go to Administration tab and upload bin file to upgrade iLO firmware
http://

FOUR : HPSIM to push firmware

– Use HPSIM if you  paying SIM license fee !

Reference : http://pipe2text.com/?page_id=1908

 

SD Card Bug of iLO4 2.4.0/2.4.4

ISSUE:

Upgrade to iLO4 2.4.0 (SPP 2016040), found  The server was failed to boot ESX from SD Card.   The same issue existed in iLO4 2.4.4

Root Cause:

iLO4 2.4.x will damage the partition table of SD Card/USB Flash,Not Clear it is damaged during the executing phase or stopping phase

 

Solution :

Rollback iLO4 to 2.3.0 (SPP 2015100)
Create USB Key of SPP 2015100
    Boot with the USB
    Downgrade the iLO4 firmware with interactive method
Reformat the SD Card/USB Flash
Retrieve the SD Card from server
    Format it into empty status in PC (Linux)
    Delete the partition table
    Create DOS partition table
    Create a DOS partition (0x0b)
   Format the DOS partition
   Insert the empty SD Card into Gen8

 

Reinstall ESX into SD Card

 Format the SD Card with FAT32
   Power outage of the server
   Lauch iOL remote console
   Insert CD of  ESX iso image file
   Reboot with CD to install ESX

 

 Lessons

Never trust a Company not in stable state

 

 

 How to format Micro SD Card in MicroServer Gen8:

Download gparted live CD at

http://downloads.sourceforge.net/gparted/gparted-live-0.26.1-5-i686.iso

And Launch it from iLO client

 

Install VMWare ESXi HP MicroServer Gen8

Install ESXi on hard disk:  Manage HardDisk with SSA, Launched from SPP

Download HP SPP image from HP web site (http://blog.zhenglei.net/?p=254958)
Create bootable USB disk with HP SPP image
Update Firmware with SPP USB disk (Automatic)
Create Logic disk with SPP USB disk (Interactive)

 

Install ESXi on SD Card:  Select SD Card as the first Removable Media

Power on
Press  F9 during POST, Enter into Setup ROM Utility
System Option / USB option

 


 

 Install ESXi

  1. Download VMware ESXi ISO image from HP/VMWare website
  2. Launch iLO4 remote console
  3. Mount Virtual DVD disk with VMware ESXi ISO image within iLO4 remote console
  4. Boot HP Gen8 Server with Virtual DVD disk
  5. Install VMware ESXi  (on SD disk)
  6. Reboot
  7. Download VSphere Client for Windows from http://MicroServer_NIC_IP
  8. Install VSphere Client into windows7 workstation
  9. Launch VSphere Client and Install Ubuntu 12 on virtual machine
  10. Generate VSphere License Key on Ubuntu  & register within VSphere Client
  •   sudo apt-get update
  •   sudo apt-get install wine
  •   sudo apt-get unrar
  •   wget http://blog.zhenglei.net/wp-content/uploads/2015/12/VMv6.rar
  •   unrar e VMv6
  •   wine KEYGEN.EXE
  •   Choose  VMware vSphere 6 Enterprise Plus & generate key
  •   Copy the generate key to VSphere client

How to Remotely access the iLO4 of Home HP MicroServer Gen8 behind a corporation firewall

By ssh local port forward, we can access the iLO4 and Remote console of Home from the corporation network which protected by firewall,  with only 80 and 433 ports opened via proxy.

 

HOME

HP Proliant MicroServer Gen8
iLO4 Advance License installed
iLO4  IP=HOME_ILO4_IP               ( Local IP of iLO4 port,   172.24.0.xxx )

WAN Router
WNR2000 V3
DD-WRT build 24160,
Remote ssh login enabled
WAN IP=HOME_WAN_IP              ( 220.234.xxx.xxx, public IP )

 

OFFICE

Network:

Only out going 89/443 allowed via HTTP Proxy:
OFFICE_PROXY_IP : OFFICE_PROXY_PORT

Linux workstation:
Ubuntu 10.10
Open JDK v7.0      Installed
CorkScrew             Installed

 

Windows workstation:

Windows 7
putty 0.63   Installed

How to Accesss ILO4 and Remote Console

by using SSH local port forward,  From Office Workstation to Home SSH Server (Router),  we can assess iLO4 and Remote Console in Office.

 

Linux:

#!/bin/sh

# Http proxy of Corp
HTTP_PROXY_HOST=OFFICE_PROXY_IP
HTTP_PROXY_PORT=OFFICE_PROXY_PROXY

#  Home ssh server
SSH_HOST=HOME_WAN_IP
SSH_PORT=443
SSH_USER=xxxx

#  Home ILO4 Host
REMOTE_ILO_HOST=HOME_ILO4_IP
REMOTE_ILO_PORT=”22 23 17990 80 443 17988 161 162 623″

# Office Workstation  ILO4 IP
BIND_ILO_HOST=127.0.0.1
#BIND_ILO_HOST=192.168.127.8

#Generate proxy config file

ILO_SSH_PROXY_CONFIG=/tmp/ilo_ssh_config

echo “Host ${DDWRT_SSH_HOST}” > ${ILO_SSH_PROXY_CONFIG}
echo “ProxyCommand corkscrew ${HTTP_PROXY_HOST} ${HTTP_PROXY_PORT} %h %p” >> ${ILO_SSH_PROXY_CONFIG}
echo “port ${DDWRT_SSH_PORT}” >> ${ILO_SSH_PROXY_CONFIG}

echo “Host ${LINUX_SSH_HOST}” >> ${ILO_SSH_PROXY_CONFIG}
echo “ProxyCommand corkscrew ${HTTP_PROXY_HOST} ${HTTP_PROXY_PORT} %h %p” >> ${ILO_SSH_PROXY_CONFIG}
echo “port ${LINUX_SSH_PORT}” >> ${ILO_SSH_PROXY_CONFIG}

ILO_OPT_LIST=””
for p in ${REMOTE_ILO_PORT}; do
ILO_OPT_LIST=”${ILO_OPT_LIST} -L ${BIND_ILO_HOST}:${p}:${REMOTE_ILO_HOST}:${p}”
done

# Stop local services already bind to the local ILO4 Ports
sudo /etc/init.d/ssh stop
sudo /etc/init.d/lighttpd stop

# Setup SSH local forward link from Office to Home
echo “sudo ssh -N -f -F ${ILO_SSH_PROXY_CONFIG} ${ILO_OPT_LIST} ${SSH_USER}@${SSH_HOST}”
sudo ssh -N -f -F ${ILO_SSH_PROXY_CONFIG} ${ILO_OPT_LIST} ${SSH_USER}@${SSH_HOST}

SSH_PID=`pgrep -f “${ILO_OPT_LIST}”`

# Access the iLO4 via firefox browser
firefox https://${BIND_ILO_HOST}/

# Launch the Java remote console from iLO4

# cleanup,  stop the ssh local forward
sudo kill -9 ${SSH_PID}

 

Windows 7:

Config putty iLO4 session as following:

Config  Connection/Proxy/HTTP proxy

Config  Connection/SSH/Tunnels,  by add follow local port forwarding:

(BIND_ILO_HOST -> HOME_ILO4_IP)

22 23 17990 80 443 17988 161 162 623

Launch firefox,  and   goto https:// BIND_ILO_HOST  => iLO4 Panel Access

Launch  remote console/ .iNET.IRC from iLO4 panel

 

 Note:

Note:

If the PC support Intel AMT technology, you may meet the error 10013 when try to forward 623 port,
because the port 623 have been taken by the LMS.exe service:

Solution: Disable the LMS service

Launch the terminal with admin permission, and run:

sc stop “UNS”
sc stop “LMS”
Or disable it forever:

sc config “UNS” start= disabled
sc config “LMS” start= disabled

 

*********************************************

iLO 2 Advanced License Keys:
35DPH-SVSXJ-HGBJN-C7N5R-2SS4W
35SCR-RYLML-CBK7N-TD3B9-GGBW2