SlideShare a Scribd company logo
1 of 33
Download to read offline
HP
HP Servers and HP Solution Innovation Center
HP ETSS 2015
Table of content
Objectives....................................................................................................................................................2
Reference documents.................................................................................................................................3
Environment setup.....................................................................................................................................4
SDR access enablement.........................................................................................................................4
Managing HP ProLiant servers with the MCP.............................................................................................5
Command line management.................................................................................................................5
SNMP management.............................................................................................................................14
Web based management....................................................................................................................16
Using HP SUM (Smart Update Manager).............................................................................................19
Using IPMI.............................................................................................................................................20
Using the HP RESTful API....................................................................................................................21
Additional management tools............................................................................................................24
© Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 1 of 33
Lab Contents
This lab purpose is to install and use various HP ProLiant tools to
configure servers and set them up.
Lab Writer and Trainer
Bruno.Cornec@hp.com
Lab – HP ProLiant Tools
HP
HP Servers and HP Solution Innovation Center
HP TechTour 2015
Overview of the HP
ProLiant Value Add tools
Lab
Objectives
At the end of the Lab students should be able to install all value add tools part of the CMP
and SPP, delivered on the HP SDR and use some of the tools to manage the hardware
configuration of their ProLiant server.
Expected duration : 100 minutes
© Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 2 of 33
HP
HP Servers and HP Solution Innovation Center
HP TechTour 2015
Reference documents
When dealing with the installation and configuration of HP ProLiant servers, the first
approach is to look at some reference documents:
The main Documentation for the SDR at http://downloads.linux.hp.com/SDR/. The
presentation around HP ProLiant value add tools contains some command line examples. A
copy is available at http://fr.slideshare.net/eurolinux/hp-proliant-value-add-tools.
Some reference documentation pages available from HP web site:
• HP ProLiant Servers - Updating the Server Firmware ROM:
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?
lang=en&cc=us&taskId=115&prodSeriesId=5177957&prodTypeId=15351&objectID=c00719376
• Linux best practices using HP Service Pack for ProLiant (SPP) and Software Delivery
Repository (SDR):
http://www8.hp.com/h20195/v2/GetDocument.aspx?docname=4AA5-0831ENW
• HP ProLiant Servers - Configuring SNMP on Linux Based Operating Systems:
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?
lang=en&cc=us&taskId=115&prodSeriesId=5177957&prodTypeId=15351&objectID=c03108867
• Linux Best Management Practices: HP ProLiant Gen8 Servers and Red Hat
Enterprise Linux:
http://h50146.www5.hp.com/products/software/oe/linux/mainstream/support/whitepaper/pdfs/c
03231805.pdf
• HP Scripting Toolkit Linux Edition User Guide:
http://h20564.www2.hp.com/portal/site/hpsc/public/kb/docDisplay/?docId=emr_na-c03894959
• Configuring Arrays on HP Smart Array Controllers Reference Guide:
http://h20566.www2.hp.com/portal/site/hpsc/template.BINARYPORTLET/public/kb/docDisplay/resource.process/?
spf_p.tpst=kbDocDisplay_ws_BI&spf_p.rid_kbDocDisplay=docDisplayResURL&javax.portlet.begCacheTok=com.vignette.c
achetoken&spf_p.rst_kbDocDisplay=wsrp-resourceState%3DdocId%253Demr_na-c00729544-15%257CdocLocale
%253D&javax.portlet.endCacheTok=com.vignette.cachetoken
• HP iLO 4 Scripting and Command Line Guide:
http://h20566.www2.hp.com/portal/site/hpsc/template.BINARYPORTLET/public/kb/docDisplay/resource.process/?
spf_p.tpst=kbDocDisplay_ws_BI&spf_p.rid_kbDocDisplay=docDisplayResURL&javax.portlet.begCacheTok=com.vignette.c
achetoken&spf_p.rst_kbDocDisplay=wsrp-resourceState%3DdocId%253Demr_na-c03334058-12%257CdocLocale
%253Den_US&javax.portlet.endCacheTok=com.vignette.cachetoken
• HP RESTful API:
http://www.hp.com/go/restfulapi
• HP Firmware as RPM:
http://downloads.linux.hp.com/SDR/project/fwpp/fwpp-faq.pdf
© Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 3 of 33
HP
HP Servers and HP Solution Innovation Center
HP TechTour 2015
Estimated time for the lab is placed in front of each part.
Environment setup
Estimated time: 10 minutes
SDR access enablement
The HP SDR is available externally from http://downloads.linux.hp.com/SDR/
This Lab is performed on a Red Hat Enterprise Linux 6.4 distribution. As most of the
content is also available from the repository for other Linux distributions, you can run it as
well (with due adaptations !) on all the enabled distributions such as CentOS, OEL, Ubuntu
or supported like SuSE Linux Enterprise Server.
You may want to use the add_repo.sh script provided there in order to setup your
installation. For that, download the file under your home directory.
You'll also need for RHEL additional packages not necessarily installed on the base
distribution, but which are brought by yum, providing you have a link to a Satellite server or
a yum repository with appropriate content.
This lab doesn't give all the commands necessary, as some aspects must be discovered by
the Lab attendees and this will help them learn more by finding themselves the solutions
to the small issues they may find. Could be lack of packages, Linux rights aspects, ...
Bug reports on this material welcome ;-) Enjoy !
# cd /root
# yum install -y wget
# wget http://downloads.linux.hp.com/SDR/add_repo.sh
Resolving downloads.linux.hp.com... 15.201.202.86
Connecting to downloads.linux.hp.com|15.201.202.86|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 21980 (21K) [application/x-sh]
Saving to: “add_repo.sh”
100%[================================>] 21,980 57.9K/s in 0.4s
2013-03-23 18:15:36 (57.9 KB/s) - “add_repo sh” saved [21980/21980]
# ./add_repo.sh spp
note : You must read and accept the License Agreement to continue.
Press enter to display it ...
END USER LICENSE AGREEMENT
[...]
# ./add_repo.sh stk # not for RHEL 7.0 as of 2015-02-05
# ./add_repo.sh hpsum
© Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 4 of 33
HP
HP Servers and HP Solution Innovation Center
HP TechTour 2015
Then use yum to update the indexes with the new repositories. Check what has been
created under the /etc/yum.repos.d directory. Verify that everything is behaving as
expected (hint: yum search hp | grep -E '^hp').
If you have issues running the add_repo script, consider rights of the script and required
dependency (lsb package typically). If the previous command doesn't output something,
launch it first without the | grep part..
From now on, the Lab is “à la carte” ;-) Which means you can take one of the following part
at will and try to do it
Note that depending on the RHEL version or the tools versions, the traces you can get may
differ in details such as version umber e.g.
Managing HP ProLiant servers with the MCP
Command line management
Estimated time: 50 minutes
We will first discover what command lines utilities are available to manage HP ProLiant
servers under Linux. These are gathered in a few packages:
# yum install hp-health hpssacli hponcfg
Loaded plugins: product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Install Process
Package hponcfg-4.1.0-0.noarch already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package hp-health.x86_64 0:9.31-1572.3.rhel6 will be installed
---> Package hpssacli.x86_64 0:1.60-17.0 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
==========================================================================
Package Arch Version Repository Size
==========================================================================
Installing:
hp-health x86_64 9.40-1602.44.rhel6 HP-SPP 565 k
hpssacli x86_64 1.60-17.0 HP-SPP 6.5 M
Transaction Summary
==========================================================================
Install 2 Package(s)
Total download size: 7.0 M
Installed size: 20 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): hp-health-9.40-1602.44.rhel6.x86_64.rpm | 565 kB 00:02
© Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 5 of 33
HP
HP Servers and HP Solution Innovation Center
HP TechTour 2015
(2/2): hpssacli-1.60-17.0.x86_64.rpm | 6.5 MB 00:02
--------------------------------------------------------------------------
Total 1.5 MB/s | 7.0 MB 00:04
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : hpssacli-1.60-17.0.x86_64 1/2
DOWNGRADE NOTE: To downgrade this application to any version prior to
9.10.x.x, the current RPM must be manually uninstalled using the "rpm -e"
command before any prior versions can be installed.
[...]
Installing : hp-health-9.40-1602.44.rhel6.x86_64
2/2
Please read the Licence Agreement for this software at
/opt/hp/hp-health/hp-health.license
By not removing this package, you are accepting the terms
of the "HP Proliant Essentials Software End User License Agreement".
Using Proliant Standard
IPMI based System Health Monitor
Starting Proliant Standard
IPMI based System Health Monitor (hpasmlited): [ OK ]
Starting HP Advanced Server Recovery Daemon [ OK ]
The hp-health RPM has installed successfully.
Installed products updated.
Verifying : hp-health-9.31-1572.3.rhel6.x86_64 1/2
Verifying : hpssacli-1.60-17.0.x86_64 2/2
Installed:
hp-health.x86_64 0:9.40-1622.44.rhel6 hpssacli.x86_64 0:1.60-17.0
Complete!
Now is time to use some of these commands to get information on your ProLiant Server
(Hardware logs, Blue Light), and also to modify its configuration:
# hplog -v | head
ID Severity Initial Time Update Time Count
-------------------------------------------------------------
0000 Information 08:28 05/28/2011 08:28 05/28/2011 0001
LOG: Maintenance note: IML cleared through hpasmcli
0001 Repaired 00:00 00/00/0000 15:01 07/01/2011 0001
LOG: System Power Supply: General Failure (Power Supply 1)
0002 Caution 14:39 07/01/2011 14:39 07/01/2011 0001
© Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 6 of 33
HP
HP Servers and HP Solution Innovation Center
HP TechTour 2015
This command is similar to hpasmcli -s "show iml" | head.
# hplog -a STATUS
Current ASR Status is ENABLED and the timeout value is 10
# man hplog
ASR manipulation can also be achieved with the hpasmcli -s "show asr". Use the set
option to modify values
# hpuid -s
OFF
# hpuid -e
# hpuid -s
ON
# hpuid -d
# man hpuid
Similarly, UID manipulation can also be achieved with the hpasmcli -s "show uid".
Use the set option to modify values
# hpasmcli -s "show ipl"
IPL (Standard Boot Order)
-------------------------
#0 CDROM
#1 PXE
#2 HDD
IPL however can't be modified by hpasmcli. Use for that the hpbootcfg command.
# hpbootcfg -H
03 00: Harddrive first, normal boot process
# hpbootcfg -C
02 00: CD ROM first, normal boot process
# hpbootcfg -P
40 00: Normal Device first, one time boot to PXE
# hpbootcfg -D
00 00: Normal Device first, normal boot process
# man hpbootcfg
You may want to verify the new configuration by rebooting the server. Another command
will be detailed later on to modify fully the boot order from the SmartStart Scripting
Toolkit.
# hpasmcli -s "show asr"
ASR timeout is 10 minutes.
ASR is currently enabled.
# hpasmcli -s "disable asr"
© Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 7 of 33
HP
HP Servers and HP Solution Innovation Center
HP TechTour 2015
Successfully disabled ASR timer.
# hpasmcli -s "enable asr"
Successfully enabled ASR timer.
# man hpasmcli
We'll now interact with the Insight Lights Out component on the server with the hponcfg
utiliy.
# hponcfg -g
HP Lights-Out Online Configuration utility
Version 4.4.0 Date 06/13/2014 (c) Hewlett-Packard Company, 2014
Firmware Revision = 2.03 Device type = iLO 4 Driver name = hpilo
Host Information:
Server Name: host is unnamed
Server Number:
# hponcfg -a -w /tmp/ilo.xml
HP Lights-Out Online Configuration utility
Version 4.4.0 Date 06/13/2014 (c) Hewlett-Packard Company, 2014
Firmware Revision = 2.03 Device type = iLO 4 Driver name = hpilo
Management Processor configuration is successfully written to file
"/tmp/ilo.xml"
# cat /tmp/ilo.xml
<!-- HPONCFG VERSION = "4.4.0" -->
<!-- Device: iLO4 Firmware Version : 2.03 -->
<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"/>
<DHCP_ENABLE VALUE="Y"/>
[...]
<DNS_NAME VALUE="ILOCZ3223LAA2"/>
[...]
Now we'll use the same command to modify the value of the DNS name of this iLO board,
after we removed the account info which would create a problem.
# perl -pi -e 
's/DNS_NAME VALUE="ILOCZ3223LAA2"/DNS_NAME VALUE="MyPersonaliLO"/' 
/tmp/ilo.xml
# grep DNS_NAME /tmp/ilo.xml
<DNS_NAME VALUE="MyPersonaliLO"/>
# perl -pi -e 's/^.*user_password.*$//' /tmp/ilo.xml
# perl -pi -e 's/^.*SSO_INFO.*//' /tmp/ilo.xml
# hponcfg -f /tmp/ilo.xml
HP Lights-Out Online Configuration utility
© Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 8 of 33
HP
HP Servers and HP Solution Innovation Center
HP TechTour 2015
Version 4.4.0 Date 06/13/2014 (c) Hewlett-Packard Company, 2014
Firmware Revision = 2.03 Device type = iLO 4 Driver name = hpilo
<INFORM>Integrated Lights-Out will reset at the end of the
script.</INFORM>
[...]
Please wait while the firmware is reset. This might take a minute
Script succeeded
Check by logging to your iLO that the new name is now in usage. Or use hponcfg again.
Another way to interact with the iLO is to use the locfg.pl perl script available from the
page
http://h20565.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/swdDetails/?
spf_p.tpst=swdMain&spf_p.prp_swdMain=wsrp-navigationalState%3Didx%253D
%257CswItem%253DMTX_e8dbfeb5c88c4689a2958de054%257CswEnvOID%253D
%257CitemLocale%253D%257CswLang%253D%257Cmode%253D%257Caction
%253DdriverDocument&javax.portlet.begCacheTok=com.vignette.cachetoken&javax.portl
et.endCacheTok=com.vignette.cachetoken and which allow remote modification of the iLO
configuration, providing you have the appropriate credential, which the hponcfg command
doesn't require as using the hpilo driver to dialog with the iLO board.
Finally from the command line, we will interact with the Smart Array Controller.
# hpssacli ctrl all show
Smart Array P244br in Slot 0 (Embedded) (sn: PDZVU0HLM7N0AR)
# hpssacli ctrl slot=0 show
Smart Array P244br in Slot 0 (Embedded)
Bus Interface: PCI
Slot: 0
Serial Number: PDZVU0HLM7N0AR
Cache Serial Number: PDZVU0HLM7N0AR
RAID 6 (ADG) Status: Enabled
Controller Status: OK
Hardware Revision: B
Firmware Version: 1.18
Rebuild Priority: High
Expand Priority: Medium
Surface Scan Delay: 3 secs
Surface Scan Mode: Idle
Queue Depth: Automatic
Monitor and Performance Delay: 60 min
Elevator Sort: Enabled
Degraded Performance Optimization: Disabled
Inconsistency Repair Policy: Disabled
Wait for Cache Room: Disabled
Surface Analysis Inconsistency Notification: Disabled
Post Prompt Timeout: 15 secs
Cache Board Present: True
© Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 9 of 33
HP
HP Servers and HP Solution Innovation Center
HP TechTour 2015
Cache Status: OK
Cache Ratio: 10% Read / 90% Write
Drive Write Cache: Disabled
Total Cache Size: 1024 MB
Total Cache Memory Available: 792 MB
No-Battery Write Cache: Disabled
SSD Caching RAID5 WriteBack Enabled: True
SSD Caching Version: 2
Cache Backup Power Source: Batteries
Battery/Capacitor Count: 1
Battery/Capacitor Status: OK
SATA NCQ Supported: True
Spare Activation Mode: Activate on physical drive failure (default)
Controller Temperature (C): 44
Cache Module Temperature (C): 34
Number of Ports: 1 Internal only
Encryption: Disabled
Encryption Login Status: Not Logged In
Encryption Allow Plaintext Volumes: Disallow
Encryption Key Management Mode: Not Set
Encryption Supported: True
Encryption RTC SRAM Status: Passed
Encryption Master Key reset in Progress: False
Encryption Local Key Cache Enabled: False
Encryption Crypto Officer Password: Not Set
Encryption User Password: Not Set
Encryption License Installed: True
Encryption FW Locked for Update: Unlocked
Encryption Controller Password: Not Set
Encryption Local Key Cache Supported: True
Encryption Controller Locked: Unlocked
Encryption Has Suspended Controller Password: False
Encryption Controller Password Unlock Attempts Remaining: 0
Encryption Logical Drive(s) Locked For Missing Controller Password:
False
Encryption Password Recovery Parameters Set: False
Encryption Master Key: Not Set
Encryption Remote Mode Master Key Mismatch: False
Encryption/HP SSD Smart Path Mixing Supported: True
Encryption/HP SmartCache Mixing Supported: False
Driver Name: hpsa
Driver Version: 3.4.2
Driver Supports HP SSD Smart Path: False
Negotiated PCIe Data Rate: PCIe 3.0 x4 (3940 MB/s)
Controller Mode: SmartArray
Controller Mode Reboot: Not Required
Latency Scheduler Setting: Disabled
Current Power Mode: MaxPerformance
# hpssacli ctrl slot=0 array all show detail
Smart Array P244br in Slot 0 (Embedded)
© Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 10 of 33
HP
HP Servers and HP Solution Innovation Center
HP TechTour 2015
Array: A
Interface Type: SAS
Unused Space: 0 MB
Status: OK
Array Type: Data
HP SSD Smart Path: disable
# hpssacli ctrl slot=0 pd all show
Smart Array P244br in Slot 0 (Embedded)
array A
physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 500 GB, OK)
physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 500 GB, OK)
# hpssacli ctrl slot=0 pd all show detail
array A
physicaldrive 1I:1:1
Port: 1I
Box: 1
Bay: 1
Status: OK
Drive Type: Data Drive
Interface Type: SAS
Size: 500 GB
Native Block Size: 512
Rotational Speed: 7200
Firmware Revision: HPD8
Serial Number: 9XF39XCY0000W512D24J
Model: HP MM0500FBFVQ
Current Temperature (C): 28
Maximum Temperature (C): 33
PHY Count: 2
PHY Transfer Rate: 6.0Gbps, Unknown
Drive Authentication Status: OK
Carrier Application Version: 11
Carrier Bootloader Version: 6
physicaldrive 1I:1:2
[...]
# hpssacli ctrl slot=0 ld all show detail
Smart Array P244br in Slot 0 (Embedded)
array A
© Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 11 of 33
HP
HP Servers and HP Solution Innovation Center
HP TechTour 2015
Logical Drive: 1
Size: 465.7 GB
Fault Tolerance: 1
Heads: 255
Sectors Per Track: 32
Cylinders: 65535
Strip Size: 512 KB
Full Stripe Size: 512 KB
Status: OK
Caching: Enabled
Unique Identifier: 600508B1001CE8448DA62DD86BA751A2
Disk Name: /dev/sda Mount Points: /boot/efi 200 MB
Partition Number 2, /boot 500 MB Partition Number 3
OS Status: LOCKED
Logical Drive Label: 0046D469PDZVU0HLM7N0AR9F6A
Mirror Group 0:
physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 500 GB, OK)
Mirror Group 1:
physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 500 GB, OK)
Drive Type: Data
LD Acceleration Method: Controller Cache
# hpssacli ctrl slot=0 array A modify led=on duration=600
# hpssacli help
# hpssacli help modify
We can now try to see the impact of some parameters on the I/O:
# rm -f /tmp/10000MB ; dd if=/dev/zero of=/tmp/10000MB bs=1M count=10000
10000+0 records in
10000+0 records out
10485760000 bytes (10 GB) copied, 42.4848 s, 247 MB/s
# hpssacli ctrl slot=0 modify cacheratio=100/0
# rm -f /tmp/10000MB ; dd if=/tmp/10000MB of=/tmp/dest bs=1M count=512
512+0 records in
512+0 records out
536870912 bytes (537 MB) copied, 0.503862 s, 1.1 GB/s
# hpssacli ctrl slot=0 modify cacheratio=0/100
# rm -f /tmp/10000MB ; dd if=/tmp/10000MB of=/tmp/dest bs=1M count=512
512+0 records in
512+0 records out
536870912 bytes (537 MB) copied, 0.730994 s, 734 MB/s
# hpssacli ctrl slot=0 modify cacheratio=25/75
# rm -f /tmp/10000MB ; dd if=/tmp/10000MB of=/tmp/dest bs=1M count=512
512+0 records in
512+0 records out
536870912 bytes (537 MB) copied, 0.631807 s, 850 MB/s
You may want to repeat the dd command many times to see fluctuations, and change the
size to see cache impact.
# hpssacli ctrl slot=0 modify rebuildpriority=high
# hpssacli ctrl slot=0 ld all show detail | grep -i strip
© Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 12 of 33
HP
HP Servers and HP Solution Innovation Center
HP TechTour 2015
Strip Size: 512 KB
Full Stripe Size: 512 KB
# hpssacli ctrl slot=0 logicaldrive 1 modify raid=1 stripsize=1024
# hpssacli ctrl slot=0 ld all show detail | grep -i strip
Strip Size: 1024 KB
Full Stripe Size: 1024 KB
# sync ; cat /proc/interrupts | grep hpsa
77: 5804 0 0 1000 0 823
IR-PCI-MSI-edge hpsa0
78: 1161 0 0 0 139 2530
IR-PCI-MSI-edge hpsa0
79: 367 2326 0 0 0 0
IR-PCI-MSI-edge hpsa0
80: 683 0 1886 0 0 0
IR-PCI-MSI-edge hpsa0
81: 1390 0 0 1710 0 5345
IR-PCI-MSI-edge hpsa0
82: 290 0 0 0 7756 0
IR-PCI-MSI-edge hpsa0
83: 0 0 0 0 0 0
IR-PCI-MSI-edge hpsa0
84: 0 0 0 0 0 0
IR-PCI-MSI-edge hpsa0
# rm -f /tmp/10000MB ; dd if=/tmp/10000MB of=/tmp/dest bs=1M count=512
512+0 records in
512+0 records out
536870912 bytes (537 MB) copied, 0.625692 s, 858 MB/s
# sync ; cat /proc/interrupts | grep hpsa
77: 5804 0 0 1000 0 1110
IR-PCI-MSI-edge hpsa0
78: 1161 0 0 0 139 2788
IR-PCI-MSI-edge hpsa0
79: 583 2326 0 0 0 0
IR-PCI-MSI-edge hpsa0
80: 683 0 1886 0 0 0
IR-PCI-MSI-edge hpsa0
81: 1390 0 0 1710 0 5345
IR-PCI-MSI-edge hpsa0
82: 554 0 0 0 7756 0
IR-PCI-MSI-edge hpsa0
83: 0 0 0 0 0 0
IR-PCI-MSI-edge hpsa0
84: 0 0 0 0 0 0
IR-PCI-MSI-edge hpsa0
# hpssacli ctrl slot=0 logicaldrive 1 modify raid=1 stripsize=256
# sync ; cat /proc/interrupts | grep hpsa
77: 5804 23 0 1000 0 1110
IR-PCI-MSI-edge hpsa0
78: 1161 0 0 25 139 2788
IR-PCI-MSI-edge hpsa0
© Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 13 of 33
HP
HP Servers and HP Solution Innovation Center
HP TechTour 2015
79: 610 2326 0 0 0 0
IR-PCI-MSI-edge hpsa0
80: 683 0 1915 0 0 0
IR-PCI-MSI-edge hpsa0
81: 1394 0 0 1710 0 5345
IR-PCI-MSI-edge hpsa0
82: 560 0 0 0 7756 0
IR-PCI-MSI-edge hpsa0
83: 0 0 0 0 0 0
IR-PCI-MSI-edge hpsa0
84: 0 0 0 0 0 0
IR-PCI-MSI-edge hpsa0
# rm -f /tmp/10000MB ; dd if=/tmp/10000MB of=/tmp/dest bs=1M count=512
512+0 records in
512+0 records out
536870912 bytes (537 MB) copied, 0.646091 s, 831 MB/s
# sync ; cat /proc/interrupts | grep hpsa
77: 5804 358 0 1000 0 1110
IR-PCI-MSI-edge hpsa0
78: 1161 0 0 420 139 2788
IR-PCI-MSI-edge hpsa0
79: 749 2326 0 0 0 0
IR-PCI-MSI-edge hpsa0
80: 683 0 2091 0 0 0
IR-PCI-MSI-edge hpsa0
81: 1394 0 0 1710 0 5345
IR-PCI-MSI-edge hpsa0
82: 562 0 0 0 7756 0
IR-PCI-MSI-edge hpsa0
83: 0 0 0 0 0 0
IR-PCI-MSI-edge hpsa0
84: 0 0 0 0 0 0
IR-PCI-MSI-edge hpsa0
Look at the differences you get between the 2 configurations and make deductions about
the impact of stripe size on processing interrupts on your system. Change the parameters
to see more differences and pay attention to cache effects.
SNMP management
Estimated time: 10 minutes
We will now configure the SNMP stack and then install the client agent to query the snmpd
server.
# yum install hp-snmp-agents
[...]
# /sbin/hpsnmpconfig
You will now be asked a series of SNMP configuration questions. How you
answer these question will affect the way SNMP behaves. Configuring SNMP
could have security implications on your system. If you are not sure how
© Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 14 of 33
HP
HP Servers and HP Solution Innovation Center
HP TechTour 2015
to answer a question, you can abort by pressing <Ctrl-c> and no changes
will be made to your SNMP configuration.
Enter the localhost SNMP Read/Write community string
(one word, required, no default): private
Re-enter the same input to confirm: private
ACCEPTED: inputs match!
Enter localhost SNMP Read Only community string
(one word, Blank to skip): public
Re-enter the same input to confirm: public
ACCEPTED: inputs match!
Enter Read/Write Authorized Management Station IP or DNS name
(Blank to skip):
Enter Read Only Authorized Management Station IP or DNS name
(Blank to skip):
Enter default SNMP trap community string
(One word; Blank to skip):
Enter SNMP trap destination IP or DNS name
(One word; Blank to skip):
The system contact is set to
syscontact Root <root@localhost> (configure /etc/snmp/snmp.local.conf)
Do you wish to change it (y/n) (Blank is n):
The system location is set to
syslocation Unknown (edit /etc/snmp/snmpd.conf)
Do you wish to change it (y/n) (Blank is n):
# /etc/init.d/hp-snmp-agents start
Starting Health agent (cmahealthd): [ OK ]
Starting Standard Equipment agent (cmastdeqd): [ OK ]
Starting Host agent (cmahostd): [ OK ]
Starting Threshold agent (cmathreshd): [ OK ]
Starting RIB agent (cmasm2d): [ OK ]
Starting Performance agent (cmaperfd): [ OK ]
Starting SNMP Peer (cmapeerd): [ OK ]
Starting Storage Event Logger (cmaeventd): [ OK ]
Starting FCA agent (cmafcad): [ OK ]
Starting SAS agent (cmasasd): [ OK ]
Starting IDA agent (cmaidad): [ OK ]
Starting IDE agent (cmaided): [ OK ]
Starting SCSI agent (cmascsid): [ OK ]
Starting NIC Agent Daemon (cmanicd): [ OK ]
# systemctl start snmpd # on RHEL7
# yum install net-snmp-utils
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package net-snmp-utils.x86_64 1:5.5-44.el6 will be installed
--> Finished Dependency Resolution
==========================================================================
Package Arch Version Repository Size
==========================================================================
© Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 15 of 33
HP
HP Servers and HP Solution Innovation Center
HP TechTour 2015
Installing:
net-snmp-utils x86_64 1:5.5-44.el6 rhel 171 k
Transaction Summary
==========================================================================
Install 1 Package(s)
Total download size: 171 k
Installed size: 362 k
Is this ok [y/N]: y
Downloading Packages:
net-snmp-utils-5.5-44.el6.x86_64.rpm | 171 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : 1:net-snmp-utils-5.5-44.el6.x86_64 1/1
Verifying : 1:net-snmp-utils-5.5-44.el6.x86_64 1/1
Installed:
net-snmp-utils.x86_64 1:5.5-44.el6
Transaction Summary
==========================================================================
Install 1 Package(s)
Total download size: 171 k
Complete!
You can now explore the MIB to get values specific to HP ProLiant servers.
# snmpget -v 2c -c public localhost SNMPv2-
SMI::enterprises.232.2.2.13.1.1.7.1
SNMPv2-SMI::enterprises.232.2.2.13.1.1.7.1 = STRING: "BladeSystem c7000
Enclosure G3"
# snmpwalk -v 2c -c public localhost SNMPv2-SMI::enterprises.232
[...]
You can continue to query the MIB for various values. For more information, look at
http://www.oidview.com/mibs/232/md-232-1.html in order to have a better idea of the
value that you can query and check their result on your system.
Web based management
Estimated time: 15 minutes
We will first install the additional components needed for this part:
# yum install hpsmh hpdiags hpssa hp-smh-templates
Loaded plugins: product-id, security, subscription-manager
Updating certificate-based repositories.
© Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 16 of 33
HP
HP Servers and HP Solution Innovation Center
HP TechTour 2015
Unable to read consumer identity
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package cpqacuxe.x86_64 0:9.40-12.0 will be installed
---> Package hp-smh-templates.noarch 0:9.4.0-1327.37 will be installed
--> Processing Dependency: hp-snmp-agents for package: hp-smh-templates-
9.4.0-1327.37.noarch
---> Package hpdiags.x86_64 0:9.5.0-938 will be installed
---> Package hpsmh.x86_64 0:7.2.2-8 will be installed
--> Running transaction check
---> Package hp-snmp-agents.x86_64 0:9.40-2506.37.rhel6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
==========================================================================
Package Arch Version Repository Size
==========================================================================
Installing:
hpssa x86_64 9.40-12.0 HP-spp 5.6 M
hp-smh-templates noarch 9.4.0-1327.37 HP-spp 3.5 M
hpdiags x86_64 9.5.0-938 HP-spp 15 M
hpsmh x86_64 7.2.2-8 HP-spp 13 M
Installing for dependencies:
hp-snmp-agents x86_64 9.40-2506.37.rhel6 HP-spp 963 k
Transaction Summary
==========================================================================
Install 5 Package(s)
Total download size: 38 M
Installed size: 156 M
Is this ok [y/N]: y
Downloading Package
(1/5): hpssa-1.60-17.0.x86_64.rpm | 5.6 MB 00:09
(2/5): hp-smh-templates-9.4.0-1327.37.noarch.rpm | 3.5 MB 00:02
(3/5): hp-snmp-agents-9.40-2506.37.rhel6.x86_64.rpm | 963 kB 00:00
(4/5): hpdiags-9.5.0-938.linux.x86_64.rpm s: | 15 MB 00:14
(5/5): hpsmh-7.2.2-8.x86_64.rpm | 13 MB 00:12
--------------------------------------------------------------------------
Total 3.7 MB/s | 39 MB 00:37
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : hpsmh-7.2.2-8.x86_64 1/5
Detected Red Hat Enterprise Linux AS/ES/WS/SERVER 6
Created hpsmh user and group...
**********************************************************
* System Management Homepage installed successfully with *
* default configuration values. To change the default *
© Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 17 of 33
HP
HP Servers and HP Solution Innovation Center
HP TechTour 2015
* configuration values, type the following command at *
* the root prompt: *
* *
* /opt/hp/hpsmh/sbin/smhconfig *
* *
**********************************************************
[...]
Complete!
# hpssa -start
HP Smart Storage Administrator 1.60.17.0
The HP Smart Storage Administrator daemon has started.
If the smh daemon has been launched during the install process, then you need to restart
it after again to have the hpssa integration working:
# /etc/init.d/hpsmhd restart
Log on the SMH at https://your-ip-address:2381. You can navigate through the
interface to explore what it provides in term of information.
© Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 18 of 33
HP
HP Servers and HP Solution Innovation Center
HP TechTour 2015
Using HP SUM (Smart Update Manager)
Estimated time: 10 minutes
We will first install the additional components needed for this part:
# yum install hpsum
[...]
Setting up Install Process
Resolving Dependencies
Skipping filters plugin, no data
--> Running transaction check
---> Package hpsum.x86_64 0:6.3.1-2.rhel6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=========================================================================
Package Arch Version Repository Size
=========================================================================
Installing:
hpsum x86_64 6.3.1-2.rhel6 HP-hpsum 108 M
Transaction Summary
=========================================================================
Install 1 Package(s)
© Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 19 of 33
HP
HP Servers and HP Solution Innovation Center
HP TechTour 2015
Total download size: 108 M
Installed size: 708 M
Is this ok [y/N]: y
Downloading Packages:
hpsum-6.3.1-2.rhel6.x86_64.rpm | 108 MB 00:32
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : hpsum-6.3.1-2.rhel6.x86_64 1/1
Please read the Licence Agreement for this software at
/opt/hp/hpsum/hpsum.license
By not removing this package, you are accepting the terms
of the "HP Proliant Essentials Software End User License Agreement".
The HPSUM RPM has installed successfully.
Verifying : hpsum-6.3.1-2.rhel6.x86_64 1/1
Installed:
hpsum.x86_64 0:6.3.1-2.rhel6
Complete!
# hpsum&
Again explore the different possibilities brought by hpsum in GUI mode. Also have a look at
the man page of this command which will give you an idea of what can be automated with
it.
Using the HP RESTful API
Estimated time: 10 minutes (Kudos to Terry Young for the content)
We will first install the additional component needed for this part:
# yum install hprest
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following NEW package is going to be installed:
hprest
The following package is not supported by its vendor:
hprest
1 new package to install.
Overall download size: 10.4 MiB. After the operation, additional 10.6 MiB
will be used.
Continue? [y/n/?] (y):
© Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 20 of 33
HP
HP Servers and HP Solution Innovation Center
HP TechTour 2015
Retrieving package hprest-1.1-41.x86_64 (1/1), 12.4 MiB (12.6 MiB
unpacked)
Retrieving package hprest-1.1-41.x86_64 (1/1), 12.4 MiB (12.6 MiB
unpacked)
Installing: hprest-1.1-41 [done]
# hprest login https://ilolabX.labossi.hpintelco.org –-user=demopaq
--password=password
hprest : HP RESTful Interface Tool version 1.0.0
Copyright (c) 2014 Hewlett Packard Development Company L.P.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
------
Discovering................................Done
WARNING: Cache is activated session keys are stored in plaintext
# hprest types
hprest : HP RESTful Interface Tool version 1.0.0
Copyright (c) 2014 Hewlett Packard Development Company L.P.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
------
Type options:
AccountService.0.9.5
Chassis.0.9.5
Collection.0.9.5
ComputerSystem.0.9.5
EthernetNetworkInterface.0.9.5
ExtendedError.0.9.5
HpBaseConfigs.0.9.5
HpBios.1.0.0
HpBiosMapping.1.0.0
HpSecureBoot.0.9.5
HpServerBootSettings.1.0.0
HpServerPCISlot.0.9.5
HpServerPciDevice.0.9.5
HpiLODateTime.0.9.5
HpiLOEmbeddedMedia.0.9.5
HpiLOFederatedGroupCapping.0.9.5
HpiLOFederationGroup.0.9.5
HpiLOFederationPeers.0.9.5
HpiLOFirmwareUpdate.0.9.5
HpiLOLicense.0.9.5
Manager.0.9.5
ManagerAccount.0.9.5
ManagerNetworkService.0.9.5
Power.0.9.5
ProviderURIList.0.9.5
SchemaFile.0.9.5
ServiceRoot.0.9.5
Session.0.9.5
SnmpService.0.9.5
© Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 21 of 33
HP
HP Servers and HP Solution Innovation Center
HP TechTour 2015
ThermalMetrics.0.9.5
VirtualMedia.0.9.5
# hprest select ServiceRoot.0.9.5
hprest : HP RESTful Interface Tool version 1.0.0
Copyright (c) 2014 Hewlett Packard Development Company L.P.
# hprest list
hprest : HP RESTful Interface Tool version 1.0.0
Copyright (c) 2014 Hewlett Packard Development Company L.P.
--------------------------------------------------------------------------
Name=HP RESTful Root Service
links
Managers
href=/rest/v1/Managers
Sessions
href=/rest/v1/Sessions
AccountService
href=/rest/v1/AccountService
self
href=/rest/v1/root
Chassis
href=/rest/v1/Chassis
Systems
href=/rest/v1/Systems
Schemas
href=/rest/v1/Schemas
Registries
href=/rest/v1/Registries
ServiceVersion=0.9.5
Oem
Hp
Manager
ManagerFirmwareVersion=2.03
HostName=ILOCZ250211YL
ManagerType=iLO 4
Blade
EnclosureName=LabOSSI
RackName=Z8R1U25
BayNumber=Bay 4
FQDN=ILOCZ250211YL.
DefaultLanguage=en
Languages
Version=2.03
Language=en
TranslationName=English
Type=HpiLOServiceExt.0.9.5
links
Providers
href=/rest/v1/Providers
Sessions
LocalLoginEnabled=True
LoginFailureDelay=0
© Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 22 of 33
HP
HP Servers and HP Solution Innovation Center
HP TechTour 2015
LDAPAuthLicenced=False
KerberosEnabled=False
ServerName=lab4-2.labossi.hpintelco.org
SecurityOverride=False
CertCommonName=ILOCZ250211YL
LoginHint
HintPOSTData
UserName=username
Password=password
Hint=POST to /Sessions to login using the
following JSON object:
LDAPEnabled=False
Time=2015-02-03T18:15:18Z
Type=ServiceRoot.0.9.5
If you have the following types, you can continue with this:
# hprest select HpBios.1.1.0
# hprest list
hprest : HP RESTful Interface Tool version 1.0.0
Copyright (c) 2014 Hewlett Packard Development Company L.P.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
------
MemFastTraining=Enabled
PowerRegulator=DynamicPowerSavings
EmbeddedDiagnostics=Enabled
UrlBootFile=""
[...]
SerialConsoleEmulation=Vt100Plus
Description=This is the Platform/BIOS Configuration (RBSU) Pending
Settings
AcpiRootBridgePxm=Enabled
NicBoot1=NetworkBoot
CustomPostMessage=""
RedundantPowerSupply=BalancedMode
TpmState=NotPresent
CollabPowerControl=Enabled
# hprest get AdminName --selector HpBios.1.1.0
hprest : HP RESTful Interface Tool version 1.0.0
Copyright (c) 2014 Hewlett Packard Development Company L.P.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
------
AdminName=""
# hprest set AdminName="Pinguin"
# hprest get AdminName --selector HpBios.1.1.0
# hprest status
# hprest commit
# hprest exit
© Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 23 of 33
HP
HP Servers and HP Solution Innovation Center
HP TechTour 2015
You may also want to see how this looks like from your browser. For that point it to the
URL: https://10.3.222.10X/rest/v1
From there you can also navigate through the various types.
Usig RPM based Firmware updates
Estimated time: 10 minutes
Since April 2015, HP is delivering firmware update under a package format (RPM for now).
This will be the new preferred format for delivering firmware update going forward. You
can use the latest hpsum (starting with 7.2.0) to deploy them as the simplest way.
# hpsum info
hpsum : HP Smart Update Manager Version 6.5.0
Copyright (c) 2013-2014 Hewlett Packard Development Company L.P.
Model: ProLiant BL460c Gen9, ROM: I36, ROM Version: 12/24/2014
--------------------------------------------------------------------------
--------------------------------------------------------------------------
------
Searching for firmware
ERROR :
No firmware found
Did you install software using using yum/zypper/apt
# yum list hp-firmware'*'
Loaded plugins: product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can
use subscription-manager to register.
Available Packages
hp-firmware-43d7eff89e.i386 15.10.07.00-2 HP-spp
hp-firmware-52de99d707.i386 HPD8-1.1 HP-spp
hp-firmware-72e5d6942f.i386 HPG4-1.1 HP-spp
hp-firmware-a8d1969535.x86_64 HPD6-1.1 HP-spp
hp-firmware-b923956874.i386 HPG5-1.1 HP-spp
hp-firmware-cna-emulex.x86_64 2015.06.01-1.1 HP-spp
hp-firmware-e4f5b5c9a7.i386 HPG5-1.1 HP-spp
hp-firmware-ef3ea1e703.x86_64 HPG1-1.1 HP-spp
hp-firmware-ef3ea1e703.i386 HPG1-3 HP-spp
hp-firmware-fc-brocade.x86_64 2015.02.01-1.1 HP-spp
hp-firmware-fc-emulex.x86_64 2015.06.01-1.1 HP-spp
hp-firmware-fc-qlogic.x86_64 2015.06.01-1.1 HP-spp
[...]
hp-firmware-hdd-009c9a2503.x86_64 HPDB-2 HP-spp
[...]
hp-firmware-ilo4.i386 2.20-1.1 HP-spp
hp-firmware-nic-broadcom.x86_64 2.15.10-1.1 HP-spp
[...]
hp-firmware-system-a16.i386 2014.09.03-3 HP-spp
[...]
# yum install -y hp-firmware-ilo4.i386
[...]
Installed:
hp-firmware-ilo4.i386 0:2.20-1.1
© Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 24 of 33
HP
HP Servers and HP Solution Innovation Center
HP TechTour 2015
Complete!
# hpsum list
hpsum : HP Smart Update Manager Version 6.5.0
Copyright (c) 2013-2014 Hewlett Packard Development Company L.P.
Model: ProLiant BL460c Gen9, ROM: I36, ROM Version: 12/24/2014
--------------------------------------------------------------------------
Searching for firmware.
Analyzing results.
Info | NAME | VERSION | INSTALLED | TYPE |
--------------------------------------------------------------------------
ieRU1 | ilo4 | 2.20 | 2.03 | ilo4 |
# hpsum query
hpsum : HP Smart Update Manager Version 6.5.0
Copyright (c) 2013-2014 Hewlett Packard Development Company L.P.
Model: ProLiant BL460c Gen9, ROM: I36, ROM Version: 12/24/2014
--------------------------------------------------------------------------
Searching for firmware.
Analyzing results.
ilo4
--------------------------------------------------------------------------
%{RELEASEDATE_SECOND} 1
%{RELEASEDATE_MONTH} 5
%{FIRMWARE_STRING} smartcomponent-linux-firmware-ilo
%{RPMNAME} hp-firmware-ilo4
%{REBOOT_REQUIRED} no
%{VERSIONID} ce9169979cde44eb83035e68a08be8cc
%{RELEASENUM} 1.1
[...]
%{RELEASEDATE_YEAR} 2015
%{REVISION}
# hpsum upgrade
hpsum : HP Smart Update Manager Version 6.5.0
Copyright (c) 2013-2014 Hewlett Packard Development Company L.P.
Model: ProLiant BL460c Gen9, ROM: I36, ROM Version: 12/24/2014
--------------------------------------------------------------------------
Searching for firmware.
Analyzing results.
The following firmware will be applied
HP Integrated Lights-Out 4 2.20
Do you want to apply them? [y] : y
Using IPMI
Estimated time: 10 minutes
We will first install the additional components needed for this part:
# yum install ipmitool
[...]
Setting up Install Process
© Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 25 of 33
HP
HP Servers and HP Solution Innovation Center
HP TechTour 2015
Resolving Dependencies
Skipping filters plugin, no data
--> Running transaction check
---> Package ipmitool.x86_64 0:1.8.13-7.el7 will be installed
--> Processing Dependency: OpenIPMI-modalias for package: ipmitool-1.8.13-
7.el7.x86_64
--> Running transaction check
---> Package OpenIPMI-modalias.x86_64 0:2.0.19-11.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
[...]
Now uses that tool to perform action on your server:
# ipmitool lan print 2
Get Device ID command failed: 0xff Unspecified error
Set in Progress : Set Complete
Auth Type Support :
Auth Type Enable : Callback :
: User :
: Operator :
: Admin :
: OEM :
IP Address Source : DHCP Address
IP Address : 10.3.222.104
Subnet Mask : 255.255.255.0
MAC Address : fc:15:b4:8e:c6:54
SNMP Community String :
BMC ARP Control : ARP Responses Enabled, Gratuitous ARP Disabled
Default Gateway IP : 10.3.222.1
802.1q VLAN ID : Disabled
802.1q VLAN Priority : 0
Cipher Suite Priv Max : Not Available
Additional management tools
Estimated time: 20 minutes
We will first install the additional components needed for this part:
# yum install hp-scripting-tools
Loaded plugins: product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package hp-scripting-tools.i386 0:9.30-13.rhel6 will be installed
--> Processing Dependency: libsysfs.so.2 for package: hp-scripting-tools-
9.30-13.rhel6.i386
--> Running transaction check
---> Package libsysfs.i686 0:2.1.0-6.1.el6 will be installed
--> Finished Dependency Resolution
© Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 26 of 33
HP
HP Servers and HP Solution Innovation Center
HP TechTour 2015
Dependencies Resolved
==========================================================================
Package Arch Version Repository Size
==========================================================================
Installing:
hp-scripting-tools i386 9.50-97.rhel6 HP-Extras 484 k
Transaction Summary
==========================================================================
Install 1 Package(s)
Total download size: 494 k
Installed size: 1.6 M
Is this ok [y/N]: y
Downloading Packages:
(1/1): hp-scripting-tools-9.50-97.rhel6.i686.rpm | 484 kB 00:03
--------------------------------------------------------------------------
Total 171 kB/s | 484 kB 00:03
[...]
Please read the Licence Agreement for this software at
/opt/hp/hp-scripting-tools/hp-scripting-tools.license
By not removing this package, you are accepting the terms
of the "HP Proliant Essentials Software End User License Agreement".
The hp-scripting-tools RPM has installed successfully.
[...]
Complete!
Now use the new commands to see how to make custom scripts acting differently based on
the server type or configuration, store state between reboots, change the boot order,
modify the RBSU configuration and reboot choosing the next one-boot device.
# hp-discovery | grep SystemName
<SystemName>ProLiant BL460c Gen9</SystemName>
# hp-discovery | grep Enclosure # if working on a Blade
<EnclosureName>LabOSSI</EnclosureName>
<EnclosureType>BladeSystem c7000 Enclosure G3</EnclosureType>
<EnclosureSerialNumber>CZJ502086M</EnclosureSerialNumber>
# 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" => "HP Smart Array P244br Controller"
Expression is TRUE
# hp-statemgr -R DOMAIN
0
# hp-statemgr -W DOMAIN 2
2
# hp-statemgr -R DOMAIN
2
© Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 27 of 33
HP
HP Servers and HP Solution Innovation Center
HP TechTour 2015
# hp-setbootorder
Current Boot Order: hd pxe cdrom(none) usb(none) floppy(none)
# hp-setbootorder pxe hd
Current Boot Order: hd pxe cdrom(none) usb(none) floppy(none)
Requested Order: pxe hd
Written Order: pxe hd cdrom(none) usb(none) floppy(none)
# hp-setbootorder
Current Boot Order: pxe hd cdrom(none) usb(none) floppy(none)
# hp-setbootorder hd pxe
Current Boot Order: pxe hd cdrom(none) usb(none) floppy(none)
Requested Order: hd pxe
Written Order: hd pxe cdrom(none) usb(none) floppy(none)
# hp-conrep -s -f /tmp/rcu.xml
conrep 4.1.2.0 - HP Scripting Toolkit Configuration Replication Program
Copyright (c) 2007-2014 Hewlett-Packard Development Company, L.P.
System Type: ProLiant BL460c Gen9
ROM Date : 12/24/2014
ROM Family : I36
Processor Manufacturuer : Intel(R) Corporation
XML System Configuration: /opt/hp/hp-scripting-tools/etc/conrep.xml
Hardware Configuration: /tmp/rcu.xml
Global Restriction: [3.40 ]
OK
Platform check:
: [ProLiant DL120 G7 ] no match
: [ProLiant ML110 G7 ] no match
: [ProLiant DL3 ] no match
: [ProLiant ML3 ] no match
: [ProLiant DL5 ] no match
: [ProLiant ML5 ] no match
: [ProLiant DL7 ] no match
: [ProLiant DL9 ] no match
: [ProLiant BL ] match
: [ProLiant XW ] no match
: [ProLiant WS ] no match
: [ProLiant SE ] no match
: [ProLiant SL4 ] no match
: [ProLiant SL3 ] no match
: [ProLiant SL2 ] no match
: [ProLiant DL160 Gen8 ] no match
: [ProLiant SL160 Gen8 ] no match
: [ProLiant SL140 ] no match
: [ProLiant WS460c Gen8 WS Blade] no match
: [ProLiant MicroServer Gen8] no match
: [StoreEasy ] no match
: [ProLiant ML10 ] no match
: [Gen9 ] match
© Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 28 of 33
HP
HP Servers and HP Solution Innovation Center
HP TechTour 2015
: [ProLiant XL ] no match
Saving configuration data to /tmp/rcu.xml
Conrep Return Code: 0
# grep -A 3 -B 1 -i _logo /tmp/rcu.xml
<Section name="PCI_Bus_Padding_Option_Gen8" helptext="For Gen8 servers
only. Option allows the user to disable the default PCI Bus setting where
each expansion slot is provided an extra PCI Bus number. By default, the
system ROM will pad one PCI bus per bridge to not affect current bus
numbering schemes.">Enabled</Section>
<Section name="Power-on_Logo" helptext="Allows disabling of HP logo at
system boot.">Enabled</Section>
<Section name="Hide_Option_ROM_Messages" helptext="Allows disabling of
Hide Option ROM Messages feature.">Enabled</Section>
<Section name="Redundant_Power_Supply_Mode" helptext="Allows configuring
how the system will handle redundant power supply configs. Balanced mode
shares the power delivery equally between installed power
supplies.">Balanced_Mode</Section>
<Section name="Dynamic_Power_Savings_Mode_Response" helptext="Allows the
system ROM to control processor performance and power state depending on
the processor workload.">Fast</Section
# perl -pi -e 
's/(.*)"Power-on_Logo" (.*)>Enabled/$1"Power-on_Logo" $2>Disabled/' 
/tmp/rcu.xml
# grep -A 3 -B 1 -i thread /tmp/rcu.xml
<Section name="PCI_Bus_Padding_Option_Gen8" helptext="For Gen8 servers
only. Option allows the user to disable the default PCI Bus setting where
each expansion slot is provided an extra PCI Bus number. By default, the
system ROM will pad one PCI bus per bridge to not affect current bus
numbering schemes.">Enabled</Section>
<Section name="Power-on_Logo" helptext="Allows disabling of HP logo at
system boot.">Disabled</Section>
<Section name="Hide_Option_ROM_Messages" helptext="Allows disabling of
Hide Option ROM Messages feature.">Enabled</Section>
<Section name="Redundant_Power_Supply_Mode" helptext="Allows configuring
how the system will handle redundant power supply configs. Balanced mode
shares the power delivery equally between installed power
supplies.">Balanced_Mode</Section>
<Section name="Dynamic_Power_Savings_Mode_Response" helptext="Allows the
system ROM to control processor performance and power state depending on
the processor workload.">Fast</Section>
# hp-conrep -l -f /tmp/rcu.xml
conrep 4.1.2.0 - HP Scripting Toolkit Configuration Replication Program
Copyright (c) 2007-2014 Hewlett-Packard Development Company, L.P.
System Type: ProLiant BL460c Gen9
ROM Date : 12/24/2014
ROM Family : I36
Processor Manufacturuer : Intel(R) Corporation
XML System Configuration: /opt/hp/hp-scripting-tools/etc/conrep.xml
© Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 29 of 33
HP
HP Servers and HP Solution Innovation Center
HP TechTour 2015
Hardware Configuration: /tmp/rcu.xml
Global Restriction: [3.40 ]
OK
Platform check:
: [ProLiant DL120 G7 ] no match
: [ProLiant ML110 G7 ] no match
: [ProLiant DL3 ] no match
: [ProLiant ML3 ] no match
: [ProLiant DL5 ] no match
: [ProLiant ML5 ] no match
: [ProLiant DL7 ] no match
: [ProLiant DL9 ] no match
: [ProLiant BL ] match
: [ProLiant XW ] no match
: [ProLiant WS ] no match
: [ProLiant SE ] no match
: [ProLiant SL4 ] no match
: [ProLiant SL3 ] no match
: [ProLiant SL2 ] no match
: [ProLiant DL160 Gen8 ] no match
: [ProLiant SL160 Gen8 ] no match
: [ProLiant SL140 ] no match
: [ProLiant WS460c Gen8 WS Blade] no match
: [ProLiant MicroServer Gen8] no match
: [StoreEasy ] no match
: [ProLiant ML10 ] no match
: [Gen9 ] match
: [ProLiant XL ] no match
Loading configuration data from /tmp/rcu.xml
Conrep Return Code: 0
# hp-reboot -h
Invalid command line parameter: -h
reboot 1.9-0 - SmartStart Scripting Toolkit Reboot Utility
Copyright 2004-2012 Hewlett-Packard Development Company, L.P.
Usage reboot [ a: | c: | cd | pxe | rbsu ] [-cold] [-?]
a: Performs a one-time boot to a:
c: Performs a one-time boot to c:
cd Performs a one-time boot to cd
pxe Performs a one-time boot to pxe nic
rbsu Performs a one-time boot to ROM Based Setup Utility
-cold Performs a cold boot
# hp-reboot -cold rbsu
© Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 30 of 33
HP
HP Servers and HP Solution Innovation Center
HP TechTour 2015
If your modifications made the system configuration too messy, you can return to good
known default values by using the hp-rbsureset command
There is much more to discover around HP ProLiant under Linux (, …) but I leave that for an
update of this document.
© Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 31 of 33
HP
HP Servers and HP Solution Innovation Center
HP TechTour 2015
This additional info is not yet organized correctly wrt to the rest of the Lab. (iLO4 only)
# yum install hp-ams
Loaded plugins: product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package hp-ams.x86_64 0:1.4.1-1089.1.rhel6 will be installed
--> Finished Dependency Resolution
[...]
Please read the Licence Agreement for this software at
/opt/hp/hp-ams/hp-ams.license
By not removing this package, you are accepting the terms
of the "HP Proliant Essentials Software End User License Agreement".
Installed products updated.
© Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 32 of 33
HP
HP Servers and HP Solution Innovation Center
HP TechTour 2015
Cleanup the environment
# yum remove hpsmh hpdiags hpssa hp-smh-templates net-snmp-utils hp-snmp-
agents hp-health hpssacli hponcfg hp-ams lsof net-snmp-libs net-snmp-
agent-libs
© Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 33 of 33

More Related Content

What's hot

IPMI is dead, Long live Redfish
IPMI is dead, Long live RedfishIPMI is dead, Long live Redfish
IPMI is dead, Long live RedfishBruno Cornec
 
Picking a distro_1_
Picking a distro_1_Picking a distro_1_
Picking a distro_1_Henry Ho
 
Yocto Project Dev Day Prague 2017 - Advanced class - Kernel modules with eSDK
Yocto Project Dev Day Prague 2017 - Advanced class - Kernel modules with eSDKYocto Project Dev Day Prague 2017 - Advanced class - Kernel modules with eSDK
Yocto Project Dev Day Prague 2017 - Advanced class - Kernel modules with eSDKMarco Cavallini
 
Run Qt on Linux embedded systems using Yocto
Run Qt on Linux embedded systems using YoctoRun Qt on Linux embedded systems using Yocto
Run Qt on Linux embedded systems using YoctoMarco Cavallini
 
Introduction to OpenBricks: an Embedded Linux Framework
Introduction to OpenBricks: an Embedded Linux FrameworkIntroduction to OpenBricks: an Embedded Linux Framework
Introduction to OpenBricks: an Embedded Linux FrameworkBenjamin Zores
 
Challenges for Deploying a High-Performance Computing Application to the Cloud
Challenges for Deploying a High-Performance Computing Application to the CloudChallenges for Deploying a High-Performance Computing Application to the Cloud
Challenges for Deploying a High-Performance Computing Application to the CloudIntel® Software
 
Ugif 09 2013 new environment and dynamic setting in ids 12.10
Ugif 09 2013   new environment and dynamic setting in ids 12.10Ugif 09 2013   new environment and dynamic setting in ids 12.10
Ugif 09 2013 new environment and dynamic setting in ids 12.10UGIF
 
Autobuilder2 Yocto Project Summit Lyon 2019
Autobuilder2 Yocto Project Summit Lyon 2019Autobuilder2 Yocto Project Summit Lyon 2019
Autobuilder2 Yocto Project Summit Lyon 2019Marco Cavallini
 
Marco Cavallini @ LinuxLab 2018 : Workshop Yocto Project, an automatic genera...
Marco Cavallini @ LinuxLab 2018 : Workshop Yocto Project, an automatic genera...Marco Cavallini @ LinuxLab 2018 : Workshop Yocto Project, an automatic genera...
Marco Cavallini @ LinuxLab 2018 : Workshop Yocto Project, an automatic genera...Marco Cavallini
 
Redfish & python redfish
Redfish & python redfishRedfish & python redfish
Redfish & python redfishRené Ribaud
 
Roseannandariane
RoseannandarianeRoseannandariane
Roseannandarianearianne may
 
Poky meets Debian: Understanding how to make an embedded Linux by using an ex...
Poky meets Debian: Understanding how to make an embedded Linux by using an ex...Poky meets Debian: Understanding how to make an embedded Linux by using an ex...
Poky meets Debian: Understanding how to make an embedded Linux by using an ex...Yoshitake Kobayashi
 
Containers - Portable, repeatable user-oriented application delivery. Build, ...
Containers - Portable, repeatable user-oriented application delivery. Build, ...Containers - Portable, repeatable user-oriented application delivery. Build, ...
Containers - Portable, repeatable user-oriented application delivery. Build, ...Walid Shaari
 
Droidcon 2013 france - The Growth of Android in Embedded Systems
Droidcon 2013 france - The Growth of Android in Embedded SystemsDroidcon 2013 france - The Growth of Android in Embedded Systems
Droidcon 2013 france - The Growth of Android in Embedded SystemsBenjamin Zores
 

What's hot (17)

IPMI is dead, Long live Redfish
IPMI is dead, Long live RedfishIPMI is dead, Long live Redfish
IPMI is dead, Long live Redfish
 
Picking a distro_1_
Picking a distro_1_Picking a distro_1_
Picking a distro_1_
 
Yocto Project Dev Day Prague 2017 - Advanced class - Kernel modules with eSDK
Yocto Project Dev Day Prague 2017 - Advanced class - Kernel modules with eSDKYocto Project Dev Day Prague 2017 - Advanced class - Kernel modules with eSDK
Yocto Project Dev Day Prague 2017 - Advanced class - Kernel modules with eSDK
 
Run Qt on Linux embedded systems using Yocto
Run Qt on Linux embedded systems using YoctoRun Qt on Linux embedded systems using Yocto
Run Qt on Linux embedded systems using Yocto
 
Introduction to OpenBricks: an Embedded Linux Framework
Introduction to OpenBricks: an Embedded Linux FrameworkIntroduction to OpenBricks: an Embedded Linux Framework
Introduction to OpenBricks: an Embedded Linux Framework
 
Challenges for Deploying a High-Performance Computing Application to the Cloud
Challenges for Deploying a High-Performance Computing Application to the CloudChallenges for Deploying a High-Performance Computing Application to the Cloud
Challenges for Deploying a High-Performance Computing Application to the Cloud
 
Ugif 09 2013 new environment and dynamic setting in ids 12.10
Ugif 09 2013   new environment and dynamic setting in ids 12.10Ugif 09 2013   new environment and dynamic setting in ids 12.10
Ugif 09 2013 new environment and dynamic setting in ids 12.10
 
Balancing Power & Performance Webinar
Balancing Power & Performance WebinarBalancing Power & Performance Webinar
Balancing Power & Performance Webinar
 
Autobuilder2 Yocto Project Summit Lyon 2019
Autobuilder2 Yocto Project Summit Lyon 2019Autobuilder2 Yocto Project Summit Lyon 2019
Autobuilder2 Yocto Project Summit Lyon 2019
 
Marco Cavallini @ LinuxLab 2018 : Workshop Yocto Project, an automatic genera...
Marco Cavallini @ LinuxLab 2018 : Workshop Yocto Project, an automatic genera...Marco Cavallini @ LinuxLab 2018 : Workshop Yocto Project, an automatic genera...
Marco Cavallini @ LinuxLab 2018 : Workshop Yocto Project, an automatic genera...
 
Redfish & python redfish
Redfish & python redfishRedfish & python redfish
Redfish & python redfish
 
Roseannandariane
RoseannandarianeRoseannandariane
Roseannandariane
 
Poky meets Debian: Understanding how to make an embedded Linux by using an ex...
Poky meets Debian: Understanding how to make an embedded Linux by using an ex...Poky meets Debian: Understanding how to make an embedded Linux by using an ex...
Poky meets Debian: Understanding how to make an embedded Linux by using an ex...
 
Rh401 rhel5.2
Rh401 rhel5.2Rh401 rhel5.2
Rh401 rhel5.2
 
Containers - Portable, repeatable user-oriented application delivery. Build, ...
Containers - Portable, repeatable user-oriented application delivery. Build, ...Containers - Portable, repeatable user-oriented application delivery. Build, ...
Containers - Portable, repeatable user-oriented application delivery. Build, ...
 
Presentation1
Presentation1Presentation1
Presentation1
 
Droidcon 2013 france - The Growth of Android in Embedded Systems
Droidcon 2013 france - The Growth of Android in Embedded SystemsDroidcon 2013 france - The Growth of Android in Embedded Systems
Droidcon 2013 france - The Growth of Android in Embedded Systems
 

Similar to Lab Document on HP ProLiant value add tools on Linux

Diretrizes para Implementação do Citrix XenServer 6.2.0 em Servidores HP Prol...
Diretrizes para Implementação do Citrix XenServer 6.2.0 em Servidores HP Prol...Diretrizes para Implementação do Citrix XenServer 6.2.0 em Servidores HP Prol...
Diretrizes para Implementação do Citrix XenServer 6.2.0 em Servidores HP Prol...Lorscheider Santiago
 
Backup Navigator install and configuration guide
Backup Navigator install and configuration guideBackup Navigator install and configuration guide
Backup Navigator install and configuration guideAndrey Karpov
 
ArcSight Management Center 2.2 Release Notes.pdf
ArcSight Management Center 2.2 Release Notes.pdfArcSight Management Center 2.2 Release Notes.pdf
ArcSight Management Center 2.2 Release Notes.pdfProtect724mouni
 
ArcSight Management Center 2.0 Patch 2 Release Notes
ArcSight Management Center 2.0 Patch 2 Release NotesArcSight Management Center 2.0 Patch 2 Release Notes
ArcSight Management Center 2.0 Patch 2 Release NotesProtect724mouni
 
ArcSight Connector Appliance 6.4 Administrator's Guide
ArcSight Connector Appliance 6.4 Administrator's GuideArcSight Connector Appliance 6.4 Administrator's Guide
ArcSight Connector Appliance 6.4 Administrator's GuideProtect724tk
 
Ovms ops manager_admin
Ovms ops manager_adminOvms ops manager_admin
Ovms ops manager_adminsati1981
 
How to install_and_configure_r_on_a_linux_server
How to install_and_configure_r_on_a_linux_serverHow to install_and_configure_r_on_a_linux_server
How to install_and_configure_r_on_a_linux_serversushantbit04
 
Cloud Forms Iaa S V2wp 6299847 0411 Dm Web 4
Cloud Forms Iaa S V2wp 6299847 0411 Dm Web 4Cloud Forms Iaa S V2wp 6299847 0411 Dm Web 4
Cloud Forms Iaa S V2wp 6299847 0411 Dm Web 4Yusuf Hadiwinata Sutandar
 
Isp Setup Red Hat Howto
Isp Setup Red Hat HowtoIsp Setup Red Hat Howto
Isp Setup Red Hat Howtoguest60864fc
 
Windows PowerShell Basics - How To List PSDrive Info
Windows PowerShell Basics - How To List PSDrive InfoWindows PowerShell Basics - How To List PSDrive Info
Windows PowerShell Basics - How To List PSDrive InfoVCP Muthukrishna
 
Upgrading50 sp1or50sp2tov5.2
Upgrading50 sp1or50sp2tov5.2Upgrading50 sp1or50sp2tov5.2
Upgrading50 sp1or50sp2tov5.2Protect724
 
ArcSight Express 4.0 Virtual Appliance Guide
ArcSight Express 4.0 Virtual Appliance GuideArcSight Express 4.0 Virtual Appliance Guide
ArcSight Express 4.0 Virtual Appliance GuideProtect724v2
 
ESM Service Layer Developers Guide for ESM 6.8c
ESM Service Layer Developers Guide for ESM 6.8cESM Service Layer Developers Guide for ESM 6.8c
ESM Service Layer Developers Guide for ESM 6.8cProtect724gopi
 
20 PHP Static Analysis and Documentation Generators #burningkeyboards
20 PHP Static Analysis and Documentation Generators #burningkeyboards20 PHP Static Analysis and Documentation Generators #burningkeyboards
20 PHP Static Analysis and Documentation Generators #burningkeyboardsDenis Ristic
 
HP-UX RBAC Audsys Setup by Dusan Baljevic
HP-UX RBAC Audsys Setup by Dusan BaljevicHP-UX RBAC Audsys Setup by Dusan Baljevic
HP-UX RBAC Audsys Setup by Dusan BaljevicCircling Cycle
 
PHP QA Tools
PHP QA ToolsPHP QA Tools
PHP QA Toolsrjsmelo
 
Upgrading ArcSight Express 3.0 to ArcSight Express 4.0
Upgrading ArcSight Express 3.0 to ArcSight Express 4.0Upgrading ArcSight Express 3.0 to ArcSight Express 4.0
Upgrading ArcSight Express 3.0 to ArcSight Express 4.0Protect724v2
 

Similar to Lab Document on HP ProLiant value add tools on Linux (20)

Diretrizes para Implementação do Citrix XenServer 6.2.0 em Servidores HP Prol...
Diretrizes para Implementação do Citrix XenServer 6.2.0 em Servidores HP Prol...Diretrizes para Implementação do Citrix XenServer 6.2.0 em Servidores HP Prol...
Diretrizes para Implementação do Citrix XenServer 6.2.0 em Servidores HP Prol...
 
Backup Navigator install and configuration guide
Backup Navigator install and configuration guideBackup Navigator install and configuration guide
Backup Navigator install and configuration guide
 
ArcSight Management Center 2.2 Release Notes.pdf
ArcSight Management Center 2.2 Release Notes.pdfArcSight Management Center 2.2 Release Notes.pdf
ArcSight Management Center 2.2 Release Notes.pdf
 
User guide
User guideUser guide
User guide
 
ArcSight Management Center 2.0 Patch 2 Release Notes
ArcSight Management Center 2.0 Patch 2 Release NotesArcSight Management Center 2.0 Patch 2 Release Notes
ArcSight Management Center 2.0 Patch 2 Release Notes
 
ArcSight Connector Appliance 6.4 Administrator's Guide
ArcSight Connector Appliance 6.4 Administrator's GuideArcSight Connector Appliance 6.4 Administrator's Guide
ArcSight Connector Appliance 6.4 Administrator's Guide
 
Ovms ops manager_admin
Ovms ops manager_adminOvms ops manager_admin
Ovms ops manager_admin
 
How to install_and_configure_r_on_a_linux_server
How to install_and_configure_r_on_a_linux_serverHow to install_and_configure_r_on_a_linux_server
How to install_and_configure_r_on_a_linux_server
 
Cli centos
Cli centosCli centos
Cli centos
 
Ignite ux-quickstart
Ignite ux-quickstartIgnite ux-quickstart
Ignite ux-quickstart
 
Cloud Forms Iaa S V2wp 6299847 0411 Dm Web 4
Cloud Forms Iaa S V2wp 6299847 0411 Dm Web 4Cloud Forms Iaa S V2wp 6299847 0411 Dm Web 4
Cloud Forms Iaa S V2wp 6299847 0411 Dm Web 4
 
Isp Setup Red Hat Howto
Isp Setup Red Hat HowtoIsp Setup Red Hat Howto
Isp Setup Red Hat Howto
 
Windows PowerShell Basics - How To List PSDrive Info
Windows PowerShell Basics - How To List PSDrive InfoWindows PowerShell Basics - How To List PSDrive Info
Windows PowerShell Basics - How To List PSDrive Info
 
Upgrading50 sp1or50sp2tov5.2
Upgrading50 sp1or50sp2tov5.2Upgrading50 sp1or50sp2tov5.2
Upgrading50 sp1or50sp2tov5.2
 
ArcSight Express 4.0 Virtual Appliance Guide
ArcSight Express 4.0 Virtual Appliance GuideArcSight Express 4.0 Virtual Appliance Guide
ArcSight Express 4.0 Virtual Appliance Guide
 
ESM Service Layer Developers Guide for ESM 6.8c
ESM Service Layer Developers Guide for ESM 6.8cESM Service Layer Developers Guide for ESM 6.8c
ESM Service Layer Developers Guide for ESM 6.8c
 
20 PHP Static Analysis and Documentation Generators #burningkeyboards
20 PHP Static Analysis and Documentation Generators #burningkeyboards20 PHP Static Analysis and Documentation Generators #burningkeyboards
20 PHP Static Analysis and Documentation Generators #burningkeyboards
 
HP-UX RBAC Audsys Setup by Dusan Baljevic
HP-UX RBAC Audsys Setup by Dusan BaljevicHP-UX RBAC Audsys Setup by Dusan Baljevic
HP-UX RBAC Audsys Setup by Dusan Baljevic
 
PHP QA Tools
PHP QA ToolsPHP QA Tools
PHP QA Tools
 
Upgrading ArcSight Express 3.0 to ArcSight Express 4.0
Upgrading ArcSight Express 3.0 to ArcSight Express 4.0Upgrading ArcSight Express 3.0 to ArcSight Express 4.0
Upgrading ArcSight Express 3.0 to ArcSight Express 4.0
 

More from Bruno Cornec

Diaporama-2023.pdf
Diaporama-2023.pdfDiaporama-2023.pdf
Diaporama-2023.pdfBruno Cornec
 
Concert Amicus Meus 2023
Concert Amicus Meus 2023Concert Amicus Meus 2023
Concert Amicus Meus 2023Bruno Cornec
 
intro-linux-v4.pdf
intro-linux-v4.pdfintro-linux-v4.pdf
intro-linux-v4.pdfBruno Cornec
 
Diaporama Exultate 2022
Diaporama Exultate 2022Diaporama Exultate 2022
Diaporama Exultate 2022Bruno Cornec
 
Diaporama-2021.pdf
Diaporama-2021.pdfDiaporama-2021.pdf
Diaporama-2021.pdfBruno Cornec
 
Introduction à Linux et aux logiciels libres
Introduction à Linux et aux logiciels libresIntroduction à Linux et aux logiciels libres
Introduction à Linux et aux logiciels libresBruno Cornec
 
Diaporama Variations 2019
Diaporama Variations 2019Diaporama Variations 2019
Diaporama Variations 2019Bruno Cornec
 
Diaporama Exultate 2019
Diaporama Exultate 2019Diaporama Exultate 2019
Diaporama Exultate 2019Bruno Cornec
 
Diaporama Exultate 2018
Diaporama Exultate 2018Diaporama Exultate 2018
Diaporama Exultate 2018Bruno Cornec
 
Diaporama Exultate 2017
Diaporama Exultate 2017Diaporama Exultate 2017
Diaporama Exultate 2017Bruno Cornec
 
Diaporama 2018 Guerre de 100 ans
Diaporama 2018 Guerre de 100 ansDiaporama 2018 Guerre de 100 ans
Diaporama 2018 Guerre de 100 ansBruno Cornec
 
Introduction aux logiciels libres et à Linux
Introduction aux logiciels libres et à LinuxIntroduction aux logiciels libres et à Linux
Introduction aux logiciels libres et à LinuxBruno Cornec
 
Diaporama 2011 Musique pour la Vierge
Diaporama 2011 Musique pour la ViergeDiaporama 2011 Musique pour la Vierge
Diaporama 2011 Musique pour la ViergeBruno Cornec
 
Diaporama 2012 Musique polychorale
Diaporama 2012 Musique polychoraleDiaporama 2012 Musique polychorale
Diaporama 2012 Musique polychoraleBruno Cornec
 
Diaporama 2016 Musique Allemande
Diaporama 2016 Musique AllemandeDiaporama 2016 Musique Allemande
Diaporama 2016 Musique AllemandeBruno Cornec
 
Diaporama 2015 François Ier
Diaporama 2015 François IerDiaporama 2015 François Ier
Diaporama 2015 François IerBruno Cornec
 
Guide Open Source Syntec Numérique
Guide Open Source Syntec NumériqueGuide Open Source Syntec Numérique
Guide Open Source Syntec NumériqueBruno Cornec
 
Using containers and Continuous Packaging to Build native FOSSology packages
Using containers and Continuous Packaging to Build native FOSSology packagesUsing containers and Continuous Packaging to Build native FOSSology packages
Using containers and Continuous Packaging to Build native FOSSology packagesBruno Cornec
 

More from Bruno Cornec (20)

Diaporama-TMG.pdf
Diaporama-TMG.pdfDiaporama-TMG.pdf
Diaporama-TMG.pdf
 
Diaporama-2023.pdf
Diaporama-2023.pdfDiaporama-2023.pdf
Diaporama-2023.pdf
 
Concert Amicus Meus 2023
Concert Amicus Meus 2023Concert Amicus Meus 2023
Concert Amicus Meus 2023
 
Docker-v3.pdf
Docker-v3.pdfDocker-v3.pdf
Docker-v3.pdf
 
intro-linux-v4.pdf
intro-linux-v4.pdfintro-linux-v4.pdf
intro-linux-v4.pdf
 
Diaporama Exultate 2022
Diaporama Exultate 2022Diaporama Exultate 2022
Diaporama Exultate 2022
 
Diaporama-2021.pdf
Diaporama-2021.pdfDiaporama-2021.pdf
Diaporama-2021.pdf
 
Introduction à Linux et aux logiciels libres
Introduction à Linux et aux logiciels libresIntroduction à Linux et aux logiciels libres
Introduction à Linux et aux logiciels libres
 
Diaporama Variations 2019
Diaporama Variations 2019Diaporama Variations 2019
Diaporama Variations 2019
 
Diaporama Exultate 2019
Diaporama Exultate 2019Diaporama Exultate 2019
Diaporama Exultate 2019
 
Diaporama Exultate 2018
Diaporama Exultate 2018Diaporama Exultate 2018
Diaporama Exultate 2018
 
Diaporama Exultate 2017
Diaporama Exultate 2017Diaporama Exultate 2017
Diaporama Exultate 2017
 
Diaporama 2018 Guerre de 100 ans
Diaporama 2018 Guerre de 100 ansDiaporama 2018 Guerre de 100 ans
Diaporama 2018 Guerre de 100 ans
 
Introduction aux logiciels libres et à Linux
Introduction aux logiciels libres et à LinuxIntroduction aux logiciels libres et à Linux
Introduction aux logiciels libres et à Linux
 
Diaporama 2011 Musique pour la Vierge
Diaporama 2011 Musique pour la ViergeDiaporama 2011 Musique pour la Vierge
Diaporama 2011 Musique pour la Vierge
 
Diaporama 2012 Musique polychorale
Diaporama 2012 Musique polychoraleDiaporama 2012 Musique polychorale
Diaporama 2012 Musique polychorale
 
Diaporama 2016 Musique Allemande
Diaporama 2016 Musique AllemandeDiaporama 2016 Musique Allemande
Diaporama 2016 Musique Allemande
 
Diaporama 2015 François Ier
Diaporama 2015 François IerDiaporama 2015 François Ier
Diaporama 2015 François Ier
 
Guide Open Source Syntec Numérique
Guide Open Source Syntec NumériqueGuide Open Source Syntec Numérique
Guide Open Source Syntec Numérique
 
Using containers and Continuous Packaging to Build native FOSSology packages
Using containers and Continuous Packaging to Build native FOSSology packagesUsing containers and Continuous Packaging to Build native FOSSology packages
Using containers and Continuous Packaging to Build native FOSSology packages
 

Recently uploaded

A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 

Recently uploaded (20)

A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 

Lab Document on HP ProLiant value add tools on Linux

  • 1. HP HP Servers and HP Solution Innovation Center HP ETSS 2015 Table of content Objectives....................................................................................................................................................2 Reference documents.................................................................................................................................3 Environment setup.....................................................................................................................................4 SDR access enablement.........................................................................................................................4 Managing HP ProLiant servers with the MCP.............................................................................................5 Command line management.................................................................................................................5 SNMP management.............................................................................................................................14 Web based management....................................................................................................................16 Using HP SUM (Smart Update Manager).............................................................................................19 Using IPMI.............................................................................................................................................20 Using the HP RESTful API....................................................................................................................21 Additional management tools............................................................................................................24 © Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 1 of 33 Lab Contents This lab purpose is to install and use various HP ProLiant tools to configure servers and set them up. Lab Writer and Trainer Bruno.Cornec@hp.com Lab – HP ProLiant Tools
  • 2. HP HP Servers and HP Solution Innovation Center HP TechTour 2015 Overview of the HP ProLiant Value Add tools Lab Objectives At the end of the Lab students should be able to install all value add tools part of the CMP and SPP, delivered on the HP SDR and use some of the tools to manage the hardware configuration of their ProLiant server. Expected duration : 100 minutes © Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 2 of 33
  • 3. HP HP Servers and HP Solution Innovation Center HP TechTour 2015 Reference documents When dealing with the installation and configuration of HP ProLiant servers, the first approach is to look at some reference documents: The main Documentation for the SDR at http://downloads.linux.hp.com/SDR/. The presentation around HP ProLiant value add tools contains some command line examples. A copy is available at http://fr.slideshare.net/eurolinux/hp-proliant-value-add-tools. Some reference documentation pages available from HP web site: • HP ProLiant Servers - Updating the Server Firmware ROM: http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp? lang=en&cc=us&taskId=115&prodSeriesId=5177957&prodTypeId=15351&objectID=c00719376 • Linux best practices using HP Service Pack for ProLiant (SPP) and Software Delivery Repository (SDR): http://www8.hp.com/h20195/v2/GetDocument.aspx?docname=4AA5-0831ENW • HP ProLiant Servers - Configuring SNMP on Linux Based Operating Systems: http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp? lang=en&cc=us&taskId=115&prodSeriesId=5177957&prodTypeId=15351&objectID=c03108867 • Linux Best Management Practices: HP ProLiant Gen8 Servers and Red Hat Enterprise Linux: http://h50146.www5.hp.com/products/software/oe/linux/mainstream/support/whitepaper/pdfs/c 03231805.pdf • HP Scripting Toolkit Linux Edition User Guide: http://h20564.www2.hp.com/portal/site/hpsc/public/kb/docDisplay/?docId=emr_na-c03894959 • Configuring Arrays on HP Smart Array Controllers Reference Guide: http://h20566.www2.hp.com/portal/site/hpsc/template.BINARYPORTLET/public/kb/docDisplay/resource.process/? spf_p.tpst=kbDocDisplay_ws_BI&spf_p.rid_kbDocDisplay=docDisplayResURL&javax.portlet.begCacheTok=com.vignette.c achetoken&spf_p.rst_kbDocDisplay=wsrp-resourceState%3DdocId%253Demr_na-c00729544-15%257CdocLocale %253D&javax.portlet.endCacheTok=com.vignette.cachetoken • HP iLO 4 Scripting and Command Line Guide: http://h20566.www2.hp.com/portal/site/hpsc/template.BINARYPORTLET/public/kb/docDisplay/resource.process/? spf_p.tpst=kbDocDisplay_ws_BI&spf_p.rid_kbDocDisplay=docDisplayResURL&javax.portlet.begCacheTok=com.vignette.c achetoken&spf_p.rst_kbDocDisplay=wsrp-resourceState%3DdocId%253Demr_na-c03334058-12%257CdocLocale %253Den_US&javax.portlet.endCacheTok=com.vignette.cachetoken • HP RESTful API: http://www.hp.com/go/restfulapi • HP Firmware as RPM: http://downloads.linux.hp.com/SDR/project/fwpp/fwpp-faq.pdf © Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 3 of 33
  • 4. HP HP Servers and HP Solution Innovation Center HP TechTour 2015 Estimated time for the lab is placed in front of each part. Environment setup Estimated time: 10 minutes SDR access enablement The HP SDR is available externally from http://downloads.linux.hp.com/SDR/ This Lab is performed on a Red Hat Enterprise Linux 6.4 distribution. As most of the content is also available from the repository for other Linux distributions, you can run it as well (with due adaptations !) on all the enabled distributions such as CentOS, OEL, Ubuntu or supported like SuSE Linux Enterprise Server. You may want to use the add_repo.sh script provided there in order to setup your installation. For that, download the file under your home directory. You'll also need for RHEL additional packages not necessarily installed on the base distribution, but which are brought by yum, providing you have a link to a Satellite server or a yum repository with appropriate content. This lab doesn't give all the commands necessary, as some aspects must be discovered by the Lab attendees and this will help them learn more by finding themselves the solutions to the small issues they may find. Could be lack of packages, Linux rights aspects, ... Bug reports on this material welcome ;-) Enjoy ! # cd /root # yum install -y wget # wget http://downloads.linux.hp.com/SDR/add_repo.sh Resolving downloads.linux.hp.com... 15.201.202.86 Connecting to downloads.linux.hp.com|15.201.202.86|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 21980 (21K) [application/x-sh] Saving to: “add_repo.sh” 100%[================================>] 21,980 57.9K/s in 0.4s 2013-03-23 18:15:36 (57.9 KB/s) - “add_repo sh” saved [21980/21980] # ./add_repo.sh spp note : You must read and accept the License Agreement to continue. Press enter to display it ... END USER LICENSE AGREEMENT [...] # ./add_repo.sh stk # not for RHEL 7.0 as of 2015-02-05 # ./add_repo.sh hpsum © Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 4 of 33
  • 5. HP HP Servers and HP Solution Innovation Center HP TechTour 2015 Then use yum to update the indexes with the new repositories. Check what has been created under the /etc/yum.repos.d directory. Verify that everything is behaving as expected (hint: yum search hp | grep -E '^hp'). If you have issues running the add_repo script, consider rights of the script and required dependency (lsb package typically). If the previous command doesn't output something, launch it first without the | grep part.. From now on, the Lab is “à la carte” ;-) Which means you can take one of the following part at will and try to do it Note that depending on the RHEL version or the tools versions, the traces you can get may differ in details such as version umber e.g. Managing HP ProLiant servers with the MCP Command line management Estimated time: 50 minutes We will first discover what command lines utilities are available to manage HP ProLiant servers under Linux. These are gathered in a few packages: # yum install hp-health hpssacli hponcfg Loaded plugins: product-id, security, subscription-manager Updating certificate-based repositories. Unable to read consumer identity Setting up Install Process Package hponcfg-4.1.0-0.noarch already installed and latest version Resolving Dependencies --> Running transaction check ---> Package hp-health.x86_64 0:9.31-1572.3.rhel6 will be installed ---> Package hpssacli.x86_64 0:1.60-17.0 will be installed --> Finished Dependency Resolution Dependencies Resolved ========================================================================== Package Arch Version Repository Size ========================================================================== Installing: hp-health x86_64 9.40-1602.44.rhel6 HP-SPP 565 k hpssacli x86_64 1.60-17.0 HP-SPP 6.5 M Transaction Summary ========================================================================== Install 2 Package(s) Total download size: 7.0 M Installed size: 20 M Is this ok [y/N]: y Downloading Packages: (1/2): hp-health-9.40-1602.44.rhel6.x86_64.rpm | 565 kB 00:02 © Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 5 of 33
  • 6. HP HP Servers and HP Solution Innovation Center HP TechTour 2015 (2/2): hpssacli-1.60-17.0.x86_64.rpm | 6.5 MB 00:02 -------------------------------------------------------------------------- Total 1.5 MB/s | 7.0 MB 00:04 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : hpssacli-1.60-17.0.x86_64 1/2 DOWNGRADE NOTE: To downgrade this application to any version prior to 9.10.x.x, the current RPM must be manually uninstalled using the "rpm -e" command before any prior versions can be installed. [...] Installing : hp-health-9.40-1602.44.rhel6.x86_64 2/2 Please read the Licence Agreement for this software at /opt/hp/hp-health/hp-health.license By not removing this package, you are accepting the terms of the "HP Proliant Essentials Software End User License Agreement". Using Proliant Standard IPMI based System Health Monitor Starting Proliant Standard IPMI based System Health Monitor (hpasmlited): [ OK ] Starting HP Advanced Server Recovery Daemon [ OK ] The hp-health RPM has installed successfully. Installed products updated. Verifying : hp-health-9.31-1572.3.rhel6.x86_64 1/2 Verifying : hpssacli-1.60-17.0.x86_64 2/2 Installed: hp-health.x86_64 0:9.40-1622.44.rhel6 hpssacli.x86_64 0:1.60-17.0 Complete! Now is time to use some of these commands to get information on your ProLiant Server (Hardware logs, Blue Light), and also to modify its configuration: # hplog -v | head ID Severity Initial Time Update Time Count ------------------------------------------------------------- 0000 Information 08:28 05/28/2011 08:28 05/28/2011 0001 LOG: Maintenance note: IML cleared through hpasmcli 0001 Repaired 00:00 00/00/0000 15:01 07/01/2011 0001 LOG: System Power Supply: General Failure (Power Supply 1) 0002 Caution 14:39 07/01/2011 14:39 07/01/2011 0001 © Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 6 of 33
  • 7. HP HP Servers and HP Solution Innovation Center HP TechTour 2015 This command is similar to hpasmcli -s "show iml" | head. # hplog -a STATUS Current ASR Status is ENABLED and the timeout value is 10 # man hplog ASR manipulation can also be achieved with the hpasmcli -s "show asr". Use the set option to modify values # hpuid -s OFF # hpuid -e # hpuid -s ON # hpuid -d # man hpuid Similarly, UID manipulation can also be achieved with the hpasmcli -s "show uid". Use the set option to modify values # hpasmcli -s "show ipl" IPL (Standard Boot Order) ------------------------- #0 CDROM #1 PXE #2 HDD IPL however can't be modified by hpasmcli. Use for that the hpbootcfg command. # hpbootcfg -H 03 00: Harddrive first, normal boot process # hpbootcfg -C 02 00: CD ROM first, normal boot process # hpbootcfg -P 40 00: Normal Device first, one time boot to PXE # hpbootcfg -D 00 00: Normal Device first, normal boot process # man hpbootcfg You may want to verify the new configuration by rebooting the server. Another command will be detailed later on to modify fully the boot order from the SmartStart Scripting Toolkit. # hpasmcli -s "show asr" ASR timeout is 10 minutes. ASR is currently enabled. # hpasmcli -s "disable asr" © Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 7 of 33
  • 8. HP HP Servers and HP Solution Innovation Center HP TechTour 2015 Successfully disabled ASR timer. # hpasmcli -s "enable asr" Successfully enabled ASR timer. # man hpasmcli We'll now interact with the Insight Lights Out component on the server with the hponcfg utiliy. # hponcfg -g HP Lights-Out Online Configuration utility Version 4.4.0 Date 06/13/2014 (c) Hewlett-Packard Company, 2014 Firmware Revision = 2.03 Device type = iLO 4 Driver name = hpilo Host Information: Server Name: host is unnamed Server Number: # hponcfg -a -w /tmp/ilo.xml HP Lights-Out Online Configuration utility Version 4.4.0 Date 06/13/2014 (c) Hewlett-Packard Company, 2014 Firmware Revision = 2.03 Device type = iLO 4 Driver name = hpilo Management Processor configuration is successfully written to file "/tmp/ilo.xml" # cat /tmp/ilo.xml <!-- HPONCFG VERSION = "4.4.0" --> <!-- Device: iLO4 Firmware Version : 2.03 --> <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"/> <DHCP_ENABLE VALUE="Y"/> [...] <DNS_NAME VALUE="ILOCZ3223LAA2"/> [...] Now we'll use the same command to modify the value of the DNS name of this iLO board, after we removed the account info which would create a problem. # perl -pi -e 's/DNS_NAME VALUE="ILOCZ3223LAA2"/DNS_NAME VALUE="MyPersonaliLO"/' /tmp/ilo.xml # grep DNS_NAME /tmp/ilo.xml <DNS_NAME VALUE="MyPersonaliLO"/> # perl -pi -e 's/^.*user_password.*$//' /tmp/ilo.xml # perl -pi -e 's/^.*SSO_INFO.*//' /tmp/ilo.xml # hponcfg -f /tmp/ilo.xml HP Lights-Out Online Configuration utility © Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 8 of 33
  • 9. HP HP Servers and HP Solution Innovation Center HP TechTour 2015 Version 4.4.0 Date 06/13/2014 (c) Hewlett-Packard Company, 2014 Firmware Revision = 2.03 Device type = iLO 4 Driver name = hpilo <INFORM>Integrated Lights-Out will reset at the end of the script.</INFORM> [...] Please wait while the firmware is reset. This might take a minute Script succeeded Check by logging to your iLO that the new name is now in usage. Or use hponcfg again. Another way to interact with the iLO is to use the locfg.pl perl script available from the page http://h20565.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/swdDetails/? spf_p.tpst=swdMain&spf_p.prp_swdMain=wsrp-navigationalState%3Didx%253D %257CswItem%253DMTX_e8dbfeb5c88c4689a2958de054%257CswEnvOID%253D %257CitemLocale%253D%257CswLang%253D%257Cmode%253D%257Caction %253DdriverDocument&javax.portlet.begCacheTok=com.vignette.cachetoken&javax.portl et.endCacheTok=com.vignette.cachetoken and which allow remote modification of the iLO configuration, providing you have the appropriate credential, which the hponcfg command doesn't require as using the hpilo driver to dialog with the iLO board. Finally from the command line, we will interact with the Smart Array Controller. # hpssacli ctrl all show Smart Array P244br in Slot 0 (Embedded) (sn: PDZVU0HLM7N0AR) # hpssacli ctrl slot=0 show Smart Array P244br in Slot 0 (Embedded) Bus Interface: PCI Slot: 0 Serial Number: PDZVU0HLM7N0AR Cache Serial Number: PDZVU0HLM7N0AR RAID 6 (ADG) Status: Enabled Controller Status: OK Hardware Revision: B Firmware Version: 1.18 Rebuild Priority: High Expand Priority: Medium Surface Scan Delay: 3 secs Surface Scan Mode: Idle Queue Depth: Automatic Monitor and Performance Delay: 60 min Elevator Sort: Enabled Degraded Performance Optimization: Disabled Inconsistency Repair Policy: Disabled Wait for Cache Room: Disabled Surface Analysis Inconsistency Notification: Disabled Post Prompt Timeout: 15 secs Cache Board Present: True © Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 9 of 33
  • 10. HP HP Servers and HP Solution Innovation Center HP TechTour 2015 Cache Status: OK Cache Ratio: 10% Read / 90% Write Drive Write Cache: Disabled Total Cache Size: 1024 MB Total Cache Memory Available: 792 MB No-Battery Write Cache: Disabled SSD Caching RAID5 WriteBack Enabled: True SSD Caching Version: 2 Cache Backup Power Source: Batteries Battery/Capacitor Count: 1 Battery/Capacitor Status: OK SATA NCQ Supported: True Spare Activation Mode: Activate on physical drive failure (default) Controller Temperature (C): 44 Cache Module Temperature (C): 34 Number of Ports: 1 Internal only Encryption: Disabled Encryption Login Status: Not Logged In Encryption Allow Plaintext Volumes: Disallow Encryption Key Management Mode: Not Set Encryption Supported: True Encryption RTC SRAM Status: Passed Encryption Master Key reset in Progress: False Encryption Local Key Cache Enabled: False Encryption Crypto Officer Password: Not Set Encryption User Password: Not Set Encryption License Installed: True Encryption FW Locked for Update: Unlocked Encryption Controller Password: Not Set Encryption Local Key Cache Supported: True Encryption Controller Locked: Unlocked Encryption Has Suspended Controller Password: False Encryption Controller Password Unlock Attempts Remaining: 0 Encryption Logical Drive(s) Locked For Missing Controller Password: False Encryption Password Recovery Parameters Set: False Encryption Master Key: Not Set Encryption Remote Mode Master Key Mismatch: False Encryption/HP SSD Smart Path Mixing Supported: True Encryption/HP SmartCache Mixing Supported: False Driver Name: hpsa Driver Version: 3.4.2 Driver Supports HP SSD Smart Path: False Negotiated PCIe Data Rate: PCIe 3.0 x4 (3940 MB/s) Controller Mode: SmartArray Controller Mode Reboot: Not Required Latency Scheduler Setting: Disabled Current Power Mode: MaxPerformance # hpssacli ctrl slot=0 array all show detail Smart Array P244br in Slot 0 (Embedded) © Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 10 of 33
  • 11. HP HP Servers and HP Solution Innovation Center HP TechTour 2015 Array: A Interface Type: SAS Unused Space: 0 MB Status: OK Array Type: Data HP SSD Smart Path: disable # hpssacli ctrl slot=0 pd all show Smart Array P244br in Slot 0 (Embedded) array A physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 500 GB, OK) physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 500 GB, OK) # hpssacli ctrl slot=0 pd all show detail array A physicaldrive 1I:1:1 Port: 1I Box: 1 Bay: 1 Status: OK Drive Type: Data Drive Interface Type: SAS Size: 500 GB Native Block Size: 512 Rotational Speed: 7200 Firmware Revision: HPD8 Serial Number: 9XF39XCY0000W512D24J Model: HP MM0500FBFVQ Current Temperature (C): 28 Maximum Temperature (C): 33 PHY Count: 2 PHY Transfer Rate: 6.0Gbps, Unknown Drive Authentication Status: OK Carrier Application Version: 11 Carrier Bootloader Version: 6 physicaldrive 1I:1:2 [...] # hpssacli ctrl slot=0 ld all show detail Smart Array P244br in Slot 0 (Embedded) array A © Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 11 of 33
  • 12. HP HP Servers and HP Solution Innovation Center HP TechTour 2015 Logical Drive: 1 Size: 465.7 GB Fault Tolerance: 1 Heads: 255 Sectors Per Track: 32 Cylinders: 65535 Strip Size: 512 KB Full Stripe Size: 512 KB Status: OK Caching: Enabled Unique Identifier: 600508B1001CE8448DA62DD86BA751A2 Disk Name: /dev/sda Mount Points: /boot/efi 200 MB Partition Number 2, /boot 500 MB Partition Number 3 OS Status: LOCKED Logical Drive Label: 0046D469PDZVU0HLM7N0AR9F6A Mirror Group 0: physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 500 GB, OK) Mirror Group 1: physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 500 GB, OK) Drive Type: Data LD Acceleration Method: Controller Cache # hpssacli ctrl slot=0 array A modify led=on duration=600 # hpssacli help # hpssacli help modify We can now try to see the impact of some parameters on the I/O: # rm -f /tmp/10000MB ; dd if=/dev/zero of=/tmp/10000MB bs=1M count=10000 10000+0 records in 10000+0 records out 10485760000 bytes (10 GB) copied, 42.4848 s, 247 MB/s # hpssacli ctrl slot=0 modify cacheratio=100/0 # rm -f /tmp/10000MB ; dd if=/tmp/10000MB of=/tmp/dest bs=1M count=512 512+0 records in 512+0 records out 536870912 bytes (537 MB) copied, 0.503862 s, 1.1 GB/s # hpssacli ctrl slot=0 modify cacheratio=0/100 # rm -f /tmp/10000MB ; dd if=/tmp/10000MB of=/tmp/dest bs=1M count=512 512+0 records in 512+0 records out 536870912 bytes (537 MB) copied, 0.730994 s, 734 MB/s # hpssacli ctrl slot=0 modify cacheratio=25/75 # rm -f /tmp/10000MB ; dd if=/tmp/10000MB of=/tmp/dest bs=1M count=512 512+0 records in 512+0 records out 536870912 bytes (537 MB) copied, 0.631807 s, 850 MB/s You may want to repeat the dd command many times to see fluctuations, and change the size to see cache impact. # hpssacli ctrl slot=0 modify rebuildpriority=high # hpssacli ctrl slot=0 ld all show detail | grep -i strip © Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 12 of 33
  • 13. HP HP Servers and HP Solution Innovation Center HP TechTour 2015 Strip Size: 512 KB Full Stripe Size: 512 KB # hpssacli ctrl slot=0 logicaldrive 1 modify raid=1 stripsize=1024 # hpssacli ctrl slot=0 ld all show detail | grep -i strip Strip Size: 1024 KB Full Stripe Size: 1024 KB # sync ; cat /proc/interrupts | grep hpsa 77: 5804 0 0 1000 0 823 IR-PCI-MSI-edge hpsa0 78: 1161 0 0 0 139 2530 IR-PCI-MSI-edge hpsa0 79: 367 2326 0 0 0 0 IR-PCI-MSI-edge hpsa0 80: 683 0 1886 0 0 0 IR-PCI-MSI-edge hpsa0 81: 1390 0 0 1710 0 5345 IR-PCI-MSI-edge hpsa0 82: 290 0 0 0 7756 0 IR-PCI-MSI-edge hpsa0 83: 0 0 0 0 0 0 IR-PCI-MSI-edge hpsa0 84: 0 0 0 0 0 0 IR-PCI-MSI-edge hpsa0 # rm -f /tmp/10000MB ; dd if=/tmp/10000MB of=/tmp/dest bs=1M count=512 512+0 records in 512+0 records out 536870912 bytes (537 MB) copied, 0.625692 s, 858 MB/s # sync ; cat /proc/interrupts | grep hpsa 77: 5804 0 0 1000 0 1110 IR-PCI-MSI-edge hpsa0 78: 1161 0 0 0 139 2788 IR-PCI-MSI-edge hpsa0 79: 583 2326 0 0 0 0 IR-PCI-MSI-edge hpsa0 80: 683 0 1886 0 0 0 IR-PCI-MSI-edge hpsa0 81: 1390 0 0 1710 0 5345 IR-PCI-MSI-edge hpsa0 82: 554 0 0 0 7756 0 IR-PCI-MSI-edge hpsa0 83: 0 0 0 0 0 0 IR-PCI-MSI-edge hpsa0 84: 0 0 0 0 0 0 IR-PCI-MSI-edge hpsa0 # hpssacli ctrl slot=0 logicaldrive 1 modify raid=1 stripsize=256 # sync ; cat /proc/interrupts | grep hpsa 77: 5804 23 0 1000 0 1110 IR-PCI-MSI-edge hpsa0 78: 1161 0 0 25 139 2788 IR-PCI-MSI-edge hpsa0 © Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 13 of 33
  • 14. HP HP Servers and HP Solution Innovation Center HP TechTour 2015 79: 610 2326 0 0 0 0 IR-PCI-MSI-edge hpsa0 80: 683 0 1915 0 0 0 IR-PCI-MSI-edge hpsa0 81: 1394 0 0 1710 0 5345 IR-PCI-MSI-edge hpsa0 82: 560 0 0 0 7756 0 IR-PCI-MSI-edge hpsa0 83: 0 0 0 0 0 0 IR-PCI-MSI-edge hpsa0 84: 0 0 0 0 0 0 IR-PCI-MSI-edge hpsa0 # rm -f /tmp/10000MB ; dd if=/tmp/10000MB of=/tmp/dest bs=1M count=512 512+0 records in 512+0 records out 536870912 bytes (537 MB) copied, 0.646091 s, 831 MB/s # sync ; cat /proc/interrupts | grep hpsa 77: 5804 358 0 1000 0 1110 IR-PCI-MSI-edge hpsa0 78: 1161 0 0 420 139 2788 IR-PCI-MSI-edge hpsa0 79: 749 2326 0 0 0 0 IR-PCI-MSI-edge hpsa0 80: 683 0 2091 0 0 0 IR-PCI-MSI-edge hpsa0 81: 1394 0 0 1710 0 5345 IR-PCI-MSI-edge hpsa0 82: 562 0 0 0 7756 0 IR-PCI-MSI-edge hpsa0 83: 0 0 0 0 0 0 IR-PCI-MSI-edge hpsa0 84: 0 0 0 0 0 0 IR-PCI-MSI-edge hpsa0 Look at the differences you get between the 2 configurations and make deductions about the impact of stripe size on processing interrupts on your system. Change the parameters to see more differences and pay attention to cache effects. SNMP management Estimated time: 10 minutes We will now configure the SNMP stack and then install the client agent to query the snmpd server. # yum install hp-snmp-agents [...] # /sbin/hpsnmpconfig You will now be asked a series of SNMP configuration questions. How you answer these question will affect the way SNMP behaves. Configuring SNMP could have security implications on your system. If you are not sure how © Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 14 of 33
  • 15. HP HP Servers and HP Solution Innovation Center HP TechTour 2015 to answer a question, you can abort by pressing <Ctrl-c> and no changes will be made to your SNMP configuration. Enter the localhost SNMP Read/Write community string (one word, required, no default): private Re-enter the same input to confirm: private ACCEPTED: inputs match! Enter localhost SNMP Read Only community string (one word, Blank to skip): public Re-enter the same input to confirm: public ACCEPTED: inputs match! Enter Read/Write Authorized Management Station IP or DNS name (Blank to skip): Enter Read Only Authorized Management Station IP or DNS name (Blank to skip): Enter default SNMP trap community string (One word; Blank to skip): Enter SNMP trap destination IP or DNS name (One word; Blank to skip): The system contact is set to syscontact Root <root@localhost> (configure /etc/snmp/snmp.local.conf) Do you wish to change it (y/n) (Blank is n): The system location is set to syslocation Unknown (edit /etc/snmp/snmpd.conf) Do you wish to change it (y/n) (Blank is n): # /etc/init.d/hp-snmp-agents start Starting Health agent (cmahealthd): [ OK ] Starting Standard Equipment agent (cmastdeqd): [ OK ] Starting Host agent (cmahostd): [ OK ] Starting Threshold agent (cmathreshd): [ OK ] Starting RIB agent (cmasm2d): [ OK ] Starting Performance agent (cmaperfd): [ OK ] Starting SNMP Peer (cmapeerd): [ OK ] Starting Storage Event Logger (cmaeventd): [ OK ] Starting FCA agent (cmafcad): [ OK ] Starting SAS agent (cmasasd): [ OK ] Starting IDA agent (cmaidad): [ OK ] Starting IDE agent (cmaided): [ OK ] Starting SCSI agent (cmascsid): [ OK ] Starting NIC Agent Daemon (cmanicd): [ OK ] # systemctl start snmpd # on RHEL7 # yum install net-snmp-utils Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package net-snmp-utils.x86_64 1:5.5-44.el6 will be installed --> Finished Dependency Resolution ========================================================================== Package Arch Version Repository Size ========================================================================== © Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 15 of 33
  • 16. HP HP Servers and HP Solution Innovation Center HP TechTour 2015 Installing: net-snmp-utils x86_64 1:5.5-44.el6 rhel 171 k Transaction Summary ========================================================================== Install 1 Package(s) Total download size: 171 k Installed size: 362 k Is this ok [y/N]: y Downloading Packages: net-snmp-utils-5.5-44.el6.x86_64.rpm | 171 kB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : 1:net-snmp-utils-5.5-44.el6.x86_64 1/1 Verifying : 1:net-snmp-utils-5.5-44.el6.x86_64 1/1 Installed: net-snmp-utils.x86_64 1:5.5-44.el6 Transaction Summary ========================================================================== Install 1 Package(s) Total download size: 171 k Complete! You can now explore the MIB to get values specific to HP ProLiant servers. # snmpget -v 2c -c public localhost SNMPv2- SMI::enterprises.232.2.2.13.1.1.7.1 SNMPv2-SMI::enterprises.232.2.2.13.1.1.7.1 = STRING: "BladeSystem c7000 Enclosure G3" # snmpwalk -v 2c -c public localhost SNMPv2-SMI::enterprises.232 [...] You can continue to query the MIB for various values. For more information, look at http://www.oidview.com/mibs/232/md-232-1.html in order to have a better idea of the value that you can query and check their result on your system. Web based management Estimated time: 15 minutes We will first install the additional components needed for this part: # yum install hpsmh hpdiags hpssa hp-smh-templates Loaded plugins: product-id, security, subscription-manager Updating certificate-based repositories. © Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 16 of 33
  • 17. HP HP Servers and HP Solution Innovation Center HP TechTour 2015 Unable to read consumer identity Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package cpqacuxe.x86_64 0:9.40-12.0 will be installed ---> Package hp-smh-templates.noarch 0:9.4.0-1327.37 will be installed --> Processing Dependency: hp-snmp-agents for package: hp-smh-templates- 9.4.0-1327.37.noarch ---> Package hpdiags.x86_64 0:9.5.0-938 will be installed ---> Package hpsmh.x86_64 0:7.2.2-8 will be installed --> Running transaction check ---> Package hp-snmp-agents.x86_64 0:9.40-2506.37.rhel6 will be installed --> Finished Dependency Resolution Dependencies Resolved ========================================================================== Package Arch Version Repository Size ========================================================================== Installing: hpssa x86_64 9.40-12.0 HP-spp 5.6 M hp-smh-templates noarch 9.4.0-1327.37 HP-spp 3.5 M hpdiags x86_64 9.5.0-938 HP-spp 15 M hpsmh x86_64 7.2.2-8 HP-spp 13 M Installing for dependencies: hp-snmp-agents x86_64 9.40-2506.37.rhel6 HP-spp 963 k Transaction Summary ========================================================================== Install 5 Package(s) Total download size: 38 M Installed size: 156 M Is this ok [y/N]: y Downloading Package (1/5): hpssa-1.60-17.0.x86_64.rpm | 5.6 MB 00:09 (2/5): hp-smh-templates-9.4.0-1327.37.noarch.rpm | 3.5 MB 00:02 (3/5): hp-snmp-agents-9.40-2506.37.rhel6.x86_64.rpm | 963 kB 00:00 (4/5): hpdiags-9.5.0-938.linux.x86_64.rpm s: | 15 MB 00:14 (5/5): hpsmh-7.2.2-8.x86_64.rpm | 13 MB 00:12 -------------------------------------------------------------------------- Total 3.7 MB/s | 39 MB 00:37 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : hpsmh-7.2.2-8.x86_64 1/5 Detected Red Hat Enterprise Linux AS/ES/WS/SERVER 6 Created hpsmh user and group... ********************************************************** * System Management Homepage installed successfully with * * default configuration values. To change the default * © Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 17 of 33
  • 18. HP HP Servers and HP Solution Innovation Center HP TechTour 2015 * configuration values, type the following command at * * the root prompt: * * * * /opt/hp/hpsmh/sbin/smhconfig * * * ********************************************************** [...] Complete! # hpssa -start HP Smart Storage Administrator 1.60.17.0 The HP Smart Storage Administrator daemon has started. If the smh daemon has been launched during the install process, then you need to restart it after again to have the hpssa integration working: # /etc/init.d/hpsmhd restart Log on the SMH at https://your-ip-address:2381. You can navigate through the interface to explore what it provides in term of information. © Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 18 of 33
  • 19. HP HP Servers and HP Solution Innovation Center HP TechTour 2015 Using HP SUM (Smart Update Manager) Estimated time: 10 minutes We will first install the additional components needed for this part: # yum install hpsum [...] Setting up Install Process Resolving Dependencies Skipping filters plugin, no data --> Running transaction check ---> Package hpsum.x86_64 0:6.3.1-2.rhel6 will be installed --> Finished Dependency Resolution Dependencies Resolved ========================================================================= Package Arch Version Repository Size ========================================================================= Installing: hpsum x86_64 6.3.1-2.rhel6 HP-hpsum 108 M Transaction Summary ========================================================================= Install 1 Package(s) © Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 19 of 33
  • 20. HP HP Servers and HP Solution Innovation Center HP TechTour 2015 Total download size: 108 M Installed size: 708 M Is this ok [y/N]: y Downloading Packages: hpsum-6.3.1-2.rhel6.x86_64.rpm | 108 MB 00:32 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : hpsum-6.3.1-2.rhel6.x86_64 1/1 Please read the Licence Agreement for this software at /opt/hp/hpsum/hpsum.license By not removing this package, you are accepting the terms of the "HP Proliant Essentials Software End User License Agreement". The HPSUM RPM has installed successfully. Verifying : hpsum-6.3.1-2.rhel6.x86_64 1/1 Installed: hpsum.x86_64 0:6.3.1-2.rhel6 Complete! # hpsum& Again explore the different possibilities brought by hpsum in GUI mode. Also have a look at the man page of this command which will give you an idea of what can be automated with it. Using the HP RESTful API Estimated time: 10 minutes (Kudos to Terry Young for the content) We will first install the additional component needed for this part: # yum install hprest Loading repository data... Reading installed packages... Resolving package dependencies... The following NEW package is going to be installed: hprest The following package is not supported by its vendor: hprest 1 new package to install. Overall download size: 10.4 MiB. After the operation, additional 10.6 MiB will be used. Continue? [y/n/?] (y): © Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 20 of 33
  • 21. HP HP Servers and HP Solution Innovation Center HP TechTour 2015 Retrieving package hprest-1.1-41.x86_64 (1/1), 12.4 MiB (12.6 MiB unpacked) Retrieving package hprest-1.1-41.x86_64 (1/1), 12.4 MiB (12.6 MiB unpacked) Installing: hprest-1.1-41 [done] # hprest login https://ilolabX.labossi.hpintelco.org –-user=demopaq --password=password hprest : HP RESTful Interface Tool version 1.0.0 Copyright (c) 2014 Hewlett Packard Development Company L.P. -------------------------------------------------------------------------- -------------------------------------------------------------------------- ------ Discovering................................Done WARNING: Cache is activated session keys are stored in plaintext # hprest types hprest : HP RESTful Interface Tool version 1.0.0 Copyright (c) 2014 Hewlett Packard Development Company L.P. -------------------------------------------------------------------------- -------------------------------------------------------------------------- ------ Type options: AccountService.0.9.5 Chassis.0.9.5 Collection.0.9.5 ComputerSystem.0.9.5 EthernetNetworkInterface.0.9.5 ExtendedError.0.9.5 HpBaseConfigs.0.9.5 HpBios.1.0.0 HpBiosMapping.1.0.0 HpSecureBoot.0.9.5 HpServerBootSettings.1.0.0 HpServerPCISlot.0.9.5 HpServerPciDevice.0.9.5 HpiLODateTime.0.9.5 HpiLOEmbeddedMedia.0.9.5 HpiLOFederatedGroupCapping.0.9.5 HpiLOFederationGroup.0.9.5 HpiLOFederationPeers.0.9.5 HpiLOFirmwareUpdate.0.9.5 HpiLOLicense.0.9.5 Manager.0.9.5 ManagerAccount.0.9.5 ManagerNetworkService.0.9.5 Power.0.9.5 ProviderURIList.0.9.5 SchemaFile.0.9.5 ServiceRoot.0.9.5 Session.0.9.5 SnmpService.0.9.5 © Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 21 of 33
  • 22. HP HP Servers and HP Solution Innovation Center HP TechTour 2015 ThermalMetrics.0.9.5 VirtualMedia.0.9.5 # hprest select ServiceRoot.0.9.5 hprest : HP RESTful Interface Tool version 1.0.0 Copyright (c) 2014 Hewlett Packard Development Company L.P. # hprest list hprest : HP RESTful Interface Tool version 1.0.0 Copyright (c) 2014 Hewlett Packard Development Company L.P. -------------------------------------------------------------------------- Name=HP RESTful Root Service links Managers href=/rest/v1/Managers Sessions href=/rest/v1/Sessions AccountService href=/rest/v1/AccountService self href=/rest/v1/root Chassis href=/rest/v1/Chassis Systems href=/rest/v1/Systems Schemas href=/rest/v1/Schemas Registries href=/rest/v1/Registries ServiceVersion=0.9.5 Oem Hp Manager ManagerFirmwareVersion=2.03 HostName=ILOCZ250211YL ManagerType=iLO 4 Blade EnclosureName=LabOSSI RackName=Z8R1U25 BayNumber=Bay 4 FQDN=ILOCZ250211YL. DefaultLanguage=en Languages Version=2.03 Language=en TranslationName=English Type=HpiLOServiceExt.0.9.5 links Providers href=/rest/v1/Providers Sessions LocalLoginEnabled=True LoginFailureDelay=0 © Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 22 of 33
  • 23. HP HP Servers and HP Solution Innovation Center HP TechTour 2015 LDAPAuthLicenced=False KerberosEnabled=False ServerName=lab4-2.labossi.hpintelco.org SecurityOverride=False CertCommonName=ILOCZ250211YL LoginHint HintPOSTData UserName=username Password=password Hint=POST to /Sessions to login using the following JSON object: LDAPEnabled=False Time=2015-02-03T18:15:18Z Type=ServiceRoot.0.9.5 If you have the following types, you can continue with this: # hprest select HpBios.1.1.0 # hprest list hprest : HP RESTful Interface Tool version 1.0.0 Copyright (c) 2014 Hewlett Packard Development Company L.P. -------------------------------------------------------------------------- -------------------------------------------------------------------------- ------ MemFastTraining=Enabled PowerRegulator=DynamicPowerSavings EmbeddedDiagnostics=Enabled UrlBootFile="" [...] SerialConsoleEmulation=Vt100Plus Description=This is the Platform/BIOS Configuration (RBSU) Pending Settings AcpiRootBridgePxm=Enabled NicBoot1=NetworkBoot CustomPostMessage="" RedundantPowerSupply=BalancedMode TpmState=NotPresent CollabPowerControl=Enabled # hprest get AdminName --selector HpBios.1.1.0 hprest : HP RESTful Interface Tool version 1.0.0 Copyright (c) 2014 Hewlett Packard Development Company L.P. -------------------------------------------------------------------------- -------------------------------------------------------------------------- ------ AdminName="" # hprest set AdminName="Pinguin" # hprest get AdminName --selector HpBios.1.1.0 # hprest status # hprest commit # hprest exit © Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 23 of 33
  • 24. HP HP Servers and HP Solution Innovation Center HP TechTour 2015 You may also want to see how this looks like from your browser. For that point it to the URL: https://10.3.222.10X/rest/v1 From there you can also navigate through the various types. Usig RPM based Firmware updates Estimated time: 10 minutes Since April 2015, HP is delivering firmware update under a package format (RPM for now). This will be the new preferred format for delivering firmware update going forward. You can use the latest hpsum (starting with 7.2.0) to deploy them as the simplest way. # hpsum info hpsum : HP Smart Update Manager Version 6.5.0 Copyright (c) 2013-2014 Hewlett Packard Development Company L.P. Model: ProLiant BL460c Gen9, ROM: I36, ROM Version: 12/24/2014 -------------------------------------------------------------------------- -------------------------------------------------------------------------- ------ Searching for firmware ERROR : No firmware found Did you install software using using yum/zypper/apt # yum list hp-firmware'*' Loaded plugins: product-id, subscription-manager This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. Available Packages hp-firmware-43d7eff89e.i386 15.10.07.00-2 HP-spp hp-firmware-52de99d707.i386 HPD8-1.1 HP-spp hp-firmware-72e5d6942f.i386 HPG4-1.1 HP-spp hp-firmware-a8d1969535.x86_64 HPD6-1.1 HP-spp hp-firmware-b923956874.i386 HPG5-1.1 HP-spp hp-firmware-cna-emulex.x86_64 2015.06.01-1.1 HP-spp hp-firmware-e4f5b5c9a7.i386 HPG5-1.1 HP-spp hp-firmware-ef3ea1e703.x86_64 HPG1-1.1 HP-spp hp-firmware-ef3ea1e703.i386 HPG1-3 HP-spp hp-firmware-fc-brocade.x86_64 2015.02.01-1.1 HP-spp hp-firmware-fc-emulex.x86_64 2015.06.01-1.1 HP-spp hp-firmware-fc-qlogic.x86_64 2015.06.01-1.1 HP-spp [...] hp-firmware-hdd-009c9a2503.x86_64 HPDB-2 HP-spp [...] hp-firmware-ilo4.i386 2.20-1.1 HP-spp hp-firmware-nic-broadcom.x86_64 2.15.10-1.1 HP-spp [...] hp-firmware-system-a16.i386 2014.09.03-3 HP-spp [...] # yum install -y hp-firmware-ilo4.i386 [...] Installed: hp-firmware-ilo4.i386 0:2.20-1.1 © Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 24 of 33
  • 25. HP HP Servers and HP Solution Innovation Center HP TechTour 2015 Complete! # hpsum list hpsum : HP Smart Update Manager Version 6.5.0 Copyright (c) 2013-2014 Hewlett Packard Development Company L.P. Model: ProLiant BL460c Gen9, ROM: I36, ROM Version: 12/24/2014 -------------------------------------------------------------------------- Searching for firmware. Analyzing results. Info | NAME | VERSION | INSTALLED | TYPE | -------------------------------------------------------------------------- ieRU1 | ilo4 | 2.20 | 2.03 | ilo4 | # hpsum query hpsum : HP Smart Update Manager Version 6.5.0 Copyright (c) 2013-2014 Hewlett Packard Development Company L.P. Model: ProLiant BL460c Gen9, ROM: I36, ROM Version: 12/24/2014 -------------------------------------------------------------------------- Searching for firmware. Analyzing results. ilo4 -------------------------------------------------------------------------- %{RELEASEDATE_SECOND} 1 %{RELEASEDATE_MONTH} 5 %{FIRMWARE_STRING} smartcomponent-linux-firmware-ilo %{RPMNAME} hp-firmware-ilo4 %{REBOOT_REQUIRED} no %{VERSIONID} ce9169979cde44eb83035e68a08be8cc %{RELEASENUM} 1.1 [...] %{RELEASEDATE_YEAR} 2015 %{REVISION} # hpsum upgrade hpsum : HP Smart Update Manager Version 6.5.0 Copyright (c) 2013-2014 Hewlett Packard Development Company L.P. Model: ProLiant BL460c Gen9, ROM: I36, ROM Version: 12/24/2014 -------------------------------------------------------------------------- Searching for firmware. Analyzing results. The following firmware will be applied HP Integrated Lights-Out 4 2.20 Do you want to apply them? [y] : y Using IPMI Estimated time: 10 minutes We will first install the additional components needed for this part: # yum install ipmitool [...] Setting up Install Process © Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 25 of 33
  • 26. HP HP Servers and HP Solution Innovation Center HP TechTour 2015 Resolving Dependencies Skipping filters plugin, no data --> Running transaction check ---> Package ipmitool.x86_64 0:1.8.13-7.el7 will be installed --> Processing Dependency: OpenIPMI-modalias for package: ipmitool-1.8.13- 7.el7.x86_64 --> Running transaction check ---> Package OpenIPMI-modalias.x86_64 0:2.0.19-11.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved [...] Now uses that tool to perform action on your server: # ipmitool lan print 2 Get Device ID command failed: 0xff Unspecified error Set in Progress : Set Complete Auth Type Support : Auth Type Enable : Callback : : User : : Operator : : Admin : : OEM : IP Address Source : DHCP Address IP Address : 10.3.222.104 Subnet Mask : 255.255.255.0 MAC Address : fc:15:b4:8e:c6:54 SNMP Community String : BMC ARP Control : ARP Responses Enabled, Gratuitous ARP Disabled Default Gateway IP : 10.3.222.1 802.1q VLAN ID : Disabled 802.1q VLAN Priority : 0 Cipher Suite Priv Max : Not Available Additional management tools Estimated time: 20 minutes We will first install the additional components needed for this part: # yum install hp-scripting-tools Loaded plugins: product-id, security, subscription-manager Updating certificate-based repositories. Unable to read consumer identity Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package hp-scripting-tools.i386 0:9.30-13.rhel6 will be installed --> Processing Dependency: libsysfs.so.2 for package: hp-scripting-tools- 9.30-13.rhel6.i386 --> Running transaction check ---> Package libsysfs.i686 0:2.1.0-6.1.el6 will be installed --> Finished Dependency Resolution © Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 26 of 33
  • 27. HP HP Servers and HP Solution Innovation Center HP TechTour 2015 Dependencies Resolved ========================================================================== Package Arch Version Repository Size ========================================================================== Installing: hp-scripting-tools i386 9.50-97.rhel6 HP-Extras 484 k Transaction Summary ========================================================================== Install 1 Package(s) Total download size: 494 k Installed size: 1.6 M Is this ok [y/N]: y Downloading Packages: (1/1): hp-scripting-tools-9.50-97.rhel6.i686.rpm | 484 kB 00:03 -------------------------------------------------------------------------- Total 171 kB/s | 484 kB 00:03 [...] Please read the Licence Agreement for this software at /opt/hp/hp-scripting-tools/hp-scripting-tools.license By not removing this package, you are accepting the terms of the "HP Proliant Essentials Software End User License Agreement". The hp-scripting-tools RPM has installed successfully. [...] Complete! Now use the new commands to see how to make custom scripts acting differently based on the server type or configuration, store state between reboots, change the boot order, modify the RBSU configuration and reboot choosing the next one-boot device. # hp-discovery | grep SystemName <SystemName>ProLiant BL460c Gen9</SystemName> # hp-discovery | grep Enclosure # if working on a Blade <EnclosureName>LabOSSI</EnclosureName> <EnclosureType>BladeSystem c7000 Enclosure G3</EnclosureType> <EnclosureSerialNumber>CZJ502086M</EnclosureSerialNumber> # 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" => "HP Smart Array P244br Controller" Expression is TRUE # hp-statemgr -R DOMAIN 0 # hp-statemgr -W DOMAIN 2 2 # hp-statemgr -R DOMAIN 2 © Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 27 of 33
  • 28. HP HP Servers and HP Solution Innovation Center HP TechTour 2015 # hp-setbootorder Current Boot Order: hd pxe cdrom(none) usb(none) floppy(none) # hp-setbootorder pxe hd Current Boot Order: hd pxe cdrom(none) usb(none) floppy(none) Requested Order: pxe hd Written Order: pxe hd cdrom(none) usb(none) floppy(none) # hp-setbootorder Current Boot Order: pxe hd cdrom(none) usb(none) floppy(none) # hp-setbootorder hd pxe Current Boot Order: pxe hd cdrom(none) usb(none) floppy(none) Requested Order: hd pxe Written Order: hd pxe cdrom(none) usb(none) floppy(none) # hp-conrep -s -f /tmp/rcu.xml conrep 4.1.2.0 - HP Scripting Toolkit Configuration Replication Program Copyright (c) 2007-2014 Hewlett-Packard Development Company, L.P. System Type: ProLiant BL460c Gen9 ROM Date : 12/24/2014 ROM Family : I36 Processor Manufacturuer : Intel(R) Corporation XML System Configuration: /opt/hp/hp-scripting-tools/etc/conrep.xml Hardware Configuration: /tmp/rcu.xml Global Restriction: [3.40 ] OK Platform check: : [ProLiant DL120 G7 ] no match : [ProLiant ML110 G7 ] no match : [ProLiant DL3 ] no match : [ProLiant ML3 ] no match : [ProLiant DL5 ] no match : [ProLiant ML5 ] no match : [ProLiant DL7 ] no match : [ProLiant DL9 ] no match : [ProLiant BL ] match : [ProLiant XW ] no match : [ProLiant WS ] no match : [ProLiant SE ] no match : [ProLiant SL4 ] no match : [ProLiant SL3 ] no match : [ProLiant SL2 ] no match : [ProLiant DL160 Gen8 ] no match : [ProLiant SL160 Gen8 ] no match : [ProLiant SL140 ] no match : [ProLiant WS460c Gen8 WS Blade] no match : [ProLiant MicroServer Gen8] no match : [StoreEasy ] no match : [ProLiant ML10 ] no match : [Gen9 ] match © Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 28 of 33
  • 29. HP HP Servers and HP Solution Innovation Center HP TechTour 2015 : [ProLiant XL ] no match Saving configuration data to /tmp/rcu.xml Conrep Return Code: 0 # grep -A 3 -B 1 -i _logo /tmp/rcu.xml <Section name="PCI_Bus_Padding_Option_Gen8" helptext="For Gen8 servers only. Option allows the user to disable the default PCI Bus setting where each expansion slot is provided an extra PCI Bus number. By default, the system ROM will pad one PCI bus per bridge to not affect current bus numbering schemes.">Enabled</Section> <Section name="Power-on_Logo" helptext="Allows disabling of HP logo at system boot.">Enabled</Section> <Section name="Hide_Option_ROM_Messages" helptext="Allows disabling of Hide Option ROM Messages feature.">Enabled</Section> <Section name="Redundant_Power_Supply_Mode" helptext="Allows configuring how the system will handle redundant power supply configs. Balanced mode shares the power delivery equally between installed power supplies.">Balanced_Mode</Section> <Section name="Dynamic_Power_Savings_Mode_Response" helptext="Allows the system ROM to control processor performance and power state depending on the processor workload.">Fast</Section # perl -pi -e 's/(.*)"Power-on_Logo" (.*)>Enabled/$1"Power-on_Logo" $2>Disabled/' /tmp/rcu.xml # grep -A 3 -B 1 -i thread /tmp/rcu.xml <Section name="PCI_Bus_Padding_Option_Gen8" helptext="For Gen8 servers only. Option allows the user to disable the default PCI Bus setting where each expansion slot is provided an extra PCI Bus number. By default, the system ROM will pad one PCI bus per bridge to not affect current bus numbering schemes.">Enabled</Section> <Section name="Power-on_Logo" helptext="Allows disabling of HP logo at system boot.">Disabled</Section> <Section name="Hide_Option_ROM_Messages" helptext="Allows disabling of Hide Option ROM Messages feature.">Enabled</Section> <Section name="Redundant_Power_Supply_Mode" helptext="Allows configuring how the system will handle redundant power supply configs. Balanced mode shares the power delivery equally between installed power supplies.">Balanced_Mode</Section> <Section name="Dynamic_Power_Savings_Mode_Response" helptext="Allows the system ROM to control processor performance and power state depending on the processor workload.">Fast</Section> # hp-conrep -l -f /tmp/rcu.xml conrep 4.1.2.0 - HP Scripting Toolkit Configuration Replication Program Copyright (c) 2007-2014 Hewlett-Packard Development Company, L.P. System Type: ProLiant BL460c Gen9 ROM Date : 12/24/2014 ROM Family : I36 Processor Manufacturuer : Intel(R) Corporation XML System Configuration: /opt/hp/hp-scripting-tools/etc/conrep.xml © Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 29 of 33
  • 30. HP HP Servers and HP Solution Innovation Center HP TechTour 2015 Hardware Configuration: /tmp/rcu.xml Global Restriction: [3.40 ] OK Platform check: : [ProLiant DL120 G7 ] no match : [ProLiant ML110 G7 ] no match : [ProLiant DL3 ] no match : [ProLiant ML3 ] no match : [ProLiant DL5 ] no match : [ProLiant ML5 ] no match : [ProLiant DL7 ] no match : [ProLiant DL9 ] no match : [ProLiant BL ] match : [ProLiant XW ] no match : [ProLiant WS ] no match : [ProLiant SE ] no match : [ProLiant SL4 ] no match : [ProLiant SL3 ] no match : [ProLiant SL2 ] no match : [ProLiant DL160 Gen8 ] no match : [ProLiant SL160 Gen8 ] no match : [ProLiant SL140 ] no match : [ProLiant WS460c Gen8 WS Blade] no match : [ProLiant MicroServer Gen8] no match : [StoreEasy ] no match : [ProLiant ML10 ] no match : [Gen9 ] match : [ProLiant XL ] no match Loading configuration data from /tmp/rcu.xml Conrep Return Code: 0 # hp-reboot -h Invalid command line parameter: -h reboot 1.9-0 - SmartStart Scripting Toolkit Reboot Utility Copyright 2004-2012 Hewlett-Packard Development Company, L.P. Usage reboot [ a: | c: | cd | pxe | rbsu ] [-cold] [-?] a: Performs a one-time boot to a: c: Performs a one-time boot to c: cd Performs a one-time boot to cd pxe Performs a one-time boot to pxe nic rbsu Performs a one-time boot to ROM Based Setup Utility -cold Performs a cold boot # hp-reboot -cold rbsu © Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 30 of 33
  • 31. HP HP Servers and HP Solution Innovation Center HP TechTour 2015 If your modifications made the system configuration too messy, you can return to good known default values by using the hp-rbsureset command There is much more to discover around HP ProLiant under Linux (, …) but I leave that for an update of this document. © Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 31 of 33
  • 32. HP HP Servers and HP Solution Innovation Center HP TechTour 2015 This additional info is not yet organized correctly wrt to the rest of the Lab. (iLO4 only) # yum install hp-ams Loaded plugins: product-id, security, subscription-manager Updating certificate-based repositories. Unable to read consumer identity Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package hp-ams.x86_64 0:1.4.1-1089.1.rhel6 will be installed --> Finished Dependency Resolution [...] Please read the Licence Agreement for this software at /opt/hp/hp-ams/hp-ams.license By not removing this package, you are accepting the terms of the "HP Proliant Essentials Software End User License Agreement". Installed products updated. © Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 32 of 33
  • 33. HP HP Servers and HP Solution Innovation Center HP TechTour 2015 Cleanup the environment # yum remove hpsmh hpdiags hpssa hp-smh-templates net-snmp-utils hp-snmp- agents hp-health hpssacli hponcfg hp-ams lsof net-snmp-libs net-snmp- agent-libs © Bruno Cornec, Hewlett-Packard Company, 2015, under CC-by-SA 4.0 Page 33 of 33