How to configure Spectrum to automatically start at system startup.

Document ID : KB000036143
Last Modified Date : 29/11/2018
Show Technical Document Details
Introduction:

How to configure Spectrum to automatically start at system startup.

I would like to configure Spectrum to automatically start at system startup without the user having to launch the Spectrum Control Panel to start it. How can this be accomplished?

Instructions:

processd can be configured to automatically start the SpectroSERVER and Archive Manager processes when it starts. Since processd is started at system startup, it will automatically start the SpectroSERVER and Archive Manager processes.

The following are the instructions to configure processd to automatically start the SpectroSERVER and Archive Manager processes. 

Note: For Windows, these instructions need to be done as the user that owns the Spectrum installation. For Linux and Solaris, these instructions need to be done as the root user or sudo user that has root privileges to the files.

1. Make backup copies of the $SPECROOT/lib/SDPM/partslist/SS.idb and ARCHMGR.idb files 

2. Edit the SS.idb file and uncomment (remove the pound "#" character in the first column) from the TICKETUSER and AUTOBOOTSTART parameter and set the value of the AUTOBOOTSTART parameter to Y as follows: 

 

AUTOBOOTSTART;Y; 

 

3. Edit the ARCHMGR.idb file and uncomment the TICKETUSER, AUTOBOOTSTART and AUTORESTART parameters and set the values of the AUTOBOOTSTART and AUTORESTART parameters to Y as follows: 

 

AUTORESTART;Y; 

AUTOBOOTSTART;Y; 

 

4. Restart processd so it picks up the changes to the two idb files by doing the following: 

   a. Log into the system as the user that owns the Spectrum installation (Windows) or the root user (Linux and Solaris)

   b. On Windows, start a bash shell by running "bash -login". On Linux and Solaris, open a terminal window.

   c. cd to the $SPECROOT/lib/SDPM directory and enter the following command 

 

./processd.pl restart 

Additional Information:

For more information on the processd idb files, please reference the "Install Ticket Files" section documentation.

https://docops.ca.com/ca-spectrum/10-3-0/en/administrating/distributed-spectroserver-administration/setting-up-a-distributed-spectroserver-environment#SettingUpaDistributedSpectroSERVEREnvironment-InstallTicketsFiles