Versions Compared

Key

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

...

Code Block
languagebash
titleExample for Registering, Checking and Unregistering Controller Cluster
linenumberstrue
# common options for connection to JS7 REST API
request_options=(--url=http://localhost:4446 --user=root --password=root)

# register Controller Cluster
./manage-controller.sh register ${request_options[@]} \
    --primary-url=http://localhost:4544   --primary-title="Primary Controller" \
    --secondary-url=http://localhost:4644 --secondary-title="Secondary Controller"

# check Controller Cluster Connections
./manage-controller.sh check ${request_options[@]} --controller-url=http://localhost:4544
./manage-controller.sh check ${request_options[@]} --controller-url=http://localhost:4644

# unregister Controller Cluster
./manage-controller.sh unregister ${request_options[@]} \
    --controller-id=controller --controller-url=http://localhost:4544

Storing, Deploying, Revoking and Deleting Agents

...