Specifications

3
Configuring Shelf Manager and HPI Behavior
48
Assigning an entity type for a new FRU
TheHSD_FRU_ENTITY_TYPEparameterin/etc/shmgr.confletsyouassignanentitytypetoa
newFRU. Toassignanentitytype,usethefollowingsyntax:
HSD_FRU_ENTITY_TYPE=<ManufacturerId>:<ProductId>:<HPIEntityTypeinstring
format>
YoumustaddanewentryintheconfigurationfileforeachFRUwhoseentitytypeyouwantto
configure.Validdelimitersbetweeneachentryare: :;{}()[]
Forexample,toassignaFRUanentitytypeofSAHPI_ENT_SBC_BOARDwithamanufacturerIDof
1234andaproductIDof5678,youwouldaddthefollowingtotheshmgr.conffile:
HSD_FRU_ENTITY_TYPE=1234:5678:SAHPI_ENT_SBC_BOARD
Bydefault,theShelfManagerdetectsandassignsentitytypestocertaintypesofRadisys
FRUs.WhentheShelfManagerencountersanunknownFRUinafrontslot,itassignsadefault
PICMGentitytypeofATCAHPI_ENT_PICMG_FRONT_BLADE.Youcanretrievemanufacturer
andproductIDbyissuingtheIPMIGetDeviceIDrequestasshowninTable 10onpage 88.
Configuring HPI domain event log settings
Thefollowingparametersin/etc/shmgr.confletyouconfiguretheHPIdomainandresource
eventlogs:
HSD_MAX_EVENT_LOG_ENTRIESsetsthemaximumnumberofentriesthatcanbeheldby
theHPIdomaineventlogorresourceeventlog.Thedefaultis512.Themaximumis1024.
HSD_EVENT_LOG_OVERFLOW_ACTIONspecifieshowneweventsarehandledwhenan
HPIeventlogisfull.
HSD_USER_EVENT_MAX_SIZEspecifiesthemaximumlengthofeventsmanuallywritten
bytheuser.Thedefaultis255characters,whichisthemaximum.
Setting the persistent storage location for HPI configuration files
TheHSD_PERSISTENT_CONFIG_HOMEparameterin/etc/shmgr.confletsyousetthe
persistentstoragelocationofHPIparametercontrolconfigurationfilesforallresourcesthat
haveHPIparametercontrolcapability.Thedefaultlocationis/var/lib/shmgr.
YoucansetthisparametertopersistentlystoreHPIconfigurationonaremoteNFSmounted
server.Thisenables
multipleshelveswithsimilarconfigurationstouseacommonstorage
archiveandloadcommonconfigurationparameters.
Fordetailsonusingthisparameter,seeSavingandloadingcustomFRUconfigurationson
page 76.
“wrap” WrapsinFIFOmodebydeletingtheoldesteventtomakeroomforthenewest
event.
“drop Dropsneweventswhen
thelogisfull.