SYSTEMS/HPE

[HPE] ilorest 명령 모음

CRAY KOREA Blog 2024. 5. 2. 10:07

조회

# ilorest -d serverinfo --processors
# ilorest -d serverinfo --fans
# ilorest -d serverinfo --thermals
# ilorest -d serverinfo --power
# ilorest -d serverinfo --memory

 

조회

# ilorest get ProcSMT --select Bios. --url [iLO_IP_ADDR] -u [iLO_ID] -p [iLO_PASSWORD] --nologo 

 

설정

# ilorest set "WorkloadProfile=Custom" --select Bios. --url [iLO_IP_ADDR]  -u [iLO_ID] -p [iLO_PASSWORD] --commit 
# ilorest set "CStateEfficiencyMode=Enabled" --select Bios. --url [iLO_IP_ADDR]  -u [iLO_ID] -p [iLO_PASSWORD] --commit 

 

bootorder 변경 방법

조회 :

ilorest bootorder --url [iLO_IP_ADDR]  -u [iLO_ID] -p [iLO_PASSWORD]  --nologo 

 

"HD.Slot.25.6"로 bootorder 설정 적용

ilorest bootorder HD.Slot.25.6 -u [iLO_ID] -p [iLO_PASSWORD]  --url [iLO_IP_ADDR]  --commit

 

BIOS 설정 저장

# ilorest save --select Bios. --url [iLO_IP_ADDR]  -u [iLO_ID] -p [iLO_PASSWORD] -f [SAVE_File_name] --nologo

 

BIOS 설정 적용

# ilorest load --url [iLO_IP_ADDR]  -u [iLO_ID] -p [iLO_PASSWORD] -f [File_name] --nologo

 

 

Collect an AHS from iloREST Example

사용 방법

# ilorest serverlogs --selectlog=AHS --directorypath=/dir --customiseAHS="from=YYYY-MM-DD&&to=YYYY-MM-DD" --url <River node iLo IP address> -u [iLO_ID] -p [iLO_PASSWORD]

 

예제

# ilorest serverlogs --selectlog=AHS --directorypath=/tmp/ahslog --customiseAHS="from=2024-01-01&&to=2024-04-30" --url 172.24.0.101 -u [iLO_ID] -p [iLO_PASSWORD]