SERVER/HPE

[HPE] ilorest 명령어

PeamS 2025. 7. 29. 16:37

다운로드

사용했던 명렁어들

--url 169.254.1.2 -u administrator -p <비밀번호>
명령어 뒤에 붙이면 원격 iLO 로 통신하여 명령 수행 가능

 serverinfo

ilorest serverinfo --system

더보기

iLORest : RESTful Interface Tool version 4.9.0.0
Copyright (c) 2014-2024 Hewlett Packard Enterprise Development LP
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------
System:
------------------------------------------------
Model: HPE ProLiant DL360 Gen10
Bios Version: U32 v3.42 (02/21/2025)
Serial Number: SGH
Embedded NIC Count: 4
1 MAC: 98:f2:b3:
2 MAC: 98:f2:b3:
3 MAC: 98:f2:b3:
4 MAC: 98:f2:b3:

 

ilorest serverinfo --processors

더보기

iLORest : RESTful Interface Tool version 4.9.0.0
Copyright (c) 2014-2024 Hewlett Packard Enterprise Development LP
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------
Processor:
------------------------------------------------
Processor 1:
        Model: Intel(R) Xeon(R) Bronze 3206R CPU @ 1.90GHz
        Step: 7
        Socket: Proc 1
        Max Speed: 4000 MHz
        Speed: 1900 MHz
        Cores: 8
        Threads: 8
        L1-Cache: 512 KB
        L2-Cache: 8192 KB
        L3-Cache: 11264 KB
        Health: OK
Processor 2:
        Model: Intel(R) Xeon(R) Bronze 3206R CPU @ 1.90GHz
        Step: 7
        Socket: Proc 2
        Max Speed: 4000 MHz
        Speed: 1900 MHz
        Cores: 8
        Threads: 8
        L1-Cache: 512 KB
        L2-Cache: 8192 KB
        L3-Cache: 11264 KB
        Health: OK

 

ilorest serverinfo --memory

더보기

Copyright (c) 2014-2024 Hewlett Packard Enterprise Development LP
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------
Memory/DIMM Board Information:
------------------------------------------------
Advanced Memory Protection Status: A3DC
Board CPU: 1
        Total Memory Size: 32768 MiB
        Board Memory Frequency: 2133 MHz
        Board Memory Voltage: 1200 MiB
Board CPU: 2
        Total Memory Size: 32768 MiB
        Board Memory Frequency: 2133 MHz
        Board Memory Voltage: 1200 MiB
------------------------------------------------
Memory/DIMM Configuration:
------------------------------------------------
Location: PROC 1 DIMM 8
Memory Type: DRAM DDR4
Capacity: 32768 MiB
Speed: 2133 MHz
Status: GoodInUse
Health: OK

Location: PROC 2 DIMM 8
Memory Type: DRAM DDR4
Capacity: 32768 MiB
Speed: 2133 MHz
Status: GoodInUse
Health: OK

 

ilorest serverinfo --power

더보기

iLORest : RESTful Interface Tool version 4.9.0.0
Copyright (c) 2014-2024 Hewlett Packard Enterprise Development LP
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------
Power:
------------------------------------------------
Total Power Capacity: 500 W
Total Power Consumed: 101 W

Power Metrics on 20 min. Intervals:
        Average Power: 101 W
        Max Consumed Power: 110 W
        Minimum Consumed Power: 100 W
------------------------------------------------
Power Supply 2:
------------------------------------------------
Power Capacity: 500 W
Last Power Output: 101 W
Input Voltage: 218 V
Input Voltage Type: ACHighLine
Hotplug Capable: True
iPDU Capable: False
Health: OK
State: Enabled

 

ilorest serverinfo --fans

더보기

Copyright (c) 2014-2024 Hewlett Packard Enterprise Development LP
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------
Fan(s):
------------------------------------------------
Fan 1:
        Location: System
        Reading: 11%
        Redundant: True
        Hot Pluggable: True
        Health: OK
        State: Enabled
Fan 2:
        Location: System
        Reading: 11%
        Redundant: True
        Hot Pluggable: True
        Health: OK
        State: Enabled
Fan 3:
        Location: System
        Reading: 11%
        Redundant: True
        Hot Pluggable: True
        Health: OK
        State: Enabled
Fan 4:
        Location: System
        Reading: 11%
        Redundant: True
        Hot Pluggable: True
        Health: OK
        State: Enabled
Fan 5:
        Location: System
        Reading: 11%
        Redundant: True
        Hot Pluggable: True
        Health: OK
        State: Enabled
Fan 6:
        Location: System
        Reading: 11%
        Redundant: True
        Hot Pluggable: True
        Health: OK
        State: Enabled
Fan 7:
        Location: System
        Reading: 11%
        Redundant: True
        Hot Pluggable: True
        Health: OK
        State: Enabled

 

ilorest serverinfo --thermals

더보기

iLORest : RESTful Interface Tool version 4.9.0.0
Copyright (c) 2014-2024 Hewlett Packard Enterprise Development LP
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------
Thermal:
------------------------------------------------
Sensor #1:
        Location: Intake
        Current Temp: 21 C
        Critical Threshold: 42 C
        Fatal Threshold: 47 C
        Health: OK
Sensor #2:
        Location: CPU
        Current Temp: 40 C
        Critical Threshold: 70 C
        Fatal Threshold: None C
        Health: OK
Sensor #3:
        Location: CPU
        Current Temp: 40 C
        Critical Threshold: 70 C
        Fatal Threshold: None C
        Health: OK
Sensor #6:
        Location: Memory
        Current Temp: 33 C
        Critical Threshold: 90 C
        Fatal Threshold: None C
        Health: OK
Sensor #10:
        Location: Memory
        Current Temp: 32 C
        Critical Threshold: 90 C
        Fatal Threshold: None C
        Health: OK
Sensor #12:
        Location: SystemBoard
        Current Temp: 35 C
        Critical Threshold: 60 C
        Fatal Threshold: None C
        Health: OK
Sensor #14:
        Location: SystemBoard
        Current Temp: 22 C
        Critical Threshold: 60 C
        Fatal Threshold: None C
        Health: OK
Sensor #15:
        Location: Intake
        Current Temp: 25 C
        Critical Threshold: 60 C
        Fatal Threshold: None C
        Health: OK
Sensor #16:
        Location: SystemBoard
        Current Temp: 35 C
        Critical Threshold: 115 C
        Fatal Threshold: 120 C
        Health: OK
Sensor #17:
        Location: SystemBoard
        Current Temp: 35 C
        Critical Threshold: 115 C
        Fatal Threshold: 120 C
        Health: OK
Sensor #18:
        Location: SystemBoard
        Current Temp: 29 C
        Critical Threshold: 115 C
        Fatal Threshold: 120 C
        Health: OK
Sensor #19:
        Location: SystemBoard
        Current Temp: 30 C
        Critical Threshold: 115 C
        Fatal Threshold: 120 C
        Health: OK
Sensor #20:
        Location: SystemBoard
        Current Temp: 30 C
        Critical Threshold: 115 C
        Fatal Threshold: 120 C
        Health: OK
Sensor #21:
        Location: SystemBoard
        Current Temp: 31 C
        Critical Threshold: 115 C
        Fatal Threshold: 120 C
        Health: OK
Sensor #22:
        Location: SystemBoard
        Current Temp: 41 C
        Critical Threshold: 100 C
        Fatal Threshold: None C
        Health: OK
Sensor #23:
        Location: SystemBoard
        Current Temp: 73 C
        Critical Threshold: 110 C
        Fatal Threshold: 115 C
        Health: OK
Sensor #24:
        Location: SystemBoard
        Current Temp: 39 C
        Critical Threshold: 90 C
        Fatal Threshold: 95 C
        Health: OK
Sensor #25:
        Location: SystemBoard
        Current Temp: 35 C
        Critical Threshold: 85 C
        Fatal Threshold: 90 C
        Health: OK
Sensor #27:
        Location: SystemBoard
        Current Temp: 33 C
        Critical Threshold: 90 C
        Fatal Threshold: 95 C
        Health: OK
Sensor #28:
        Location: SystemBoard
        Current Temp: 43 C
        Critical Threshold: 90 C
        Fatal Threshold: 95 C
        Health: OK
Sensor #30:
        Location: SystemBoard
        Current Temp: 35 C
        Critical Threshold: 90 C
        Fatal Threshold: 95 C
        Health: OK
Sensor #34:
        Location: SystemBoard
        Current Temp: 34 C
        Critical Threshold: 75 C
        Fatal Threshold: 80 C
        Health: OK
Sensor #36:
        Location: PowerSupply
        Current Temp: 30 C
        Critical Threshold: None C
        Fatal Threshold: None C
        Health: OK
Sensor #38:
        Location: PowerSupply
        Current Temp: 40 C
        Critical Threshold: None C
        Fatal Threshold: None C
        Health: OK
Sensor #39:
        Location: PowerSupply
        Current Temp: 30 C
        Critical Threshold: 100 C
        Fatal Threshold: None C
        Health: OK
Sensor #40:
        Location: PowerSupply
        Current Temp: 35 C
        Critical Threshold: 75 C
        Fatal Threshold: 80 C
        Health: OK
Sensor #41:
        Location: CPU
        Current Temp: 51 C
        Critical Threshold: None C
        Fatal Threshold: None C
        Health: OK
Sensor #42:
        Location: CPU
        Current Temp: 51 C
        Critical Threshold: None C
        Fatal Threshold: None C
        Health: OK
Sensor #50:
        Location: SystemBoard
        Current Temp: 57 C
        Critical Threshold: 110 C
        Fatal Threshold: 115 C
        Health: OK
Sensor #51:
        Location: SystemBoard
        Current Temp: 33 C
        Critical Threshold: 80 C
        Fatal Threshold: 85 C
        Health: OK
Sensor #51:
        Location: SystemBoard
        Current Temp: 40 C
        Critical Threshold: 103 C
        Fatal Threshold: 108 C
        Health: OK
Sensor #51:
        Location: SystemBoard
        Current Temp: 36 C
        Critical Threshold: 78 C
        Fatal Threshold: 83 C
        Health: OK

 

ilorest serverinfo --firmware

더보기

iLORest : RESTful Interface Tool version 4.9.0.0
Copyright (c) 2014-2024 Hewlett Packard Enterprise Development LP
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------
Firmware:
------------------------------------------------
iLO 5 : 3.11 Feb 25 2025
System ROM : U32 v3.42 (02/21/2025)
Intelligent Platform Abstraction Data : 16.5.0 Build 24
System Programmable Logic Device : 0x31
Power Management Controller Firmware : 1.1.4
Power Supply Firmware : 1.05
Innovation Engine (IE) Firmware : 0.2.3.0
Server Platform Services (SPS) Firmware : 4.1.5.105
Server Platform Services (SPS) Descriptor : 1.2 0
Redundant System ROM : U32 v3.34 (09/30/2024)
Intelligent Provisioning : 3.64.2
Power Management Controller FW Bootloader : 1.1
HPE Smart Storage Energy Pack 1 Firmware : 0.70
HP Ethernet 1Gb 4-port 331T Adapter : 20.30.41
HPE Smart Array P408i-a SR Gen10 : 7.43
Embedded SATA Controller #2 : N/A
Embedded Video Controller : 2.5
240GB 6G SATA SSD : HPG4
240GB 6G SATA SSD : HPG4

 

ilorest get --select Bios

  • BIOS 설정 정보 조회

 

ilorest set --select Bios "WorkloadProfile"="HighPerformanceCompute(HPC)"

  • Workload Profile 를 HPC로 바꾸기

 

ilorest commit

  • 수정 한 설정 반영 (안하면 재부팅해도 반영 안됨.)

 

ilorest serverlogs --selectlog=AHS

  •  현재 경로에 AHS 로그 추출

 

ilorest flashfwpkg HPE_SR_Gen10_7.43_A.fwpkg

  • 수동 업데이트 (레이드 카드)

 

ilorest flashfwpkg Seagate_CimarronBP_SCIMARBPETG1.fwpkg --url 169.254.1.2 -u administrator -p <비밀번호> --tpmover

 

ilorest iloreset

  • iLO reset 하기

 

관련문서

 - https://servermanagementportal.ext.hpe.com/docs/redfishclients/ilorest-userguide/ilocommands

 - https://hewlettpackard.github.io/python-redfish-utility/#ilo-commands