본문 바로가기
HW Knowledge/Hewlett-Packard Enterprise

Gen10/iLO 5/Get Cooling, PSU, SSB Status information via RESTful API

by 스쳐가는인연 2017. 12. 8.

RESTful Interface Tool 이용

1. RESTful interface Tool 설치
RESTful Interface Tool - Windows
2.1.0.0(12 Oct 2017)
https://support.hpe.com/hpsc/swd/public/detail?swItemId=MTX_9c0975dbceab469b83e621ad61&swEnvOid=4184

RESTful Interface Tool - Linux
2.1(12 Oct 2017)
https://support.hpe.com/hpsc/swd/public/detail?swItemId=MTX_fcd88e6b616c4457ba011e8071&swEnvOid=4184

 

2. RESTful interface Tool 실행
> ilorest


3.1 FAN / Sensor(Temperature) Status


로컬> save --selector=Thermal.
원격> save --selector=Thermal. -u iLO_Account -p iLO_Password --url=iLO_IP_Address

 

저장위치> 내문서(Documents)\ilorest.json

3.2 PSU Status

로컬> save --selector=Power.
원격> save --selector=Power. -u iLO_Account -p iLO_Password --url=iLO_IP_Address

 

3.3 SSB(Smart Storage Battery) Status

로컬> select Chassis.
로컬> list

 

원격> login <% iLO_IP_Address %> -u iLO_UserName -p iLO_Password
원격> select Chassis.
원격> list

 

 

RESTful API – Web Browser or API Tools

Authorization Type: Basic Auth
Username: iLO_Username
Password: iLO_Password

 

GET Method,

 

3.1 FAN / Sensor(Temperature) Status

https://<% iLO_IP_Address %>/redfish/v1/Chassis/1/Thermal

 

3.2 PSU Status
https://<% iLO_IP_Address %>/redfish/v1/Chassis/1/Power

 

3.3 SSB(Smart Storage Battery) Status
https://<% iLO_IP_Address %>/redfish/v1/Chassis/1/

반응형