Versions Compared

Key

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

...

You find the xsd-schema for the configuration in config/scheduler_agent_installations.xsd

The file files have the following structure

  • installations
  • globalsglobal
  • installation
  • installation

In the globals global entry, you specify the value values which are used for all installation items. The installation items can overwrite these values. There is one installation item for each agent. You can make use of substitution in the values of the entries.

...

Code Block
 <serviceId>scheduler_agent_$\{host\}_$\{service_port\}</serviceId> 

The globals section global sections have the following entries:

  • serviceId: The scheduler id of the agent. This must be unique. You get a unique value by adding host and port to the value of the id.
  • licence: The licence license key for the agent. If you are using GPL licence license model, you can use the key SOS-DEMO-1-L2O-4-7-22-KL22SL7
  • servicePort: The port, the agent is listening. For example 4445. You can use the same port for each agent on different hosts.
  • serviceAllowedHost: The ip IP or the host name of the master scheduler.
  • installPath: The path to install the agent. Recommended value is /opt/sos-berlin.com/jobscheduler.
  • UserPathPanelElement: The path with the configuration files of the agent. Recommended value is /home/test/sos-berlin.com/jobscheduler
  • ftp: Specifies the ftp filetransfer
  • ftp.user: The user for the ftp login.
  • ftp.password: The password for the ftp login.
  • ftp.localDir: The location of the setup files. This is scheduler_agent.jar and the generated xml installation files.
  • ftp.remoteDir: The location on the server where the setup files should be transferedtransferred.
  • ftp.port: The port for the ftp connection. Default is 21.
  • ssh: Specifies the ssh connection.
  • ssh.user: The user for the ssh login.
  • ssh.password: The password if using password authentication.
  • ssh.sudoPassword: The password for the sudo user. This can be used in the command to enable the sudo login.
  • ssh.authMethod: The authentication method can be password or publickey.
  • ssh.authFile: The authorization file with the key if authMethod is publickey.
  • ssh.port: The port for the ssh connection. The default is 22.
  • ssh.command: The command to perform the installation. The recommended command is echo ${sudo_password} | sudo -S java -jar ${ftp_remote_dir}/scheduler_linux32_agent.jar ${ftp_remote_dir}/${installation_file}

...