Skip to main content
March 22, 2025
Question

Appian on premise automating Appian start and shutdown

  • March 22, 2025
  • 3 replies
  • 0 views

Hi All,

Is there any way to automate Appian Application (App Server, search Server, data Server and Engines) shutdown and start for Appian on premise?

Thanks

3 replies

stefanhelzle0001
March 22, 2025

I am sure there is, depending on the type of setup and OS.

mathieud0001
March 22, 2025

Yes, I've seen it done before. Basically create a shell script with the commands and the ability to check the status of the engines start script. You just schedule that script via cron and there you go. Perhaps ChatGPT could help you generate a first version of the script.

varuntejg243705
March 24, 2025

Hi [mention:15ba759ddb1d45f68148407818d6a49b:e9ed411860ed4f2ba0265705b8793d05] ,

Yes you can do it, just write a batch script and your work gets done.

For a instance, I've done the work for you, just change the path and password in the below script and save the script as start.bat/stop.bat


For starting the Appian Server, code follows: start.bat

@echo off
set APPIAN_HOME=C:\Appian\Appian

echo Starting Appian Engines...
call "%APPIAN_HOME%\services\bin\start.bat" -p "" -s all

echo Starting Data Server...
call "%APPIAN_HOME%\data-server\bin\start.bat"

echo Starting Search Server...
call "%APPIAN_HOME%\search-server\bin\start.bat"

echo Starting App Server (Tomcat)...
call "%APPIAN_HOME%\tomcat\apache-tomcat\bin\start-appserver.bat"

echo Appian has been started successfully.
pause


For stopping the Appian Server, code follows: stop.bat


@echo off
set APPIAN_HOME=C:\Appian\Appian

echo Stopping Appian Engines...
call "%APPIAN_HOME%\services\bin\stop.bat" -p "" -s all

echo Stopping Data Server...
call "%APPIAN_HOME%\data-server\bin\stop.bat"

echo Stopping Search Server...
call "%APPIAN_HOME%\search-server\bin\stop.bat"

echo Stopping App Server (Tomcat)...
call "%APPIAN_HOME%\tomcat\apache-tomcat\bin\stop-appserver.bat"

echo Appian shutdown completed.
pause



Note : Run cmd as Administrator and call the files as start.bat or stop.bat.

I've ran the script in my pc, its working fine for On-premise server

Check the below screenshots:



Hope this helps you!!!