Guneet,
When shutting down or rebooting the system, when processd is shutdown, it attempts to shutdown the Spectrum processes gracefully (SpectroSERVER, Archive Manager, Location Server, etc) before it shuts itself down. However, sometimes, a Spectrum process takes longer to shutdown than allowed so the system ends up stopping the processes ungracefully. In the case of the SpectroSERVER and Archive manager, it could cause database corruption so a reload of a saved database may be required.
We can tell the system to give processd more time to shutdown to avoid this.
On Windows, increase the WaitToKillServiceTimeout value using the Registry Editor. Reference Setting Up a Distributed SpectroSERVER Environment - CA Spectrum - 10.2 to 10.2.3 - CA Technologies Documentation
On Linux, add "PROCESSD_SHUTDOWN_TIMEOUT=60000" to the /opt/SPECTRUM/spectrum80.env file.
Additionally, to have processd automatically start the SS and ARCHMGR on startup, you can edit the $SPECROOT/lib/SDPM/partslist/SS.idb and ARCHMGR.idb file. Reference How to configure Spectrum to automatically start a - CA Knowledge
Joe