<?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/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Windows Services set to Automatically start</title><link>https://community.appian.com/discussions/f/best-practices/11459/windows-services-set-to-automatically-start</link><description>I&amp;#39;m looking into what the best practices are for starting Appian services automatically on server bootup. From my experience this is not a very good thing to have setup as the engine statuses need to be checked prior to starting up the Appian Search Service</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Windows Services set to Automatically start</title><link>https://community.appian.com/thread/68411?ContentTypeID=1</link><pubDate>Fri, 26 Jul 2019 07:04:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:caded599-daec-438e-857b-caaccce1953c</guid><dc:creator>Sakthi Sheela</dc:creator><description>&lt;p&gt;Hi Mangesh,&lt;/p&gt;
&lt;p&gt;I am new to linux.. How can i verify e&lt;span&gt;ngines are up and running good executing checkengine script? we are having two servers Web and App Server. App Server has services and search server. Web Server has data server and tomcat.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;How can i write shell script to automate the start of Appian Server?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Windows Services set to Automatically start</title><link>https://community.appian.com/thread/60311?ContentTypeID=1</link><pubDate>Sun, 16 Sep 2018 04:28:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:839fac1e-2487-418c-b802-2affbd2f6cc2</guid><dc:creator>gauravc445</dc:creator><description>I am also planning to create an automation script that can handle restart of Appian and JBoss properly. We are using Appian 18.1. I saw this link (&lt;a href="https://docs.appian.com/suite/help/18.1/Installing_Appian_as_a_Windows_Service.html)"&gt;docs.appian.com/.../Installing_Appian_as_a_Windows_Service.html)&lt;/a&gt; where the highlighted section starts with &amp;quot;When the stop command is sent from the management console, the engines stop quickly in order to allow a server shutdown or reboot to occur immediately afterward...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
My concern is when the server is automatically going to reboot after a Windows update has been applied, it will not gracefully stop the running services. In that case, i&amp;#39;m not sure whether the above highlighted statement will apply. Handling the startup procedure is one challenge but if the shutdown will not be proper, i think it will take longer time to start post-reboot as mentioned here: &lt;a href="https://community.appian.com/discussions/f/administration/3094/stop-and-start-appian-gracefully-when-a-server-is-restarted"&gt;community.appian.com/.../stop-and-start-appian-gracefully-when-a-server-is-restarted&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
In above link, i also saw a reference to &lt;a href="https://forum.appian.com/suite/help/7.6/Installing_Appian_as_a_Windows_Service.html"&gt;forum.appian.com/.../Installing_Appian_as_a_Windows_Service.html&lt;/a&gt; which talks about &amp;#39;Quick Stop&amp;#39; and &amp;#39;Standard&amp;#39; Windows Service installation types but it seems these installation types are not present in 18.1.&lt;br /&gt;
&lt;br /&gt;
Will really appreciate some inputs.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Windows Services set to Automatically start</title><link>https://community.appian.com/thread/50466?ContentTypeID=1</link><pubDate>Wed, 29 Nov 2017 10:49:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:20d7f23c-4270-454e-9cfa-d05443ba7712</guid><dc:creator>Alok Patro</dc:creator><description>although as discussed, might not be the best practice but you can calculate the average timing and can try to write a windows batch script and check how it goes and can gradually can fine tune it.&lt;br /&gt;
Let me know if that helps for you.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Windows Services set to Automatically start</title><link>https://community.appian.com/thread/50442?ContentTypeID=1</link><pubDate>Tue, 28 Nov 2017 22:18:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:179ccb13-d661-4ad3-ba75-9e98e799a8f1</guid><dc:creator>josep</dc:creator><description>Hello Jared&lt;br /&gt;
&lt;br /&gt;
I agree with Mangesh, this is the correct approach to start the server. &lt;br /&gt;
when implementing it I remember by using the &amp;quot;start with the parameter Wait&amp;quot;  worked better than the &amp;quot;call&amp;quot;.&lt;br /&gt;
But remember even when you are waiting the process it doesn&amp;#39;t ensures it finished properly o the verify engines is really important&lt;br /&gt;
&lt;br /&gt;
Please let the community know how you implemented at the end. &lt;br /&gt;
&lt;br /&gt;
Best regards &lt;br /&gt;
Jose&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Windows Services set to Automatically start</title><link>https://community.appian.com/thread/50440?ContentTypeID=1</link><pubDate>Tue, 28 Nov 2017 21:02:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c9f54b23-350a-4ebe-820f-8564d0e2ad02</guid><dc:creator>jaredw525</dc:creator><description>Thank you Mangesh. That is what I was thinking would need to be done for a safe automatic startup. &lt;br /&gt;
I also wanted to verify that it is not best practice to have the windows services set to automatically start, since there is the verification that needs done on the engines.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Windows Services set to Automatically start</title><link>https://community.appian.com/thread/50439?ContentTypeID=1</link><pubDate>Tue, 28 Nov 2017 20:55:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:844b59d9-fa9c-4287-83ed-05aa01fd294b</guid><dc:creator>Mangesh Vidhale</dc:creator><description>You can write Appian standalone control script (batch/shell) to start the appian services and enable this script at boot run (windows/linux).&lt;br /&gt;
Script will incorporates following steps&lt;br /&gt;
1. Start appian services&lt;br /&gt;
2. Verify engines are up and running good executing checkengine script&lt;br /&gt;
3. Start search server&lt;br /&gt;
4. Verify search server process is up&lt;br /&gt;
5. Start jboss server&lt;br /&gt;
6. Verify jboss (application server) running good&lt;br /&gt;
I did this exercise in linux server and enable the shell script at boot run.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>