はじめに
- HPEが提供しているサーバ管理ツールとして、
hpacucli
やhpasmcli
などがあります。 - HWの状態確認に有益な為、利用しないてはありません!
- インストール方法や利用方法を以下に記載します。
詳細
インストール方法
- HPEのWebページからRPMファイルを取得。
- HPサポートページから検索して取得するのが一般的
- もしくはHPE用のyumリポジトリを追加する。
- その場合はインストールコマンドが
yum
になるので、注意すること。
- インストールしたいサーバへRPMファイルをFTP、もしくはRPMファイルをwgetで取得し、以下のコマンドを実行。
(例)# rpm -ivh hpacucli-9.40-12.0.x86_64.rpm
- モニタリングツールを起動する。
(例)# /etc/init.d/hpasm start
(例)# /etc/init.d/hp-health start
hpacucliコマンドリファレンス
物理ディスクのステータス確認
# hpacucli ctrl all show config
■コマンド実行例
[root@tapi04 tmp]# hpacucli ctrl all show config
Smart Array P420i in Slot 0 (Embedded) (sn: 0014380282D7490)
array A (SATA, Unused Space: 0 MB)
logicaldrive 1 (1.8 TB, RAID 1+0, OK)
physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SATA, 1 TB, OK)
physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SATA, 1 TB, OK)
physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SATA, 1 TB, OK)
physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SATA, 1 TB, OK)
[root@tapi04 tmp]#
hpasmcliコマンドリファレンス
物理メモリのステータス確認
hpasmcli -s "SHOW DIMM"
■コマンド実行例
[root@api04 ~]# hpasmcli -s "SHOW DIMM"
Failed to read embedded NIC status.
This system may not have any embedded NICs installed.
DIMM Configuration
------------------
Processor #: 1
Module #: 12
Present: Yes
Form Factor: 9h
Memory Type: DDR3(18h)
Size: 16384 MB
Speed: 1600 MHz
Supports Lock Step: No
Configured for Lock Step: No
Status: Ok
Processor #: 2
Module #: 12
Present: Yes
Form Factor: 9h
Memory Type: DDR3(18h)
Size: 16384 MB
Speed: 1600 MHz
Supports Lock Step: No
Configured for Lock Step: No
Status: Ok
[root@api04 ~]#
参考URL
以上