Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Controller Status Operation Script offered for Unix Shell can be applied to perform frequently used status operations on Controllers and Agents.

Controller Status Operation Script

OperationObjectDocumentation
switch-overController
terminate / restartController Instance
cancel / restart
test
switch-overController Cluster
appoint-nodes
confirm-loss
JS7 - Secure Deployment of Scheduling Objects


Agent Instance
enable / disable

reset / reset force

switch-overAgent Cluster
reset / reset force

confirm-loss


Subagent
enable / disable

reset / reset force
testJS7 - Deployment of Scheduling ObjectsAgent



The script is offered for download and can be applied for frequently used deployment status operations:

  • The script is available for Linux and MacOS® using bash shell.
  • The script terminates with exit code 0 to signal successful execution, with exit code 1 for command line argument errors and with exit code 4 for non-recoverable errors. Exit code 3 signals that no matching objects have been found.
  • The script is intended as a baseline example for customization by JS7 users and by SOS within the scope of professional services. Examples make use of JS7 Release 2.7.2, bash 4.2, curl 7.29.0 and jq 1.6.0.

...

jq ships with the MIT license, see https://opensource.org/licenses/MIT.

Download

Download: deploy-workflow.sh

Usage

Invoking the script without arguments displays the usage clause:

...