Specifications

4
Changing Shelf Settings Using HPI
81
Error conditions
TheparametercontroloperationsSAHPI_DEF A ULT_PARMorSAHPI_RESTORE_PARMwillfail
andreturntheerrorcodeSA_ERR_HPI_INVALID_DATAifaconfigurationfileforoneresource
isloadedwithanotherresourceofadifferentkind.
ThischeckisdonebymatchingtheManufacturerIDandProductIDoftheFRU.Forexample,
ifaCPMisreplacedbyadifferenttypeofmoduleinthesameslot,andaparametercontrol
operationisinvokedtoloadaconfigurationfilesavedfortheoriginalmodule,theoperation
willfail.
Theparametercontroloperationwillalsofailifthenecessaryconfigurationfiledoesnotexist
atall.Insuchcases,theerrorcodeSA_ERR_HPI_NOT_PRESENTwillbereturned.
Note:IfaFRU'sfirmwareisupgradedwhi l etheFRUisactiveintheshelf,theHPI
implementationdiscardsthecurrentparametercontrolfilesforthatresource(both.defltand
.saved)andcreat esnewconfigurationfilesoncetheFRUispowercycled.Alternatively,the
usercanforcetheHPIimplementationtoupdatetheparametercontrolfilesfortheupdated
FRUbyissuingthesaHpiDiscover()function.YoucanalsoforceadiscoveryusingtheCLI
commandrediscoverShelfortheSNMPobjectsaHpiDiscover.0describedinHPIsubagent
initializationonpage 139.