Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Various minor changes.

Table of Contents

 

Use the

...

SCHEDULER_HTTP_PORT and SCHEDULER_HTTPS_PORT environment variables

  • It is also possible to set the HTTP and HTTPS port ports with command line options but we recommend to use using environment variables.
  • For To do this create an a script for each Agent instance (the instance script) in which environment variables are set before the startscript start script is called.

Indicating which network interfaces should listen to when using

...

HTTP

  • The value of the environment variable SCHEDULER_HTTP_PORT of the instance script can have the form SCHEDULER_HTTP_PORT=[ip address or hostname:]port
  • If only a port is specified then the JobScheduler Agent listens to all available network interfaces.
      It
      • This is the same
      like
      • as specifying SCHEDULER_HTTP_PORT=0.0.0.0:port.
    • If a hostname or ip address is specified in addition then it indicates which The network interfaces the JobScheduler Agent should listen to can be specified by additionallyspecifying a hostname or ip address.

    Indicating which network interfaces should listen to when using

    ...

    HTTPS

    • The value of the environment variable SCHEDULER_HTTPS_PORT of the instance script can have the form SCHEDULER_HTTPS_PORT=[ip address or hostname:]port
    • If only a port is specified then the JobScheduler Agent listens to all available network interfaces.
        It
        • This is the same
        like
        • as specifying SCHEDULER_HTTPS_PORT=0.0.0.0:port.
      • If a hostname or ip address is specified in addition then it indicates which The network interfaces the JobScheduler Agent should listen to can be specified by additionallyspecifying a hostname or ip address.

      Requirements

      • A HTTP port setting is required for the JobScheduler Agent startscriptstart script.
      • It is not possible to only use HTTPS only but you can bind "localhost" to the HTTP port.

        Code Block
        SCHEDULER_HTTP_PORT=localhost:4445