<?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-2254 How to use the isSuitableForUpgrade script</title><link>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-2254 How to use the isSuitableForUpgrade script</title><link>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script</link><pubDate>Thu, 10 Aug 2023 13:37:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e5af2100-7e2a-40e0-812c-4ce4a865d2b2</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script#comments</comments><description>Current Revision posted to Appian Knowledge Base by pauline.delacruz on 8/10/2023 1:37:34 PM&lt;br /&gt;
&lt;h2&gt;Purpose&lt;/h2&gt;
&lt;p&gt;In order to safely upgrade&amp;nbsp;an Appian environment, the engines in&amp;nbsp;the source environment&amp;nbsp;must be&amp;nbsp;shut down using the &lt;a href="https://docs.appian.com/suite/help/latest/Stop_Script.html"&gt;stop script&lt;/a&gt;.&amp;nbsp;Ungraceful shutdowns can introduce data inconsistencies and can lead to a failed upgrade.&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;isSuitableForUpgrade.sh&lt;/strong&gt; script can be used to detect if engines are not shutdown gracefully&amp;nbsp;&lt;strong&gt;before&lt;/strong&gt;&amp;nbsp;the upgrade is performed. This helps validate the state of the engine data and confirms whether the data is in a state in which it can be safely be upgraded to a higher Appian version.&lt;/p&gt;
&lt;p&gt;This script currently only works with single node and&amp;nbsp;highly available(HA) topologies where the &lt;strong&gt;service_manager.log&lt;/strong&gt; is in a central location. This script currently does not work with distributed topologies where the&amp;nbsp;&lt;strong&gt;service_manager.log &lt;/strong&gt;can be present on multiple servers.&lt;/p&gt;
&lt;h2&gt;Instructions&lt;/h2&gt;
&lt;p&gt;How&amp;nbsp;to execute the script:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;After shutting down all Appian components,&amp;nbsp;&lt;a href="https://forum.appian.com/suite/doc/isBCLGOdlMUpdGVqW7NCvlN27CiSPIDyLjnC9i1zA7-fQj6ET45fmyoynUX"&gt;download the script&lt;/a&gt; to the server that hosts the Appian engines.
&lt;ol&gt;
&lt;li&gt;If the environment is&amp;nbsp;&lt;strong&gt;HA,&lt;/strong&gt;&amp;nbsp;place the script in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/shared-logs&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;If the environment is on a&lt;strong&gt;&amp;nbsp;single server,&amp;nbsp;&lt;/strong&gt;place the script in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Make the&amp;nbsp;script executable by running&amp;nbsp;&lt;code&gt;chmod +x isSuitableForUpgrade.sh&lt;/code&gt;.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Run &lt;code&gt;./isSuitableForUpgrade.sh -p &amp;lt;your_service_manager_password&amp;gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;The script will detect if the engines are suitable for upgrade and output the result to the console&lt;i&gt;.&lt;/i&gt;
&lt;ol&gt;
&lt;li&gt;If all engines are suitable for upgrade, it is safe to proceed with the next steps of the upgrade procedure. Sample output:&lt;br /&gt;
&lt;pre&gt;Date of evaluation: * &lt;br /&gt;&lt;br /&gt;The below results refer to the shutdown performed at * &lt;br /&gt;If the timestamp is incorrect, please start and stop your engines then try again.&lt;br /&gt;&lt;br /&gt;15 engines are suitable for upgrade&lt;br /&gt;15 total engines detected &lt;br /&gt;&lt;br /&gt;All engines are suitable for upgrade&lt;br /&gt;It is safe to proceed with the upgrade&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;If one or more engines are unsuitable for upgrade, run the following steps. Sample output:&lt;br /&gt;
&lt;pre&gt;Date of evaluation: * &lt;br /&gt;&lt;br /&gt;The below results refer to the shutdown performed at * &lt;br /&gt;If the timestamp is incorrect, please start and stop your engines then try again.&lt;br /&gt;&lt;br /&gt;12 engines are suitable for upgrade&lt;br /&gt;15 total engines detected&lt;br /&gt;&lt;br /&gt;One or more engines is unsuitable for upgrade&lt;br /&gt;Please perform a full start-up of all engines, gracefully shut down all engines, then try again&lt;/pre&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Starting_and_Stopping_Appian.html#starting-the-application-suite-on-linux"&gt;Start&lt;/a&gt;&amp;nbsp;all engines.&lt;/li&gt;
&lt;li&gt;Verify that all engines are running.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Stop_Script.html"&gt;Shut down&lt;/a&gt; all engines.&lt;/li&gt;
&lt;li&gt;Repeat steps 3-4 until all engines are suitable for upgrade.&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;Note:&lt;/strong&gt;&amp;nbsp;If you are consistently unable to show that all engines are suitable for upgrade, please create a case with Appian Support.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to self-managed versions of Appian 19.4 and later hosted on Linux&lt;/p&gt;
&lt;p&gt;Last Reviewed: August 2023&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: engines, linux, upgrade, infrastructure&lt;/div&gt;
</description></item><item><title>KB-2254 How to use the isSuitableForUpgrade script</title><link>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script/revision/21</link><pubDate>Thu, 10 Aug 2023 13:37:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e5af2100-7e2a-40e0-812c-4ce4a865d2b2</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script#comments</comments><description>Revision 21 posted to Appian Knowledge Base by pauline.delacruz on 8/10/2023 1:37:21 PM&lt;br /&gt;
&lt;h2&gt;Purpose&lt;/h2&gt;
&lt;p&gt;In order to safely upgrade&amp;nbsp;an Appian environment, the engines in&amp;nbsp;the source environment&amp;nbsp;must be&amp;nbsp;shut down using the &lt;a href="https://docs.appian.com/suite/help/latest/Stop_Script.html"&gt;stop script&lt;/a&gt;.&amp;nbsp;Ungraceful shutdowns can introduce data inconsistencies and can lead to a failed upgrade.&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;isSuitableForUpgrade.sh&lt;/strong&gt; script can be used to detect if engines are not shutdown gracefully&amp;nbsp;&lt;strong&gt;before&lt;/strong&gt;&amp;nbsp;the upgrade is performed. This helps validate the state of the engine data and confirms whether the data is in a state in which it can be safely be upgraded to a higher Appian version.&lt;/p&gt;
&lt;p&gt;This script currently only works with single node and&amp;nbsp;highly available(HA) topologies where the &lt;strong&gt;service_manager.log&lt;/strong&gt; is in a central location. This script currently does not work with distributed topologies where the&amp;nbsp;&lt;strong&gt;service_manager.log &lt;/strong&gt;can be present on multiple servers.&lt;/p&gt;
&lt;h2&gt;Instructions&lt;/h2&gt;
&lt;p&gt;How&amp;nbsp;to execute the script:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;After shutting down all Appian components,&amp;nbsp;&lt;a href="https://forum.appian.com/suite/doc/isBCLGOdlMUpdGVqW7NCvlN27CiSPIDyLjnC9i1zA7-fQj6ET45fmyoynUX"&gt;download the script&lt;/a&gt; to the server that hosts the Appian engines.
&lt;ol&gt;
&lt;li&gt;If the environment is&amp;nbsp;&lt;strong&gt;HA,&lt;/strong&gt;&amp;nbsp;place the script in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/shared-logs&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;If the environment is on a&lt;strong&gt;&amp;nbsp;single server,&amp;nbsp;&lt;/strong&gt;place the script in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Make the&amp;nbsp;script executable by running&amp;nbsp;&lt;code&gt;chmod +x isSuitableForUpgrade.sh&lt;/code&gt;.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Run &lt;code&gt;./isSuitableForUpgrade.sh -p &amp;lt;your_service_manager_password&amp;gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;The script will detect if the engines are suitable for upgrade and output the result to the console&lt;i&gt;.&lt;/i&gt;
&lt;ol&gt;
&lt;li&gt;If all engines are suitable for upgrade, it is safe to proceed with the next steps of the upgrade procedure. Sample output:&lt;br /&gt;
&lt;pre&gt;Date of evaluation: * &lt;br /&gt;&lt;br /&gt;The below results refer to the shutdown performed at * &lt;br /&gt;If the timestamp is incorrect, please start and stop your engines then try again.&lt;br /&gt;&lt;br /&gt;15 engines are suitable for upgrade&lt;br /&gt;15 total engines detected &lt;br /&gt;&lt;br /&gt;All engines are suitable for upgrade&lt;br /&gt;It is safe to proceed with the upgrade&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;If one or more engines are unsuitable for upgrade, run the following steps. Sample output:&lt;br /&gt;
&lt;pre&gt;Date of evaluation: * &lt;br /&gt;&lt;br /&gt;The below results refer to the shutdown performed at * &lt;br /&gt;If the timestamp is incorrect, please start and stop your engines then try again.&lt;br /&gt;&lt;br /&gt;12 engines are suitable for upgrade&lt;br /&gt;15 total engines detected&lt;br /&gt;&lt;br /&gt;One or more engines is unsuitable for upgrade&lt;br /&gt;Please perform a full start-up of all engines, gracefully shut down all engines, then try again&lt;/pre&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Starting_and_Stopping_Appian.html#starting-the-application-suite-on-linux"&gt;Start&lt;/a&gt;&amp;nbsp;all engines.&lt;/li&gt;
&lt;li&gt;Verify that all engines are running.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Stop_Script.html"&gt;Shut down&lt;/a&gt; all engines.&lt;/li&gt;
&lt;li&gt;Repeat steps 3-4 until all engines are suitable for upgrade.&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;Note:&lt;/strong&gt;&amp;nbsp;If you are consistently unable to show that all engines are suitable for upgrade, please create a case with Appian Support.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to self-managed versions of Appian 19.4 and later hosted on Linux&lt;/p&gt;
&lt;p&gt;Last Reviewed: July 2023&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: engines, linux, upgrade, infrastructure&lt;/div&gt;
</description></item><item><title>KB-2254 How to use the isSuitableForUpgrade script</title><link>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script/revision/20</link><pubDate>Fri, 04 Aug 2023 17:21:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e5af2100-7e2a-40e0-812c-4ce4a865d2b2</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script#comments</comments><description>Revision 20 posted to Appian Knowledge Base by pauline.delacruz on 8/4/2023 5:21:48 PM&lt;br /&gt;
&lt;h2&gt;Purpose&lt;/h2&gt;
&lt;p&gt;In order to safely upgrade&amp;nbsp;an Appian environment, the engines in&amp;nbsp;the source environment&amp;nbsp;must be&amp;nbsp;shut down using the &lt;a href="https://docs.appian.com/suite/help/latest/Stop_Script.html"&gt;stop script&lt;/a&gt;.&amp;nbsp;Ungraceful shutdowns can introduce data inconsistencies and can lead to a failed upgrade.&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;isSuitableForUpgrade.sh&lt;/strong&gt; script can be used to detect if engines are not shutdown gracefully&amp;nbsp;&lt;strong&gt;before&lt;/strong&gt;&amp;nbsp;the upgrade is performed. This helps validate the state of the engine data and confirms whether the data is in a state in which it can be safely be upgraded to a higher Appian version.&lt;/p&gt;
&lt;p&gt;This script currently only works with single node and&amp;nbsp;highly available(HA) topologies where the &lt;strong&gt;service_manager.log&lt;/strong&gt; is in a central location. This script currently does not work with distributed topologies where the&amp;nbsp;&lt;strong&gt;service_manager.log &lt;/strong&gt;can be present on multiple servers.&lt;/p&gt;
&lt;h2&gt;Instructions&lt;/h2&gt;
&lt;p&gt;How&amp;nbsp;to execute the script:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;After shutting down all Appian components,&amp;nbsp;&lt;a href="https://forum.appian.com/suite/doc/isBCLGOdlMUpdGVqW7NCvlN27CiSPIDyLjnC9i1zA7-fQj6ET45fmyoynUX"&gt;download the script&lt;/a&gt; to the server that hosts the Appian engines.
&lt;ol&gt;
&lt;li&gt;If the environment is&amp;nbsp;&lt;strong&gt;HA,&lt;/strong&gt;&amp;nbsp;place the script in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/shared-logs&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;If the environment is on a&lt;strong&gt;&amp;nbsp;single server,&amp;nbsp;&lt;/strong&gt;place the script in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Make the&amp;nbsp;script executable by running&amp;nbsp;&lt;code&gt;chmod +x isSuitableForUpgrade.sh&lt;/code&gt;.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Run &lt;code&gt;./isSuitableForUpgrade.sh -p &amp;lt;your_service_manager_password&amp;gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;The script will detect if the engines are suitable for upgrade and output the result to the console&lt;i&gt;.&lt;/i&gt;
&lt;ol&gt;
&lt;li&gt;If all engines are suitable for upgrade, it is safe to proceed with the next steps of the upgrade procedure. Sample output:&lt;br /&gt;
&lt;pre&gt;15 engines are suitable for upgrade&lt;br /&gt;15 total engines detected &lt;br /&gt;&lt;br /&gt;All engines are suitable for upgrade&lt;br /&gt;It is safe to proceed with the upgrade&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;If one or more engines are unsuitable for upgrade, run the following steps. Sample output:&lt;br /&gt;
&lt;pre&gt;12 engines are suitable for upgrade&lt;br /&gt;15 total engines detected&lt;br /&gt;&lt;br /&gt;One or more engines is unsuitable for upgrade&lt;br /&gt;Please perform a full start-up of all engines, gracefully shut down all engines, then try again&lt;/pre&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Starting_and_Stopping_Appian.html#starting-the-application-suite-on-linux"&gt;Start&lt;/a&gt;&amp;nbsp;all engines.&lt;/li&gt;
&lt;li&gt;Verify that all engines are running.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Stop_Script.html"&gt;Shut down&lt;/a&gt; all engines.&lt;/li&gt;
&lt;li&gt;Repeat steps 3-4 until all engines are suitable for upgrade.&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;Note:&lt;/strong&gt;&amp;nbsp;If you are consistently unable to show that all engines are suitable for upgrade, please create a case with Appian Support.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to self-managed versions of Appian 19.4 and later hosted on Linux&lt;/p&gt;
&lt;p&gt;Last Reviewed: July 2023&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: engines, linux, upgrade, infrastructure&lt;/div&gt;
</description></item><item><title>KB-2254 How to use the isSuitableForUpgrade script</title><link>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script/revision/19</link><pubDate>Fri, 04 Aug 2023 15:23:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e5af2100-7e2a-40e0-812c-4ce4a865d2b2</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script#comments</comments><description>Revision 19 posted to Appian Knowledge Base by pauline.delacruz on 8/4/2023 3:23:26 PM&lt;br /&gt;
&lt;h2&gt;Purpose&lt;/h2&gt;
&lt;p&gt;In order to safely upgrade&amp;nbsp;an Appian environment, the engines in&amp;nbsp;the source environment&amp;nbsp;must be&amp;nbsp;shut down using the &lt;a href="https://docs.appian.com/suite/help/latest/Stop_Script.html"&gt;stop script&lt;/a&gt;.&amp;nbsp;Ungraceful shutdowns can introduce data inconsistencies and can lead to a failed upgrade.&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;isSuitableForUpgrade.sh&lt;/strong&gt; script can be used to detect if engines are not shutdown gracefully&amp;nbsp;&lt;strong&gt;before&lt;/strong&gt;&amp;nbsp;the upgrade is performed. This helps validate the state of the engine data and confirms whether the data is in a state in which it can be safely be upgraded to a higher Appian version.&lt;/p&gt;
&lt;p&gt;This script currently only works with single node and&amp;nbsp;highly available(HA) topologies where the &lt;strong&gt;service_manager.log&lt;/strong&gt; is in a central location. This script currently does not work with distributed topologies where the&amp;nbsp;&lt;strong&gt;service_manager.log &lt;/strong&gt;can be present on multiple servers.&lt;/p&gt;
&lt;h2&gt;Instructions&lt;/h2&gt;
&lt;p&gt;How&amp;nbsp;to execute the script:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;After shutting down all Appian components,&amp;nbsp;&lt;a href="https://forum.appian.com/suite/doc/isBCLGOdlMUpdGVqW7NCvlN27CiSPIDyLjnC9i1zA7-fQj6ET45fmyoynUX"&gt;download the script&lt;/a&gt; to the server that hosts the Appian engines.
&lt;ol&gt;
&lt;li&gt;If the environment is&amp;nbsp;&lt;strong&gt;HA,&lt;/strong&gt;&amp;nbsp;place the script in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/shared-logs&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;If the environment is on a&lt;strong&gt;&amp;nbsp;single server,&amp;nbsp;&lt;/strong&gt;place the script in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Make the&amp;nbsp;script executable by running&amp;nbsp;&lt;code&gt;chmod +x isSuitableForUpgrade.sh&lt;/code&gt;.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Run &lt;code&gt;./isSuitableForUpgrade.sh&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;The script will detect if the engines are suitable for upgrade and output the result to the console&lt;i&gt;.&lt;/i&gt;
&lt;ol&gt;
&lt;li&gt;If all engines are suitable for upgrade, it is safe to proceed with the next steps of the upgrade procedure. Sample output:&lt;br /&gt;
&lt;pre&gt;15 engines are suitable for upgrade&lt;br /&gt;15 total engines detected &lt;br /&gt;&lt;br /&gt;All engines are suitable for upgrade&lt;br /&gt;It is safe to proceed with the upgrade&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;If one or more engines are unsuitable for upgrade, run the following steps. Sample output:&lt;br /&gt;
&lt;pre&gt;12 engines are suitable for upgrade&lt;br /&gt;15 total engines detected&lt;br /&gt;&lt;br /&gt;One or more engines is unsuitable for upgrade&lt;br /&gt;Please perform a full start-up of all engines, gracefully shut down all engines, then try again&lt;/pre&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Starting_and_Stopping_Appian.html#starting-the-application-suite-on-linux"&gt;Start&lt;/a&gt;&amp;nbsp;all engines.&lt;/li&gt;
&lt;li&gt;Verify that all engines are running.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Stop_Script.html"&gt;Shut down&lt;/a&gt; all engines.&lt;/li&gt;
&lt;li&gt;Repeat steps 3-4 until all engines are suitable for upgrade.&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;Note:&lt;/strong&gt;&amp;nbsp;If you are consistently unable to show that all engines are suitable for upgrade, please create a case with Appian Support.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to self-managed versions of Appian 19.4 and later hosted on Linux&lt;/p&gt;
&lt;p&gt;Last Reviewed: July 2023&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: engines, linux, upgrade, infrastructure&lt;/div&gt;
</description></item><item><title>[DRAFT SP-8832] KB-2254 How to use the isSuitableForUpgrade script</title><link>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script/revision/18</link><pubDate>Tue, 18 Jul 2023 13:10:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e5af2100-7e2a-40e0-812c-4ce4a865d2b2</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script#comments</comments><description>Revision 18 posted to Appian Knowledge Base by pauline.delacruz on 7/18/2023 1:10:19 PM&lt;br /&gt;
&lt;h2&gt;Purpose&lt;/h2&gt;
&lt;p&gt;In order to safely upgrade&amp;nbsp;an Appian environment, the engines in&amp;nbsp;the source environment&amp;nbsp;must be&amp;nbsp;shut down using the &lt;a href="https://docs.appian.com/suite/help/latest/Stop_Script.html"&gt;stop script&lt;/a&gt;.&amp;nbsp;Ungraceful shutdowns can introduce data inconsistencies and can lead to a failed upgrade.&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;isSuitableForUpgrade.sh&lt;/strong&gt; script can be used to detect if engines are not shutdown gracefully&amp;nbsp;&lt;strong&gt;before&lt;/strong&gt;&amp;nbsp;the upgrade is performed. This helps validate the state of the engine data and confirms whether the data is in a state in which it can be safely be upgraded to a higher Appian version.&lt;/p&gt;
&lt;p&gt;This script currently only works with single node and&amp;nbsp;highly available(HA) topologies where the &lt;strong&gt;service_manager.log&lt;/strong&gt; is in a central location. This script currently does not work with distributed topologies where the&amp;nbsp;&lt;strong&gt;service_manager.log &lt;/strong&gt;can be present on multiple servers.&lt;/p&gt;
&lt;h2&gt;Instructions&lt;/h2&gt;
&lt;p&gt;How&amp;nbsp;to execute the script:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;After shutting down all Appian components,&amp;nbsp;&lt;a href="https://forum.appian.com/suite/doc/isBCLGOdlMUpdGVqW7NCvlN27CiSPIDyLjnC9i1zA7-fQj6ET45fmyoynUX"&gt;download the script&lt;/a&gt; to the server that hosts the Appian engines.
&lt;ol&gt;
&lt;li&gt;If the environment is&amp;nbsp;&lt;strong&gt;HA,&lt;/strong&gt;&amp;nbsp;place the script in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/shared-logs&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;If the environment is on a&lt;strong&gt;&amp;nbsp;single server,&amp;nbsp;&lt;/strong&gt;place the script in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Make the&amp;nbsp;script executable by running&amp;nbsp;&lt;code&gt;chmod +x isSuitableForUpgrade.sh&lt;/code&gt;.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Run &lt;code&gt;./isSuitableForUpgrade.sh&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;The script will detect if the engines are suitable for upgrade and output the result to the console&lt;i&gt;.&lt;/i&gt;
&lt;ol&gt;
&lt;li&gt;If all engines are suitable for upgrade, it is safe to proceed with the next steps of the upgrade procedure. Sample output:&lt;br /&gt;
&lt;pre&gt;15 engines are suitable for upgrade&lt;br /&gt;15 total engines detected &lt;br /&gt;&lt;br /&gt;All engines are suitable for upgrade&lt;br /&gt;It is safe to proceed with the upgrade&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;If one or more engines are unsuitable for upgrade, run the following steps. Sample output:&lt;br /&gt;
&lt;pre&gt;12 engines are suitable for upgrade&lt;br /&gt;15 total engines detected&lt;br /&gt;&lt;br /&gt;One or more engines is unsuitable for upgrade&lt;br /&gt;Please perform a full start-up of all engines, gracefully shut down all engines, then try again&lt;/pre&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Starting_and_Stopping_Appian.html#starting-the-application-suite-on-linux"&gt;Start&lt;/a&gt;&amp;nbsp;all engines.&lt;/li&gt;
&lt;li&gt;Verify that all engines are running.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Stop_Script.html"&gt;Shut down&lt;/a&gt; all engines.&lt;/li&gt;
&lt;li&gt;Repeat steps 3-4 until all engines are suitable for upgrade.&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;Note:&lt;/strong&gt;&amp;nbsp;If you are consistently unable to show that all engines are suitable for upgrade, please create a case with Appian Support.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to self-managed versions of Appian 19.4 and later hosted on Linux&lt;/p&gt;
&lt;p&gt;Last Reviewed: July 2023&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: engines, linux, upgrade, infrastructure&lt;/div&gt;
</description></item><item><title>KB-2254 How to use the isSuitableForUpgrade script</title><link>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script/revision/17</link><pubDate>Fri, 14 Jul 2023 17:00:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e5af2100-7e2a-40e0-812c-4ce4a865d2b2</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script#comments</comments><description>Revision 17 posted to Appian Knowledge Base by pauline.delacruz on 7/14/2023 5:00:24 PM&lt;br /&gt;
&lt;h2&gt;Purpose&lt;/h2&gt;
&lt;p&gt;In order to safely upgrade&amp;nbsp;an Appian environment, the engines in&amp;nbsp;the source environment&amp;nbsp;must be&amp;nbsp;shut down using the &lt;a href="https://docs.appian.com/suite/help/latest/Stop_Script.html"&gt;stop script&lt;/a&gt;.&amp;nbsp;Ungraceful shutdowns can introduce data inconsistencies and can lead to a failed upgrade.&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;isSuitableForUpgrade.sh&lt;/strong&gt; script can be used to detect if engines are not shutdown gracefully&amp;nbsp;&lt;strong&gt;before&lt;/strong&gt;&amp;nbsp;the upgrade is performed. This helps validate the state of the engine data and confirms whether the data is in a state in which it can be safely be upgraded to a higher Appian version.&lt;/p&gt;
&lt;p&gt;This script currently only works with single node and&amp;nbsp;highly available(HA) topologies where the &lt;strong&gt;service_manager.log&lt;/strong&gt; is in a central location. This script currently does not work with distributed topologies where the&amp;nbsp;&lt;strong&gt;service_manager.log &lt;/strong&gt;can be present on multiple servers.&lt;/p&gt;
&lt;h2&gt;Instructions&lt;/h2&gt;
&lt;p&gt;How&amp;nbsp;to execute the script:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;After shutting down all Appian components,&amp;nbsp;&lt;a href="https://forum.appian.com/suite/doc/isBCLGOdlMUpdGVqW7NCvlN27CiSPIDyLjnC9i1zA7-fQj6ET45fmyoynUX"&gt;download the script&lt;/a&gt; to the server that hosts the Appian engines.
&lt;ol&gt;
&lt;li&gt;If the environment is&amp;nbsp;&lt;strong&gt;HA,&lt;/strong&gt;&amp;nbsp;place the script in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/shared-logs&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;If the environment is on a&lt;strong&gt;&amp;nbsp;single server,&amp;nbsp;&lt;/strong&gt;place the script in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Make the&amp;nbsp;script executable by running&amp;nbsp;&lt;code&gt;chmod +x isSuitableForUpgrade.sh&lt;/code&gt;.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Run &lt;code&gt;./isSuitableForUpgrade.sh&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;The script will detect if the engines are suitable for upgrade and output the result to the console&lt;i&gt;.&lt;/i&gt;
&lt;ol&gt;
&lt;li&gt;If all engines are suitable for upgrade, it is safe to proceed with the next steps of the upgrade procedure. Sample output:&lt;br /&gt;
&lt;pre&gt;15 engines are suitable for upgrade&lt;br /&gt;15 total engines detected &lt;br /&gt;&lt;br /&gt;All engines are suitable for upgrade&lt;br /&gt;It is safe to proceed with the upgrade&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;If one or more engines are unsuitable for upgrade, run the following steps. Sample output:&lt;br /&gt;
&lt;pre&gt;12 engines are suitable for upgrade&lt;br /&gt;15 total engines detected&lt;br /&gt;&lt;br /&gt;One or more engines is unsuitable for upgrade&lt;br /&gt;Please perform a full start-up of all engines, gracefully shut down all engines, then try again&lt;/pre&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Starting_and_Stopping_Appian.html#starting-the-application-suite-on-linux"&gt;Start&lt;/a&gt;&amp;nbsp;all engines.&lt;/li&gt;
&lt;li&gt;Verify that all engines are running.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Stop_Script.html"&gt;Shut down&lt;/a&gt; all engines.&lt;/li&gt;
&lt;li&gt;Repeat steps 3-4 until all engines are suitable for upgrade.&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;Note:&lt;/strong&gt;&amp;nbsp;If you are consistently unable to show that all engines are suitable for upgrade, please create a case with Appian Support.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to self-managed versions of Appian 19.4 and later hosted on Linux&lt;/p&gt;
&lt;p&gt;Last Reviewed: July 2023&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: engines, linux, upgrade, infrastructure&lt;/div&gt;
</description></item><item><title>[DRAFT SP-8832] KB-XXXX How to use the isSuitableForUpgrade script</title><link>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script/revision/16</link><pubDate>Wed, 12 Jul 2023 15:30:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e5af2100-7e2a-40e0-812c-4ce4a865d2b2</guid><dc:creator>Tejas Kargutkar</dc:creator><comments>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script#comments</comments><description>Revision 16 posted to Appian Knowledge Base by Tejas Kargutkar on 7/12/2023 3:30:58 PM&lt;br /&gt;
&lt;h2&gt;Purpose&lt;/h2&gt;
&lt;p&gt;In order to safely upgrade&amp;nbsp;an Appian environment, the engines in&amp;nbsp;the source environment&amp;nbsp;must be&amp;nbsp;shut down using the &lt;a href="https://docs.appian.com/suite/help/latest/Stop_Script.html"&gt;stop script&lt;/a&gt;.&amp;nbsp;Ungraceful shutdowns can introduce data inconsistencies and can lead to a failed upgrade.&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;isSuitableForUpgrade.sh&lt;/strong&gt; script can be used to detect if engines are not shutdown gracefully&amp;nbsp;&lt;strong&gt;before&lt;/strong&gt;&amp;nbsp;the upgrade is performed. This helps validate the state of the engine data and confirms whether the data is in a state in which it can be safely be upgraded to a higher Appian version.&lt;/p&gt;
&lt;p&gt;This script currently only works with single node and&amp;nbsp;highly available(HA) topologies where the &lt;strong&gt;service_manager.log&lt;/strong&gt; is in a central location. This script currently does not work with distributed topologies where the&amp;nbsp;&lt;strong&gt;service_manager.log &lt;/strong&gt;can be present on multiple servers.&lt;/p&gt;
&lt;h2&gt;Instructions&lt;/h2&gt;
&lt;p&gt;How&amp;nbsp;to execute the script:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;After shutting down all Appian components,&amp;nbsp;&lt;a href="https://forum.appian.com/suite/doc/isBCLGOdlMUpdGVqW7NCvlN27CiSPIDyLjnC9i1zA7-fQj6ET45fmyoynUX"&gt;download the script&lt;/a&gt; to the server that hosts the Appian engines.
&lt;ol&gt;
&lt;li&gt;If the environment is&amp;nbsp;&lt;strong&gt;HA,&lt;/strong&gt;&amp;nbsp;place the script in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/shared-logs&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;If the environment is on a&lt;strong&gt;&amp;nbsp;single server,&amp;nbsp;&lt;/strong&gt;place the script in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Make the&amp;nbsp;script executable by running&amp;nbsp;&lt;code&gt;chmod +x isSuitableForUpgrade.sh&lt;/code&gt;.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Run &lt;code&gt;./isSuitableForUpgrade.sh&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;The script will detect if the engines are suitable for upgrade and output the result to the console&lt;i&gt;.&lt;/i&gt;
&lt;ol&gt;
&lt;li&gt;If all engines are suitable for upgrade, it is safe to proceed with the next steps of the upgrade procedure. Sample output:&lt;br /&gt;
&lt;pre&gt;15 engines are suitable for upgrade&lt;br /&gt;15 total engines detected &lt;br /&gt;&lt;br /&gt;All engines are suitable for upgrade&lt;br /&gt;It is safe to proceed with the upgrade&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;If one or more engines are unsuitable for upgrade, run the following steps. Sample output:&lt;br /&gt;
&lt;pre&gt;12 engines are suitable for upgrade&lt;br /&gt;15 total engines detected&lt;br /&gt;&lt;br /&gt;One or more engines is unsuitable for upgrade&lt;br /&gt;Please perform a full start-up of all engines, gracefully shut down all engines, then try again&lt;/pre&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Starting_and_Stopping_Appian.html#starting-the-application-suite-on-linux"&gt;Start&lt;/a&gt;&amp;nbsp;all engines.&lt;/li&gt;
&lt;li&gt;Verify that all engines are running.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Stop_Script.html"&gt;Shut down&lt;/a&gt; all engines.&lt;/li&gt;
&lt;li&gt;Repeat steps 3-4 until all engines are suitable for upgrade.&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;Note:&lt;/strong&gt;&amp;nbsp;If you are consistently unable to show that all engines are suitable for upgrade, please create a case with Appian Support.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to self-managed versions of Appian 19.4 and later hosted on Linux&lt;/p&gt;
&lt;p&gt;Last Reviewed: July 2023&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: engines, linux, upgrade, infrastructure&lt;/div&gt;
</description></item><item><title>[DRAFT SP-8832] KB-XXXX How to use the isSuitableForUpgrade script</title><link>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script/revision/15</link><pubDate>Wed, 12 Jul 2023 15:25:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e5af2100-7e2a-40e0-812c-4ce4a865d2b2</guid><dc:creator>Tejas Kargutkar</dc:creator><comments>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script#comments</comments><description>Revision 15 posted to Appian Knowledge Base by Tejas Kargutkar on 7/12/2023 3:25:31 PM&lt;br /&gt;
&lt;h2&gt;Purpose&lt;/h2&gt;
&lt;p&gt;In order to safely upgrade&amp;nbsp;an Appian environment, the engines in&amp;nbsp;the source environment&amp;nbsp;must be&amp;nbsp;shut down using the &lt;a href="https://docs.appian.com/suite/help/latest/Stop_Script.html"&gt;stop script&lt;/a&gt;.&amp;nbsp;Ungraceful shutdowns can introduce data inconsistencies and can lead to a failed upgrade.&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;isSuitableForUpgrade.sh&lt;/strong&gt; script can be used to detect if engines are not shutdown gracefully&amp;nbsp;&lt;strong&gt;before&lt;/strong&gt;&amp;nbsp;the upgrade is performed. This helps validate the state of the engine data and confirms whether the data is in a state in which it can be safely be upgraded to a higher Appian version.&lt;/p&gt;
&lt;p&gt;This script currently only works with single node and&amp;nbsp;highly available(HA) topologies where the &lt;strong&gt;service_manager.log&lt;/strong&gt; is in a central location. This script currently does not work with distributed topologies where the&amp;nbsp;&lt;strong&gt;service_manager.log &lt;/strong&gt;can be present on multiple servers.&lt;/p&gt;
&lt;h2&gt;Instructions&lt;/h2&gt;
&lt;p&gt;How&amp;nbsp;to execute the script:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;After shutting down all Appian components,&amp;nbsp;&lt;a href="https://forum.appian.com/suite/doc/isBCLGOdlMUpdGVqW7NCvlN27CiSPIDyLjnC9i1zA7-fQj6ET45fmyoynUX"&gt;download the script&lt;/a&gt; to the server that hosts the Appian engines.
&lt;ol&gt;
&lt;li&gt;If the environment is&amp;nbsp;&lt;strong&gt;HA,&lt;/strong&gt;&amp;nbsp;place the script in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/shared-logs&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;If the environment is on a&lt;strong&gt;&amp;nbsp;single server,&amp;nbsp;&lt;/strong&gt;place the script in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Make the&amp;nbsp;script executable by running&amp;nbsp;&lt;code&gt;chmod +x isSuitableForUpgrade.sh&lt;/code&gt;.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Run &lt;code&gt;./isSuitableForUpgrade.sh&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;The script will detect if the engines are suitable for upgrade and output the result to the console&lt;i&gt;.&lt;/i&gt;
&lt;ol&gt;
&lt;li&gt;If all engines are suitable for upgrade, it is safe to proceed with the next steps of the upgrade procedure. Sample output:&lt;br /&gt;
&lt;pre&gt;15 engines are suitable for upgrade&lt;br /&gt;15 total engines detected &lt;br /&gt;&lt;br /&gt;All engines are suitable for upgrade&lt;br /&gt;It is safe to proceed with the upgrade&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;If one or more engines are unsuitable for upgrade, run the following steps. Sample output:&lt;br /&gt;
&lt;pre&gt;12 engines are suitable for upgrade&lt;br /&gt;15 total engines detected&lt;br /&gt;&lt;br /&gt;One or more engines is unsuitable for upgrade&lt;br /&gt;Please perform a full start-up of all engines, gracefully shut down all engines, then try again&lt;/pre&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Starting_and_Stopping_Appian.html#starting-the-application-suite-on-linux"&gt;Start&lt;/a&gt;&amp;nbsp;all engines.&lt;/li&gt;
&lt;li&gt;Verify that all engines are running.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Starting_and_Stopping_Appian.html#stopping-the-application-suite-on-linux"&gt;Shut down&lt;/a&gt; all engines.&lt;/li&gt;
&lt;li&gt;Repeat steps 3-4 until all engines are suitable for upgrade.&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;Note:&lt;/strong&gt;&amp;nbsp;If you are consistently unable to show that all engines are suitable for upgrade, please create a case with Appian Support.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to self-managed versions of Appian 19.4 and later hosted on Linux&lt;/p&gt;
&lt;p&gt;Last Reviewed: July 2023&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: engines, linux, upgrade, infrastructure&lt;/div&gt;
</description></item><item><title>[DRAFT SP-8832] KB-XXXX How to use the isSuitableForUpgrade script</title><link>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script/revision/14</link><pubDate>Wed, 12 Jul 2023 15:23:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e5af2100-7e2a-40e0-812c-4ce4a865d2b2</guid><dc:creator>Tejas Kargutkar</dc:creator><comments>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script#comments</comments><description>Revision 14 posted to Appian Knowledge Base by Tejas Kargutkar on 7/12/2023 3:23:54 PM&lt;br /&gt;
&lt;h2&gt;Purpose&lt;/h2&gt;
&lt;p&gt;In order to safely upgrade&amp;nbsp;an Appian environment, the engines in&amp;nbsp;the source environment&amp;nbsp;must be&amp;nbsp;shut down using the &lt;a href="https://docs.appian.com/suite/help/latest/Stop_Script.html"&gt;stop script&lt;/a&gt;.&amp;nbsp;Ungraceful shutdowns can introduce data inconsistencies and can lead to a failed upgrade.&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;isSuitableForUpgrade.sh&lt;/strong&gt; script can be used to detect if engines are not shutdown gracefully&amp;nbsp;&lt;strong&gt;before&lt;/strong&gt;&amp;nbsp;the upgrade is performed. This helps validate the state of the engine data and confirms whether the data is in a state in which it can be safely be upgraded to a higher Appian version.&lt;/p&gt;
&lt;p&gt;This script currently only works with single node and&amp;nbsp;highly available(HA) topologies where the &lt;strong&gt;service_manager.log&lt;/strong&gt; is in a central location. This script currently does not work with distributed topologies where the&amp;nbsp;&lt;strong&gt;service_manager.log &lt;/strong&gt;can be present on multiple servers.&lt;/p&gt;
&lt;h2&gt;Instructions&lt;/h2&gt;
&lt;p&gt;How&amp;nbsp;to execute the script:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;After shutting down all Appian components,&amp;nbsp;&lt;a href="https://forum.appian.com/suite/doc/isBCLGOdlMUpdGVqW7NCvlN27CiSPIDyLjnC9i1zA7-fQj6ET45fmyoynUX"&gt;download the script&lt;/a&gt; to the server that hosts the Appian engines.
&lt;ol&gt;
&lt;li&gt;If the environment is&amp;nbsp;&lt;strong&gt;HA,&lt;/strong&gt;&amp;nbsp;place the script in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/shared-logs&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;If the environment is on a&lt;strong&gt;&amp;nbsp;single server,&amp;nbsp;&lt;/strong&gt;place the script in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Make the&amp;nbsp;script executable by running&amp;nbsp;&lt;code&gt;chmod +x isSuitableForUpgrade.sh&lt;/code&gt;.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Run &lt;code&gt;./isSuitableForUpgrade.sh&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;The script will detect if the engines are suitable for upgrade and output the result to the console&lt;i&gt;.&lt;/i&gt;
&lt;ol&gt;
&lt;li&gt;If all engines are suitable for upgrade, it is safe to proceed with &lt;a href="https://docs.appian.com/suite/help/latest/Upgrade_Guide.html#6.-copy-your-data"&gt;copying the data&lt;/a&gt; to the target location. Sample output:&lt;br /&gt;
&lt;pre&gt;15 engines are suitable for upgrade&lt;br /&gt;15 total engines detected &lt;br /&gt;&lt;br /&gt;All engines are suitable for upgrade&lt;br /&gt;It is safe to proceed with the upgrade&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;If one or more engines are unsuitable for upgrade, run the following steps. Sample output:&lt;br /&gt;
&lt;pre&gt;12 engines are suitable for upgrade&lt;br /&gt;15 total engines detected&lt;br /&gt;&lt;br /&gt;One or more engines is unsuitable for upgrade&lt;br /&gt;Please perform a full start-up of all engines, gracefully shut down all engines, then try again&lt;/pre&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Starting_and_Stopping_Appian.html#starting-the-application-suite-on-linux"&gt;Start&lt;/a&gt;&amp;nbsp;all engines.&lt;/li&gt;
&lt;li&gt;Verify that all engines are running.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Starting_and_Stopping_Appian.html#stopping-the-application-suite-on-linux"&gt;Shut down&lt;/a&gt; all engines.&lt;/li&gt;
&lt;li&gt;Repeat steps 3-4 until all engines are suitable for upgrade.&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;Note:&lt;/strong&gt;&amp;nbsp;If you are consistently unable to show that all engines are suitable for upgrade, please create a case with Appian Support.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to self-managed versions of Appian 19.4 and later hosted on Linux&lt;/p&gt;
&lt;p&gt;Last Reviewed: July 2023&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: engines, linux, upgrade, infrastructure&lt;/div&gt;
</description></item><item><title>[DRAFT SP-8832] KB-XXXX How to use the isSuitableForUpgrade script</title><link>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script/revision/13</link><pubDate>Wed, 12 Jul 2023 15:20:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e5af2100-7e2a-40e0-812c-4ce4a865d2b2</guid><dc:creator>Tejas Kargutkar</dc:creator><comments>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script#comments</comments><description>Revision 13 posted to Appian Knowledge Base by Tejas Kargutkar on 7/12/2023 3:20:22 PM&lt;br /&gt;
&lt;h2&gt;Purpose&lt;/h2&gt;
&lt;p&gt;In order to safely upgrade&amp;nbsp;an Appian environment, the engines in&amp;nbsp;the source environment&amp;nbsp;must be&amp;nbsp;shut down using the &lt;a href="https://docs.appian.com/suite/help/latest/Stop_Script.html"&gt;stop script&lt;/a&gt;.&amp;nbsp;Ungraceful shutdowns can introduce data inconsistencies and can lead to a failed upgrade.&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;isSuitableForUpgrade.sh&lt;/strong&gt; script can be used to detect if engines are not shutdown gracefully&amp;nbsp;&lt;strong&gt;before&lt;/strong&gt;&amp;nbsp;the upgrade is performed. This helps validate the state of the engine data and confirms whether the data is in a state in which it can be safely be upgraded to a higher Appian version.&lt;/p&gt;
&lt;p&gt;This script currently only works with single node and&amp;nbsp;highly available(HA) topologies where the &lt;strong&gt;service_manager.log&lt;/strong&gt; is in a central location. This script currently does not work with distributed topologies where the&amp;nbsp;&lt;strong&gt;service_manager.log &lt;/strong&gt;can be present on multiple servers.&lt;/p&gt;
&lt;h2&gt;Instructions&lt;/h2&gt;
&lt;p&gt;How&amp;nbsp;to execute the script:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;After shutting down all Appian components,&amp;nbsp;&lt;a href="https://forum.appian.com/suite/doc/isBCLGOdlMUpdGVqW7NCvlN27CiSPIDyLjnC9i1zA7-fQj6ET45fmyoynUX"&gt;download the script&lt;/a&gt; to the server that hosts the Appian engines.
&lt;ol&gt;
&lt;li&gt;If the environment is&amp;nbsp;&lt;strong&gt;HA,&lt;/strong&gt;&amp;nbsp;place the script in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/shared-logs.&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;If the environment is on a&lt;strong&gt;&amp;nbsp;single server,&amp;nbsp;&lt;/strong&gt;place the script in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Make the&amp;nbsp;script executable by running&amp;nbsp;&lt;code&gt;chmod +x isSuitableForUpgrade.sh&lt;/code&gt;.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Run &lt;code&gt;./isSuitableForUpgrade.sh&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;The script will detect if the engines are suitable for upgrade and output the result to the console&lt;i&gt;.&lt;/i&gt;
&lt;ol&gt;
&lt;li&gt;If all engines are suitable for upgrade, it is safe to proceed with &lt;a href="https://docs.appian.com/suite/help/latest/Upgrade_Guide.html#6.-copy-your-data"&gt;copying the data&lt;/a&gt; to the target location. Sample output:&lt;br /&gt;
&lt;pre&gt;15 engines are suitable for upgrade&lt;br /&gt;15 total engines detected &lt;br /&gt;&lt;br /&gt;All engines are suitable for upgrade&lt;br /&gt;It is safe to proceed with the upgrade&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;If one or more engines are unsuitable for upgrade, run the following steps. Sample output:&lt;br /&gt;
&lt;pre&gt;12 engines are suitable for upgrade&lt;br /&gt;15 total engines detected&lt;br /&gt;&lt;br /&gt;One or more engines is unsuitable for upgrade&lt;br /&gt;Please perform a full start-up of all engines, gracefully shut down all engines, then try again&lt;/pre&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Starting_and_Stopping_Appian.html#starting-the-application-suite-on-linux"&gt;Start&lt;/a&gt;&amp;nbsp;all engines.&lt;/li&gt;
&lt;li&gt;Verify that all engines are running.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Starting_and_Stopping_Appian.html#stopping-the-application-suite-on-linux"&gt;Shut down&lt;/a&gt; all engines.&lt;/li&gt;
&lt;li&gt;Repeat steps 3-4 until all engines are suitable for upgrade.&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;Note:&lt;/strong&gt;&amp;nbsp;If you are consistently unable to show that all engines are suitable for upgrade, please create a case with Appian Support.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to self-managed versions of Appian 19.4 and later hosted on Linux&lt;/p&gt;
&lt;p&gt;Last Reviewed: July 2023&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: engines, linux, upgrade, infrastructure&lt;/div&gt;
</description></item><item><title>[DRAFT SP-8832] KB-XXXX How to use the isSuitableForUpgrade script</title><link>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script/revision/12</link><pubDate>Wed, 12 Jul 2023 15:16:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e5af2100-7e2a-40e0-812c-4ce4a865d2b2</guid><dc:creator>Tejas Kargutkar</dc:creator><comments>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script#comments</comments><description>Revision 12 posted to Appian Knowledge Base by Tejas Kargutkar on 7/12/2023 3:16:15 PM&lt;br /&gt;
&lt;h2&gt;Purpose&lt;/h2&gt;
&lt;p&gt;In order to safely upgrade&amp;nbsp;an Appian environment, the engines in&amp;nbsp;the source environment&amp;nbsp;must be&amp;nbsp;shut down using the &lt;a href="https://docs.appian.com/suite/help/latest/Stop_Script.html"&gt;stop script&lt;/a&gt;.&amp;nbsp;Ungraceful shutdowns can introduce data inconsistencies and can lead to a failed upgrade.&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;isSuitableForUpgrade.sh&lt;/strong&gt; script can be used to detect if engines are not shutdown gracefully&amp;nbsp;&lt;strong&gt;before&lt;/strong&gt;&amp;nbsp;the upgrade is performed. This helps validate the state of the engine data and confirms whether the data is in a state in which it can be safely be upgraded to a higher Appian version.&lt;/p&gt;
&lt;p&gt;//Make a comment saying this script currently only works with single node and HA topologies where the service_manager.log is in a central location.&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Instructions&lt;/h2&gt;
&lt;p&gt;How&amp;nbsp;to execute the script:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;After shutting down all Appian components,&amp;nbsp;&lt;a href="https://forum.appian.com/suite/doc/isBCLGOdlMUpdGVqW7NCvlN27CiSPIDyLjnC9i1zA7-fQj6ET45fmyoynUX"&gt;download the script&lt;/a&gt; to the server that hosts the Appian engines.
&lt;ol&gt;
&lt;li&gt;If the environment is&amp;nbsp;&lt;strong&gt;highly-available (HA),&lt;/strong&gt;&amp;nbsp;place the script in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/shared-logs.&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;If the environment is on a&lt;strong&gt;&amp;nbsp;single server,&amp;nbsp;&lt;/strong&gt;place the script in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Make the&amp;nbsp;script executable by running&amp;nbsp;&lt;code&gt;chmod +x isSuitableForUpgrade.sh&lt;/code&gt;.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Run &lt;code&gt;./isSuitableForUpgrade.sh&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;The script will detect if the engines are suitable for upgrade and output the result to the console&lt;i&gt;.&lt;/i&gt;
&lt;ol&gt;
&lt;li&gt;If all engines are suitable for upgrade, it is safe to proceed with &lt;a href="https://docs.appian.com/suite/help/latest/Upgrade_Guide.html#6.-copy-your-data"&gt;copying the data&lt;/a&gt; to the target location. Sample output:&lt;br /&gt;
&lt;pre&gt;15 engines are suitable for upgrade&lt;br /&gt;15 total engines detected &lt;br /&gt;&lt;br /&gt;All engines are suitable for upgrade&lt;br /&gt;It is safe to proceed with the upgrade&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;If one or more engines are unsuitable for upgrade, run the following steps. Sample output:&lt;br /&gt;
&lt;pre&gt;12 engines are suitable for upgrade&lt;br /&gt;15 total engines detected&lt;br /&gt;&lt;br /&gt;One or more engines is unsuitable for upgrade&lt;br /&gt;Please perform a full start-up of all engines, gracefully shut down all engines, then try again&lt;/pre&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Starting_and_Stopping_Appian.html#starting-the-application-suite-on-linux"&gt;Start&lt;/a&gt;&amp;nbsp;all engines.&lt;/li&gt;
&lt;li&gt;Verify that all engines are running.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Starting_and_Stopping_Appian.html#stopping-the-application-suite-on-linux"&gt;Shut down&lt;/a&gt; all engines.&lt;/li&gt;
&lt;li&gt;Repeat steps 3-4 until all engines are suitable for upgrade.&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;Note:&lt;/strong&gt;&amp;nbsp;If you are consistently unable to show that all engines are suitable for upgrade, please create a case with Appian Support.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to self-managed versions of Appian 19.4 and later hosted on Linux&lt;/p&gt;
&lt;p&gt;Last Reviewed: July 2023&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: engines, linux, upgrade, infrastructure&lt;/div&gt;
</description></item><item><title>[DRAFT SP-8832] KB-XXXX How to use the isSuitableForUpgrade script</title><link>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script/revision/11</link><pubDate>Tue, 11 Jul 2023 19:34:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e5af2100-7e2a-40e0-812c-4ce4a865d2b2</guid><dc:creator>rachel.gillespie</dc:creator><comments>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script#comments</comments><description>Revision 11 posted to Appian Knowledge Base by rachel.gillespie on 7/11/2023 7:34:57 PM&lt;br /&gt;
&lt;h2&gt;Purpose&lt;/h2&gt;
&lt;p&gt;In order to safely upgrade&amp;nbsp;an Appian environment, the engines in&amp;nbsp;the source environment&amp;nbsp;must be&amp;nbsp;shut down using the &lt;a href="https://docs.appian.com/suite/help/latest/Stop_Script.html"&gt;stop script&lt;/a&gt;.&amp;nbsp;Ungraceful shutdowns can introduce data inconsistencies and can lead to a failed upgrade.&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;isSuitableForUpgrade.sh&lt;/strong&gt; script can be used to detect if engines are not shutdown gracefully&amp;nbsp;&lt;strong&gt;before&lt;/strong&gt;&amp;nbsp;the upgrade is performed. This helps validate the state of the engine data and confirms whether the data is in a state in which it can be safely be upgraded to a higher Appian version.&lt;/p&gt;
&lt;p&gt;//Make a comment saying this script currently only works with single node and HA topologies where the service_manager.log is in a central location.&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Instructions&lt;/h2&gt;
&lt;p&gt;How&amp;nbsp;to execute the script:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;After shutting down all Appian components, but before beginning the upgrade process,&amp;nbsp;&lt;a href="https://forum.appian.com/suite/doc/isBCLGOdlMUpdGVqW7NCvlN27CiSPIDyLjnC9i1zA7-fQj6ET45fmyoynUX"&gt;download the script&lt;/a&gt; to the server that hosts the Appian engines.
&lt;ol&gt;
&lt;li&gt;If the environment is&amp;nbsp;&lt;strong&gt;highly-available (HA),&lt;/strong&gt;&amp;nbsp;place the script in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/shared-logs.&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;If the environment is on a&lt;strong&gt;&amp;nbsp;single server,&amp;nbsp;&lt;/strong&gt;place the script in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Make the&amp;nbsp;script executable by running&amp;nbsp;&lt;code&gt;chmod +x isSuitableForUpgrade.sh&lt;/code&gt;.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Run &lt;code&gt;./isSuitableForUpgrade.sh - Which location?? &amp;lt;AE-Home&amp;gt;/logs?&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;The script will detect if the engines are suitable for upgrade and output the result to the console&lt;i&gt;.&lt;/i&gt;
&lt;ol&gt;
&lt;li&gt;If all engines are suitable for upgrade, it is safe to proceed with the upgrade. Sample output:&lt;br /&gt;
&lt;pre&gt;15 engines are suitable for upgrade&lt;br /&gt;15 total engines detected &lt;br /&gt;&lt;br /&gt;All engines are suitable for upgrade&lt;br /&gt;It is safe to proceed with the upgrade&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;If one or more engines are unsuitable for upgrade, run the following steps. Sample output:&lt;br /&gt;
&lt;pre&gt;12 engines are suitable for upgrade&lt;br /&gt;15 total engines detected&lt;br /&gt;&lt;br /&gt;One or more engines is unsuitable for upgrade&lt;br /&gt;Please perform a full start-up of all engines, gracefully shut down all engines, then try again&lt;/pre&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Starting_and_Stopping_Appian.html#starting-the-application-suite-on-linux"&gt;Start&lt;/a&gt;&amp;nbsp;all engines.&lt;/li&gt;
&lt;li&gt;Verify that all engines are running.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Starting_and_Stopping_Appian.html#stopping-the-application-suite-on-linux"&gt;Shut down&lt;/a&gt; all engines.&lt;/li&gt;
&lt;li&gt;Repeat steps 3-4 until all engines are suitable for upgrade.&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;Note:&lt;/strong&gt;&amp;nbsp;If you are consistently unable to show that all engines are suitable for upgrade, please create a case with Appian Support.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to self-managed versions of Appian 19.4 and later hosted on Linux&lt;/p&gt;
&lt;p&gt;Last Reviewed: July 2023&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: engines, linux, upgrade, infrastructure&lt;/div&gt;
</description></item><item><title>[DRAFT SP-8832] KB-XXXX How to use the isSuitableForUpgrade script</title><link>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script/revision/10</link><pubDate>Mon, 10 Jul 2023 18:58:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e5af2100-7e2a-40e0-812c-4ce4a865d2b2</guid><dc:creator>Tejas Kargutkar</dc:creator><comments>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script#comments</comments><description>Revision 10 posted to Appian Knowledge Base by Tejas Kargutkar on 7/10/2023 6:58:30 PM&lt;br /&gt;
&lt;h2&gt;Purpose&lt;/h2&gt;
&lt;p&gt;In order to safely upgrade&amp;nbsp;an Appian environment, the engines in&amp;nbsp;the source environment&amp;nbsp;must be&amp;nbsp;shut down using the &lt;a href="https://docs.appian.com/suite/help/latest/Stop_Script.html"&gt;stop script&lt;/a&gt;.&amp;nbsp;Ungraceful shutdowns can introduce data inconsistencies and can lead to a failed upgrade.&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;isSuitableForUpgrade.sh&lt;/strong&gt; script can be used to detect if engines are not shutdown gracefully&amp;nbsp;&lt;strong&gt;before&lt;/strong&gt;&amp;nbsp;the upgrade is performed. This helps validate the state of the engine data and confirms whether the data is in a state in which it can be safely be upgraded to a higher Appian version.&lt;/p&gt;
&lt;p&gt;//Make a comment saying this script currently only works with single node and HA topologies where the service_manager.log is in a central location.&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Instructions&lt;/h2&gt;
&lt;p&gt;How&amp;nbsp;to execute the script:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;After shutting down all Appian components, but before beginning the upgrade process,&amp;nbsp;&lt;a href="https://forum.appian.com/suite/doc/isBCLGOdlMUpdGVqW7NCvlN27CiSPIDyLjnC9i1zA7-fQj6ET45fmyoynUX"&gt;download the script&lt;/a&gt; to the server that hosts the Appian engines.
&lt;ol&gt;
&lt;li&gt;If the environment is&amp;nbsp;&lt;strong&gt;highly-available (HA) or &lt;span style="text-decoration:line-through;"&gt;distributed&lt;/span&gt;&lt;/strong&gt;, place the script in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/shared-logs&lt;/code&gt; &lt;span style="text-decoration:line-through;"&gt;on&amp;nbsp;&lt;strong&gt;one&lt;/strong&gt; of the servers hosting the engines.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;If the environment is on a&lt;strong&gt;&amp;nbsp;single server,&amp;nbsp;&lt;/strong&gt;place the script in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Make the&amp;nbsp;script executable by running&amp;nbsp;&lt;code&gt;chmod +x isSuitableForUpgrade.sh&lt;/code&gt;.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Run &lt;code&gt;./isSuitableForUpgrade.sh - Which location?? &amp;lt;AE-Home&amp;gt;/logs?&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;The script will detect if the engines are suitable for upgrade and output the result to the console - //&lt;em&gt;Does it also write to a file? If so it should be indicated here. Add a screenshot of the expected behavior instead.&lt;/em&gt;
&lt;ol&gt;
&lt;li&gt;If all engines are suitable for upgrade, it is safe to proceed with the upgrade. Sample output:&lt;br /&gt;
&lt;pre&gt;15 engines are suitable for upgrade&lt;br /&gt;15 total engines detected &lt;br /&gt;&lt;br /&gt;All engines are suitable for upgrade&lt;br /&gt;It is safe to proceed with the upgrade&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;If one or more engines are unsuitable for upgrade, run the following steps. Sample output:&lt;br /&gt;
&lt;pre&gt;12 engines are suitable for upgrade&lt;br /&gt;15 total engines detected&lt;br /&gt;&lt;br /&gt;One or more engines is unsuitable for upgrade&lt;br /&gt;Please perform a full start-up of all engines, gracefully shut down all engines, then try again&lt;/pre&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Starting_and_Stopping_Appian.html#starting-the-application-suite-on-linux"&gt;Start&lt;/a&gt;&amp;nbsp;all engines.&lt;/li&gt;
&lt;li&gt;Verify that all engines are running.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Starting_and_Stopping_Appian.html#stopping-the-application-suite-on-linux"&gt;Shut down&lt;/a&gt; all engines.&lt;/li&gt;
&lt;li&gt;Repeat steps 3-4 until all engines are suitable for upgrade.&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;Note:&lt;/strong&gt;&amp;nbsp;If you are consistently unable to show that all engines are suitable for upgrade, please create a case with Appian Support.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to self-managed versions of Appian 19.4 and later hosted on Linux&lt;/p&gt;
&lt;p&gt;Last Reviewed: July 2023&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: engines, linux, upgrade, infrastructure&lt;/div&gt;
</description></item><item><title>[DRAFT SP-8832] KB-XXXX How to use the isSuitableForUpgrade script</title><link>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script/revision/9</link><pubDate>Fri, 07 Jul 2023 19:52:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e5af2100-7e2a-40e0-812c-4ce4a865d2b2</guid><dc:creator>Elly Meng</dc:creator><comments>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script#comments</comments><description>Revision 9 posted to Appian Knowledge Base by Elly Meng on 7/7/2023 7:52:18 PM&lt;br /&gt;
&lt;h2&gt;Purpose&lt;/h2&gt;
&lt;p&gt;In order to safely upgrade&amp;nbsp;an Appian environment, the engines in&amp;nbsp;the source environment&amp;nbsp;must be&amp;nbsp;shut down properly. Otherwise, the target (upgraded) environment&amp;nbsp;will&amp;nbsp;not be viable and the upgrade must be attempted again.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;isSuitableForUpgrade.sh&lt;/strong&gt; script can be used to detects improperly shut down engines&amp;nbsp;&lt;strong&gt;before&lt;/strong&gt;&amp;nbsp;the upgrade is performed. This helps save time by preventing time-consuming complications related to the upgrade process.&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Instructions&lt;/h2&gt;
&lt;p&gt;How&amp;nbsp;to execute the script:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;After shutting down all Appian components, but before beginning the upgrade process,&amp;nbsp;&lt;a href="https://forum.appian.com/suite/doc/isBCLGOdlMUpdGVqW7NCvlN27CiSPIDyLjnC9i1zA7-fQj6ET45fmyoynUX"&gt;download the script&lt;/a&gt; to the server that hosts the Appian engines.
&lt;ol&gt;
&lt;li&gt;If the environment is&amp;nbsp;&lt;strong&gt;highly-available (HA) or distributed&lt;/strong&gt;, place the script in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/shared-logs&lt;/code&gt; on&amp;nbsp;&lt;strong&gt;one&lt;/strong&gt; of the servers hosting the engines.&lt;/li&gt;
&lt;li&gt;If the environment is on a&lt;strong&gt;&amp;nbsp;single server,&amp;nbsp;&lt;/strong&gt;place the script in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Make the&amp;nbsp;script executable by running&amp;nbsp;&lt;code&gt;chmod +x isSuitableForUpgrade.sh&lt;/code&gt;.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Run &lt;code&gt;./isSuitableForUpgrade.sh&amp;nbsp;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;The script will detect if the engines are suitable for upgrade and output the result to the console.
&lt;ol&gt;
&lt;li&gt;If all engines are suitable for upgrade, it is safe to proceed with the upgrade. Sample output:&lt;br /&gt;
&lt;pre&gt;15 engines are suitable for upgrade&lt;br /&gt;15 total engines detected &lt;br /&gt;&lt;br /&gt;All engines are suitable for upgrade&lt;br /&gt;It is safe to proceed with the upgrade&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;If one or more engines are unsuitable for upgrade, run the following steps. Sample output:&lt;br /&gt;
&lt;pre&gt;12 engines are suitable for upgrade&lt;br /&gt;15 total engines detected&lt;br /&gt;&lt;br /&gt;One or more engines is unsuitable for upgrade&lt;br /&gt;Please perform a full start-up of all engines, gracefully shut down all engines, then try again&lt;/pre&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Starting_and_Stopping_Appian.html#starting-the-application-suite-on-linux"&gt;Start&lt;/a&gt;&amp;nbsp;all engines.&lt;/li&gt;
&lt;li&gt;Verify that all engines are running.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Starting_and_Stopping_Appian.html#stopping-the-application-suite-on-linux"&gt;Shut down&lt;/a&gt; all engines.&lt;/li&gt;
&lt;li&gt;Repeat steps 3-4 until all engines are suitable for upgrade.&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;Note:&lt;/strong&gt;&amp;nbsp;If you are consistently unable to show that all engines are suitable for upgrade, please create a case with Appian Support.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;/h2&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to self-managed versions of Appian 19.4 and later hosted on Linux&lt;/p&gt;
&lt;p&gt;Last Reviewed: July 2023&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: engines, linux, upgrade, infrastructure&lt;/div&gt;
</description></item><item><title>[DRAFT SP-8832] KB-XXXX How to use the isSuitableForUpgrade script</title><link>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script/revision/8</link><pubDate>Thu, 06 Jul 2023 20:56:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e5af2100-7e2a-40e0-812c-4ce4a865d2b2</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script#comments</comments><description>Revision 8 posted to Appian Knowledge Base by pauline.delacruz on 7/6/2023 8:56:05 PM&lt;br /&gt;
&lt;h2&gt;Purpose&lt;/h2&gt;
&lt;p&gt;In order to safely upgrade&amp;nbsp;an Appian environment, the engines in&amp;nbsp;the source environment&amp;nbsp;must be&amp;nbsp;shut down properly. Failure to shut down&amp;nbsp;the engines properly will cause the upgrade to fail. In these cases, the target (upgraded) environment is not viable, and the upgrade must be attempted again.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;isSuitableForUpgrade.sh&lt;/strong&gt; script automatically detects improperly shut down engines&amp;nbsp;&lt;strong&gt;before&lt;/strong&gt;&amp;nbsp;the upgrade is performed. This script helps to save time when upgrading Appian and prevents time-consuming complications related to the upgrade process.&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Instructions&lt;/h2&gt;
&lt;p&gt;Run the following steps to execute the script:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;After shutting down all Appian components, but before beginning the upgrade process,&amp;nbsp;&lt;a href="https://forum.appian.com/suite/doc/isBCLGOdlMUpdGVqW7NCvlN27CiSPIDyLjnC9i1zA7-fQj6ET45fmyoynUX"&gt;download the script&lt;/a&gt; to the server that hosts the Appian Engines.
&lt;ol&gt;
&lt;li&gt;If the environment is&amp;nbsp;&lt;strong&gt;highly-available (HA)&lt;/strong&gt;, place the script in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/shared-logs&lt;/code&gt; on&amp;nbsp;&lt;strong&gt;one&lt;/strong&gt; of the servers hosting engines.&lt;/li&gt;
&lt;li&gt;If the &lt;strong&gt;engines are hosted on a single server,&amp;nbsp;&lt;/strong&gt;place the script in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Make the&amp;nbsp;&lt;code&gt;isSuitableForUpgrade.sh&lt;/code&gt; script executable.
&lt;ol&gt;
&lt;li&gt;&lt;code&gt;chmod +x isSuitableForUpgrade.sh&lt;/code&gt;&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Run the following command: &lt;code&gt;./isSuitableForUpgrade.sh&amp;nbsp;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;The script will automatically detect if engines are suitable for upgrade and output to the console.
&lt;ol&gt;
&lt;li&gt;If all engines are suitable for upgrade, it is safe to proceed with the upgrade.&lt;/li&gt;
&lt;li&gt;If one or more engines is unsuitable for upgrading, run the following steps:&amp;nbsp;
&lt;ol&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/23.2/Starting_and_Stopping_Appian.html#starting-the-application-suite-on-linux"&gt;Start&lt;/a&gt;&amp;nbsp;all engines.&lt;/li&gt;
&lt;li&gt;Verify that all engines are running.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/23.2/Starting_and_Stopping_Appian.html#stopping-the-application-suite-on-linux"&gt;Shut down&lt;/a&gt; all engines.&lt;/li&gt;
&lt;li&gt;Repeat steps 3-4 until all engines are suitable for upgrade.&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;Note:&lt;/strong&gt;&amp;nbsp;If you are consistently unable to show that all engines are suitable for upgrade, please open a ticket with Appian Support.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Sample Output&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Sample Output 1:&amp;nbsp;&lt;/strong&gt;All engines were shut down properly and it is safe to proceed with the upgrade&lt;/p&gt;
&lt;pre&gt;15 engines are suitable for upgrade&lt;br /&gt;15 total engines detected &lt;br /&gt;&lt;br /&gt;All engines are suitable for upgrade&lt;br /&gt;It is safe to proceed with the upgrade&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;Sample Output 2:&amp;nbsp;&lt;/strong&gt;One or more engine was not shut down cleanly, and it is not safe to proceed with the upgrade.&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;12 engines are suitable for upgrade&lt;br /&gt;15 total engines detected&lt;br /&gt;&lt;br /&gt;One or more engines is unsuitable for upgrade&lt;br /&gt;Please perform a full start-up of all engines, gracefully shut down all engines, then try again&lt;/pre&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to self-managed versions of Appian 19.4 and later hosted on Linux.&lt;/p&gt;
&lt;p&gt;Last Reviewed: July 2023&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: engines, linux, upgrade, infrastructure&lt;/div&gt;
</description></item><item><title>[DRAFT SP-8832] KB-XXXX How to use the isSuitableForUpgrade script</title><link>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script/revision/7</link><pubDate>Thu, 06 Jul 2023 20:51:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e5af2100-7e2a-40e0-812c-4ce4a865d2b2</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script#comments</comments><description>Revision 7 posted to Appian Knowledge Base by pauline.delacruz on 7/6/2023 8:51:06 PM&lt;br /&gt;
&lt;h2&gt;Purpose&lt;/h2&gt;
&lt;p&gt;In order to safely upgrade&amp;nbsp;an Appian environment, the engines in&amp;nbsp;the source environment&amp;nbsp;must be&amp;nbsp;shut down properly. Failure to shut down&amp;nbsp;the engines properly will cause the upgrade to fail. In these cases, the target (upgraded) environment is not viable, and the upgrade must be attempted again.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;isSuitableForUpgrade.sh&lt;/strong&gt; script automatically detects improperly shut down engines&amp;nbsp;&lt;strong&gt;before&lt;/strong&gt;&amp;nbsp;the upgrade is performed. This script helps to save time when upgrading Appian and prevents time-consuming complications related to the upgrade process.&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Instructions&lt;/h2&gt;
&lt;p&gt;Run the following steps to execute the script:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;After shutting down all Appian components, but before beginning the upgrade process,&amp;nbsp;&lt;a href="https://forum.appian.com/suite/doc/isBCLGOdlMUpdGVqW7NCvlN27CiSPIDyLjnC9i1zA7-fQj6ET45fmyoynUX"&gt;download the script&lt;/a&gt; to the server that hosts the Appian Engines.
&lt;ol&gt;
&lt;li&gt;If the environment is&amp;nbsp;&lt;strong&gt;highly-available (HA)&lt;/strong&gt;, place the script in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/shared-logs&lt;/code&gt; on&amp;nbsp;&lt;strong&gt;one&lt;/strong&gt; of the servers hosting engines.&lt;/li&gt;
&lt;li&gt;If the &lt;strong&gt;engines are hosted on a single server,&amp;nbsp;&lt;/strong&gt;place the script in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Make the&amp;nbsp;&lt;code&gt;isSuitableForUpgrade.sh&lt;/code&gt; script executable.
&lt;ol&gt;
&lt;li&gt;&lt;code&gt;chmod +x isSuitableForUpgrade.sh&lt;/code&gt;&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Run the following command: &lt;code&gt;./isSuitableForUpgrade.sh&amp;nbsp;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;The script will automatically detect if engines are suitable for upgrade.
&lt;ol&gt;
&lt;li&gt;If all engines are suitable for upgrade, it is safe to proceed with the upgrade.&lt;/li&gt;
&lt;li&gt;If one or more engines is unsuitable for upgrading, run the following steps:&amp;nbsp;
&lt;ol&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/23.2/Starting_and_Stopping_Appian.html#starting-the-application-suite-on-linux"&gt;Start&lt;/a&gt;&amp;nbsp;all engines.&lt;/li&gt;
&lt;li&gt;Verify that all engines are running.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/23.2/Starting_and_Stopping_Appian.html#stopping-the-application-suite-on-linux"&gt;Shut down&lt;/a&gt; all engines.&lt;/li&gt;
&lt;li&gt;Repeat steps 2-4 until all engines are suitable for upgrade.&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;Note:&lt;/strong&gt;&amp;nbsp;If you are consistently unable to show that all engines are suitable for upgrade, please open a ticket with Appian Support.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Sample Output&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Sample Output 1:&amp;nbsp;&lt;/strong&gt;All engines were shut down properly and it is safe to proceed with the upgrade&lt;/p&gt;
&lt;pre&gt;15 engines are suitable for upgrade&lt;br /&gt;15 total engines detected &lt;br /&gt;&lt;br /&gt;All engines are suitable for upgrade&lt;br /&gt;It is safe to proceed with the upgrade&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;Sample Output 2:&amp;nbsp;&lt;/strong&gt;One or more engine was not shut down cleanly, and it is not safe to proceed with the upgrade.&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;12 engines are suitable for upgrade&lt;br /&gt;15 total engines detected&lt;br /&gt;&lt;br /&gt;One or more engines is unsuitable for upgrade&lt;br /&gt;Please perform a full start-up of all engines, gracefully shut down all engines, then try again&lt;/pre&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to self-managed versions of Appian 19.4 and later hosted on Linux.&lt;/p&gt;
&lt;p&gt;Last Reviewed: July 2023&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: engines, linux, upgrade, infrastructure&lt;/div&gt;
</description></item><item><title>[DRAFT SP-8832] KB-XXXX How to use the isSuitableForUpgrade script</title><link>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script/revision/6</link><pubDate>Thu, 06 Jul 2023 20:29:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e5af2100-7e2a-40e0-812c-4ce4a865d2b2</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script#comments</comments><description>Revision 6 posted to Appian Knowledge Base by pauline.delacruz on 7/6/2023 8:29:45 PM&lt;br /&gt;
&lt;h2&gt;Purpose&lt;/h2&gt;
&lt;p&gt;In order to safely upgrade&amp;nbsp;an Appian environment, the engines in&amp;nbsp;the source environment&amp;nbsp;must be&amp;nbsp;shut down properly. Failure to shut down&amp;nbsp;the engines properly will cause the upgrade to fail. In these cases, the target (upgraded) environment is not viable, and the upgrade must be attempted again.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;isSuitableForUpgrade.sh&lt;/strong&gt; script automatically detects improperly shut down engines&amp;nbsp;&lt;strong&gt;before&lt;/strong&gt;&amp;nbsp;the upgrade is performed. This script helps to save time when upgrading Appian and prevents time-consuming complications related to the upgrade process.&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Instructions&lt;/h2&gt;
&lt;p&gt;Run the following steps to execute the script:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;After shutting down all Appian components, but before beginning the upgrade process, download the &lt;a href="https://forum.appian.com/suite/doc/isBCLGOdlMUpdGVqW7NCvlN27CiSPIDyLjnC9i1zA7-fQj6ET45fmyoynUX"&gt;script&lt;/a&gt; to the server that hosts the Appian Engines.
&lt;ol&gt;
&lt;li&gt;If the environment is&amp;nbsp;&lt;strong&gt;highly-available (HA)&lt;/strong&gt;, place the script in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/shared-logs&lt;/code&gt; on&amp;nbsp;&lt;strong&gt;one&lt;/strong&gt; of the servers hosting engines.&lt;/li&gt;
&lt;li&gt;If the &lt;strong&gt;engines are hosted on a single server,&amp;nbsp;&lt;/strong&gt;place the script in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Make the&amp;nbsp;&lt;code&gt;isSuitableForUpgrade.sh&lt;/code&gt; script executable.
&lt;ol&gt;
&lt;li&gt;&lt;code&gt;chmod +x isSuitableForUpgrade.sh&lt;/code&gt;&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Run the following command: &lt;code&gt;./isSuitableForUpgrade.sh&amp;nbsp;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;The script will automatically detect if engines are suitable for upgrade.
&lt;ol&gt;
&lt;li&gt;If all engines are suitable for upgrade, it is safe to proceed with the upgrade.&lt;/li&gt;
&lt;li&gt;If one or more engines is unsuitable for upgrading, run the following steps:&amp;nbsp;
&lt;ol&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/23.2/Starting_and_Stopping_Appian.html#starting-the-application-suite-on-linux"&gt;Start&lt;/a&gt;&amp;nbsp;all engines.&lt;/li&gt;
&lt;li&gt;Verify that all engines are running.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/23.2/Starting_and_Stopping_Appian.html#stopping-the-application-suite-on-linux"&gt;Shut down&lt;/a&gt; all engines.&lt;/li&gt;
&lt;li&gt;Repeat steps 2-4 until all engines are suitable for upgrade.&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;Note:&lt;/strong&gt;&amp;nbsp;If you are consistently unable to show that all engines are suitable for upgrade, please open a ticket with Appian Support.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Sample Output&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Sample Output 1:&amp;nbsp;&lt;/strong&gt;All engines were shut down properly and it is safe to proceed with the upgrade&lt;/p&gt;
&lt;pre&gt;15 engines are suitable for upgrade&lt;br /&gt;15 total engines detected &lt;br /&gt;&lt;br /&gt;All engines are suitable for upgrade&lt;br /&gt;It is safe to proceed with the upgrade&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;Sample Output 2:&amp;nbsp;&lt;/strong&gt;One or more engine was not shut down cleanly, and it is not safe to proceed with the upgrade.&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;12 engines are suitable for upgrade&lt;br /&gt;15 total engines detected&lt;br /&gt;&lt;br /&gt;One or more engines is unsuitable for upgrade&lt;br /&gt;Please perform a full start-up of all engines, gracefully shut down all engines, then try again&lt;/pre&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to self-managed versions of Appian 19.4 and later hosted on Linux.&lt;/p&gt;
&lt;p&gt;Last Reviewed: July 2023&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: engines, linux, upgrade, infrastructure&lt;/div&gt;
</description></item><item><title>[DRAFT SP-8832] KB-XXXX How to use the isSuitableForUpgrade script</title><link>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script/revision/5</link><pubDate>Thu, 06 Jul 2023 20:28:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e5af2100-7e2a-40e0-812c-4ce4a865d2b2</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script#comments</comments><description>Revision 5 posted to Appian Knowledge Base by pauline.delacruz on 7/6/2023 8:28:22 PM&lt;br /&gt;
&lt;h2&gt;Purpose&lt;/h2&gt;
&lt;p&gt;In order to safely upgrade&amp;nbsp;an Appian environment, the engines in&amp;nbsp;the source environment&amp;nbsp;must be&amp;nbsp;shut down properly. Failure to shut down&amp;nbsp;the engines properly will cause the upgrade to fail. In these cases, the target (upgraded) environment is not viable, and the upgrade must be attempted again.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;isSuitableForUpgrade.sh&lt;/strong&gt; script automatically detects improperly shut down engines&amp;nbsp;&lt;strong&gt;before&lt;/strong&gt;&amp;nbsp;the upgrade is performed. This script helps to save time when upgrading Appian and prevents time-consuming complications related to the upgrade process.&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Instructions&lt;/h2&gt;
&lt;p&gt;Run the following steps to execute the script:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;After shutting down all Appian components, but before beginning the upgrade process, download the &lt;a href="https://forum.appian.com/suite/doc/isBCLGOdlMUpdGVqW7NCvlN27CiSPIDyLjnC9i1zA7-fQj6ET45fmyoynUX"&gt;script&lt;/a&gt; to the server that hosts the Appian Engines.
&lt;ol&gt;
&lt;li&gt;If the environment is&amp;nbsp;&lt;strong&gt;highly-available (HA)&lt;/strong&gt;, place the script in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/shared-logs&lt;/code&gt; on&amp;nbsp;&lt;strong&gt;one&lt;/strong&gt; of the servers hosting engines.&lt;/li&gt;
&lt;li&gt;If the &lt;strong&gt;engines are hosted on a single server,&amp;nbsp;&lt;/strong&gt;place the script in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Make the&amp;nbsp;&lt;code&gt;isSuitableForUpgrade.sh&lt;/code&gt; script executable.
&lt;ol&gt;
&lt;li&gt;&lt;code&gt;chmod +x isSuitableForUpgrade.sh&lt;/code&gt;&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Run the following command: &lt;code&gt;./isSuitableForUpgrade.sh&amp;nbsp;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;The script will automatically detect if engines are suitable for upgrade.
&lt;ol&gt;
&lt;li&gt;If all engines are suitable for upgrade, it is safe to proceed with the upgrade.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If one or more engines is unsuitable for upgrading, run the following steps:&amp;nbsp;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/23.2/Starting_and_Stopping_Appian.html#starting-the-application-suite-on-linux"&gt;Start&lt;/a&gt;&amp;nbsp;all engines.&lt;/li&gt;
&lt;li&gt;Verify that all engines are running.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/23.2/Starting_and_Stopping_Appian.html#stopping-the-application-suite-on-linux"&gt;Shut down&lt;/a&gt; all engines.&lt;/li&gt;
&lt;li&gt;Repeat steps 2-4 until all engines are suitable for upgrade.&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;Note:&lt;/strong&gt;&amp;nbsp;If you are consistently unable to show that all engines are suitable for upgrade, please open a ticket with Appian Support.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Sample Output&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Sample Output 1:&amp;nbsp;&lt;/strong&gt;All engines were shut down properly and it is safe to proceed with the upgrade&lt;/p&gt;
&lt;pre&gt;15 engines are suitable for upgrade&lt;br /&gt;15 total engines detected &lt;br /&gt;&lt;br /&gt;All engines are suitable for upgrade&lt;br /&gt;It is safe to proceed with the upgrade&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;Sample Output 2:&amp;nbsp;&lt;/strong&gt;One or more engine was not shut down cleanly, and it is not safe to proceed with the upgrade.&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;12 engines are suitable for upgrade&lt;br /&gt;15 total engines detected&lt;br /&gt;&lt;br /&gt;One or more engines is unsuitable for upgrade&lt;br /&gt;Please perform a full start-up of all engines, gracefully shut down all engines, then try again&lt;/pre&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to self-managed versions of Appian 19.4 and later hosted on Linux.&lt;/p&gt;
&lt;p&gt;Last Reviewed: July 2023&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: engines, linux, upgrade, infrastructure&lt;/div&gt;
</description></item><item><title>[DRAFT SP-8832] KB-XXXX How to use the isSuitableForUpgrade script</title><link>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script/revision/4</link><pubDate>Thu, 06 Jul 2023 20:26:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e5af2100-7e2a-40e0-812c-4ce4a865d2b2</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script#comments</comments><description>Revision 4 posted to Appian Knowledge Base by pauline.delacruz on 7/6/2023 8:26:22 PM&lt;br /&gt;
&lt;h2&gt;Purpose&lt;/h2&gt;
&lt;p&gt;In order to safely upgrade&amp;nbsp;an Appian environment, the engines in&amp;nbsp;the source environment&amp;nbsp;must be&amp;nbsp;shut down properly. Failure to shut down&amp;nbsp;the engines properly will cause the upgrade to fail. In these cases, the target (upgraded) environment is not viable, and the upgrade must be attempted again.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;isSuitableForUpgrade.sh&lt;/strong&gt; script automatically detects improperly shut down engines&amp;nbsp;&lt;strong&gt;before&lt;/strong&gt;&amp;nbsp;the upgrade is performed. This script helps to save time when upgrading Appian and prevents time-consuming complications related to the upgrade process.&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Instructions&lt;/h2&gt;
&lt;p&gt;Run the following steps to execute the script:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;After shutting down all Appian components, but before beginning the upgrade process, download the &lt;a href="https://forum.appian.com/suite/doc/isBCLGOdlMUpdGVqW7NCvlN27CiSPIDyLjnC9i1zA7-fQj6ET45fmyoynUX"&gt;script&lt;/a&gt; to the server that hosts the Appian Engines.
&lt;ol&gt;
&lt;li&gt;If the environment is&amp;nbsp;&lt;strong&gt;highly-available (HA)&lt;/strong&gt;, place the script in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/shared-logs&lt;/code&gt; on&amp;nbsp;&lt;strong&gt;one&lt;/strong&gt; of the servers hosting engines.&lt;/li&gt;
&lt;li&gt;If the &lt;strong&gt;engines are hosted on a single server,&amp;nbsp;&lt;/strong&gt;place the script in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Make the&amp;nbsp;&lt;code&gt;isSuitableForUpgrade.sh&lt;/code&gt; script executable.
&lt;ol&gt;
&lt;li&gt;&lt;code&gt;chmod +x isSuitableForUpgrade.sh&lt;/code&gt;&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Run the following command: &lt;code&gt;./isSuitableForUpgrade.sh&amp;nbsp;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;The script will automatically detect if engines are suitable for upgrade.
&lt;ol&gt;
&lt;li&gt;If all engines are suitable for upgrade, it is safe to proceed with the upgrade.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If one or more engines is unsuitable for upgrading, follow the below steps:&amp;nbsp;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/23.2/Starting_and_Stopping_Appian.html#starting-the-application-suite-on-linux"&gt;Start&lt;/a&gt;&amp;nbsp;all engines.&lt;/li&gt;
&lt;li&gt;Verify that all engines are running.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/23.2/Starting_and_Stopping_Appian.html#stopping-the-application-suite-on-linux"&gt;Shut down&lt;/a&gt; all engines.&lt;/li&gt;
&lt;li&gt;Repeat steps 2-4 until all engines are suitable for upgrade.&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;Note:&lt;/strong&gt;&amp;nbsp;If you are consistently unable to show that all engines are suitable for upgrade, please open a ticket with Appian Support.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Sample Output&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Sample Output 1:&amp;nbsp;&lt;/strong&gt;All engines were shut down properly and it is safe to proceed with the upgrade&lt;/p&gt;
&lt;pre&gt;15 engines are suitable for upgrade&lt;br /&gt;15 total engines detected &lt;br /&gt;&lt;br /&gt;All engines are suitable for upgrade&lt;br /&gt;It is safe to proceed with the upgrade&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;Sample Output 2:&amp;nbsp;&lt;/strong&gt;One or more engine was not shut down cleanly, and it is not safe to proceed with the upgrade.&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;12 engines are suitable for upgrade&lt;br /&gt;15 total engines detected&lt;br /&gt;&lt;br /&gt;One or more engines is unsuitable for upgrade&lt;br /&gt;Please perform a full start-up of all engines, gracefully shut down all engines, then try again&lt;/pre&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to self-managed versions of Appian 19.4 and later hosted on Linux.&lt;/p&gt;
&lt;p&gt;Last Reviewed: July 2023&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: engines, linux, upgrade, infrastructure&lt;/div&gt;
</description></item><item><title>[DRAFT SP-8832] KB-XXXX How to use the isSuitableForUpgrade script</title><link>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script/revision/3</link><pubDate>Thu, 06 Jul 2023 20:18:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e5af2100-7e2a-40e0-812c-4ce4a865d2b2</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script#comments</comments><description>Revision 3 posted to Appian Knowledge Base by pauline.delacruz on 7/6/2023 8:18:51 PM&lt;br /&gt;
&lt;h2&gt;Purpose&lt;/h2&gt;
&lt;p&gt;In order to safely upgrade&amp;nbsp;an Appian environment, the engines in&amp;nbsp;the source environment&amp;nbsp;must be&amp;nbsp;shut down properly. Failure to shut down&amp;nbsp;the engines properly will cause the upgrade to fail. In these cases, the target (upgraded) environment is not viable, and the upgrade must be attempted again.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;isSuitableForUpgrade.sh&lt;/strong&gt; script automatically detects improperly shut down engines&amp;nbsp;&lt;strong&gt;before&lt;/strong&gt;&amp;nbsp;the upgrade is performed. This script helps to save time when upgrading Appian and prevents time-consuming complications related to the upgrade process.&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Instructions&lt;/h2&gt;
&lt;p&gt;Run the following steps to execute the script:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;After shutting down all Appian components, but before beginning the upgrade process, download the &lt;a href="https://forum.appian.com/suite/doc/isBCLGOdlMUpdGVqW7NCvlN27CiSPIDyLjnC9i1zA7-fQj6ET45fmyoynUX"&gt;script&lt;/a&gt; to the server that hosts the Appian Engines.
&lt;ol&gt;
&lt;li&gt;If the environment is&amp;nbsp;&lt;strong&gt;highly-available (HA)&lt;/strong&gt;, place the script in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/shared-logs&lt;/code&gt; on&amp;nbsp;&lt;strong&gt;one&lt;/strong&gt; of the servers hosting engines.&lt;/li&gt;
&lt;li&gt;If the &lt;strong&gt;engines are hosted on a single server,&amp;nbsp;&lt;/strong&gt;place the script in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Make the&amp;nbsp;&lt;code&gt;isSuitableForUpgrade.sh&lt;/code&gt; script executable.
&lt;ol&gt;
&lt;li&gt;&lt;code&gt;chmod +x isSuitableForUpgrade.sh&lt;/code&gt;&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Run the following command: &lt;code&gt;./isSuitableForUpgrade.sh&amp;nbsp;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;The script will automatically detect if engines are suitable for upgrade.
&lt;ol&gt;
&lt;li&gt;If all engines are suitable for upgrade, it is safe to proceed with the upgrade.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If one or more engine is unsuitable for upgrade, follow the below steps:&amp;nbsp;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/23.2/Starting_and_Stopping_Appian.html#starting-the-application-suite-on-linux"&gt;Start&lt;/a&gt;&amp;nbsp;all engines.&lt;/li&gt;
&lt;li&gt;Verify that all engines are running.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/23.2/Starting_and_Stopping_Appian.html#stopping-the-application-suite-on-linux"&gt;Shut down&lt;/a&gt; all engines.&lt;/li&gt;
&lt;li&gt;Repeat steps 2-4 until all engines are suitable for upgrade.&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;Note:&lt;/strong&gt;&amp;nbsp;If you are consistently unable to show that all engines are suitable for upgrade, please open a ticket with Appian Support.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Sample Output&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Sample Output 1:&amp;nbsp;&lt;/strong&gt;All engines were shut down properly and it is safe to proceed with the upgrade&lt;/p&gt;
&lt;pre&gt;15 engines are suitable for upgrade&lt;br /&gt;15 total engines detected &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;All engines are suitable for upgrade&lt;br /&gt;It is safe to proceed with the upgrade&lt;/pre&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;15 engines are suitable for upgrade

15 total engines detected 



All engines are suitable for upgrade

It is safe to proceed with the upgrade&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Sample Output 2:&amp;nbsp;&lt;/strong&gt;One or more engine was not shut down cleanly, and it is not safe to proceed with the upgrade.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;12 engines are suitable for upgrade

15 total engines detected



One or more engines is unsuitable for upgrade

Please perform a full start-up of all engines, gracefully shut down all engines, then try again    &lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 19.4 and later hosted on Linux.&lt;/p&gt;
&lt;p&gt;Last Reviewed: July 2023&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: engines, linux, upgrade, infrastructure&lt;/div&gt;
</description></item><item><title>How to use the isSuitableForUpgrade script</title><link>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script/revision/2</link><pubDate>Thu, 06 Jul 2023 17:23:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e5af2100-7e2a-40e0-812c-4ce4a865d2b2</guid><dc:creator>rachel.gillespie</dc:creator><comments>https://community.appian.com/support/w/kb/3197/kb-2254-how-to-use-the-issuitableforupgrade-script#comments</comments><description>Revision 2 posted to Appian Knowledge Base by rachel.gillespie on 7/6/2023 5:23:35 PM&lt;br /&gt;
&lt;h2&gt;Purpose&lt;/h2&gt;
&lt;p&gt;In order to safely upgrade&amp;nbsp;an Appian environment, the engines in&amp;nbsp;the source environment&amp;nbsp;must be&amp;nbsp;shut down properly. Failure to shut down&amp;nbsp;the engines properly will cause the upgrade to fail. In these cases, the target (upgraded) environment is not viable, and the upgrade must be attempted again.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The isSuitableForUpgrade script automatically detects improperly shut down engines&amp;nbsp;&lt;strong&gt;before&lt;/strong&gt;&amp;nbsp;the upgrade is performed. This script helps to save time when upgrading Appian and prevents time-consuming complications related to the upgrade process.&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Instructions&lt;/h2&gt;
&lt;p&gt;1. After shutting down all Appian components, but before beginning the upgrade process, download the &lt;a href="https://forum.appian.com/suite/doc/isBCLGOdlMUpdGVqW7NCvlN27CiSPIDyLjnC9i1zA7-fQj6ET45fmyoynUX"&gt;script&lt;/a&gt; to the server that hosts Appian Engines&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; a. If the environment is&amp;nbsp;&lt;strong&gt;highly-available (HA)&lt;/strong&gt;, place the script in &amp;lt;APPIAN_HOME&amp;gt;/shared-logs on&amp;nbsp;&lt;strong&gt;one&lt;/strong&gt; of the servers hosting engines&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; b. If the &lt;strong&gt;engines are hosted on a single server,&amp;nbsp;&lt;/strong&gt;place the script in &amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/p&gt;
&lt;p&gt;2. Make the&amp;nbsp;&lt;code&gt;isSuitableForUpgrade.sh&lt;/code&gt; script executable&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; a. &lt;code&gt;chmod +x isSuitableForUpgrade.sh&lt;/code&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;3. Run the following command: &lt;code&gt;./isSuitableForUpgrade.sh&amp;nbsp;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;4. The script will automatically detect if engines are suitable for upgrade&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; a. If all engines are suitable for upgrade, it is safe to proceed with the upgrade&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; b. If one or more engine is unsuitable for upgrade, follow the below steps:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1. &lt;a href="https://docs.appian.com/suite/help/23.2/Starting_and_Stopping_Appian.html#starting-the-application-suite-on-linux"&gt;Start&lt;/a&gt;&amp;nbsp;all engines&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2. Verify that all engines are running&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3. &lt;a href="https://docs.appian.com/suite/help/23.2/Starting_and_Stopping_Appian.html#stopping-the-application-suite-on-linux"&gt;Shut down&lt;/a&gt; all engines&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 4. Repeat steps 2-4 until all engines are suitable for upgrade.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 5. If you are consistently unable to show that all engines are suitable for upgrade, please open a ticket with Appian Support&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Sample Output&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Sample Output 1:&amp;nbsp;&lt;/strong&gt;All engines were shut down properly and it is safe to proceed with the upgrade&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;15 engines are suitable for upgrade

15 total engines detected 



All engines are suitable for upgrade

It is safe to proceed with the upgrade&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Sample Output 2:&amp;nbsp;&lt;/strong&gt;One or more engine was not shut down cleanly, and it is not safe to proceed with the upgrade.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;12 engines are suitable for upgrade

15 total engines detected



One or more engines is unsuitable for upgrade

Please perform a full start-up of all engines, gracefully shut down all engines, then try again    &lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 19.4 and later hosted on Linux&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

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