< Table: IPMI 2.0 Generic Event/Reading Type Code 07 >

 

e.g.) 모든 상황을 확인해 볼 수 없음이 좀 아쉽 아쉽 ...

Green   0x01, bit 00

Amber   0x02, bit 01

RED      0x08, bit 03

 

Green (No Issue)

# ipmitool -I lanplus -H <% iLO_IP_Addresss %> -U Administrator -P Password raw 4 0x2d 0xac

00 c0 01 80

# ipmitool -I lanplus -H <% iLO_IP_Addresss %> -U Administrator -P Password sdr elist | head -n 2

UID              | AEh | ok  | 23.1 |

SysHealth_Stat   | ACh | ok  | 23.1 | Transition to OK

 

Degraded (1 power source removed when rdnt PSU configured)

# ipmitool -I lanplus -H <% iLO_IP_Addresss %> -U Administrator -P Password sdr elist | head -n 2

UID              | AEh | ok  | 23.1 |

SysHealth_Stat   | ACh | ok  | 23.1 | Transition to Non-critical from OK

# ipmitool -I lanplus -H <% iLO_IP_Addresss %> -U Administrator -P Password raw 4 0x2d 0xac

00 c0 02 80

 

Degraded (SSB failue)

# ipmitool -I lanplus -H <% iLO_IP_Addresss %> -U Administrator -P Password raw 4 0x2d 0xac

00 c0 02 80

# ipmitool -I lanplus -H <% iLO_IP_Addresss %> -U Administrator -P Password sdr elist | head -n 2

UID              | AEh | ok  | 23.1 |

SysHealth_Stat   | ACh | ok  | 23.1 | Transition to Non-critical from OK

 

Critical (lost Logical Drive)

# ipmitool -I lanplus -H <% iLO_IP_Addresss %> -U Administrator -P Password raw 4 0x2d 0xac

00 c0 08 80

# ipmitool -I lanplus -H <% iLO_IP_Addresss %> -U Administrator -P Password sdr elist | head -n 2

UID              | AEh | ok  | 23.1 |

SysHealth_Stat   | ACh | ok  | 23.1 | Transition to Non-recoverable from less severe

 

Critical (System Power fault)

# ipmitool -I lanplus -H 10.254.53.157 -U Administrator -P Password raw 4 0x2d 0xac

00 e0 01 80

# ipmitool -I lanplus -H 10.254.53.157 -U Administrator -P Password sdr elist | head -n 2

UID              | AEh | ns  | 23.1 | No Reading

SysHealth_Stat   | ACh | ns  | 23.1 | No Reading

 

if check RESTful API 

# /usr/sbin/ilorest login <% iLO_IP_Addresss %> -u Administrator -p Password --selector=Chassis.

iLOrest : RESTful Interface Tool version 2.2

Copyright (c) 2014, 2017 Hewlett Packard Enterprise Development LP

----------------------------------------------------------------------------------------------------------------------------------

Discovering data...Done

WARNING: Cache is activated. Session keys are stored in plaintext.

# /usr/sbin/ilorest list Status |grep Health

        Health=Critical

 

# /usr/sbin/ilorest --nocache login <% iLO_IP_Addresss %> -u Administrator -p Password --selector=Chassis.

-> Delete Cache

 

cf.) default cache location:
Win - C:\Users\USERNAME\AppData\Roaming\.ilorest\cache\*
LX   - $HOME/.iLOrest/cache/*

 

Gen10의 경우 ipmitool sdr elist로 유효 결과를 얻을 수 있음 (굳이 raw를 쓸 필요 없음~)

그러나, 심각한 장애 상황인 경우, IPMI로는 시스템 정보를 제대로 확인할 수 없음

 

Health LED 상태의 경우, RESTful 결과를 참조하는 것이 좋다는 결론 (IPMI 보안 이슈도 있고 ...)

 

참고. http://infoages.com/1869?category=319414

Posted by 스쳐가는인연

댓글을 달아 주세요