Service Desk may be stopped and started from the Windows command line or UNIX terminal.
This may be useful if it is required to stop or start Service Desk by a task scheduler or batch file. For example, either side of a nightly backup routine.
On a Windows system, it is an alternate method to using Windows Services.
Release: All releases
To stop: net stop pdm_daemon_manager
To start: net start pdm_daemon_manager
To start secondary server or application server: net start pdm_daemon_proctor
To start primary server or Background/Standby server: net start pdm_daemon_manager
To stop service: pdm_halt
To start service: pdm_init
Please note that the command pdm_init cannot be used on Windows.
The command pdm_halt is valid though.
Refer to the following documentation for additional information:
How to Start the CA SDM Servers
How to Stop the CA SDM Servers
The order of stopping and starting if secondary servers exist applies equally to UNIX as it does for Windows.
Please test the above commands thoroughly on your system looking for abnormal effects, before incorporating them into an automated process.
Although the commands as provided will reliably work as described and are considered robust, adverse results can result from two areas.
Preventative action consists of anticipating what other system events will be occurring at the time of the script, and planning for unexpected outcomes through error catching. At a minimum, the script should be monitored the first few times it is run, and checked over the first week to ensure that all aspects of Service Desk are running as expected. For example, if Attachments are not working, then the Tomcat process may not have successfully restarted.