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

Update HP MicroServer Gen8 with SPP

Update:2016/9/20

  • Download the latest SPP 864794_001_spp-2016.04.0-SPP2016040.2016_0317.20.iso
  • Download HP USB tool  cp024879.exe
  • Install VirtualBox on PC
  • Install Windows7 64bit in VirtualBox
  • Install cp024879.exe onto Windows7 64bit
  • Create USB Key of the SPP with HP USB tool  cp024879.exe
  • Boot Gen8
  • F9 config Gen8:  Boot from External USB first
  • F11 boot menu:   Boot from USB
  • Automatic Update firmware

 

 

 

 

Create an account at   https://register.hp.com

Register the product in account

Link warranty in account

Download spp iso package (Service Pack for ProLiant)

Download HP USB Key Creator Utility from http://www.hp.com/

Install HP USB Key Creator Utility on windows xp

Create usb key from spp iso file with HP USB Key Creator Utility

Boot Gen8 with the USB key

**********************************************
Link of HP SPP

 

2015/04/0407

http://h20564.www2.h…b&swEnvOid=4168
ftp://ftp.hp.com/pub/softlib2/software1/cd-generic/p67859018/v108240/

 

Check new version:

ftp://ftp.hp.com/pub/softlib2/software1/cd-generic/p67859018/

Name Size Last Modified
v108240
2015/4/11 0:00:00
v110210
2015/6/19 5:29:00
v113584
2015/11/12 1:48:00

 

 

How to download hp spp ?

login into US VPS
wget ftp://ftp.hp.com/pub/softlib2/software1/cd-generic/p67859018/v108240/SPP2015040.2015_0407.5.iso
wget ftp://ftp.hp.com/pub/softlib2/software1/cd-generic/p67859018/v108240/SPP2015040.2015_0407.5.iso.md5sum

 

 

How to create USB bootable disk with SPP?

 http://erenturkay.com/blog/2015/05/10/creating-bootable-usb-for-hp-blades-service-pack/

# build ms-sys tool

wget http://prdownloads.sourceforge.net/ms-sys/ms-sys-2.4.1.tar.gz

tar xvfz ms-sys-2.4.1.tar.gz

cd ms-sys-*

make

sudo make install prefix=/usr/local/bin

 

Install syslinux mbr into USB key (here: /dev/sdb)

# zero-out mbr
sudo ms-sys -z /dev/sdb

# create msdos label
sudo parted -s /dev/sdb mklabel msdos

# write syslinux MBR provided by ms-sys 
sudo ms-sys -s /dev/sdb

# create sdb1 partition (FAT32/boot) with fdisk/mkfs
sudo fdisk /dev/sdb
sudo mkfs -t vfat /dev/sdb1

# install syslinux onto sdb1
sudo syslinux -i /dev/sdb1

# mount spp iso
mkdir /tmp/spp
sudo mount /data/spp/SPP2015100.2015_0921.6.iso /tmp/spp

# mount usb/sdb1
mkdir /tmp/usb
sudo mount /dev/sdb1 /tmp/usb


# Copy file with rsync
export HP_SPP="/tmp/spp"
export HP_USB="/tmp/usb"

sudo rsync -rltDuvh --progress $HP_SPP/ $HP_USB/

sudo cp -rf $HP_SPP/system/initrd.img $HP_USB
sudo cp -rf $HP_SPP/system/vmlinuz $HP_USB
sudo cp -rf $HP_SPP/system/*.c32 $HP_USB
sudo cp -rf $HP_SPP/system/*.jpg $HP_USB
sudo cp -rf $HP_SPP/system/blacklist $HP_USB
sudo cp -rf $HP_SPP/system/sample.msg $HP_USB
sudo cp -rf $HP_SPP/usb/syslinux.cfg $HP_USB

# HP's vesamenu file gives error. Copy vesamenu from system
sudo cp -f /usr/lib/syslinux/vesamenu.c32 $HP_USB

sudo sync

sudo sync
sudo umount /tmp/spp
sudo umount /tmp/usb



# Offline Updating the HP MicroServer Gen8 with SPP USB Disk
1. Insert USB disk into Gen8
2. Power on
3. Press F11
4. Select USB as boot device
5. Updating firmware