Starting and Ending Server Processes
An AE system consists of server processes which run on one or several computers. You can easily start and end them by using the ServiceManager - Dialog Program, or by using the Automic scripting language which also provides script elements for starting and ending server processes.
To Start Server Processes
Automic strongly recommends starting server processes with a time delay regardless if you cold-start or warm-start your system.
-
Start the work process (WP) that should serve as the primary work process (PWP). Wait until you see the following message printed in the log file:
U0003471 The Server 'AUTOMIC#WP001' has successfully been initialized, *** R E A D Y F O R R U N ***
- Now start all other WPs with a time delay of about 10 seconds.
- Start the communication processes (CPs).
- Start all other components such as agents only when all server processes are active. Also keep a time delay of about 10 seconds between the individual starts.
Note that a time delay option is available for each component in the settings of the ServiceManager dialog.
To End Server Processes
You can either end server processes collectively or individually. Ending particular ones is especially useful when server processes are distributed on several computers and when you want to end only the server processes of a particular computer.
What to end? |
Context-menu command in the ServiceManager |
Available Scripting Element |
---|---|---|
A particular server process |
Immediately single process |
|
All CPs and WPs |
Shutdown (AE system) |
Automic recommends using the following procedure if you want to end all server processes individually:
- End all WPs except for the PWP
- End all CPs
- End thePWP.
What happens when a particular server process ends?
What happens when the AE system (all CPs and WPs) is shut down?
You can also end server processes abnormally. In this case, they end immediately. The processes described above do not take place. Only use this way of ending server processes if you cannot end them by using one of the other options.
See also: