Page History
...
Code Block | ||||
---|---|---|---|---|
| ||||
Usage: controller.sh command [options] [switches] command: start [options] start-container [options] stop [options] restart [options] status [options] cancel [options] switch-over [options] revert [options] cert [cert-options] | see https://kb.sos-berlin.com/x/jLbAAw options: --id=<identifier> | Controller ID, default: controller --http-port=<[interface:]port> | http network interface and port, default: 4444 --https-port=<[interface:]port> | https network interface and port, default: --data-directory=<directory> | default: /var/sos-berlin.com/js7/controller/var --config-directory=<directory> | default: /var/sos-berlin.com/js7/controller/var/config --timeout=<seconds> | timeout for terminating Controller instance --java-options=<java options> | default: -Xmx500m -Dfile.encoding=UTF-8; see https://kb.sos-berlin.com/x/uYo7B switches: -cf | --fail-curl over | usefail-over curlactive insteadrole ofon Javastop httpand clientrestart -fc | --fail-overcurl | fail-over active role on stop and restart use curl instead of Java http client see https://kb.sos-berlin.com/x/CKrAAw for more information. |
...
Code Block | ||||
---|---|---|---|---|
| ||||
Usage: controller.cmd command [options] [switches] command: start [options] start-containerservice [options] stop [options] restart [options] status [options] cancel [options] switch-over [options] revert [options] cert [cert-options] | see https://kb.sos-berlin.com/x/jLbAAw options: --id=<identifier> | Controller ID, default: controller --http-port=<[interface:]port> | http network interface and port, default: 4444 --https-port=<[interface:]port> | https network interface and port, default: --data-directory=<directory> | default: C:\ProgramData\sos-berlin.com\js7\controller\controller --config-directory=<directory> | default: C:\ProgramData\sos-berlin.com\js7\controller\controller\config --timeout=<seconds> | timeout for terminating Controller instance --java-options=<java options> | default: -Xmx500m -Dfile.encoding=UTF-8; see https://kb.sos-berlin.com/x/uYo7B switches: -f | --fail-over | fail-over active role on stop and restart -fc | --fail-overcurl | fail-overuse activecurl roleinstead onof stopJava andhttp restartclient see https://kb.sos-berlin.com/x/CKrAAw for more information. |
...
- If a Controller instance will take more time to terminate, then the command will wait accordingly.
- If a Controller Cluster is operated, then fail-over will not occur.
- Using the
--fail-over
switch will fail-over the active role to the Standby Controller instance in a Controller Cluster. - Using the
--timeout
option will terminate the Controller instance when the number of seconds specified for the timeout is exceeded.- No fail-over will occur if the Controller terminates within the given timeout.
- Fail-over will occur if the Controller does not terminate within the given timeout.
- Only one of the If the
--timeout
option and--fail-over
switch can be usedis used then the--timeout
option will be ignored.
Code Block | ||
---|---|---|
| ||
controller_instance.sh|.cmd abort [options] |
...
- The Controller is stopped as explained in chapter Stopping the Controller Instance. This includes handling of switch-over and fail-over in a Controller Cluster.
- The Controller is started similar to use of the
start
command using the same options as for initial start.
Only one of --timeout
option and If the --fail-over
switch can be usedis used then the --timeout
option will be ignored.
.
Checking the Controller Instance Status
...
Overview
Content Tools