Specifications

3
Configuring Shelf Manager and HPI Behavior
43
Configuring Shelf Manager behavior
Thissectiondescribestheshelfmanagementconfigurationsettingsyoucanchangebyediting
shelfmanagementserverparameters(parameterswiththeprefixSHMS)inthe
/etc/shmgr.conffile.
Configuring verbosity and log settings
TheSHMS_CMDLINE_ARGSparameterin/etc/shmgr.confiswhereyoucansetverbosityand
logsettings.SHMS_CMDLINE_ARGSsetsthecommandlineparameterspassedtotheShelf
Managerprogramwhenitstarts.Youcanusethe followingvalues:
Formaximumdebugging,thefollowingsettingsarerecommended:
SHMS_CMDLINE_ARGS=”‐‐verbosity7‐‐maxlog8000000”
‐‐verbosity[level] Thedefaultis5.Use3foralessverbosebutinformativedebuglevel,6
foradebugfriendlylevel,or7forthemostverbosedebugmessages.
Ifyouuseavaluelessthan3,youdonotgeterrororinformation
messages.
‐‐maxlog[logsize] Thedefaultsizeofthe/tmp/shmgr/shmgr.logfileis8000000(8MB).
Youcanincreasethelogsize,butkeepitbelow16 MB.Logsarestored
inRAMandusingmorethan16MBscouldmakethesystemunstable.
Usehighervalues,upto16000000(16MB),inordertologmore
messages.Whentheinitiallogfilereachesthemaximumsize,itis
compressedwithgzipandcopiedtoabackupfile(shmgr.log.1.tgz).
Thenanewlogiscreated.Thesecondtimethelogreachesthesize
limit,itiscopiedtoanotherbackupfile(shmgr.log.2.tgz).Thefirstand
secondbackupscontaintheinitialstartupinformationandarekept
untiltheShelfManagermoduleisrestarted.Themostrecentten
backupfilesarealsokeptuntilarestart.
Note:Thespacerequiredforthelogfileanditsbackupsisroughly
doubletheamountsetinthisparameter.
‐‐nolog[hsd,shms] DisablesloggingofHPIorShMSmessages.