Archive

Posts Tagged ‘HP’

More HP sauce on ESXi 5.0

February 24, 2012 3 comments

On my first post about HP ESXi 5.0 customized image I discussed about the new esxcli namespaces added by HP. But those tools aren’t the only ones included.

If you list the software bundles and filter the output to display only the included by HP will notice an hponcfg package.

~ # esxcli software vib list |grep Hewlett
char-hpcru            5.0.0.8-1OEM.500.0.0.434156         Hewlett-Packard     PartnerSupported  2011-05-24 
char-hpilo            500.9.0.0.8-1OEM.500.0.0.434156     Hewlett-Packard     PartnerSupported  2011-05-24 
hp-smx-provider       500.02.10.13.44-434156              Hewlett-Packard     VMwareAccepted    2011-05-24 
hpbootcfg             01-00.10                            Hewlett-Packard     PartnerSupported  2011-05-24 
hponcfg               03-02.04                            Hewlett-Packard     PartnerSupported  2011-05-24 
~ #

Hponcfg, also included on ProLiant Support Pack for Linux, is a tool that enable a System Administrator to manage the iLO of a ProLiant server from the operative system.

~ # esxcli software vib get -n hponcfg
Hewlett-Packard_bootbank_hponcfg_03-02.04
   Name: hponcfg
   Version: 03-02.04
   Type: bootbank
   Vendor: Hewlett-Packard
   Acceptance Level: PartnerSupported
   Summary: HP ProLiant Lights-Out Configuration Utility for ESXi
   Description: HP ProLiant Lights-Out Configuration Utility for ESXi
   Release Date: 2011-08-09
   Depends:
   Conflicts:
   Replaces:
   Provides:
   Maintenance Mode Required: False
   Hardware Platforms Required: HP, Hewlett-Packard Company, Hewlett-Packard, hp
   Live Install Allowed: False
   Live Remove Allowed: False
   Stateless Ready: True
   Overlay: False
   Tags:
   Payloads: hponcfg
~ #

The tool is located at /opt/hp/tools.

/opt/hp/tools # ls
hpbootcfg         hpbootcfg_esxcli  hponcfg
/opt/hp/tools #

Launch the utility without arguments and you will get the usage and it will also display current firmware version of the iLO.

/opt/hp/tools # ./hponcfg
HP Lights-Out Online Configuration utility
Version 3.2-4 (c) Hewlett-Packard Company, 2011
Firmware Revision = 1.26 Device type = iLO 3 Driver name = hpilo
USAGE:
  hponcfg  -?
  hponcfg  -h
  hponcfg  -m minFw
  hponcfg  -r [-m minFw ]
  hponcfg  [-a] -w filename [-m minFw]
  hponcfg  -g [-m minFw]
  hponcfg  -f filename [-l filename] [-s namevaluepair] [-v] [-m minFw]
  hponcfg  -i [-l filename] [-s namevaluepair] [-v] [-m minFw]
  -h,  --help           Display this message
  -?                    Display this message
  -r,  --reset          Reset the Management Processor to factory defaults
  -f,  --file           Get/Set Management Processor configuration from "filename"
  -i,  --input          Get/Set Management Processor configuration from the XML input
                        received through the standard input stream.
  -w,  --writeconfig    Write the Management Processor configuration to "filename"
  -a,  --all            Capture complete Management Processor configuration to the file.
                        This should be used along with '-w' option
  -l,  --log            Log replies to "filename"
  -v,  --xmlverbose     Display all the responses from Management Processor
  -s,  --substitute     Substitute variables present in input config file
                        with values specified in "namevaluepairs"
  -g,  --get_hostinfo   Get the Host information
  -m,  --minfwlevel     Minimum firmware level
/opt/hp/tools #

As a non intrusive example you can use -g switch to get the server info.

/opt/hp/tools # ./hponcfg  -g
HP Lights-Out Online Configuration utility
Version 3.2-4 (c) Hewlett-Packard Company, 2011
Firmware Revision = 1.26 Device type = iLO 3 Driver name = hpilo
Host Information:
                        Server Name: esxi01.hp.local
                        Server Number:
/opt/hp/tools #

I’ll let you to investigate the rest of the options carefully.

Juanma.

Introducing HP iLO app for iOS

February 20, 2012 1 comment

Quietly released by HP less than a week ago, the HP iLO Mobile Application for iOS allows you to control your ProLiant server through their iLO console from your iOS device. It is compatible with iPhone 4/4S and iPad 1/2 and can be found on Apple AppStore.

The application is much more than a simple remote console to access the operating system running on the server. You can operate the power controls of the server, mount ISO images, access and interact with the iLO web interface and even launch iLO scripts from your mobile device.

Of course you can also store a list of the servers to manage and save the login the credentials for each of them.

The product page can be accessed here on the HP site. There is also a user guide with useful info and tips.

Following are a couple of screenshot from the app running on my iPad and another one taken from HP with the output generated by an iLO3 script.

Main screen

photo 1

Configure iLO screen

photo 2

iLO script output

iLO3-script

Juanma.

Categories: HP Tags: , , , , , ,

New esxcli namespaces included on the HP ESXi image

January 9, 2012 5 comments

If your VMware infrastructure runs on top of HP servers, rack or blade, you should be familiar with the HP customized ESXi images. Hewlett Packard has been releasing theses images since ESXi 4.0 and with the release of vSphere 5 a new image has also been released.

This images comes bundled with utilities and drivers not included in the standard VMware image that allows ESXi to run flawlessly on HP hardware.

You can retrieve the packages specifically provided by using the esxcli command.

~ # esxcli software vib list |grep Hewlett-Packard
char-hpcru            5.0.0.8-1OEM.500.0.0.434156         Hewlett-Packard     PartnerSupported  2011-04-16 
char-hpilo            500.9.0.0.8-1OEM.500.0.0.434156     Hewlett-Packard     PartnerSupported  2011-04-16 
hp-esx-license        1.0-03                              Hewlett-Packard     PartnerSupported  2011-04-16 
hp-smx-provider       500.02.10.13.44-434156              Hewlett-Packard     VMwareAccepted    2011-04-16 
hpbootcfg             01-00.10                            Hewlett-Packard     PartnerSupported  2011-04-16 
hponcfg               03-02.04                            Hewlett-Packard     PartnerSupported  2011-04-16 
~ #

To get detailed information of any of those packages use the following command.

~ # esxcli software vib get -n hp-smx-provider
Hewlett-Packard_bootbank_hp-smx-provider_500.02.10.13.44-434156
   Name: hp-smx-provider
   Version: 500.02.10.13.44-434156
   Type: bootbank
   Vendor: Hewlett-Packard
   Acceptance Level: VMwareAccepted
   Summary: HP Insight Management WBEM Providers for ESXi
   Description: HP Insight Management WBEM Providers for ESXi
   Release Date: 2011-07-15
   Depends:
   Conflicts:
   Replaces:
   Provides: cim.DMTF.DSP1004 = 1.0.0, cim.SNIA.FC-HBA = 1.3.0
   Maintenance Mode Required: False
   Hardware Platforms Required: HP, hp, Hewlett-Packard, Hewlett-Packard Company
   Live Install Allowed: True
   Live Remove Allowed: False
   Stateless Ready: True
   Overlay: False
   Tags:
   Payloads: hp-smx-provider
~ #

Aside from the drivers and monitorization agents, the HP image also adds two additional namespaces to esxcli.

  • hp
  • hpbootcfg

The first one, hp, manage the HP NMI driver.

~ # esxcli hp
Usage: esxcli hp {cmd} [cmd options]
Available Namespaces:
  hpnmi                 The default set of operations for the hpnmi command
~ # esxcli hp hpnmi
Usage: esxcli hp hpnmi {cmd} [cmd options]
Available Commands:
  load                  Verifies HP server and Loads hpnmi module on supported servers
~ #

The hpbootcfg namespace is used to configure the device boot order of the server. This can be permanent or a one time boot change.

~ # esxcli hpbootcfg
Usage: esxcli hpbootcfg {cmd} [cmd options]
Available Commands:
 execute execute hpbootcfg command with options parameter
 help show hpbootcfg help
 show show current hpbootcfg settings
~ #
~ # esxcli hpbootcfg show
00 00: Normal Device first, normal boot process

~ #
~ # esxcli hpbootcfg execute --help
Usage: esxcli hpbootcfg execute [cmd options]
Description:
 execute execute hpbootcfg command with options parameter
Cmd options:
 -b|--bypass bypass F1/F2
 -C|--cdrom CD ROM first
 -D|--defaults Set Defaults everywhere
 -d|--dialout one time remote dial out
 -F|--floppy Floppy first
 -H|--harddrive Harddrive first
 -n|--network one time remote network
 -P|--pxe one time boot to PXE
 -Q|--qcu one time boot to quick configuration utility
 -R|--rbsu one time boot to RBSU
 -r|--remote one time remote
 -S|--scu one time boot to system configuration utility
 -T|--tape Tape first
~ #

Juanma.

How to upgrade the firmware of the HP Onboard Administrator

October 14, 2011 15 comments

A post mostly for documentation sake on how to upgrade the firmware of the Onboard Administrator of an HP BladeSystem enclosure.

The update is a very straight forward process that can be done entirely through the OA web administration interface.

Go to Active Onboard Administrator –> Firmware Update.

OA1

From that screen you can upload the firmware from your system or enter an URL where the image is available. For our example we are going to use the upload option. Browse to the firmware image file and click Upload.

The OA web administration interface will logout any connected user and will start the upgrading process.

OA2

During the upgrade a progress bar like the one in the above screenshot will be shown and the OA will be reset when the process is complete.

OA3

Finally log into the OS and from the Active Onboard Administrator screen check the OA version.

OA4

Juanma.

Time to vote for VMworld 2011 sessions! Vote for the HP ones!

Time to vote for VMworld 2011 sessions is here. Like every year VMware has opened the process to vote for those sessions that you want to make their way to the conference. To be able to vote you need to have a vmworld.com account, if don’t have one the registering process is very easy. The voting process is open until May 18th.

I checked the sessions at VMworld site and all look very interesting, you should review the complete list and vote for the ones you like the most. However I also want to see a deep HP presence in VMworld since I firmly believe that HP has a lot to offer for VMware environments, also some of the most talented guys in the company have sent a bunch of damn good sessions for this VMworld, and because of that I compiled the following list which includes every session proposed by the HP folks. If you think like me please vote for their sessions.

SESSION TITLE
2152 Storage Selection Techniques for Building a VMware Based Private Cloud
2258 Scale-Up Virtualization with High Availability ProLiant Servers
2271 VDI Without the Pain – VMware ThinApp and WES7
2290 Storage Best Practices and Performance Tuning
2291 Solving Storage Performance Problems with RESXTOP
2364 Business-Focused Reporting and Capacity Planning in Dynamic Virtual Environments
2503 Building and Managing Public and Private Cloud Services
2504 Navigating the Cloud Landscape
2507 Speed BladeSystem Infrastructure Deployment through Scripting
2769 You Know You Must Deduplicate Your vSphere Backups but Which Approach is Best for You?
2770 Data Protection Practices for Tier 1 Applications on VMware vSphere
2772 Best Practices for Achieving High Availability Across Multiple Sites with VMware
2773 Best Practices Deploying Storage for VMware View
2774 Supercharge Your VMware Deployment with VAAI and VAAI-enabled Storage Arrays
2812 Ensure Data Center Transformation and Cloud Success with Solution Blueprints
2826 Performance Considerations for VMware Storage —from RAID to VAAI
2828 Using vCenter Plug-ins to Troubleshoot and More Effectively Manage Storage
2837 Understanding Storage QoS and Policy-Based Storage with vSphere
2845 Virtualizing Tier 1 Applications –What Will it Take from Storage?
2913 DR Troubleshooting and Configuration Tips for Multi-site Storage Replication with Site Recovery Manager
2995 Delivering Uncompromised Virtualized Infrastructure Management from VMware vCenter Server
3094 How IT Is Becoming More than a Provider and Buyer of Technology Services
3099 Breakthroughs in Successful CV Deployment
3175 VMware Brick by Brick
3194 Modernizing Business Architecture with VMware Virtualization
1427 Battle of the Storage Experts
1623 Storage Superheavy Weight Smackdown 2011
2481 A Multi-Vendor Panel: “What Does Storage of the Future Look Like?”
2505 Cloud Advisor Panel : Lessons Learned from Real World Cloud Deployments
2832 How Chevron, Denver Health, and Diamond Resorts Converged Server and Storage Virtualization
3109 Desktop Virtualization – Talk to the Experts at HP and VMware

Finally I don’t want to finish this post without recommending to you a session from Julian Wood (@julian_wood):

3005 – Designing and Building a Simple and Scalable Virtual Infrastructure with HP Flex-10 and ESX(i)

Julian doesn’t work for HP but without any doubt he can be considered an expert in both VMware and Virtual Connect Flex-10 and this session has the honor to be the only Flex-10 related session. You can get more details about the session in his blog where he wrote a post about it.

Juanma.

Categories: HP, Virtualization, VMware Tags: , ,

HP Technology@Work On Tour 2011 – Madrid

The HP Technology@Work On Tour arrived yesterday to Madrid. This event has been a great opportunity for everyone to see the proposals from HP for Converged Infrastructure, Network Security and Datacenter Transformation.

The event is not as big as the HP Tech@Work from other years or the HP Discover that will be held in Las Vegas next June, instead HP in EMEA decided to bring a small show to several European cities like Paris, Madrid or Amsterdam and show there our stuff in all its greatness :-)

I didn’t planned in the beginning to go to HPTAW2011, I really had a lot of work to do this week, but suddenly I found on Monday that Hans Vredevoort (@hvredevoort) was coming to Madrid invited as Press and I really wanted to meet him. Hans is a great guy and I like to chat with him on Twitter, he’s also an MVP and the owner of Hyper-V.nu, one the top blogs about Microsoft Hyper-V.

We had the chance to share a couple of beers and have a fantastic conversation about the state of the industry, virtualization, blade servers, storage, HP 3PAR and HP products in general. We also made a small tour through the booth to see the demos and speak with some of my colleagues from HP  and from sponsors like Brocade, Microsoft and VMware. I want to make a special mention about my colleague Simon Leech from HP Networking who was very kind and talked with us about HP Tipping Point security products

Finally I had the opportunity to take a couple of pictures of the booth and the almighty Superdome2 :-D

I don’t want to finish my post without mentioning th people from the registering area, I wasn’t registered to the event but since I was an HP employee they were so kind to provide me with the proper accreditation that allowed to enter the booth.

Juanma.

Generate a Show All report in HP c-Class Blade Enclosures

One nice feature of the HP Onboard Administrator used to manage the c-Class Blade Enclosures is the posibility to generate a report in plain text format that contains the configuration of the enclosure and the whole inventory, including device bays, interconnect modules, MAC, WWNs, etc.

This report can be very useful for troubleshooting purposes and it’s for sure that if you have a problem with an enclosure and open a case to HP Support the Show All report will be amongst the first things you’ll be asked for.

Login into the enclosure Onboard Administrator administration interface. From the main screen go to Enclosure Settings -> Configuration Scripts.

You will see the interface to upload your customized scripts, a text box to point to an URL where the script is stored and two links named SHOW CONFIG and SHOW ALL.

Click the SHOW ALL link, a new window or tab will open and after a few seconds a report will appear.

Save it to your system and you are done. Now you can open the file with any text editor to look into the enclosure data.

Juanma.

Install ESXi from the Onboard Administrator

Installing an ESXi server, or any other operative system, using the c-Class Blade Enclosure Onboard Administrator and the server ILO is a very easy and straightforward process. The Onboard Administrator integrates with each blade server iLO, allowing pass-through authentication.

From the OA main screen go to Device Bays and select the blade server where you want to install the ESXi on, from there enter the iLO section.

In the iLO area of the server launch a console applet; as you can see in the below screenshot there are several options, choose the one the better suits your environment.

I personally choose Remote Console. When the console is up you’ll see a menu, open the Virtual Drives menu. Here you can map a physical drive from your PC/Laptop, an USB Key or an ISO image.

With the media mapped to the blade server reset the server from the Power Switch menu and launch the ESXi installation like in any other server. By default it boot from the DVD if not from the boot screen press F11 to launch the Boot Menu.

If everything goes as expected after a few minutes you will have a new ESXi server. Just remember to disconnect the virtual drive from the blade once the ESXi is installed or it will boot again from the ISO image after the reboot of the server.

Finally is important to point out that the install process can be launched simultaneously to several servers using the same ISO image.

Juanma.

New blog on the way… Matt Cowger is online ladies and gentlemen :-)

April 13, 2011 2 comments

Just read a tweet from Matt Cowger (@mcowger) saying he started a new technical blog “VM’s Are Free, Right” and I though that I can help him to spread the word :-)

For those of you that know nothing about Matt, he’s a colleague from HP coming from 3PAR he’s a former colleague at HP and recently joined EMC as vSpecialist. He is a Rockstar in the virtualization industry with the #VCDX052 badge under his belt. And far more important than that, he is a great guy.

I’m sure that very soon his blog will be one of the top references in the industry, I already subscribed and you should do it too.

Juanma.

Categories: Blog, HP, Virtualization, VMware Tags: , , ,

HP ProLiant servers management with hpasmcli

February 16, 2011 9 comments

Hpasmcli, HP Management Command Line Interface, is a scriptable command line tool to manage and monitor the HP ProLiant servers through the hpasmd and hpasmxld daemons. It is part of the hp-health package that comes with the HP Proliant Support Pack, or PSP.

[root@rhel4 ~]# rpm -qa | grep hp-health
hp-health-8.1.1-14.rhel4
[root@rhel4 ~]#
[root@rhel4 ~]# rpm -qi hp-health-8.1.1-14.rhel4
Name        : hp-health                    Relocations: (not relocatable)
Version     : 8.1.1                             Vendor: Hewlett-Packard Company
Release     : 14.rhel4                      Build Date: Fri 04 Jul 2008 07:04:51 PM CEST
Install Date: Thu 02 Apr 2009 05:10:48 PM CEST      Build Host: rhel4ebuild.M73C253-lab.net
Group       : System Environment            Source RPM: hp-health-8.1.1-14.rhel4.src.rpm
Size        : 1147219                          License: 2008 Hewlett-Packard Development Company, L.P.
Signature   : (none)
Packager    : Hewlett-Packard Company
URL         : http://www.hp.com/go/proliantlinux
Summary     : hp System Health Application and Command line Utility Package
Description :
This package contains the System Health Monitor for all hp Proliant systems
with ASM, ILO, & ILO2 embedded management asics.  Also contained are the
command line utilities.
[root@rhel4 ~]#
[root@rhel4 ~]# rpm -ql hp-health-8.1.1-14.rhel4
/etc/init.d/hp-health
/opt/hp/hp-health
/opt/hp/hp-health/bin
/opt/hp/hp-health/bin/IrqRouteTbl
/opt/hp/hp-health/bin/hpasmd
/opt/hp/hp-health/bin/hpasmlited
/opt/hp/hp-health/bin/hpasmpld
/opt/hp/hp-health/bin/hpasmxld
/opt/hp/hp-health/hprpm.xpm
/opt/hp/hp-health/sh
/opt/hp/hp-health/sh/hpasmxld_reset.sh
/sbin/hpasmcli
/sbin/hpbootcfg
/sbin/hplog
/sbin/hpuid
/usr/lib/libhpasmintrfc.so
/usr/lib/libhpasmintrfc.so.2
/usr/lib/libhpasmintrfc.so.2.0
/usr/lib/libhpev.so
/usr/lib/libhpev.so.1
/usr/lib/libhpev.so.1.0
/usr/lib64/libhpasmintrfc64.so
/usr/lib64/libhpasmintrfc64.so.2
/usr/lib64/libhpasmintrfc64.so.2.0
/usr/share/man/man4/hp-health.4.gz
/usr/share/man/man4/hpasmcli.4.gz
/usr/share/man/man7/hp_mgmt_install.7.gz
/usr/share/man/man8/hpbootcfg.8.gz
/usr/share/man/man8/hplog.8.gz
/usr/share/man/man8/hpuid.8.gz
[root@rhel4 ~]#

This handy tool can be used to view and modify several BIOS settings of the server and to monitor the status of the different hardware components like fans, memory modules, temperature, power supplies, etc.

It can be used in two ways:

  • Interactive shell
  • Within a script

The interactive shell supports TAB command completion and command recovery through a history buffer.

[root@rhel4 ~]# hpasmcli
HP management CLI for Linux (v1.0)
Copyright 2004 Hewlett-Packard Development Group, L.P.

--------------------------------------------------------------------------
NOTE: Some hpasmcli commands may not be supported on all Proliant servers.
      Type 'help' to get a list of all top level commands.
--------------------------------------------------------------------------
hpasmcli> help
CLEAR  DISABLE  ENABLE  EXIT  HELP  NOTE  QUIT  REPAIR  SET  SHOW
hpasmcli>

As it can be seen in the above example several main tasks can be done, to get the usage of every command simply use HELP followed by the command.

hpasmcli> help show
USAGE: SHOW [ ASR | BOOT | DIMM | F1 | FANS | HT | IML | IPL | NAME | PORTMAP | POWERSUPPLY | PXE | SERIAL | SERVER | TEMP | UID | WOL ]
hpasmcli>
hpasmcli> HELP SHOW BOOT
USAGE: SHOW BOOT: Shows boot devices.
hpasmcli>

In my experience SHOW is the most used command above the others. Following are examples for some of the tasks.

- Display general information of the server

hpasmcli> SHOW SERVER
System        : ProLiant DL380 G5
Serial No.    : XXXXXXXXX     
ROM version   : P56 11/01/2008
iLo present   : Yes
Embedded NICs : 2
        NIC1 MAC: 00:1c:c4:62:42:a0
        NIC2 MAC: 00:1c:c4:62:42:9e

Processor: 0
        Name         : Intel Xeon
        Stepping     : 11
        Speed        : 2666 MHz
        Bus          : 1333 MHz
        Core         : 4
        Thread       : 4
        Socket       : 1
        Level2 Cache : 8192 KBytes
        Status       : Ok

Processor: 1
        Name         : Intel Xeon
        Stepping     : 11
        Speed        : 2666 MHz
        Bus          : 1333 MHz
        Core         : 4
        Thread       : 4
        Socket       : 2
        Level2 Cache : 8192 KBytes
        Status       : Ok

Processor total  : 2

Memory installed : 16384 MBytes
ECC supported    : Yes
hpasmcli>

- Show current temperatures

hpasmcli> SHOW TEMP
Sensor   Location              Temp       Threshold
------   --------              ----       ---------
#1        I/O_ZONE             49C/120F   70C/158F
#2        AMBIENT              23C/73F    39C/102F
#3        CPU#1                30C/86F    127C/260F
#4        CPU#1                30C/86F    127C/260F
#5        POWER_SUPPLY_BAY     52C/125F   77C/170F
#6        CPU#2                30C/86F    127C/260F
#7        CPU#2                30C/86F    127C/260F

hpasmcli>

- Get the status of the server fans

hpasmcli> SHOW FAN
Fan  Location        Present Speed  of max  Redundant  Partner  Hot-pluggable
---  --------        ------- -----  ------  ---------  -------  -------------
#1   I/O_ZONE        Yes     NORMAL 45%     Yes        0        Yes          
#2   I/O_ZONE        Yes     NORMAL 45%     Yes        0        Yes          
#3   PROCESSOR_ZONE  Yes     NORMAL 41%     Yes        0        Yes          
#4   PROCESSOR_ZONE  Yes     NORMAL 36%     Yes        0        Yes          
#5   PROCESSOR_ZONE  Yes     NORMAL 36%     Yes        0        Yes          
#6   PROCESSOR_ZONE  Yes     NORMAL 36%     Yes        0        Yes           

hpasmcli>

- Show device boot order configuration

hpasmcli> SHOW BOOT
First boot device is: CDROM.
One time boot device is: Not set.
hpasmcli>

- Set USB key as first boot device

hpasmcli> SET BOOT FIRST USBKEY

- Show memory modules status

hpasmcli> SHOW DIMM
DIMM Configuration
------------------
Cartridge #:   0
Module #:      1
Present:       Yes
Form Factor:   fh
Memory Type:   14h
Size:          4096 MB
Speed:         667 MHz
Status:        Ok

Cartridge #:   0
Module #:      2
Present:       Yes
Form Factor:   fh
Memory Type:   14h
Size:          4096 MB
Speed:         667 MHz
Status:        Ok

Cartridge #:   0
Module #:      3
Present:       Yes
Form Factor:   fh
Memory Type:   14h
Size:          4096 MB
Speed:         667 MHz
Status:        Ok
...

In the scripting mode hpasmcli can be used directly from the shell prompt with the -s option and the command between quotation marks, this of course allow you to process the output of the commands  like in the below exampl.

[root@rhel4 ~]# hpasmcli -s "show dimm" | egrep "Module|Status"
Module #:      1
Status:        Ok
Module #:      2
Status:        Ok
Module #:      3
Status:        Ok
Module #:      4
Status:        Ok
Module #:      5
Status:        Ok
Module #:      6
Status:        Ok
Module #:      7
Status:        Ok
Module #:      8
Status:        Ok
[root@rhel4 ~]#

To execute more than one command sequentially separate them with a semicolon.

[root@rhel4 ~]# hpasmcli -s "show fan; show temp"

Fan  Location        Present Speed  of max  Redundant  Partner  Hot-pluggable
---  --------        ------- -----  ------  ---------  -------  -------------
#1   I/O_ZONE        Yes     NORMAL 45%     Yes        0        Yes          
#2   I/O_ZONE        Yes     NORMAL 45%     Yes        0        Yes          
#3   PROCESSOR_ZONE  Yes     NORMAL 41%     Yes        0        Yes          
#4   PROCESSOR_ZONE  Yes     NORMAL 36%     Yes        0        Yes          
#5   PROCESSOR_ZONE  Yes     NORMAL 36%     Yes        0        Yes          
#6   PROCESSOR_ZONE  Yes     NORMAL 36%     Yes        0        Yes           

Sensor   Location              Temp       Threshold
------   --------              ----       ---------
#1        I/O_ZONE             47C/116F   70C/158F
#2        AMBIENT              21C/69F    39C/102F
#3        CPU#1                30C/86F    127C/260F
#4        CPU#1                30C/86F    127C/260F
#5        POWER_SUPPLY_BAY     50C/122F   77C/170F
#6        CPU#2                30C/86F    127C/260F
#7        CPU#2                30C/86F    127C/260F

[root@rhel4 ~]#

If you want to play more with hpasmcli go to its man page and to the ProLiant Support Pack documentation.

Juanma.

Follow

Get every new post delivered to your Inbox.

Join 197 other followers

%d bloggers like this: