12.1.1. Variables and Common Commands

Engineering Knowledge Manager

Installation Guide | Chapter 12: Upgrading an EKM Server from a Previous Version | 12.1. Upgrading from EKM 17.x to EKM 18.2 |

12.1. Upgrading from EKM 17.x to EKM 18.2 |  | 12.1.2. Prerequisites
Prev |  | Next

### 12.1.1. Variables and Common Commands

EKM path variables and common commands that are used when upgrading an EKM server from a previous version are described here.

#### 12.1.1.1. EKM Path Variables

We will use these “EKM path variables” as shorthand terms to describe locations of files or directories and other important information related to the upgrade process. It is not necessary to define any actual environment variables before upgrading EKM.

EKM 17.0:

- `EKM_ROOT170`: `EKM_ROOT170` directory for EKM 17.0

- `EKM_NODE_ROOT170`: `EKM_NODE_ROOT170` directory for EKM 17.0

- `EKM_HOME_170`: `EKM_HOME` directory for EKM 17.0

- `EKMDB_ROOT_170`: `EKMDB_ROOT` directory for EKM 17.0

- `REPOSITORIES_HOME_170`: `REPOSITORIES_HOME` directory for EKM 17.0

EKM 18.2:

- `EKM_ROOT182`: `EKM_ROOT182` directory for EKM 18.2

- `EKM_NODE_ROOT182`: `EKM_NODE_ROOT182` directory for EKM 18.2

- `EKM_HOME_182`: `EKM_HOME` directory for EKM 18.2

- `EKMDB_ROOT_182`: `EKMDB_ROOT` directory for EKM 18.2

- `REPOSITORIES_HOME_182`: `REPOSITORIES_HOME` directory for EKM 18.2

#### 12.1.1.2. Common Commands

Common commands for starting the EKM Database, stopping the database, starting the EKM server, and stopping the server that are repeated throughout this chapter are documented here, and referred to using shorthand hereafter.

##### Start the EKM Server

EKM 18.2

- On the cluster database server, start the EKM database server.

- On each cluster node, start the EKM application server.

EKM 17.0

- On the cluster database server, start the EKM database server.

- On each cluster node, start the EKM application server.

##### Stop the EKM Server

EKM 18.2

- On each cluster node, stop the EKM application server.

- On the cluster database server, stop the EKM database server.

EKM 17.0

- On each cluster node, stop the EKM application server.

- On the cluster database server, stop the EKM database server.

##### Start the EKM Database Server

EKM 18.2

- Default MySQL database server: Run `EKMDB_ROOT_182/bin/mysqld_start.(cmd|sh)`

- Existing database server: On the database server hosting the EKM database, start the EKM database.

EKM 17.0

- Default MySQL database server: Run `EKMDB_ROOT_170/bin/mysqld_start.(cmd|sh)`

- Existing database server: On the database server hosting the EKM database, start the EKM database.

##### Stop the EKM Database Server

EKM 18.2

- Default MySQL database server: Run `EKMDB_ROOT_182/bin/mysqld_stop.(cmd|sh)`

- Existing database server: On the database server hosting the EKM database, stop the EKM database.

EKM 17.0

- Default MySQL database server: Run `EKMDB_ROOT_170/bin/mysqld_stop.(cmd|sh)`

- Existing database server: On the database server hosting the EKM database, stop the EKM database.

##### Start the EKM Application Server

EKM 18.2

On each cluster node, run `EKM_NODE_ROOT182/bin/ekm_start.(cmd|sh)`

EKM 17.0

On each cluster node, run `EKM_NODE_ROOT170/bin/ekm_start.(cmd|sh)`

##### Stop the EKM Application Server

EKM 18.2

On each cluster node, run `EKM_NODE_ROOT182/bin/ekm_stop.(cmd|sh)`

EKM 17.0

On each cluster node, run `EKM_NODE_ROOT170/bin/ekm_stop.(cmd|sh)`

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.