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.

  1. 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 ***

  2. Now start all other WPs with a time delay of about 10 seconds.
  3. Start the communication processes (CPs).
  4. 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.

ClosedPossible messages

You will see many messages when you start the Automation Engine. Some of these messages refer to possible errors but most of them only log information about the starting procedure in the log file:

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

:TERMINATE

All CPs and WPs

Shutdown (AE system)

:SHUTDOWN

Automic recommends using the following procedure if you want to end all server processes individually:

  1. End all WPs except for the PWP
  2. End all CPs
  3. End thePWP.

ClosedWhat happens when a particular server process ends?

ClosedWhat 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: