run

The jobManager run command starts a global aggregate job.

Purpose

Use the jobManager run command to start a global aggregate job.

In addition to the command parameters, you can optionally specify key=value pairs that are passed to the job.

Syntax

jobManager run job_name solution_name description [key=value]
[--propertiesFile=properties_file]
[--host=hostname]
[--port=port]
[--username=username]
[--password=password]
[--keyStoreLocation=keystore_location]
[--keyStorePassword=keystore_password]
[--readTimeout=timeout_value]
[--sslProtocol=sslProtocol]
[--trustStoreLocation=truststore_path]
[--trustStorePassword=truststore_password]
[--disableSSLHostnameVerification=true|false]
[--disableServerCertificateVerification=true|false]

Description

Table 1. Mandatory parameters for the jobManager run command
Mandatory parameter Description
job_name Name of the job. The name is the variable that is specified in the globalQueries.var file, and is the name of the global aggregate prefixed with defvar.
solution_name Name of the solution.
description User-provided description of the job.
Table 2. Optional parameters for the jobManager run command
Optional parameter Description
key=value Optional key-value pairs.
propertiesFile Specify the path of a properties file from which to read properties. If not specified, this parameter defaults to the connection.properties file in the runtime/ia/etc/ folder.
host Host name of the server. Default is localhost.
port Https port of the server. Default is 9443.
username The user name of a user who has the administrator role.
password The password for a user who has the administrator role.
trustStoreLocation Location of the truststore (javax.net.ssl.trustStore). Default is cisDev/resources/security/key.jks in the servers directory.
trustStorePassword The password for remote Secure Sockets Layer (SSL) authentication.
disableSSLHostnameVerification This parameter is used for remote connections only. If set to true, it disables SSL host name verification. If no value is specified, it defaults to the value in the properties file that is specified by the --propertiesFile parameter. If no value is specified by that parameter, it defaults to false.
disableServerCertificateVerification This parameter is used to disable server certificate verification. If you set this parameter to true, the client does not check whether the certificate presented by the server is trusted. If the server is not trusted, authentication credentials and other user information might be passed on through the JMX connection. This parameter is optional. If not specified, it uses the value in the properties file specified by the --propertiesFile option. If no value is specified on the command line or in the properties file, it defaults to false.
keyStoreLocation The location of the keystore. If you do not specify a value, this parameter uses the value in the properties file specified by the --propertiesFile option. If no value is specified on the command line or in the properties file, no keystore is used.
keyStorePassword The keystore password. If you do not specify a value, this parameter uses the value in the properties file specified by the --propertiesFile option. If no value is specified on the command line or in the properties file, you are asked to provide a password interactively.
readTimeout The amount of time expressed in milliseconds that the utility waits for a response from the server before closing a connection. This parameter is optional. If you do not specify a value, it uses the value that is specified by the --propertiesFile option. If no value is specified on the command line or in the properties file, the default value is 60000 (1 minute).
sslProtocol The SSL protocol for the connection. If you do not specify a value, this parameter uses the value in the properties file specified by the --propertiesFile option. If no value is specified on the command line or in the properties file, the value "TLSv1.2" is used.

Example

In the following example, the loopSecs=300 is passed to the job but is not a required parameter of the command:
jobManager run simple_job iaTest loopTest loopSecs=300 --username=tester --password=xyz --trustStorePassword=abc