설치환경
Centos7 64bit
https://downloads.linux.hpe.com/repo/mcp/centos/6.4/x86_64/9.50/hp-health-9.50-1628.32.rhel6.x86_64.rpm
hp-health 설치
# cd /usr/local/src
# wget http://downloads.linux.hpe.com/SDR/repo/spp-gen9/redhat/7Server/x86_64/current/hp-health-10.80-1855.21.rhel7.x86_64.rpm
# rpm -ivh hp-health-10.80-1855.21.rhel7.x86_64.rpm
설치중 오류발생 시
경고: hp-health-10.80-1855.21.rhel7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 26c2b797: NOKEY
오류: Failed dependencies:
pciutils is needed by hp-health-10.80-1855.21.rhel7.x86_64
해당오류는 pciutils가 설치 되어있지않아 발생하는 오류입니다. yum으로 설치해줍니다.
# yum install pciutils
hp-health 명령어모음(일부)
# hplog -v // 서버의 IML로그들을 출력합니다. 장애대응 시 유용
# hplog -f // 서버의 팬속도를 출력합니다.
# hpasmcli -s "show server" // 서버의 정보를 출력합니다.
예 ) hpasmcli -s "show server"
System : ProLiant DL360 G7
Serial No. : SGH2080Y87
ROM version : P68 08/16/2015
UEFI Support : No
iLo present : Yes
Embedded NICs : 4
NIC1 MAC: 44:1e:a1:47:07:08
NIC2 MAC: 44:1e:a1:47:07:0a
NIC3 MAC: 44:1e:a1:47:f6:fc
NIC4 MAC: 44:1e:a1:47:f6:fe
Processor: 0
Name : Intel(R) Xeon(R) CPU L5640 @ 2.27GHz
Stepping : 2
Speed : 2267 MHz
Bus : 133 MHz
Core : 6
Thread : 12
Socket : 1
Level1 Cache : 192 KBytes
Level2 Cache : 1536 KBytes
Level3 Cache : 12288 KBytes
Status : Ok
Processor: 1
Name : Intel(R) Xeon(R) CPU L5640 @ 2.27GHz
Stepping : 2
Speed : 2267 MHz
Bus : 133 MHz
Core : 6
Thread : 12
Socket : 2
Level1 Cache : 192 KBytes
Level2 Cache : 1536 KBytes
Level3 Cache : 12288 KBytes
Status : Ok
Processor total : 2
Memory installed : 32768 MBytes
ECC supported : Yes
# hpasmcli -s "show dimm" // 서버메모리 정보를 출력합니다.
예 ) hpasmcli -s "show dimm"
DIMM Configuration
------------------
Processor #: 1
Module #: 3
Present: Yes
Form Factor: 9h
Memory Type: DDR3(18h)
Size: 16384 MB
Speed: 1333 MHz
Supports Lock Step: Yes
Configured for Lock Step: No
Status: Ok
Processor #: 2
Module #: 3
Present: Yes
Form Factor: 9h
Memory Type: DDR3(18h)
Size: 16384 MB
Speed: 1333 MHz
Supports Lock Step: Yes
Configured for Lock Step: No
Status: Ok
# hpasmcli -s "show boot" // 서버 부팅순서를 확인합니다.
예 ) hpasmcli -s "show boot"
First boot device is: CDROM.
One time boot device is: Not set.
# hpasmcli -s "show fan" // 서버의 팬정보를 출력합니다. hplog-f 와 비슷하지만 더 자세한 정보를 출력합니다.
예 ) hpasmcli -s "show fan"
Fan Location Present Speed of max Redundant Partner Hot-pluggable
--- -------- ------- ----- ------ --------- ------- -------------
#1 SYSTEM Yes NORMAL 32% Yes 0 No
#2 SYSTEM Yes NORMAL 32% Yes 0 No
#3 SYSTEM Yes NORMAL 32% Yes 0 No
#4 SYSTEM Yes NORMAL 32% Yes 0 No
# hpasmcli -s "show temp" // 서버의 온도를 출력합니다. 서버관리 시 유용합니다.
예 ) hpasmcli -s "show temp"
Sensor Location Temp Threshold
------ -------- ---- ---------
#1 AMBIENT 26C/78F 42C/107F
#2 PROCESSOR_ZONE 40C/104F 82C/179F
#3 PROCESSOR_ZONE 40C/104F 82C/179F
#4 MEMORY_BD 37C/98F 87C/188F
#5 MEMORY_BD 36C/96F 78C/172F
#6 MEMORY_BD - -
#7 MEMORY_BD 34C/93F 78C/172F
#8 MEMORY_BD 36C/96F 87C/188F
#9 MEMORY_BD 33C/91F 78C/172F
#10 MEMORY_BD - -
#11 MEMORY_BD 33C/91F 78C/172F
#12 POWER_SUPPLY_BAY 33C/91F 59C/138F
#13 POWER_SUPPLY_BAY 46C/114F 73C/163F
#14 MEMORY_BD 32C/89F 72C/161F
#15 PROCESSOR_ZONE 34C/93F 73C/163F
#16 PROCESSOR_ZONE 33C/91F 64C/147F
#17 MEMORY_BD 31C/87F 63C/145F
#18 PROCESSOR_ZONE 40C/104F 69C/156F
#19 SYSTEM_BD 37C/98F 69C/156F
#20 SYSTEM_BD 39C/102F 71C/159F
#21 SYSTEM_BD 45C/113F 65C/149F
#22 SYSTEM_BD 47C/116F 71C/159F
#23 SYSTEM_BD 41C/105F 69C/156F
#24 SYSTEM_BD 48C/118F 69C/156F
#25 SYSTEM_BD 37C/98F 63C/145F
#26 SYSTEM_BD 47C/116F 66C/150F
#27 SCSI_BACKPLANE_ZONE 35C/95F 60C/140F
#28 SYSTEM_BD 73C/163F 110C/230F
[출처] centos7 hp-health 설치 및 명령어정리|작성자 위드시스템즈
'Server > HP서버' 카테고리의 다른 글
hponcfg (0) | 2025.01.25 |
---|---|
HP서버 정보 보기 - hpssacli, hpacucli (0) | 2023.11.10 |
HPE Gen9 P440ar 의 Raid5 구성 및 Cache Setting방법 (0) | 2023.05.06 |
HPE DL360 Gen9 서버에 삼성 SSD 860 pro 8개 레이드 구성 성공기 (0) | 2023.05.06 |
Gen9 Service Pack for ProLiant (0) | 2022.12.12 |
댓글