Starting and Ending Server Processes

An AE system consists of server processes which run on one or several computers. They can easily be started and ended via the ServiceManager dialog program. AE ScriptEigener Objekttyp in der Automation Engine also provides script elements for starting and ending server processes.

Starting Server Processes

Automic strongly recommends starting server processes with a time delay regardless if a normal or cold start is made.

  1. Start the work process which should serve as the primary work process (PWP) first. Wait until the following message is printed in the log file:

    U0003471 The Server 'UCGLOBAL#WP001' has successfully been initialized, *** R E A D Y   F O R   R U N ***
  2. Now start all other work processes with a time delay of about 10 seconds.
  3. Start the communication processes.
  4. Start all other components such as agents only when all server processes are already in operation. Also keep a time delay of about 10 seconds between the individual starts.

A time delay option is available for each component in the settings of the ServiceManager dialog.

Numerous messages are output when the Automation EngineDiese Komponente steuert ein Automation Engine-System. Besteht aus verschiedenen Serverprozessen. starts. Some of them refer to possible errors but most of them only log information about the start procedure in the log file:

Ending Server Processes

Server processes can be ended collectively or individually. Ending particular ones is especially useful when server processes are distributed on several computers and only the server processes of a particular computer should be ended.

Ending

ServiceManager

AE Script

Ending a particular server process

Context menu command Immediately single process

:TERMINATE

Ending all communications and work processes

Context menu command Shutdown (AE system)

:SHUTDOWN

Automic recommends using the following procedure in order to end all server processes individually. First, terminate all work processes except for the primary work process. Then terminate all communication processes and, last but not least, the primary work process.

This is what happens when a particular server process is ended:

Shutting down the AE system:

Server processes can also be ended abnormally. Then they end immediately without the procedure described above. Only use this way of ending server processes if these could not be ended differently.

See also:

Server Processes
Number of Server Processes