...
Anchor | ||||
---|---|---|---|---|
|
You should We assume that you have opened the Batch Installer configuration file batch_installer_config_file.xml
and have assigned the XSD schema scheduler_universal_agent_installations.xsd
XSD schema. The The XML file contains a basic example with the recommended values for an Agent installation.
The Batch Installer configuration file contains an <installation>
element for each Agent instance. For In addition, the <global>
element can be used in a homogeneous environment parameters can be specified with the <global>
element and to specify parameters that will be applied to all Agent installations. If a parameter is available specified in the <global>
element and in an individual <installation>
element then the setting for the specific installation individual element will overwrite the global setting.
Please, perform the The following configuration steps should be carried out:
- Global parameters:
- Specify the
<install_path>
to point to a location where the Agent should be installed. - Specify the path to the YADE settings file (.ini file) in the Batch Installer configuration file with the element
<globals><transfer><settings>.
- Specify the credentials for the SSH connection:
<user>
: SSH login user<password>
: Password for the login user<sudo_password>
: Password forsudo
actions- <
auth_method>
: SSH authentication method <port>
: SSH port
- Specify the post-processing commands that fit your operating system on the Agent server with the
<postprocessing>
element. The default commands will place the Agent start script under/etc/init.d
and will setup the autostart for JobScheduler Universal Agent on a Linux server (example for an Ubuntu distribution):echo ${ssh.sudo_password} | sudo -S cp ${install_path}/jobscheduler_agent/bin/jobscheduler_agent_${agent_options.scheduler_http_port}.sh /etc/init.d/jobscheduler_agent_${agent_options.scheduler_http_port}
echo ${ssh.sudo_password} | sudo -S
update-rc.d jobscheduler_agent_${agent_options.scheduler_http_port} defaults
- Specify the
- Installation parameters (specified for each Agent installation):
- Agent options:
<scheduler_user>
: Agent user<scheduler_log_dir>
: Logs folder for the Agent
- SSH Host
- Agent options:
Info | ||
---|---|---|
| ||
|
An example for the example Batch Installer configuration file for the installation of two Agents might look like this:
...