...
Code Block |
---|
language | text |
---|
title | Usage for Unix |
---|
|
Usage: agent.sh command [options]
command:
start [options]
start-container [options]
start-docker [options]
stop stop [options]
abort [options]
restart [options]
status [options]
kill [options]
cert [cert-options] | see https://kb.sos-berlin.com/x/jLbAAw
options:
--http-port=<[hostname or ip address:]number> | default: 4445
--https-port=<[hostname or ip address:]number> | default:
--data-directory=<location of data directory> | default: /var/sos-berlin.com/js7/agent/var_4445
--config-directory=<location of config directory> | default: /var/sos-berlin.com/js7/agent/var_4445/config
--sigkill | only for stop and restart; running tasks will be killed
--timeout=<timeout > 0, in seconds> | only for stop; if timeout is reached then SIGKILL is sent
--kill-script=<location of kill script> | only for start
--java-options=<java options> | default: -Xms100m -Dlog4j2.contextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector -Dlog4j2.asyncLoggerWaitStrategy=Block; see https://kb.sos-berlin.com/x/aIC9
see https://kb.sos-berlin.com/x/fAmGAw for more information. |
...
Code Block |
---|
language | text |
---|
title | Usage for Windows |
---|
|
Usage: agent.cmd command [options]
command:
start [options]
start-container [options]
start-docker [options]
stop stop [options]
abort [options]
restart [options]
status [options]
kill [options]
cert [cert-options] | see https://kb.sos-berlin.com/x/jLbAAw
options:
--http-port=<[hostname or ip address:]number> | default: 4445
--https-port=<[hostname or ip address:]number> | default:
--data-directory=<location of data directory> | default: /var/sos-berlin.com/js7/agent/var_4445
--config-directory=<location of config directory> | default: /var/sos-berlin.com/js7/agent/var_4445/config
--sigkill | only for stop and restart; running tasks will be killed
--timeout=<timeout > 0, in seconds> | only for stop; if timeout is reached then KILL is sent
--kill-script=<location of kill script> | only for start
--java-options=<java options> | default: -Xms100m -Dlog4j2.contextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector -Dlog4j2.asyncLoggerWaitStrategy=Block; see https://kb.sos-berlin.com/x/aIC9
see https://kb.sos-berlin.com/x/fAmGAw for more information. |
...
Code Block |
---|
|
agent_4445.sh|.cmd start [options] |
When used for Container operation then the following command is used:
Code Block |
---|
|
agent_4445.sh|.cmd start-container [options] |
This command is used to start the JS7 Agent in a container:
- The command will keep the start script running as PID 1 in order to receive later stop/kill signals (SIGTERM, SIGKILL) from the container management software.
- The command
start-docker
is an alias for start-container
. Jira |
---|
server | SOS JIRA |
---|
columnIds | issuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution |
---|
columns | key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution |
---|
serverId | 6dc67751-9d67-34cd-985b-194a8cdc9602 |
---|
key | SET-223 |
---|
|
Stopping the Agent
Code Block |
---|
|
agent_4445.sh|.cmd stop [options] |
...