Specifications

4
Changing Shelf Settings Using HPI
71
Querying the current hot-swap state of a FRU
YoucanqueryaFRU’scurrenthotswapstate:
•UsingtheCLIcommandstogetasummaryofFRUinformation,includingfirmware
versionsandhotswapstates.Enter:
platformmgmt
showfrus
ForinformationonadditionalFRUs,suchasRTMs,fans,andpowerequipmentmodules,
enter:
platformmgmt
showchassisstatus
•UsingtheHPIhotswapfunctionsaHpiHotSwapStateGet()toquerythehotswapstateof
theFRUassociatedwitharesource.
•UsingtheSNMPvariablesaHpiHotSwapState.0xffffffff.<FRUResourceId>.falsefromthe
HPIB0101MIBmoduletogetthehotswapstateofaparticularFRU.
•Usingthehpiappexampleapplicationinteractivelyorasaprogrammaticexamplefor
writingyourapplications.
TheATCAFRU‘M’statesaremappedtotheHPIhotswapstatesasfollows:
FormoredetailsonhowtheATCAhotswapstatemachineismappedtotheHPIhotswap
model,refertothehotswapsectionoftheSAFMappingSpecification.
Figure 8. M state to hot-swap state mapping
FRU “M” state HPI hot-swap state
M0 Not Present
M1 Inactive
M2 and M3 Insertion Pending
M4 Active
M5 and M6 Extraction Pending
M7 Lost Communication