Page History
...
- --id
- Specifies a unique identifier for a Controller. Identifiers such as "controller-test", "controller-production" etc. can be used. Upper case and lower case characters are considered, the characters a-z, A-Z, 0-9, underscore and hyphen are allowed. Spaces are not allowed in a Controller ID.
- If users intend to operate a Controller Cluster with two Controller instances for the active and for the standby cluster member, then the same Controller ID must be specified for both Controller instances as otherwise the instances will not be considered to be members of the same cluster.
- --http-port
- Specifies the HTTP port which the Controller instance is listening to in order to receive requests from JOC Cockpit or a partnering Controller instance in a cluster.
The option can be used to indicate which network interface the JS7 Controller should listen to if a hostname or IP address is specified - for example with
--http-port=myhost:4444
.- When the option is not used the port defaults to
4444
and the Controller listens to all available network interfaces.
- If a port is specified then the following order of precedence applies:
- First precedence: command line option
- Second precedence: environment variable
JS7_CONTROLLER_HTTP_PORT
(see below) - Third precedence: use of default value
- Specifies the HTTP port which the Controller instance is listening to in order to receive requests from JOC Cockpit or a partnering Controller instance in a cluster.
--https-port
- Specifies the HTTPS port that the Controller is listening to in order to receive requests from JOC Cockpit or a pairing Controller instance in a cluster:
The option can be used to indicate which network interface the Controller should listen to if a hostname or IP address is specified - for example with
--https-port=myhost:4443
.- When using the HTTPS protocol for connections from JOC Cockpit and from a pairing Controller instance the the HTTP protocol has to be allowed for local connections such as
--http-port=localhost:4444
. As the Controller Start Script uses a HTTP connection this protocol has to be in place to allow the Controller instance to be started, stopped etc. by its Start Script.
- If a port is specified then the following order of precedence applies:
- First precedence: command line option
- Second precedence: environment variable
JS7_CONTROLLER_HTTPS_PORT
(see below) - Third precedence: use of default value
- Specifies the HTTPS port that the Controller is listening to in order to receive requests from JOC Cockpit or a pairing Controller instance in a cluster:
--data-directory
- Specifies the location of the data directory that usually includes the
config
,logs
andstate
directories. - If a data directory is specified then the following order of precedence applies:
- First precedence: command line option
- Second precedence: environment variable
JS7_CONTROLLER_DATA
(see below) - Third precedence: use of default value
JS7_CONTROLLER_HOME\var
- Specifies the location of the data directory that usually includes the
--config-directory
- Specifies the location of the
config
directory for configuration data. - If a configuration directory is specified then the following order of precedence applies:
- First precedence: command line option
- Second precedence: environment variable
JS7_CONTROLLER_CONFIG_DIR
(see below) - Third precedence: use of default value
JS7_CONTROLLER_DATA/config
- Specifies the location of the
--timeout
With the
stop
command this option waits for the indicated number of seconds and terminates the Controller if the timeout is exceeded.- When using JS7 - systemd Service Files for automated Startup and Shutdown with Unix Systems users should consider that the
--timeout
value will count towards the systemd service file'sTimeoutStopSec
setting. Users must ensure that the Controller is terminated when the systemd timeout is exceeded.
--java-options
- This option can be used to apply Java options for the Controller, e.g. for memory settings.
Without this option being used Java options default to
-Xms500m
.- In order to specify a number of Java options quotes have to be used like this:
--java-options="-Xms500m -Xmx1g"
When specifying Java options then the following order of precedence applies:
- First precedence: command line option
- Second precedence: environment variable
JAVA_OPTIONS
(see below) - Third precedence: use of default value
...