...
Info | ||
---|---|---|
| ||
|
The parameters to be configured are:
- The
<install_path>
element, which points to a location where the Agent should be installed. (Mandatory)- A typical value would be
/opt/sos-berlin.com/jobscheduler
- A typical value would be
- The <transfer><settings> element which points to the location where the YADE transfer configuration file that was configured in Section 2.1 above. (Mandatory)
- A typical value would be
C:\ProgramData\sos-berlin.com\jobscheduler\jobscheduler_1.12\config\batch_install\yade_agent_batch_installer_settings.xml
- A typical value would be
- The
<ssh>
elements (often partly configured as<global>
elements):<auth_method>
: the authentication method to be used for the SSH connection. (Mandatory)<port>
: SSH port. (Mandatory)<user>
: SSH login account name. (Mandatory)<password>
: Password for the SSH login account.- <
auth_method>
: SSH authentication method. (Mandatory) <host>
: the host name of the target server. (Mandatory)
- The
<installation_file>
element - the name of the Universal Agent installation file. This filename contains the version of the Agent which you are installing and it is helpful for recognizing the version of the Agents that are installed. (Mandatory)- For Unix systems this is usually
jobscheduler_unix_universal_agent.<version>.tar.gz
- For Unix systems this is usually
- The
<agent_options>
elements:<java_home>
: the location of the Java Runtime Environment (JRE)- See here for more information.
<java_options>
: the Java options, e.g the Java memory settings- See here for more information
<scheduler_http_port>
: the http port that the Universal Agent is to listen to. (Mandatory)<
the IP address of the target system. (Mandatory)scheduler_
ip_address>
: the user name the Agent is to run under on the target system. (Mandatory)<
scheduler_user>
: the directory to be used for the Agent Log files.<
scheduler_log_dir>- A typical location would be
/var/log/sos-berlin.com/jobscheduler/agent
. - See here for more information
- A typical location would be
<
the kill scripts allows a task and it's child processes to be killed.scheduler_
kill_script>- See here for more information.
<scheduler_pid_file_dir>
the- See here for more information.
<agent_installation_script> script>
the script to be used for the installation of the Agent (Mandatory)- This is usually
jobscheduler_universal_agent_install.sh
- This is usually
- The
<postprocessing>
elements:- Post-processing commands for the Agent server's operating system. The default commands for an Ubuntu distribution will place the Agent start script under
/etc/init.d
and will setup the autostart for the Universal Agent: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
- These two commands will be executed by the
PerformInstall
job node, which is the last job node in the batch installer job chain. If you want to add more commands, please add the call to the job node.
- Post-processing commands for the Agent server's operating system. The default commands for an Ubuntu distribution will place the Agent start script under
...