The ProLiant USB Setup Key helps you automate hardware configuration deployment of your HP ProLiant servers with a simple USB key and a 5 lines configuration file
1. Bruno Cornec HP, Open Source Profession Lead
Jean-Marc André OSSI Solution Architect
The ProLiant USB Setup Key
2. Bruno Cornec - OSSI - HP2
Introducing Myself
●
Software engineering and Unices since 1988
●
Mostly Configuration Management Systems (CMS), Build systems, quality tools,
on multiple commercial Unix systems
●
Discover Open Source & Linux (OSL) & first contributions in 1993
●
Full time on OSL since 1995, first as HP reseller then @HP
●
Currently:
●
Master Technology Architect on OSL for the HP/Intel Solution Center, Grenoble
●
OSL HP Advocate
●
EMEA OSL HP Profession Lead
●
Solutions Linux Conference and OWF board member
●
MondoRescue, Dploy.org, Project-Builder.org project lead
●
LinuxCOE, mrepo, tellico, rinse, fossology, collectl contributor
●
FOSSBazaar and OSL Governance enthusiast
●
Mandriva, Mageia, Fedora packager
4. Bruno Cornec - OSSI - HP4
Objective and Agenda
Objective: To describe HP's Open Source involvement,
The HP + Intel + Red Hat initiative (OSSI) and
how it can help the respective actors deliver best in class
Open Source & Linux (OSL) solutions in ProLiant Setup.
Agenda:
●ProLiant USB Setup Key (aka PUSK)
● Project Origins and Choices,
● Project Features,
● Project Status
● Project Future
6. Bruno Cornec - OSSI - HP6
PUSK Origins
› Customer request to setup a DL 380 G7 BIOS, Smart Array and iLO
without any keyboard, mouse or screen attached to it on a remote site
where minimal IT knowledge is available.
› The operator in charge of the configuration just has a laptop (Windows
based in most of the cases) to customize the server configuration (IP
address, Netmask, Gateway, License Key and Password for iLO).
› It should be as easy as:
– Get the server out of the box;
– Rack it, plug it and power it on;
– Use a bootable device to do the hardware configuration;
– Once the configuration is done, the server shuts itself down.
7. Bruno Cornec - OSSI - HP7
PUSK Choices
› The HP ProLiant USB setup key (PUSK) is a set of tools working
together with the HP Smart Start Scripting Tool Kit (SSSTK) and HP
Software Depot Repository (SDR) to create a bootable USB key to
easily and automatically capture and deploy BIOS, RAID and iLO
configurations on HP ProLiant servers.
› The PUSK allows to easily modify configuration on site, while also
storing logs of the setup run.
› The PUSK is easily mountable from both a Windows (operator
machine) or a Linux (deployed server) environment using a VFAT FS.
› The PUSK is built from a master machine using the running
distribution (RHEL 6.1 or 6.2 for this project) and the HP SDR.
› The PUSK provide 1 simple text based config file which has to be
configured for iLO setup (generic need).
› The other extracted configurations are also modifiable in XML format,
as well as the boot configuration done with syslinux.
8. Bruno Cornec - OSSI - HP8
PUSK Features
› The HP ProLiant USB setup key (PUSK) provides the following
features:
– Capture the BIOS, RAID and iLO settings on a 'master' server;
– Deploy a previously captured BIOS, RAID and iLO configuration
on a target server (iLO settings can be customized);
– Deploy a basic iLO configuration;
– Upgrade the BIOS, NICs, HBA, Smart Array controllers firmware
if needed.
– Boot to a shell in order to debug
If no boot entry is selected after 30 seconds, the PUSK will boot in
deploy mode.
9. Bruno Cornec - OSSI - HP9
PUSK capture mode
› The PUSK provides a capture mode using the HP SSSTK tools to
capture the current BIOS, RAID and iLO configuration on the server.
– The BIOS configuration is saved on the USB key under
'data_files/conrep.dat'
– The Smart Array controllers configuration is saved under
'data_files/cpqacuxe.dat'
– The iLO configuration file is saved under 'data_files/hponcfg.dat'
After the captured operations have been performed, the generated logs
are saved on the USB key in 'log/capture_YYYYMMDD-HHmm.log', the
USB key is unmounted and the server shuts itself down.
10. Bruno Cornec - OSSI - HP10
PUSK deploy mode
› The PUSK provides a deploy mode using the HP SSSTK tools to
deply the previously captured BIOS, RAID and iLO configuration on the
server from the previously mentioned stored config files.
› iLO IP configuration, License key and password can be easily
customized in an editable text file on the USB key (under 'config/ilo').
– This customization uses a python script to inject the modified text
data into the hponcfg XML format.
› A basic deploy mode also exists to restore an iLO configuration to a
default mode where nothing else works. It uses the 'data_files/ilo.dat'
without variable substitution, nor any addition.
› In case .scexe files are present under the 'fw_files' directory, they will
be applied, only when newer, using the 'fw' boot entry.
11. Bruno Cornec - OSSI - HP11
PUSK architecture
› The PUSK structure looks like the one nearby
› 4 Firmware will be potentially applied here
› The syslinux directory contains an initramfs.img file
produced by dracut to have all drivers at boot time
› The squashfs.img file produced also by dracut
contains the files coming from the original distribution
with our customization layer.
› The init script provided by dracut launches at the
end of the boot sequence the /etc/rc.d/rc.local script
which has been customized to detect the boot
command line parameters and launch the relevant
script under /ssstk to perform one of the 5 actions
mentioned earlier
12. Bruno Cornec - OSSI - HP12
PUSK content
› Content of the PUSK project:
(Cf: http://pusk.project-builder.org/browser)
– rpmbootstrap.sh: Create ext3fs.img files with the mini linux
distribution (launched first)
– mkusbkey.sh <dev>: Create the bootable USB key on the
device(can be a /dev/sdx or /dev/loop one). Prerequisite build: the
system as RHEL and SDR yum access configured
– setupkey.spec: SPEC file (build RPM with make rpm)
– customized: Customized init scripts, pythin tool and SSSTK scripts
– syslinux.cfg: SYSLINUX configuration file
– hp-psp.repo: YUM repo pointing to HP SDR
– An automake/autoconf structure is also provided
13. Bruno Cornec - OSSI - HP13
PUSK future
› The PUSK as a ProLiant delivery ?
› Make a Gen8 version using latest SDR tools.
› Fusion of this key building and the MondoRescue boot media building
into pbmkbm (part of project-builder.org)
› Use of the more generic rpmbootstrap (also part of project-builder.org)
to build the environment in a isolated way, instead of the current
dedicated script.
› Extend the etree python script to support the other config files
› Sos plugin also developed for the same project to be proposed for
SDR and pushed upstream
› Your feature here !!!
15. Bruno Cornec - OSSI - HP15
Unique initiative with a worldwide presence and coverage
HP Intel Solution Centers
• 10 years of success, worldwide programs, including Cloud Center
of Excellence, RISC to HP Intel Architecture Migrations, HP
Networking Customer Visit Center and more
• Over 200 projects conducted successfully
• Complete IT (400+ systems) & Telecom infrastructure
• Portfolio of 40+ solutions with access to HP & Intel ecosystem of
Partners
• Complete test & validation environment
• Strategic partnership with Intel, 10-year long standing
collaboration
• Strategic partnership with Red Hat
• A unique proof point in the industry with a proven service offer
Grenobl
ePlano
Shangh
ai
Mission: Accelerate the adoption of new and innovative solutions by creating simple and rewarding end-to-
end customer experiences that benefit our customers and partners, in a compelling and engaging
collaborative environment. More information available at http://www.hpintelco.net