HP ProLiant Value Add tools
Upcoming SlideShare
Loading in...5
×
 

HP ProLiant Value Add tools

on

  • 2,366 views

 

Statistics

Views

Total Views
2,366
Slideshare-icon Views on SlideShare
2,365
Embed Views
1

Actions

Likes
0
Downloads
41
Comments
0

1 Embed 1

https://twitter.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution-ShareAlike LicenseCC Attribution-ShareAlike License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    HP ProLiant Value Add tools HP ProLiant Value Add tools Presentation Transcript

    • HP ProLiant value-addon Linux (B66)Craig Lamparter, HP ISS Linux R&DJames Ayvaz, HP ISS Linux R&DBruno Cornec, HP EMEA Open Source and Linux Profession LeadMarch, 2013 © Copyright 2012 Hewlett-Packard Development Company, L.P.1 The information contained herein is subject to change without notice.
    • HP ProLiant and Linux distributionsupport © Copyright 2012 Hewlett-Packard Development Company, L.P.2 The information contained herein is subject to change without notice.
    • HP has led Linux server market for more than a decade LinuxCOE © Copyright 2012 Hewlett-Packard Development Company, L.P.3 The information contained herein is subject to change without notice.
    • Linux from HP supports greater choice HP provides support Partner provides support Community provides supportCommercial Linux Community Linux  Tests commercial Linux distribution early  Performs sanity tests of community and often (with beta OS, new hardware) Linux distributions with several ProLiant  Enables commercial distribution near launch servers date of new ProLiant hardware  Supports ProLiant server hardware  Obtains Linux vendor certification for  Offers the ProLiant Support Pack “as is” representative ProLiant servers  Directs software issues to community  Provides support for ProLiant Support Pack resources and supports the community http://www.hp.com/go/rhel http://www.hp.com/go/ubuntu http://communitylinux.org http://www.hp.com/go/sles http://www.hp.com/go/oel4 © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
    • HP ProLiant Linux portal : http://www.hp.com/go/proliantlinux Single Point for HP ProLiant deliverables Certification matrices Drivers White Papers Solutions Support © Copyright 2012 Hewlett-Packard Development Company, L.P.5 The information contained herein is subject to change without notice.
    • HP ProLiant Linux portal : http://www.hp.com/go/proliantlinux © Copyright 2012 Hewlett-Packard Development Company, L.P.6 The information contained herein is subject to change without notice.
    • HP ProLiant differentiators © Copyright 2012 Hewlett-Packard Development Company, L.P.7 The information contained herein is subject to change without notice.
    • HP ProLiant insight Ligths-Out (iLO) © Copyright 2012 Hewlett-Packard Development Company, L.P.8 The information contained herein is subject to change without notice.
    • iLO and Linux Powerful integrated solutions ILO access through • SSH/SMASH • IPMI • HP CLI tools • Web interface • From Linux with hpilo • Exposes monitoring details via SNMP9 © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
    • HP ProLiantSoftware Depot Repository (SDR) © Copyright 2012 Hewlett-Packard Development Company, L.P.10 The information contained herein is subject to change without notice.
    • Welcome to HPs 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) © Copyright 2012 Hewlett-Packard Development Company, L.P.11 The information contained herein is subject to change without notice.
    • HP Software Delivery Repository http://downloads.linux.hp.com/SDR SDR structure regular expression: http://downloads.linux.hp.com/SDR/downloads/ [SPP|MCP|Extras|FW]/ [rhel|suse|centos|ubuntu|asianux|opensuse|oracle]/ [pool/non-free/*.deb]| [<distversion>/<arch>/current/*.rpm] © Copyright 2012 Hewlett-Packard Development Company, L.P.12 The information contained herein is subject to change without notice.
    • 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 (hpacucli) ● iLO configuration tool (hponcfg) ● Optionally a Web interface for all these aspects13 © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
    • 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 (hp-sum) ● automate hardware update ● perform comparison between provided/installed/available firmware ● Additional drivers for recent servers or bug fixes14 © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
    • SDR HP Extras/FW component HP ProLiant Linux Software Stack SDR HP SPP component SDR HP MCP component Upstream HP component hp-vcaUI cpqacuxe hp-smh / hp-smh-templates hp-sumPkg hp-health / hp-ams / fibreutils / hpsum hp-scripting hpacucli hponcfg hpdiags / hp-snmp-agents hp-fc-enablement / hp-fm -toolsCLI hpacucli hpasmcli / hplog hp_rescan hpsum hponcfg hp-conrep hpacuscripting hpdiags / hpuid lssd / lssg / hp-fmDriver qla2xxx bnx / mlnx cciss / hpsa hpilo hpwdt lpfc igb / e1000FW CPxxx.scexe CPx.scexe CPxxx.scexe CPxxx.scexe CPxxx.scexe Smart Array ILO Monitoring FC NIC FW BIOS 15 © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
    • Installing packages from SDR Point your host to the HP Software Depot Repository (SDR) # wget http://downloads.linux.hp.com/SDR/downloads/bootstrap.sh # sh ./bootstrap.sh ManagementComponentPack|ServicePackforProliant|Extras|FW Update repositories (deb) Update repositories (rpm) # apt-get update # yum|zypper update Install updated drivers (deb) Install updated drivers (rpm) # apt-get install hp-e10000 hp-tg3 # yum|zypper install hp-e10000 hp-tg3 Install new software agents (deb) Install new software agents (rpm) # apt-get install hpacucli hponcfg # yum|zypper install hpacucli hponcfg16 © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
    • hpasmcli Displays most BIOS parameters and allow to modify some Non interactive Hyper-threading status display # hpasmcli -s "show ht" Examples: Processor hyper-threading is currently enabled. ASR display and modification hpasmcli> show asr Non interactive Hyper-threading status set ASR timeout is 10 minutes. # hpasmcli -s "disable ht" ASR is currently enabled. Successfully disabled processor hyper-threading. hpasmcli> set asr 5 # hpasmcli -s "enable ht" Successfully set ASR timeout to 5 minutes. Successfully enabled processor hyper-threading. IPL display F1 prompt hpasmcli> show ipl # hpasmcli -s "show f1" IPL (Standard Boot Order) The POST F1 prompt is currently delayed. ------------------------- # hpasmcli -s "set f1 enabled" #0 CDROM Successfully set the POST F1 prompt to ENABLED. #1 Floppy #2 USBKEY Syntax info #3 HDD # hpasmcli -s "set" #4 PXE # hpasmcli -s "enable"17 © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
    • hpacucli Displays most Smart Array RAID controller parameters and allow to modify most Show all Smart Array Controllers # hpacucli ctrl all show Smart Array P410i in Slot 0 (Embedded) (sn: 50014380059CCD00) Show detail of the embedded Smart Array Controller # hpacucli 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 MB18 © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
    • 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 --> hpbootcfg - Change boot order from CLI <RIBCL VERSION="2.0"> <LOGIN USER_LOGIN="admin" PASSWORD="password"> Reboot to PXE without waiting for prompt <RIB_INFO mode="write"><MOD_NETWORK_SETTINGS> # /sbin/hpbootcfg -P -b <ENABLE_NIC VALUE="Y"/> <SPEED_AUTOSELECT VALUE="Y"/> <NIC_SPEED VALUE="10"/> hpsnmpconfig - Change the SNMP config <FULL_DUPLEX VALUE="N"/> Check ProLiant MIB load <DHCP_ENABLE VALUE="Y"/> # grep cma /etc/snmp/snmpd.conf Set iLO configuration dlmod cmaX /usr/lib64/libcmaX64.so # hponcfg -f ilo.dat19 © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
    • HP System Management Homepage20 © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
    • HP Smart Update Manager21 © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
    • HP Smart Start Scripting Toolkit © Copyright 2012 Hewlett-Packard Development Company, L.P.22 The information contained herein is subject to change without notice.
    • 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.23 © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
    • Bundle of optional HP tools for ProLIant HP SSSTK in action HP utilities to automate HW configuration of HP ProLiant Servers Available as individual Linux packages usable with the SDR repo 1 Setup Installation 2 Capture/Create server 3 Server configurations (iLO, BIOS, & SA). Create scripts Configure PXE, TFTP, Bootable CD or DHCP, DDNS, NFS over the Network install server options Configure SSSTK data file data file HW conf + Install OS from CD or Network Share Load OS bits Script File PXE boot CD boot USB boot24 © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
    • hp-reboot - Reboot on a chosen device SSSTK Additional Tools # hp-reboot pxe -cold hpbootcfg - Change boot order from CLIhphwdiscovery - Hardware inventory tool# hp-discovery Reboot to PXE without waiting for prompt<?xml version="1.0" encoding="UTF-8"?> # /sbin/hpbootcfg -P -b<Discovery Version="2.1">[...] hp-statemgr – Get/Set a persistent Variable<ServerInformation> <SMBIOS> across reboot <ROM>I27</ROM> # hp-statemgr -R BOOT_TO_PXE <ROMDate>05/05/2011</ROMDate> 0 <SerialNumber>CZ3126KH10</SerialNumber> # hp-statemgr -W BOOT_TO_PXE 1 <SystemName>ProLiant BL460c G7</SystemName> 1 <UUID>37333036-3831-5A43-3331-32364B483130</UUID> # hp-statemgr -R BOOT_TO_PXE <AssetTag></AssetTag> 1[...]# hp-discovery > /tmp/disco.xml hp-rbsureset – Reset the ROM BIOS Setup to# hp-ifhw /tmp/disco.xml /opt/hp/hp-scripting- default valuestools/etc/allboards.xml "PCI:Smart Array"PCI Device Search: "Smart Array" => "Smart Array hp-setbootorder – Change boot orderP410i Controller" # hp-setbootorder pxe cdrom usbExpression is TRUE Current Boot Order: cdrom usb hd pxe Requested Order: pxe cdrom usb 25 © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
    • hp-conrep | hp-rcu hp-conrep – Display/Apply BIOS configuration up to G7 ProLiant servers hp-rcu – Display/Apply BIOS configuration for Gen8+ ProLiant servers # 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: 026 © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
    • hp-conrep | hp-rcu 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>27 © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
    • 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 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. © Copyright 2012 Hewlett-Packard Development Company, L.P.28 The information contained herein is subject to change without notice.
    • HP ProLiant Firmware management new approach No one buys a server to update firmware ! © Copyright 2012 Hewlett-Packard Development Company, L.P.29 The information contained herein is subject to change without notice.
    • Todays approach: scexe ● Advantages: ● scexe == Self extracting zip file, relatively easy to handle ● Stable : developed over 10 years ago (but hasn’t changed much, no real resources around the techno) ● Provides online Linux firmware update ● Drawbacks : ● Proprietary package format ● No repository management (yum/apt/...) ● No dependency management (wrt dynamic library needed) ● No signature support ● Difficult or impossible to script © Copyright 2012 Hewlett-Packard Development Company, L.P.30 The information contained herein is subject to change without notice.
    • New approach: using packages ? ● Drawbacks : ● Linux packages (RPM/DEB) designed for installing software, not firmware ● Unrelated to firmware state (pkg installed but FW not) ● Querying the package manager tells us about the package, not the firmware ● Solution : ● Decoupling FW handling and FW flashing ● Packages (RPM/DEB) used to deliver the firmware (thus repo, deps, signature, …) ● Light weight tool, doing 1 thing well, to apply the firmware ● Future hp-sum integration ● Advantages : ● Standard and open process (using usual tools at distribution level) ● CLI und UI integration without effort nor specificity ● Scripting and installation server easy integration ● Security embedded (rpm -V, signature) © Copyright 2012 Hewlett-Packard Development Company, L.P.31 The information contained herein is subject to change without notice.
    • How does it work ? RPM Internet (SDR) # ./bootstrap.sh ProLiant-FW # ./bootstrap.sh Extras # yum groupinstall "HP ProLiant DL580 G7" YUM # hp-fm upgrade HP ProLiant DL580 G7 © Copyright 2012 Hewlett-Packard Development Company, L.P.32 The information contained herein is subject to change without notice. 32
    • Find and download an applicable Firmware # syshandle=$(dmidecode -s bios-version) # yum grouplist $(echo "hp-proliant-*$syshandle*-firmware") # yum groupinstall $(echo "hp-proliant-*$syshandle*-firmware") Or  # yum install hp-fm # hp-fm requires firmware(hp:system:p65) firmware(pci:v00008086d00003407sv*bc*sc*i*) firmware(pci:v00008086d00003408sv*bc*sc*i*) firmware(pci:v00008086d00003409sv0*bc*sc*i*) firmware(pci:v00008086d0000340Asv0*bc*sc*i*) # yum install $(hp-fm requires) © Copyright 2012 Hewlett-Packard Development Company, L.P.33 The information contained herein is subject to change without notice.
    • Applying the downloaded Firmware # hp-fm upgrade Searching for firmware.. Analyzing results.. hp-firmware-ilo2 version is installed, skipping: HP Integrated Lights-Out 2 v2.06 The following firmware will be applied: HP ProLiant DL360 G6 (P64) Servers 2011.05.05 Do you want to apply them? [y] : © Copyright 2012 Hewlett-Packard Development Company, L.P.34 The information contained herein is subject to change without notice.
    • Querying Firmware information # hp-fm list | Info | NAME | VERSION | INSTALLED | TYPE | --------------------------------------------------------------------------------------------- i| fix | hp-firmware-ilo2 | 2.06 | 2.06 | ilo2 | i| critical | hp-firmware-system-dl360g6-P64 | 2011.05.05 | 2010.05.15 | system | # hp-fm list "%{NAME} =~ /dl360/i" | Info | NAME | VERSION | INSTALLED | TYPE | --------------------------------------------------------------------------------------------- i| critical | hp-firmware-system-dl360g6-P64 | 2011.05.05 | 2010.05.15 | system | # hp-fm list --format="%{RPMNAME},%{VERSION},%{TYPE_OF_CHANGE}“ hp-firmware-ilo2,2.06,fix hp-firmware-system-dl360g6-P64,2011.05.05,critical # hp-fm upgrade "%{TYPE_OF_CHANGE} =~ /critical/i" © Copyright 2012 Hewlett-Packard Development Company, L.P.35 The information contained herein is subject to change without notice.
    • Integrating OS & FW deployment (kickstart file example) ... repo --name=ProLiant-FW http://downloads.hp.com/SDR/FW repo --name=ProLiant-extras http://downloads.hp.com/SDR/Extras ... @HP ProLiant DL360 G6 Server ... %pre hp-fm –-yes upgrade Feedback ? # hp-fm feedback This command will walk you through the process of submitting feedback ****************************************************************************** Anonymous system information will be collected to help us understand your setup. You will have an opportunity to review the data before submitting. ****************************************************************************** Do you wish to continue [y] : © Copyright 2012 Hewlett-Packard Development Company, L.P.36 The information contained herein is subject to change without notice.
    • Find out more on HP value add around Open Source & Linux © Copyright 2012 Hewlett-Packard Development Company, L.P.37 The information contained herein is subject to change without notice.
    • References 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› PUSK: http://pusk.project-builder.org/browser/0.9.6› Project Builder: http://www.project-builder.org› Dracut: https://dracut.wiki.kernel.org/ © Copyright 2012 Hewlett-Packard Development Company, L.P. 38 The information contained herein is subject to change without notice.
    • Thank you (B66) © Copyright 2012 Hewlett-Packard Development Company, L.P.39 The information contained herein is subject to change without notice.