...
Code Block |
---|
language | xml |
---|
title | Installer Configuration File |
---|
collapse | true |
---|
|
<?xml version="1.0" encoding="utf-8"?>
<installations lastRun="2015-11-19 17:11">
<globals>
<transfer>
<settings><![CDATA[c:\tmp\agent_batch\yade_agent_batch_installer_settings.ini]]></settings>
</transfer>
</globals>
<installation lastRun="2015-11-19 17:11">
<install_path><![CDATA[/opt]]></install_path>
<agent_options>
<scheduler_http_port>4447</scheduler_http_port>
<scheduler_user><![CDATA[test]]></scheduler_user>
<scheduler_log_dir><![CDATA[/var/log/sos-berlin.com/jobscheduler/agent]]></scheduler_log_dir>
</agent_options>
<ssh>
<password><![CDATA[test]]></password>
<sudo_password><![CDATA[xxxx]]></sudo_password>
<auth_method><![CDATA[password]]></auth_method>
<host><![CDATA[192.11.0.111]]></host>
<port><![CDATA[22]]></port>
</ssh>
<postprocessing>
<command><![CDATA[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}]]></command>
<command><![CDATA[echo ${ssh.sudo_password} | sudo -S chkconfig jobscheduler_agent_${agent_options.scheduler_http_port}]]></command>
</postprocessing>
</installation>
<installation lastRun="2015-11-19 17:11">
<install_path><![CDATA[/opt/]]></install_path>
<agent_options>
<scheduler_http_port>4445</scheduler_http_port>
<scheduler_user><![CDATA[sos]]></scheduler_user>
<scheduler_log_dir><![CDATA[/var/log/sos-berlin.com/jobscheduler/agent]]></scheduler_log_dir>
</agent_options>
<ssh>
<user><![CDATA[sos]]></user>
<password><![CDATA[xxxx]]></password>
<sudo_password><![CDATA[xxxx]]></sudo_password>
<auth_method><![CDATA[password]]></auth_method>
<host><![CDATA[192.11.0.95]]></host>
<port><![CDATA[22]]></port>
</ssh>
<postprocessing>
<command><![CDATA[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}]]></command>
<command><![CDATA[echo ${ssh.sudo_password} | sudo -S chkconfig jobscheduler_agent_${agent_options.scheduler_http_port}]]></command>
</postprocessing>
</installation>
</installations> |
Hints:
- The commands defined under
<command>
(in the section <installations><globals><postprocessing><command>
) will be executed for all installations defined afterwards in the file. In case you would install the Agents in different UNIX distributions, it is recommended to set them individually for each installation, instead of as a global parameter. => hier auf anderen Use Case verlinken
Anchor |
---|
| yade_profile_transfer |
---|
| yade_profile_transfer |
---|
|
YADE profiles for the file transfer
...