Stop Script

Purpose

The stop script shuts down the Appian engines and associated other services, like service manager and Kafka.

Location

<APPIAN_HOME>/services/bin/stop.sh (.bat)

Options

Short Name Long Name Required Meaning
-h --help No Show usage information
-p --password Yes Password for Admin REST API
-s --services Yes A comma-separated list of services to stop. See below for values.
-c --cluster No Stop the entire Service Manager cluster
-nk --no-kafka No Skip stopping distributed transaction
-par --parallel No Stop all engines at once (deprecated; this will have no effect)
-q --quick No Skip checkpointing when stopping an engine or engines

Available values for the --services parameter: all, analytics00...analytics15, channels, content, download-stats, execution00...execution015, forums, groups, notifications, notifications-email, portal, process-design, manager.

When using the --cluster option, you must run the stop script on all servers that are configured to run engines at the same time as the script will pause and wait for other servers to indicate that they have shut down their services before exiting.

By default, and unless you use the --quick option, the stop script will checkpoint the engines as they shut down. This results in .kdb files that contain up-to-date data (i.e. no data is persisted solely in the Kafka transaction log) which are suitable for performing an upgrade. Using the --quick option will result in .kdb files that do not contain all of the engine's data and the remaining transactions will need to be replayed as part of the subsequent startup. Kdb files like this are not suitable for performing an upgrade.

Usage

./stop.sh -p <password> -s all
FEEDBACK