NOTE: The solutions outlined below are NOT officially supported by Dell.
A newer version of the firmware live image is available with OM 7.2 and this time with PXE images :). In response to multiple requests for PXE images on the linux-poweredge mailing list, I put together a rudimentary PXE solution for updating firmware. Let us go over the features of this version of the image first and then get to configuring the PXE solution.
The Hybrid ISO image is with OM 7.2 is posted at http://linux.dell.com/files/openmanage-contributions/om72-firmware-live/.
NOTE: all the commands which need root privileges can be used with sudo on this image.
PXE Image Configuration
The PXE images can be downloaded from http://linux.dell.com/files/openmanage-contributions/om72-firmware-live/pxe
Kiwi is the image building tool, I have been using for building the live firmware images. In kiwi terminology, the PXE image I built is referred to as "RAM only image". If you are familiar with RAM only images in kiwi, please go ahead and configure your PXE servers.
In the RAM only configuration, the complete image is copied from the TFTP server to the system memory(ramdisk) and run from the memory. The OM 7.2 firmware PXE image is around 3.5GB, so the target systems will need at least 4G of memory for a smooth boot.
Before going any further let us define TFTPROOT. By default most of the distributions use /tftpboot directory as TFTPROOT. A request like 'tftp 192.168.1.100 -c get images/xyz' should download the file TFTPROOT/images/xyz file on the tftp server (assuming 192.168.1.100 is the tftp server). The files in the PXE images have to be copied to specific directories relative to the TFTPROOT, so wanted to define it properly.
Now, follow the below steps to configure the PXE image:
NOTE: all references to 192.168.1.100 below have to be replaced with your tftp server’s IP.
i) Create TFTPROOT/KIWI/config.default file on the tftp server. Populate the file with the following text
This line suggests that the image name Centos62-OM72-Firmware-Net.x86_64-1.1.0 downloaded from the tftp server has to be staged on /dev/ram1 (ramdisk). 1.1.0 is the version of the image and 32768 is the block size used during PXE transfer.
Please note different configuration files can be used for different target systems. Please refer to section 12 at kiwi doc for related details. For now, I will continue using the default configuration for all target servers.
ii) Copy the Centos63-OM72-Firmware-Net.x86_64-1.1.0 file to TFTPROOT/image/ directory on tftp server.
iii) Copy the Centos63-OM72-Firmware-Net.x86_64-1.1.0.md5 file to TFTPROOT/image directory on the tftp server.
iv) Finally kernel and initrd images have to be made available for the live firmware image to start boooting. In my setup, /tftpboot/linux-install directory has the pxelinux.0 file and /tftpboot/linux-install/pxelinux.cfg/default is my PXE boot menu configuration file. The kernel and initrd images are posted to /tftpboot/linux-install/kiwi directory and the corresponding PXE menu item is configured as shown below:
MENU LABEL Firmware-Update
append initrd=kiwi/initrd-vmxboot-rhel-05.4.x86_64-2.1.2.gz ramdisk_size=4500000 kiwiserver=192.168.1.100
Screen shots of the PXE boot image:
After the kernel and initrd images are loaded to memory, the root image is downloaded from the tftp server. The progress of the same is show above.
After the root image is copied to /dev/ram1, the md5sum of the image is compared to that listed in Centos63-OM72-Firmware-Net.x86_64-1.1.0.md5 on the tftp server. After the md5sum is verified, the server continues to boot.
If you haven't used any of the Firmware liveDVD images before, you can follow the instructions listed at CentOS base liveDVD to update firmware on Dell servers to update the firmware on the target systems.
Issues to watch out for:
We would very much like to hear from everyone using these images. Please leave us a note on poweredge mailing list or a comment below on how you are using these images and what changes you would like to see in these images.
P.S: the root password is "linux" on the live images.
To post a comment
login or create an account
We noticed that the PXE image fails to update the BIOS and IDRAC firmware. This is because the usb-storage module is blocked from autoload and this is causing the update failure. I replaced the image at the above mentioned links with the fix. Please update your PXE environments with the new image.