Page History
...
Code Block | ||
---|---|---|
| ||
Usage: operate-joc.sh [Command] [Options] [Switches] Commands: status --controller-id status-agent --controller-id [--agent-id] [--agent-state] [--agent-cluster] [--no-hidden] health-check --controller-id [--agent-id] [--agent-state] [--agent-cluster] [--no-hidden] [--whatif-shutdown] version [--controller-id] [--agent-id] [--json] switch-over --controller-id restart-service --service-type run-service --service-type check-license [--validity-days] get-settings store-settings --settings encrypt --in [--infile --outfile] --cert [--java-home] [--java-lib] decrypt --in [--infile --outfile] --key [--key-password] [--java-home] [--java-lib] Options: --url=<url> | required: JOC Cockpit URL --user=<account> | required: JOC Cockpit user account --password=<password> | optional: JOC Cockpit password --ca-cert=<path> | optional: path to CA Certificate used for JOC Cockpit login --client-cert=<path> | optional: path to Client Certificate used for login --client-key=<path> | optional: path to Client Key used for login --timeout=<seconds> | optional: timeout for request, default: 60 --controller-id=<id> | optional: Controller ID --agent-id=<id[,id]> | optional: Agent ID --agent-state=<state[,state]> | optional: Agent state for filtering by statefilters such as COUPLED, RESETTING, RESET, INITIALISED, COUPLINGFAILED, SHUTDOWN --service-type=<identifier> | optional: service for restart such as cluster, history, dailyplan, cleanup, monitor --validity-days=<number> | optional: min. number of days for which a license should be valid, default: 60 --settings=<json> | optional: settings to be stored from JSON --whatif-shutdown=<host[,host]> | optional: health status if hosts will be shutdown --key=<path> | optional: path to private key file in PEM format --key-password=<password> | optional: password for private key file --cert=<path> | optional: path to certificate file in PEM format --in=<string> | optional: input string for encryption/decryption --infile=<path> | optional: input file for encryption/decryption --outfile=<path> | optional: output file for encryption/decryption --java-home=<directory> | optional: Java Home directory for encryption/decryption, default: $JAVA_HOME --java-lib=<directory> | optional: Java library directory for encryption/decryption, default: ./lib --audit-message=<string> | optional: audit log message --audit-time-spent=<number> | optional: audit log time spent in minutes --audit-link=<url> | optional: audit log link --log-dir=<directory> | optional: path to directory holding the script's log files Switches: -h | --help | displays usage -v | --verbose | displays verbose output, repeat to increase verbosity -p | --password | asks for password -k | --key-password | asks for key password -j | --json | returns version information in JSON format --agent-cluster | filters non-clustered Agents --no-hidden | filters hidden Agents --show-logs | shows log output if --log-dir is used --make-dirs | creates directories if they do not exist |
...
Overview
Content Tools