Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleagents.<agent-id>.target

agents.<agent-id>.target: optional

  • target: object, optional
    • connection: object, required
      • host: string, required
        • The hostname or FQDN to which the Agent should be deployed.
      • port: number, optional
        • The port number used for SSH connections, default: 22
    • authentication
      • method: string, required
        • Supported authentication methods include public/private key. The value publickey has to be specified.
      • user: string, required
        • The user account for SSH connection sto the target host.
      • keyFile: string, optional
        • The path to the private key file of the user account, for example /home/sos/.ssh/id_rsa.
    • packagingLocation: string, required
      • The path to a directory on the target host to which the deployment tarballs will be stored after transfer.
    • execPre: string, optional
      • Holds  a command that will be executed on the target host before extraction of deployment tarballs is performed.
      • Deployment scripts provide shell functions to start and to stop the systemd service for the Agent.
      • Specifying the command StopService will stop the Agent's systemd service.
    • execPost: string, optional
      • Holds  a command that will be executed on the target host after extraction of deployment tarballs is performed.
      • Deployment scripts provide shell functions to start and to stop the systemd service for the Agent.
      • Specifying the command StartService will start the Agent's systemd service.
    • makeService: boolean, optional
      • Specifies that a systemd service should be created or renewed for the Agent.
Expand
titleagents.<agent-id>.media

agents.<agent-id>.media: required

  • media: object, required
    • release: object, required
      • The JS7 release number, for example 2.5.0
    • tarball: string, required
      • Path to the .tar.gz installation file as downloaded from the SOS Web Site.
Expand
titlemediaagents.<agent-id>.installation

agents.<agent-id>.installation: required

  • installation: object, required
    • home: object, required
      • Path to the directory to which the Agent should be installed, for example /opt/sos-berlin.com/js7/agent.
    • data: string, required
      • Path to the Agent's configuration directory, for example /var/sos-berlin.com/js7/agent.
    • homeOwner: string, optional
      • The OS account that owns the Agent's installation directory.
    • dataOwner: string, optional
      • The OS account that owns the Agent's configuration directory.
    • runUser: string, optional
      • The OS account that runs the Agent daemon/service.
    • httpPort: number, conditional
      • The HTTP port that is used to control the Agent in the localhost network by its Instance Start Script.
      • Use of the port can be limited by specifying <network-interface>:<port>, for example: localhost:4445.
      • One of HTTP Port and/or HTTPS Port has to be specified.
    • httpsPort: number, conditional
      • The HTTP port that is used to control the Agent in the localhost network by its Instance Start Script.
      • Use of the port can be limited by specifying <network-interface>:<port>, for example: jobs.example.com:4445.
      • One of HTTP Port and/or HTTPS Port has to be specified.
    • javaHome: string, optional
      • Path to a Java JDK that is used to operate the Agent, see Which Java versions is JobScheduler available for?
      • If this setting is omitted then the Agent will try to identify the location of Java from the JAVA_HOME environment variable on the target host.
    • javaOptions: string, optional
      • Specifies the Java options used for the Agent, for example heap space settings as -Xmx256m., see JS7 - FAQ - Which Java Options are recommended.
      • If this setting is omitted then the Agent will try to identify Java options from the JAVA_OPTIONS environment variable on the target host.
Expand
titleagents.<agent-id>.configuration

agents.<agent-id>.configuration: optional

  • configuration: object, optional
    • controller: object, optional
      • controllerId: object, optional
        • Unique identifier of the Controller to which the Agent will be registered. The identifier is specified with the controllers section.
    • certificates: object, optional
      • keyStore: string, optional
        • Path to a PKCS12 keystore that holds the Agents private key and certificate.
      • keyStorePassword: string, optional
        • Password for access to the Agent's keystore.
      • keyPassword: string, optional
        • Password for access to the Agent's private key (same as keyStorePassword)
      • keyAlias: string, optional
        • The alias name of the Agent's private key.
      • trustStore: string, optional
      • trustStorePassword: string, optional
Expand
titlecontrollers

controllers: optional

An array of Controller configuration objects is specified.

  • <controller-id>: object, required
    • target: see agents
    • media: see agents
    • installation: see agents
    • configuration: see agents

...