Zum Inhalt springen

HP-ProLiant Management CLI: Unterschied zwischen den Versionen

Aus LHlab Wiki
K Textersetzung - „<source“ durch „<syntaxhighlight“
K Textersetzung - „</source>“ durch „</syntaxhighlight>“
Zeile 19: Zeile 19:
<syntaxhighlight lang=bash>aptitude search hp-health
<syntaxhighlight lang=bash>aptitude search hp-health
i  hp-health                                                        - hp System Health Application and Command line Utility Package
i  hp-health                                                        - hp System Health Application and Command line Utility Package
aptitude install hp-health</source>
aptitude install hp-health</syntaxhighlight>




Zeile 33: Zeile 33:
       Type 'help' to get a list of all top level commands.
       Type 'help' to get a list of all top level commands.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
hpasmcli></source>
hpasmcli></syntaxhighlight>





Version vom 1. Januar 2021, 21:19 Uhr

HP pflegt für seine Support Packs ein eigenes Repo unter der URL http://downloads.linux.hp.com/SDR/downloads/ProLiantSupportPack/ (Übersicht: http://downloads.linux.hp.com/SDR/) - hier finden sich die Support Packs für diverse Distris.


Installation unter Ubuntu 11.04 (Natty Narwhal)

Im ersten Schritt werden die HP GPG Key's importiert

wget http://downloads.linux.hp.com/SDR/psp/GPG-KEY-ProLiantSupportPack -O - | apt-key add -


Da es lediglich für 10.04 (Lucid Lynx) passende Pakete gibt, müssen diese ersatzweise zur Source hinzugefügt und die Paketübersicht aktualisiert werden:

echo "deb http://downloads.linux.hp.com/SDR/psp/ lucid/current non-free" >> sources.list apt-get update


Nun sollten sich die HP Tools finden und installieren lassen:

aptitude search hp-health
i   hp-health                                                         - hp System Health Application and Command line Utility Package
aptitude install hp-health


Mittels hpasmcli lässt sich nun die HP CLI aufrufen

hpasmcli

HP management CLI for Linux (v2.0)
Copyright 2008 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>