11.1. Service Mode and Console Mode

Engineering Knowledge Manager

Installation Guide | Chapter 11: Starting the EKM Server and Launching the Web Client |

Chapter 11: Starting the EKM Server and Launching the Web Client |  | 11.2. Starting and Stopping the EKM Server in Console Mode
Prev |  | Next

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

- No special privileges are required to start and stop EKM

- Easy to start and stop EKM

- Easy to spot startup and runtime errors in server console

Disadvantages of running EKM in console mode are:

- EKM can only be run when a user is logged in

- If the user logs out, the EKM server processes will stop, and must be restarted when the user logs back in

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.

Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.

Prev | Up / Contents | Next

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