jregister, jtool register
jregister lets you register Platform Agents with a RunMyJobs instance, so that only that instance of RunMyJobs can use the registered instance of the Platform Agent. This is normally called by the installation procedure, and does not need to be called again. In some environments, however, it could be useful for automated deployment of new Platform Agents.
Note: For installation instructions, see jtool.
Syntax
jregister [-h|-?|-help] [-l <loglevel>] [-f <logfile>] [-a] [-proxy <url>] <url>
<registration-filename> <secret-filename> [<server_acl>]
| Argument | Description |
|---|---|
| -h, -?, -help | Shows the help. |
-l <loglevel> |
Sets the log level. |
-f <logfile> |
Logs to a file instead of stdout and stderr. |
| -i <instance> | Gets the environment from the job-context. |
| -n <directory> | Uses an alternate network configuration directory. |
| -a | Specifies automatic registration. |
-proxy <url> |
A proxy URL. |
<url>
|
The RunMyJobs URL where this Platform Agent should register. |
<registration-filename>
|
The full path of the registration file. |
<secret-filename>
|
The full path of the secret file. |
<server_acl>
|
The full path of the server_acl file. |
TLS Environment Variables
| Argument | Environment Variable | Description |
|---|---|---|
| -tlsv1_3, -tls13 | JCS_SSL_METHOD=tlsv1_3
|
Use TLS v1.3 secured connection. |
| -tlsv1_2, -tls12 | JCS_SSL_METHOD=tlsv1_2
|
Use TLS v1.2 secured connection. |
-cipherlist <text> |
JCS_SSL_CIPHERLIST
|
Set list of available ciphers. |
-passphrase <text> |
JCS_SSL_PASSPHRASE
|
Set passphrase for private key. |
-key <file> |
JCS_SSL_KEYPATH
|
Set private key. |
-cert <file> |
JCS_SSL_CERTIFICATE_PATH
|
Set public certificate. |
-ca <file|path> |
JCS_SSL_TRUSTED_CERTIFICATE_FILE
|
Trusted CA certificates path or file. |
| -[no]verify | JCS_SSL_VERIFY_CERT
|
(Do not) verify peer (server or client) certificate. |
-verify-names <namelist> |
JCS_SSL_VERIFY_SERVER_NAMES, JCS_SSL_VERIFY_CLIENT_NAMES |
Verify peer (server or client) certificate hostname against list. |