Starting and Stopping Appian Share Share via LinkedIn Reddit Email Copy Link Print On This Page Overview Starting and stopping the system properly is very important for maintaining the highest levels of system availability. Note: Improper Shutdown Always verify that Appian is properly shut down before attempting a restart. Improper shutdown may result in services not resuming properly, which may lead to a delay in restoring your services. Bootstrap Language: If you want to change the startup language and timezone used by the system, this must be changed prior to the first time you log into the system. The default language for all users remains accessible through the user interface, at all times. Starting the Application Suite on Windows If you are running the Appian components as Windows services, use the Microsoft Management Console to start them in the order listed below instead of using the .bat script that is listed. When running Windows services, a process named jbosssvc.exe appears in the task manager for each of these. Use the display name of the service instead of the process name to determine which services are running. Note: Before starting and stopping the Appian services the first time, you must set a password. See Password Script If restarting, verify that the suite is completely shut down. Execute <APPIAN_HOME>\services\bin\start.bat -p <password> -s all to start the Appian services. Execute <APPIAN_HOME>\data-server\bin\start.bat to start the data service. Once all Appian services and the data service have been started, start your search server. Execute <APPIAN_HOME>\search-server\bin\start.bat Once your search server has been started, start the application server. Execute <APPIAN_HOME>\tomcat\apache-tomcat\bin\start-appserver.bat. Stopping the Application Suite on Windows Stop the application server(s). Execute <APPIAN_HOME>/tomcat/apache-tomcat/bin/stop-appserver.bat. Stop the search server. Execute <APPIAN_HOME>\search-server\bin\stop.bat. Stop the data service. Execute <APPIAN_HOME>\data-server\bin\stop.bat. Stop the Appian services. Execute <APPIAN_HOME>\services\bin\stop.bat -p <password> -s all. It may take several minutes for all engine services to stop as they conduct a checkpoint procedure as part of the standard shutdown. Execute the status script to verify that all Appian services have stopped: <APPIAN_HOME>\services\bin\status.bat -p <password> To verify that all Appian processes have stopped running, complete the following: Open the Windows Task Manager. Click the Processes tab. Make sure that there are no active q.exe, k.exe, or java.exe processes (and jbosssvc.exe processes if you're running Windows services). Stopping Windows Services (Optional) Prior to stopping Windows Services that are installed with the quick stop option, we recommend performing an engine checkpoint to ensure that your engines take the minimum amount of time when restarting. Engines that are not checkpointed before shutdown take longer to start. Open the Windows Task Manager. Note the CPU usage of your Appian processes. Run <APPIAN_HOME>\services\bin\checkpoint.bat. Use the --wait option so that the script exits only after the checkpoints have completed. Open the Windows Services management console. Select the Appian service. Click Stop. Execute the status script to verify that all Appian services have stopped: <APPIAN_HOME>\services\bin\status.bat -p <password> Stop the data service, search server, and application server services by clicking Stop for each. Starting the Application Suite on Linux Note: Before starting and stopping the Appian services the first time, you must set a password. See Password Script For Linux, use Bash 3.0 or later. If restarting, type the following commands to ensure that no Appian processes are active: 1 2 3 ps -ef | grep /k ps -ef | grep /q ps -ef | grep /java Follow the stopping procedures to shut down any processes that are still active before proceeding. Change directories to <APPIAN_HOME>/services/bin/. Execute the start script: ./start.sh -p <password> -s all. Execute the status script to verify that all Appian services have started correctly: ./status.sh -p <password> Ensure all Appian engines display an Running status. Start the data service. Execute <APPIAN_HOME>/data-server/bin/start.sh. Once all Appian services and the data service have been started, start your search server. Execute <APPIAN_HOME>/search-server/bin/start.sh. Once your search server has been started, start the application server. Execute <APPIAN_HOME>/tomcat/apache-tomcat/bin/start-appserver.sh. Stopping the Application Suite on Linux Stop the application server(s). Execute <APPIAN_HOME>/tomcat/apache-tomcat/bin/stop-appserver.sh. Stop the search server. Execute <APPIAN_HOME>/search-server/bin/stop.sh. Stop the data service. Execute <APPIAN_HOME>/data-server/bin/stop.sh. Stop the Appian engines. Execute <APPIAN_HOME>/services/bin/stop.sh -p <password> -s all. It may take several minutes for all engine services to stop as they conduct a checkpoint procedure as part of the standard shutdown. Execute the status script to verify that all Appian services have stopped. It may take several minutes for all engines to stop as they conduct a checkpoint procedure as part of the standard shutdown. Type the following commands to verify that no Appian processes are running: 1 2 3 ps -ef | grep /k ps -ef | grep /q ps -ef | grep /java If processes continue to run, repeat the shutdown procedures for the remaining running processes. If you are not able to shut down following the documented procedures, kill the remaining processes only after verifying that the CPU usage of those processes is consistently at 0% for several minutes and verifying that the corresponding .kdb file is not being written. Starting and stopping on distributed environments For installations distributed across many servers, the order of operation for starting and stopping Appian remains the same: Starting Start Appian services. Start data service. Start search server. If running multiple instances of the search server, start all of them in any order before proceeding to the next step. You do not need to wait for one instance of the search server to complete startup before starting another instance. Start application server. If you have multiple application servers, the first time you start Appian (either after a fresh installation or update), start only one server and wait for it to complete startup before starting the rest. The remaining application servers may be started simultaneously. For subsequent restarts of Appian on the same version you may start all application servers at the same time. Stopping Stop application server. Stop search server. Stop data service. Stop Appian services. Use the --cluster option if you are running more than one set of Appian engines If Appian services are on different servers, for example Kafka & Zookeeper on one server and engines on another, all services should be running before starting the data service and search server. The order of operation does not matter. If the Appian engines are started before Kafka & Zookeeper, the engines will wait for the other services before they become available. When stopping Appian services on a different servers, use the ./stop -p $PASSWORD -c script command to have the service manager handle shutdown coordination. If a distributed installation of Appian is being stopped with the intention of removing a server, follow the directions on How to remove servers from a distributed installation for self-managed installations. Logging in Using one of the supported web browsers, use the following URL to access the Appian Designer interface: http://SERVER_NAME:8080/suite/design Initial login When logging in for the first time, use the Administrator account with the password admin. After logging in, you are automatically prompted to change the Administrator password. Troubleshooting What if my Appian services start, but my application server does not? If your application server starts and stops abruptly, you may have a port conflict that is preventing the application server from running. You can diagnose and resolve such issues in the following manner: Check for port conflicts using a network utility such as TCPView. If you discover a conflict, identify the application that is preventing the application server from starting (check the local address). Stop the offending application, and configure it to use a different port number — OR — If the application is an Appian service, start and stop Appian. If you encounter a recurring Appian conflict, designate the port numbers that Appian uses in a custom appian-topology.xml file. See also: Port Usage and Server Configuration Topologies What if I've checked for port conflicts with my application server, but I still can't identify a problem? Verify your Java configuration settings. It is possible to experience issues when attempting to run the application server as a Windows service, if the JAVA_HOME location includes a space in the file path (such as C:/<APPIAN_HOME>/java). Feedback Was this page helpful? SHARE FEEDBACK Loading...