<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>KB-1071 Checkengine script shows "1/2*" for one engine in a dual gateway installation</title><link>https://community.appian.com/support/w/kb/296/kb-1071-checkengine-script-shows-1-2-for-one-engine-in-a-dual-gateway-installation</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1071 Checkengine script shows "1/2*" for one engine in a dual gateway installation</title><link>https://community.appian.com/support/w/kb/296/kb-1071-checkengine-script-shows-1-2-for-one-engine-in-a-dual-gateway-installation</link><pubDate>Wed, 22 Feb 2017 20:18:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9b3ec0e1-992f-4bf4-99db-59d573e73555</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/296/kb-1071-checkengine-script-shows-1-2-for-one-engine-in-a-dual-gateway-installation#comments</comments><description>Current Revision posted to Appian Knowledge Base by Nick Vigilante on 2/22/2017 8:18:54 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;In a dual gateway installation, the following output is generated on executing &lt;a href="https://docs.appian.com/suite/help/latest/Troubleshooting_with_Diagnostic_Scripts.html"&gt;&lt;strong&gt;checkengine.bat|sh&lt;/strong&gt;&lt;/a&gt;:&lt;/p&gt;
&lt;pre&gt; ENGINE_NAME 1/2* &lt;/pre&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;A running engine database process has been stopped on the secondary server.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Run &lt;strong&gt;stop-suite.bat|sh&lt;/strong&gt; on the primary server. This will stop the engines and create a new engine database file &lt;strong&gt;*.kdb&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;On the secondary server, create a copy of &lt;strong&gt;stop-suite.bat|sh&lt;/strong&gt; and name it as &lt;strong&gt;stop-suite-localhost.bat|sh&lt;/strong&gt; and modify the following:
&lt;ol&gt;
&lt;li&gt;Replace &lt;strong&gt;%APPIAN_ENGINE_NAME% admin %action%&lt;/strong&gt; with &lt;strong&gt;%APPIAN_ENGINE_NAME% admin stop localhost&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;This will stop the engines but won&amp;rsquo;t create a new database file &lt;strong&gt;*.kdb&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Run the newly created &lt;strong&gt;stop-suite-localhost.bat|sh&lt;/strong&gt; script.&lt;/li&gt;
&lt;li&gt;Run &lt;strong&gt;start-suite.bat|sh&lt;/strong&gt; on the primary server followed by &lt;strong&gt;start-suite.bat|sh&lt;/strong&gt; on the secondary server.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed: February 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: administration, engines, scripts&lt;/div&gt;
</description></item></channel></rss>