How to configure Spectrum to automatically start the SpectroSERVER and Archive Manager when the system is restarted.
How can the SS and ArchMgr be autostarted after reboot?
All supported Network Observability NetOps Spectrum SpectroSERVER releases
This can be accomplished by modifying the $SPECROOT/lib/SDPM/partslist/SS.idb and ARCHMGR.idb files.
We will need to take the following steps:
ARCHMGR.idb file configuration example. Necessary fields are highlighted with red text. Uses default 'spectrum' user as install owner.
# Processd Install Ticket for SPECTRUM Archive Manager.
PARTNAME;ARCHMGR;
APPNAME;SPECTRUM Archive Manager;
WORKPATH;$SPECROOT/SS/DDM;
LOGNAMEPATH;$WORKPATH/ARCHMGR.OUT;
LOGBACKUPMAX;10;
ADMINPRIVS;y;
#AUTORESTART;N;
AUTOBOOTSTART;Y;
#STATEBASED;N;
NUMPROCS;1; // one per host
RETRYTIMEOUT;0; // seconds
TICKETUSER;spectrum;
RETRYMAX;0; // retries
STARTPRIORITY;30;
SERVERPROCESS;Y;
#SERVICE;N;
#ENV;<var>=<value>;
ARGV;$SPECROOT/SS/DDM/ArchMgr<CSEXE>; //
NOTE: Do not change AUTORESTART;N; in the SS.idb or ARCHMGR.idb files to "y". The reason being is if the SS or ArchMgr crash, it will not remove the .VNMDB.LOCK or .DDMDB.LOCK files preventing the SS and ArchMgr from starting. Always assume database corruption in the event of a crash.
After making the change to the idb files, you will need to restart processd to pick up the change.
The SS and ArchMgr will automatically start now since the AUTBOOTSTART was changed to Y
Please reference the Install Tickets Files section of the Setting Up a Distributed SpectroSERVER Environment documentation for more information.
If you are using Linux you will need to uncomment TICKETUSER parameter.