Weitere ähnliche Inhalte
Ähnlich wie Presentation on HP ProLiant value add tools on Linux (20)
Mehr von Bruno Cornec (20)
Kürzlich hochgeladen (20)
Presentation on HP ProLiant value add tools on Linux
- 1. Together
for the New Style of IT
HP Enterprise Technology & Solutions Summit 2015
Dublin, Ireland June 15-19
#HPETSS
- 3. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
HPProLiantValueAddonLinux
Bruno Cornec Open Source and Linux Technology Strategist
HP Open Source Profession – WW Linux Community Lead
- 4. © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.4
Making the new style of IT a reality
» 14+ years of success, world wide programs, including Cloud Center of
Excellence, Big Data Center of Excellence, Open Source Solutions
Initiative, RISC to HP Intel Architecture Migrations, NVF Center of
Excellence, EMEA Networking Customer Visit Center and more
» Complete IT (400+ systems, 3000+ network ports, 500+ TB storage)
» Portfolio of 40+ ready to demo solutions with access to our
ecosystem of Partners
» Complete test & validation environment
» Strategic partnership with Intel, 14-year long standing collaboration
» Strategic partnership with Red Hat 7-year collaboration (OSSI)
» A unique proof point in the industry with a proven service offering
Grenoble
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
EMEA SolutionInnovation Center
WorkshopPoCLivedemoCoE
- 5. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.5
Introducing Myself
●
Software engineering and Unices since 1988
– Mostly Configuration Management Systems (CMS), Build systems, quality tools, on multiple commercial Unix
systems
– Discovered Open Source & Linux (OSL) & made first contributions in 1993
– Full time on OSL since 1995, first as HP reseller then @HP
●
Currently:
– OSL Technology Strategist, EMEA EG Innovation Solution Center aka HP/Intel Solution Center, Grenoble
– HP OSL Advocate and Converged Infrastructure Ambassador
– WW Linux Community Lead for the HP Open Source Profession
– POSS conference, OpenStack.fr and AFUL board member. Conferences at WW level at LinuxCon, Linux.conf.au
– MondoRescue, Project-Builder.org, UUWL and PUSK Project Lead
– LinuxCOE, mrepo, tellico, rinse, fossology, collectl, Ironic contributor
– FOSSBazaar/SPDX and OSL Governance enthusiast
– Mandriva, Mageia, Fedora packager
- 6. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.6
Table of contents
HP's commitment to Open Source & Linux
Linux on HP ProLiant
●
Distribution support
●
Software Delivery Repository
●
Smart Start Scripting Toolkit
●
RESTful and Packages are the future
Additional resources
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.6
- 7. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.7
HP's strategy on Open Source & Linux (OSL)
HP enables end to end solutions
Support OSL with as many HP deliverables as possible
Improve the OSL ecosystem with partners to deliver end to end solutions
HP promotes freedom of choice
Openness in support offerings
Customers can support themselves or pay support providers
Follow or fork if upstream unacceptable
HP establishes legal comfort
OSL Governance since 2000 (OSRB, FOSSology, FOSSBazaar, indemnification back in 2003)
Fight licenses proliferation using existing ones (GPLv3 contributions)
Helped build the Linux and OpenStack Foundations
HP differentiates
OSL Communities relationships. Influence with respect of their values and contributor expectations.
Intimate expertise. E.g. 170 years of cumulated experience in Linux kernel. 6500+ specialists.
- 8. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.8
HP's commitments on Open Source & Linux (OSL)
HP consumes OSL
In IT: Apache, Bind (100), DHCP, NTP, Clustered OpenLDAP (15) + perl customization, Postfix
(6+TB/year), Linux, Sympa, Wordpress, LinuxCOE, Pligg, …
In products: printers, software, servers, TV, ...
HP's commitment to OSL communities
HP's contributions to Squid, Samba, Apache, Linux Kernel, OpenStack...
HP's leadership in some flagship communities (2 Debian Project Leaders, OpenwebOS, OpenStack,
hplip, LinuxCOE, FOSSology, FOSSBazaar, MondoRescue, Project-Builder.org, Shorewall, Seagull,
OpenSSI, Lustre, Linux ia64, AdvFS, handhelds.org)
HP's direct support to communities: Kernel summit, OWF, LinuxCon, LCA, DebConf, X.org summit,
GUADEC, KDE summit – ProLiants runs kernel.org, debian.org - helps LI, FSF, Linux Foundation, OSI,
OSDL, ...
http://opensource.hp.com
- 9. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.9
HP has led Linux server market for more than a decade
LinuxCOE
- 10. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
HPProLiantandLinuxdistribution
support
- 11. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.11
Linux from HP supports greater choice
Community Linux
Performs sanity tests of community
Linux distributions with several ProLiant
servers
Supports ProLiant server hardware
Offers the ProLiant Support Pack “as is”
Directs software issues to community
resources and supports the community
Commercial Linux
Tests commercial Linux distribution early
and often (with beta OS, new hardware)
Enables commercial distribution near launch
date of new ProLiant hardware
Obtains Linux vendor certification for
representative ProLiant servers
Provides support for ProLiant Support Pack
HP provides support Partner provides support Community provides support
http://communitylinux.orghttp://www.hp.com/go/rhel
http://www.hp.com/go/sles
http://www.hp.com/go/ubuntu
http://www.hp.com/go/oel
- 12. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.12
HP ProLiant Linux portal : http://www.hp.com/go/proliantlinux
Single Point for HP
ProLiant deliverables
Certification matrices
Drivers
White Papers
Solutions
Support
- 13. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.13
HP ProLiant Linux portal : http://www.hp.com/go/proliantlinux
- 14. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
HPProLiantdifferentiators
- 15. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.15
Powerful integrated solutions
iLO and Linux
ILO access through
•
SSH + SMASH
•
IPMI
•
HP CLI based tools
•
Web interface
•
RESTful API
•
From Linux with hpilo
•
Exposes monitoring
details via SNMP
- 16. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.17
Uniform coverage. Flexible options.
Linux from HP is better supported
Proactive 241Support plusSoftware support
•
Rights to new versions
•
Product and document
updates
•
Incident and unlimited
•
Software tech assistance
•
2 hour response
•
Hardware 4 hour
response
•
Software tech
•
assistance
•
2 hour response
•
13x5 or 24x7 coverage
•
Hardware 4 hour response
•
Software tech
•
assistance
•
2 hour response
•
Service account manager
•
Support planning
•
System Health Check
•
Remote diagnosis
•
24x7 coverage
Named tech
•
Account team
•
Support planning
•
Proactive services
•
Change management
•
6 hour CTR Hardware
•
Software tech assistance
•
Immediate response for
critical problems
•
Remote diagnosis
•
24x7 coverage
Software updates Critical
•
~99% of all calls resolved by HP
•
73,000 service partners
•
6500 Linux-trained professionals
•
112 response centers worldwide
•
2 hour response
•
1 phone number
- 17. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
HPProLiant
SoftwareDepotRepository(SDR)
- 18. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.19
Welcome to HP's SDR
Who HP ProLiant Linux R&D Team
What Drivers, utilities, agents and tools for HP ProLiant Linux Systems
When Updated when new hardware or Linux distributions are released
Where http://downloads.linux.hp.com/SDR
How Install packages using yum, apt, zypper
Why Extra functionality specifically designed for HP ProLiant hardware
How much Free of charge (not Free, Open Source Software)
- 19. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.20
HP Software Delivery Repository
SDR structure regular expression:
http://downloads.linux.hp.com/SDR/downloads/
[SPP|MCP|Extras/
[rhel|suse|centos|ubuntu|asianux|opensuse|oracle]/
[pool/non-free/*.deb]|
[<distversion>/<arch>/current/*.rpm]
http://downloads.linux.hp.com/SDR
- 20. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.21
HP Management Component Pack for ProLiant (MCP)
Bundle of HP Provided value add tools for ProLIant
Contains HP tools and utilities (no drivers – cf: SPP)
Available as individual Linux packages from the MCP SDR repository
Specifically for community supported distributions
Provides the following features:
●
System Health Monitor (thermal, environmental, electrical, system components)
●
SNMP MIBs and configuration script
●
Automatic Server Recovery (ASR) Daemon and Events
●
Advanced Systems Management (ASM) Controller communication + CLI (hpasmcli)
●
Pre-failure warranty on CPUs and memory and diagnostics tool (hpdiags)
●
Access to the Integrated Management Log (IML) (hplog)
●
Control Unit ID (hpuid) management
●
Smart Array configuration tool (hpssacli)
●
iLO configuration tool (hponcfg)
●
Optionally a Web interface for all these aspects
- 21. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.22
HP Service Pack for ProLiant (SPP)
Bundle of all HP Provided value add for ProLIant
Contains what the MCP provides
Contains HP firmware, driver updates (when needed) and additional utilities
Available as individual Linux packages from the SPP SDR repository
Available as Bootable DVD ISO image for convenient all-in-one delivery
Specifically for enterprise supported distributions
Provides the following features:
●
Version control Agent (hp-vca)
●
HP Smart Update Manager (hpsum)
●
automate hardware update
●
perform comparison between
provided/installed/available firmware
●
Additional drivers for recent servers or bug fixes
- 22. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.23
HP ProLiant Linux Software Stack
cciss / hpsaDriver
hpssacli
hpssa
Smart Array ILO
hpilo
hp-smh / hp-smh-templates
Upstream HP component
SDR HP MCP component
fibreutils /
hp-fc-enablement
hp-vca
hponcfg hp-health / hp-ams /
hpdiags / hp-snmp-agents
hpsum
Pkg
UI
hp-scripting
-tools
hpwdt
FWMonitoring BIOS
qla2xxx
lpfc
hpssacli
hpssascripting
hp_rescan
lssd / lssg
hponcfg
hpasmcli / hplog
hpdiags / hpuid
CLI hp-conrephpsum
FC NIC
bnx / mlnx
igb / e1000
hpsum
SDR HP Extras/FW component
SDR HP SPP component
FW Cpx.scexe
/ rpm
Cpx.scexe
/ rpm
Cpx.scexe
/ rpm
Cpx.scexe
/ rpm
Cpx.scexe
/ rpm
hprest
hprest
- 23. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.24
Installing packages from SDR
Point your host to the HP Software Depot Repository (SDR)
# wget http://downloads.linux.hp.com/SDR/downloads/add_repo.sh
# sh ./add_repo.sh spp|stk|hpsum
Update repositories (deb)
# apt-get update
Update repositories (rpm)
# yum|zypper update
Install updated drivers (deb)
# apt-get install hp-e10000 hp-tg3
Install updated drivers (rpm)
# yum|zypper install hp-e10000 hp-tg3
Install new software agents (deb)
# apt-get install hpssacli hponcfg
Install new software agents (rpm)
# yum|zypper install hpssacli hponcfg
- 24. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.25
hpasmcli
Displays most BIOS parameters and allow to modify
some
Examples:
ASR display and modification
hpasmcli> show asr
ASR timeout is 10 minutes.
ASR is currently enabled.
hpasmcli> set asr 5
Successfully set ASR timeout to 5 minutes.
IPL display
hpasmcli> show ipl
IPL (Standard Boot Order)
-------------------------
#0 CDROM
#1 Floppy
#2 USBKEY
#3 HDD
#4 PXE
Non interactive Hyper-threading status display
# hpasmcli -s "show ht"
Processor hyper-threading is currently enabled.
Non interactive Hyper-threading status set
# hpasmcli -s "disable ht"
Successfully disabled processor hyper-threading.
# hpasmcli -s "enable ht"
Successfully enabled processor hyper-threading.
F1 prompt
# hpasmcli -s "show f1"
The POST F1 prompt is currently delayed.
# hpasmcli -s "set f1 enabled"
Successfully set the POST F1 prompt to ENABLED.
Syntax info
# hpasmcli -s "set"
# hpasmcli -s "enable"
- 25. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.26
hpssacli
Displays most Smart Array RAID controller parameters and allow to modify most
Show all Smart Array Controllers
# hpssacli ctrl all show
Smart Array P410i in Slot 0 (Embedded) (sn: 50014380059CCD00)
Show detail of the embedded Smart Array Controller
# hpssacli ctrl slot=0 show detail
Smart Array P410i in Slot 0 (Embedded)
Slot: 0
Serial Number: 50014380059CCD00
Cache Serial Number: PAAVP9SXTPGU
RAID 6 (ADG) Status: Disabled
Controller Status: OK
Hardware Revision: C
Firmware Version: 5.12
[…]
Cache Ratio: 25% Read / 75% Write
[…]
Total Cache Size: 512 MB
Total Cache Memory Available: 400 MB
- 26. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.27
Other CLI tools
hponcfg - Display/Apply iLO configuration
Get iLO configuration
# hponcfg -a -w ilo.dat
HP Lights-Out Online Configuration utility
Version 4.0.0 Date 12/08/2011 (c) Hewlett-Packard Company, 2011
Firmware Revision = 1.28 Device type = iLO 3 Driver name = hpilo
Management Processor configuration is successfully written to file "ilo.dat"
[root@localhost ~]# head ilo.dat
<!-- HPONCFG VERSION = "4.0.0" -->
<!-- Device: iLO3 Firmware Version : 1.28 -->
<RIBCL VERSION="2.0">
<LOGIN USER_LOGIN="admin" PASSWORD="password">
<RIB_INFO mode="write"><MOD_NETWORK_SETTINGS>
<ENABLE_NIC VALUE="Y"/>
<SPEED_AUTOSELECT VALUE="Y"/>
<NIC_SPEED VALUE="10"/>
<FULL_DUPLEX VALUE="N"/>
<DHCP_ENABLE VALUE="Y"/>
Set iLO configuration
# hponcfg -f ilo.dat
hpbootcfg - Change boot order from CLI
Reboot to PXE without waiting for prompt
# /sbin/hpbootcfg -P -b
hpsnmpconfig - Change the SNMP config
Check ProLiant MIB load
# grep cma /etc/snmp/snmpd.conf
dlmod cmaX /usr/lib64/libcmaX64.so
- 27. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
ipmitool - OpenIPMI interface to send commands to iLO
Power Management
# ipmitool -I lanplus -H <IP> -U admin -P admin123 chassis power up
Set nextboot device
Reset system, reset ilo
LAN configuration
# ipmitool -I lanplus -H <IP> -U admin -P admin123 lan print 2
IP Address : 10.1.0.36
Intelligent Platform Management Interface (IPMI)
- 28. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.29
HP System Management Homepage
- 29. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.30
HP Smart Update Manager
- 30. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
HPSmartStartScriptingToolkit
- 31. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.32
HP Smart Start Scripting Toolkit (SSSTK)
Bundle of optional HP tools for ProLIant
Contains HP utilities to automate Hardware configuration of HP
ProLiant Servers
Available as individual Linux packages with dependencies for use
with the native distribution update manager (yum, yast, apt-get)
from the Extras SDR repository
SSSTK captures iLO, BIOS and RAID Firmware configurations on a
master server and is able to redeploy these configuration on a bare
metal target machine in an unattended manner.
This toolkit is designed to be customized by experienced IT
administrators, familiar with scripting under Linux and ProLiant
servers.
- 32. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.33
HP SSSTK in action
Capture/Create server
configurations (iLO, BIOS,
& SA). Create scripts
Bootable CD or
over the Network install
HW conf + Install OS from
CD or Network Share
11 22 33
server
data file
options
data file
Script File
PXE boot
CD boot
USB boot
Setup Installation
Server
Configure PXE, TFTP,
DHCP, DDNS, NFS
Configure SSSTK
Load OS bits
Bundle of optional HP tools for ProLIant
HP utilities to automate HW configuration of HP ProLiant Servers
Available as individual Linux packages usable with the SDR repo
- 33. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.34
SSSTK Additional Tools 1/2
hp-discovery - Hardware inventory tool
# hp-discovery
<?xml version="1.0" encoding="UTF-8"?>
<Discovery Version="2.1">
[...]
<ServerInformation>
<SMBIOS>
<ROM>I27</ROM>
<ROMDate>05/05/2011</ROMDate>
<SerialNumber>CZ3126KH10</SerialNumber>
<SystemName>ProLiant BL460c G7</SystemName>
<UUID>37333036-3831-5A43-3331-32364B483130</UUID>
<AssetTag></AssetTag>
[...]
# hp-discovery > /tmp/disco.xml
# hp-ifhw /tmp/disco.xml /opt/hp/hp-scripting-
tools/etc/allboards.xml "PCI:Smart Array"
PCI Device Search: "Smart Array" => "Smart Array
P410i Controller"
Expression is TRUE
hp-reboot - Reboot on a chosen device
# hp-reboot pxe -cold
hpbootcfg - Change boot order from CLI
Reboot to PXE without waiting for prompt
# /sbin/hpbootcfg -P -b
hp-rbsureset – Reset the ROM BIOS Setup to
default values
hp-setbootorder – Change boot order
# hp-setbootorder pxe cdrom usb
Current Boot Order: cdrom usb hd pxe
Requested Order: pxe cdrom usb
- 34. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.35
SSSTK Additional Tools 2/2
hplpcfg – Configure Emulex based HBA (allow
setting WWID, boot device WWID and boot LUN
# hplpcfg
hpqlarp – Configure QLogic based HBA (allow
setting boot device WWID and boot LUN)
# hpqlarp
hp-statemgr – Get/Set a persistent Variable across
reboot
# hp-statemgr -R BOOT_TO_PXE
0
# hp-statemgr -W BOOT_TO_PXE 1
1
# hp-statemgr -R BOOT_TO_PXE
1
- 35. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.36
hp-conrep
hp-conrep – Display/Apply BIOS configuration for all HP ProLiant servers (up to Gen9)
# hp-conrep -s -f rcu.xml
conrep 3.30 - SmartStart Scripting Toolkit Configuration Replication Program
Copyright (c) 2007-2009 Hewlett-Packard Development Company, L.P.
System Type: ProLiant BL460c G7
ROM Date : 05/05/2011
ROM Family : I27
Processor Manufacturer : Intel
XML System Configuration : conrep.xml
Hardware Configuration : rcu.xml
File contains global platform restrictions
Global Restriction: [minimumconrepversion ] OK
Platform check:
: [ProLiant DL7 ] no match
: [ProLiant DL9 ] no match
: [ProLiant BL ] match
: [ProLiant DL160 Gen8 ] no match
: [ProLiant SL160 Gen8 ] no match
Saving configuration data to rcu.xml.
CONREP Return code: 0
- 36. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.37
hp-conrep results
# cat /opt/hp/hp-scripting-tools/etc/rcu.xml
<?xml version="1.0" encoding="UTF-8"?>
<Conrep version="3.30" originating_platform="ProLiant BL460c G7" originating_family="I27" originating_romdate="05/05/2011"
originating_processor_manufacturer="Intel">
<Section name="IMD_ServerName" helptext="LCD Display name for this server">
<Line0>localhost.loca</Line0>
<Line1>ldomain</Line1>
</Section>
<Section name="IPL_Order" helptext="Current Initial ProgramLoad device boot order.">
<Index0>00 </Index0>
[...]
</Section>
<Section name="IPL_Order_Size" helptext="Current Initial ProgramLoad device boot order size.">
<Size0>05 </Size0>
</Section>
<Section name="PCI_Devices" helptext="Lists of PCI devices and their interrupts - not displayed if default values are
set.">EMPTY_DELETE</Section>
<Section name="Controller_Order" helptext="Lists the current boot controller ordering.">
<Id0>10 3c 32 45 </Id0>
<Slot0>00 </Slot0>
<BusDev0>0c 00 </BusDev0>
<Rest0>41 </Rest0>
<Id1>10 3c 32 61 </Id1>
<Slot1>01 </Slot1>
<BusDev1>06 00 </BusDev1>
<Rest1>41 </Rest1>
<Id2>10 3c 32 61 </Id2>
<Slot2>01 </Slot2>
<BusDev2>06 01 </BusDev2>
<Rest2>41 </Rest2>
</Section>
<Section name="Language" helptext="Defines current language identifier">ENGUSAus </Section>
<Section name="System_WOL" helptext="System Wake On Lan Capabilities.">Enabled</Section>
<Section name="System_APIC" helptext="System APIC Settings(MPS Table Mode).">Full Table</Section>
- 37. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.38
PUSK Overview
› 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 for now)
and the HP SDR.
› The PUSK provides 1 simple text based config file which has to be configured for iLO
setup (IP conf, License, Password).
› The other extracted configurations are also modifiable in XML format, as well as the
boot configuration done with syslinux.
- 38. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Thefutureisalreadythere...
- 39. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.40
HP RESTful API
hprest – CLI to manage systems using the HP RESTful API
Written in Python:
Platform independent
Lots of reusable modules and easier to maintain
Packaged (aka “Frozen”) into a stand alone executable to avoid having to install Python.
Windows and Linux versions available
Local (CHIF) and remote (HTTPS) mode supported.
Remote/Out-of-band mode allows support for other OSes.
Ability to set individual settings from command line or import/export settings from a file (like Conrep).
Support for BIOS and some iLO settings with first release. Additional sub-systems to be supported later.
Support HP ProLiant servers starting with Gen9 requiring iLO4 >= 2.00
- 40. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.41
HP RESTful API results
hprest select ServiceRoot.0.9.5
hprest list
[...] ServiceVersion=0.9.5
Oem
Hp
Manager
ManagerFirmwareVersion=2.03
HostName=ILOCZ250211YL
ManagerType=iLO 4
Blade
EnclosureName=LabOSSI
RackName=Z8R1U25
BayNumber=Bay 4
[...]
Sessions
LocalLoginEnabled=True
LoginFailureDelay=0
LDAPAuthLicenced=False
KerberosEnabled=False
ServerName=lab4-2.labossi.hpintelco.org
- 41. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.42
Packaged based Firmware
Packaged Firmware have been released in April 2015
Used by HPSUM for platform upgrade
hpsum command in CLI mode is another way to use them
# yum list hp-firmware'*'
Get FW rpm list from repo Install a FW rpm from repo
# yum install -y hp-firmware-ilo4.i386
# hpsum list
Get FW list available to HPSUM Install FW with HPSUM
# hpsum upgrade
- 42. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.43
Some reference sites :
› Portal: http://www.hp.com/go/proliantlinux
› Certification: http://h18004.www1.hp.com/products/servers/linux/hplinuxcert.html
› RHEL on ProLiant : http://www.hp.com/go/rhel
› Service Pack for ProLiant : http://www.hp.com/go/spp
› Insight Foundation: http://www.hp.com/go/foundation
› SDR: http://downloads.linux.hp.com/SDR/
› SSSTK: http://www.hp.com/servers/sstoolkit and http://www.gp.com/go/stk/docs
› HP RESTful API : http://www.hp.com/go/restfulapi
› PUSK: http://pusk.project-builder.org
› Project Builder: http://www.project-builder.org
› Dracut: https://dracut.wiki.kernel.org/
References
- 43. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.44
The Open Source Solutions Initiative
»Customers are highly interested in Open Source
Solutions (cost + control)
»Red Hat is the leader in Open Source and first
vendor gaining $1B revenue
»HP #1 in Linux server market share,$13.9B
cumulative server revenues; 3.2M servers sold
»Intel is in the second largest contributor to the
Linux kernel
…more information available at http://www.hpintelco.net/hp-intel-redhat.htm
Drive awareness and adoption of Intel, HP and Red Hat solutions as the highest value
platform for today's + tomorrow's enterprise solutions
●
Executive briefings and
discovery sessions
●
Open Source workshops
●
Innovative Solutions
●
Proof-of-Concepts
- 44. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Thankyou