11.1. Service Mode and Console Mode

EKM servers support one or more modes of operation: as a service (“service mode”), and as a console application (“console mode”).

Console Mode

Console mode describes the mode of running EKM where it is run as a console application. When EKM is run in console mode, the server is started from a command prompt (Windows) or shell prompt (Linux) inside a logged-in user session. While the server is running, the console remains open to monitor the server for messages, such as status, warnings, or errors.

Advantages of running EKM in console mode are:

Disadvantages of running EKM in console mode are:

EKM servers should be run in service mode for production use. Run EKM servers in console mode only for testing and maintenance because console mode is tied to an active user login.

Service Mode

Service mode describes the mode of operation where EKM (or an EKM component) is set up to run as a service under the operating system’s control, independent of any particular user's desktop session or login shell. This can be done on both Windows and Linux. When run as a service, EKM can be set to start up when the operating system starts, and it will continue to run whether or not users are logged into the operating system.

Service mode is the recommended way to run EKM on both Windows and Linux.


Release 18.2 - © ANSYS, Inc. All rights reserved.