KB-1071 Checkengine script shows "1/2*" for one engine in a dual gateway installation

Symptoms

In a dual gateway installation, the following output is generated on executing checkengine.bat|sh:

 ENGINE_NAME 1/2* 

Cause

A running engine database process has been stopped on the secondary server.

Action

  1. Run stop-suite.bat|sh on the primary server. This will stop the engines and create a new engine database file *.kdb.
  2. On the secondary server, create a copy of stop-suite.bat|sh and name it as stop-suite-localhost.bat|sh and modify the following:
    1. Replace %APPIAN_ENGINE_NAME% admin %action% with %APPIAN_ENGINE_NAME% admin stop localhost
    2. This will stop the engines but won’t create a new database file *.kdb.
  3. Run the newly created stop-suite-localhost.bat|sh script.
  4. Run start-suite.bat|sh on the primary server followed by start-suite.bat|sh on the secondary server.

Affected Versions

This article applies to all versions of Appian.

Last Reviewed: February 2017

Related
Recommended