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 Script also provides script elements for starting and ending server processes.
Automic strongly recommends starting server processes with a time delay regardless if a normal or cold start is made.
A time delay option is available for each component in the settings of the ServiceManager dialog.
Numerous messages are output when the Automation Engine starts. Some of them refer to possible errors but most of them only log information about the start procedure in the log file:
Explanation: Each server process attempts to open one port number after the other until it finds an empty port as specified in the INI file. The server process name is then defined via this port. It is normal that some ports are already occupied when several server processes start at the same time. This fact causes socket error messages, but there is no error.
Explanation: You can define several communication processes. The primary work process deletes their MQCPnnn tables one after the other when a cold start is made. This behavior is normal and there is no error.
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 |
|
Ending all communications and work processes |
Context menu command Shutdown (AE system) |
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