Controlling the Maintenance Mode Using the CLI
You can use the maintenance
command to control the maintenance mode of the Process Engine.
You can either query maintenance mode status or turn maintenance mode on or off.
Call up
-
Interactive mode
startcli [-u <user account>] [-p <password>] ... maintenance [option(s)]
-
Script mode
startcli --execCommand "maintenance [option(s)]"
Command options
Option | Description |
---|---|
Display the maintenance mode of the Process Engine |
|
|
Display the maintenance mode of the Process Engine of the current node |
|
Switch on or off the maintenance mode of the Process Engine |
|
Enables or disables the option to also execute processes in QUEUED state in maintenance mode. |
Example
-
Interactive mode
startcli CLI|root@localhost> maintenance MAINTENANCE MODE ----------------- ON -----------------
-
Script mode
startcli --execCommand "maintenance" MAINTENANCE MODE ---------------- OFF ---------------- Drop rate: 1% Drop interval (s): 180 seconds