Specifications

3
Configuring Shelf Manager and HPI Behavior
42
Editing the shmgr.conf configuration file
Filebasedconfigurationsettingsarestoredinthe/etc/shmgr.conffileforeachShelfManager
moduleandaresavedpermanently.AnychangesyoumaketakeeffectwhentheShelf
ManagerorthemodulerunningtheShelfManagerisre started.
OnanATCA6002shelf,the/etc/shmgr.conffileissupportedonlywhentheShelfManageris
operatinginenhancedmode.WhentheShelfManagerisoperatinginbasicmode,the
/etc/shmgr_basic.conffileisusedinstead.Fordetails,refertoConfiguringtheShelfManager
inbasicmodeonpage 50.
Note:Thecontentsofyour/etc/shmgr.conffileoverridetheconfigurationparameterdefault
settingsin/usr/share/shmgr/shmgr.defs.However,youshouldnotedittheshmgr.defsfile,
becausethefactorydefaultsshouldnotbechange d.Allcustomconfigurationshouldbedone
in/etc/shmgr.conf.
TochangetheShelfManagerandHPIconfigurationbyeditingthe/etc/shmgr.conffile:
1. OntheShelfManagermodule,openthe/etc/shmgr.conffileinatexteditor.(Thevitext
editorresidesonthemodule’sfilesystem.)
IftheshelfhasredundantSCMs,openthisfileontheSCMcontainingtheactiveShelf
Manager.
2. Edittheconfigurationparametersin/etc/shmgr.conf,addingparametersasneeded.
Whenaddingparameters,copythesyntaxfoundinthedefaultsfile
/usr/share/shmgr/shmgr.defs.
3. Saveyourchangesto/etc/shmgr.conf.
4. IftheshelfhasredundantSCMs,accesstheCLIontheSCMcontainingtheactiv eShelf
Managerandenterthesecommands:
shelfmgmt
configuresync_config
exit
Yourchangesto/etc/shmgr.confaresynchronizedtotheSCMcontainingthestandby
ShelfManager.
5. RestarttheShelfManagermodule(ortheSCMcontainingtheactiveShelfManager)to
makeyourconfigurationchangestak eeffect:
shmgrrestart
6. RestarttheSCMcontainingthestandbyShelfManager.