Specifications
6
Troubleshooting
112
TherearenohardwarepresencedetectlinesinATCAbackplanes.TheShMSthusrelieson
messagebasedpings toperiodicallyqueryeachintelligentFRUwhosepresenceisknownto
theShMS,asfollows:
1. TotheIPMCofeveryintelligentFRUintheshelftheShMSsendsaGetDeviceIdpingevery
3secondsbydefault.Ifapingtimesoutwitha0xC3IPMIresponsecodetheShMS
schedulesasecondpingforthatIPMCafter2seconds.
2. Ifthesecond
GetDeviceIdpingalsofailsthentheShMSgeneratestheMx‐>M7eventfor
theFRUwherexisnot1,butitisthelastknowngoodhot‐swapstateoftheFRU. Thisis
thecommunicationlosteventwhichismappedtoaResourceFailedconditioninHPI.You
willseetheResourceFailedalarmforthatFRU'sre sourcewhenthishappens.
3. Ifx(lastknowngoodhot‐swapstate)isM1thenaM7eventisnotgenerated.Inthiscase
theShMSwilldeemthattheFRUhasbeenextractedfromtheslotandwillgeneratean
M1‐>M0event.ThismapstoaINACTIVE‐>NOT_PRESENThot‐swapeventinHPIandthe
resourceforthatFRUwillberemovedfromtheHPIRPTafterthisevent.
4. FollowingtheM7event,theShMSkeepstryingtopingtheIPMC thathaslost
communicationevery3secondsanywaytocheckifcommunicationisregained.Iftheping
succeeds,theShMSgeneratesanM7‐>Mxeventwherexwasthelastknowgoodhot‐
swapstate.ItthenlaunchesarediscoveryofthatFRUtolearnthecurrentstateofthat
FRUbecauseitmayhaveundergonechangeswhilecommunicationwiththeShMSwas
lost.
ThereisaconfigurationparameteravailablefortheShelfManagerthatcanchangethe
ShMS'spresencepingintervalsfromthedefaultof3seconds.Thisparameteriscalled
SHMS_FRU_HEARTBEAT_FREQUENCYandcanbesetinthe/etc/shmgr.conffile.Youwillneed
toreboottheSCMorrestarttheShelfManageraftermakingthisupdate.Bydefaultthis
parameterissetto3secondsintheread‐only/usr/share/shmgr/shmgr.defsfilewhichhouses
alltheShelfManagerparameterswiththeirdefaults.
AbriefdescriptionoftheFRUheartbeatparameterfromthe/usr/share/shmgr/shmgr.defs
file:
#SetthedefaultFRUpresencepingfrequencyinseconds
#Thisisthefrequencyinwhichtheshelfmanagerwillping
#intelligentFRU‐sfortheirpresence.
#Minimumis2secs,Maximumis60seconds,Defaultis3secs.
InordertochangetheFRUheartbeatparameterintheshmgr.conffile,inserttheline:
SHMS_FRU_HEARTBEAT_FREQUENCY=<pingintervalinsecs>
Note:ThisisnotaFRU‐specificparameter.Thenewpingintervalisglobalandappliedtoall
intelligentFRUsintheshelf.Asideeff ectofincreasingthepingintervalwouldbethatrealM7
conditionsforFRUswouldgetdetectedlate r thantheyarenow(afterabout5seconds).
Also
onceaFRUisphysicallyextractedfromtheshelftheShelfManagerwouldtakelongerto
generatetheINACTIVE‐>NOT_PRESENTevent.