...
AgentBatchInstaller
job: adjust the parameter values for theAgentBatchInstaller
job in your JobScheduler Master.Adjust the
installation_definition_file
job parameter with the path that points to the Batch Installer configuration file.
Installation of the Agents
The Agents can be installed after the XML configuration files and JobScheduler jobs have been configured. Start a task for the AgentBatchInstaller
job as follows:
- Open a JobScheduler Operating Center (JOC) browser window for the JobScheduler master.
- Right click on the job to open the context menu.
- Select the
Start task immediately
operation. - This job will create the appropriate JobScheduler orders as explained in the chapter Batch Installer Application.
Example: Installation of four Agents on two Servers
The following example describes how to do the installation of four JobScheduler Universal Agents in two Agent Servers, that is, two JobScheduler Universal Agents installed per Server.
...
server. First of all, the YADE configuration files (XML file) for the file transfer will be specified, then it will be converted to the YADE settings file (.ini) and finally the Batch Installer configuration file will be specified.
Anchor | ||||
---|---|---|---|---|
|
We assume that you have opened the yade_agent_batch_installer_settings.xml
YADE configuration file and have assigned the http://www.sos-berlin.com/schema/yade/YADE_configuration_v1.0.xsd
XSD schema. The XML file contains a basic example with recommended values for an Agent installation (of only one Agent).
A separate profile in the YADE configuration file is required for each Agent installation. The default profile name is <host>:<port>
where
<host>
will be substituted with the value from the element<installation><agent_option><scheduler_ip_address>
<port>
will be substituted with the value from the element<installation><agent_option><scheduler_http_port>
Please take the following steps:
- Add a
<ProtocolFragments>
element and nodes for each host that you want to install the Agent for. The best way to add another<ProtocolFragments>
element using the XML Editor is copying the element and pasting it to the parent element - in this case<Fragments>
. - Add a
<Profile>
element and nodes for each host that you want to install the Agent for. The best way to add another<Profile>
element using the XML Editor is copying the element and pasting it to the parent element - here<Profiles>
. - The default
profile_id
is<host>:<port>
. If you do not use the default then you have to specify the profile name in the Batch Installer configuration file.
An example for the Batch Installer configuration file for the installation of two Agents is attached on this wiki page (download: yade_agent_batch_installer_settings.xml) and might look like this:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<?xml version="1.0" encoding="utf-8"?>
<Configurations xsi:noNamespaceSchemaLocation="http://www.sos-berlin.com/schema/yade/YADE_configuration_v1.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Fragments>
<ProtocolFragments>
<SFTPFragment name="SFTP_192.11.0.111:4445">
<BasicConnection> |
The installer configuration file contains an <installation>
element for each JobScheduler Universal Agent instance. Set the name for the YADE settings file in the installer configuration file with the element <globals><transfer><settings>.
An example for the installer configuration file can look like this:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <installations lastRun="2015-11-23 12:11"> <globals> <install_path>/opt</install_path> <transfer> <settings>c:\tmp\agent_batch\yade_agent_batch_installer_settings.ini</settings> </transfer> <ssh> <auth_method>password</auth_method> <port>22</port> </ssh> </globals> <installation lastRun="2015-11-23 11:11"> <agent_options> <scheduler_user>test</scheduler_user> <scheduler_log_dir>/var/log/sos-berlin.com/jobscheduler/agent</scheduler_log_dir> </agent_options> <ssh> <user>test</user> <password>xxxx</password><Hostname><![CDATA[192.11.0.111]]></Hostname> <sudo_password>xxxx</sudo_password></BasicConnection> <SSHAuthentication> <host>192.11.0.111</host> </ssh> <Account><![CDATA[test]]></Account> <postprocessing><AuthenticationMethodPassword> <command>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><Password><![CDATA[xxxx]]></Password> </AuthenticationMethodPassword> </SSHAuthentication> </SFTPFragment> <SFTPFragment name="SFTP_192.11.0.111:4446"> <BasicConnection> <command>echo ${ssh.sudo_password} | sudo -S chkconfig jobscheduler_agent_${agent_options.scheduler_http_port}</command> <Hostname><![CDATA[192.11.0.111]]></Hostname> </postprocessing>BasicConnection> </installation> <SSHAuthentication> <installation lastRun="2015-11-23 11:11"> <Account><![CDATA[sos]]></Account> <agent_options> <AuthenticationMethodPassword> <scheduler_http_port>4446</scheduler_http_port> <Password><![CDATA[xxxx]]></Password> </AuthenticationMethodPassword> <scheduler_user>sos</scheduler_user></SSHAuthentication> </SFTPFragment> <scheduler_log_dir>/var/log/sos-berlin.com/jobscheduler/agent</scheduler_log_dir><SFTPFragment name="SFTP_192.11.0.95:4445"> </agent_options><BasicConnection> <ssh> <Hostname><![CDATA[192.11.0.95]]></Hostname> <user>sos<</user>BasicConnection> <password>xxxx</password><SSHAuthentication> <sudo_password>xxxx</sudo_password><Account><![CDATA[sos]]></Account> <host>192.11.0.111</host> <AuthenticationMethodPassword> <Password><![CDATA[xxxx]]></Password> </ssh>AuthenticationMethodPassword> <postprocessing></SSHAuthentication> </SFTPFragment> <command>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><SFTPFragment name="SFTP_192.11.0.95:4446"> <BasicConnection> <Hostname><![CDATA[192.11.0.95]]></Hostname> </BasicConnection> <SSHAuthentication> <command>echo ${ssh.sudo_password} | sudo -S chkconfig jobscheduler_agent_${agent_options.scheduler_http_port}</command> <Account><![CDATA[test]]></Account> </postprocessing><AuthenticationMethodPassword> </installation> <installation lastRun="2015-11-23 11:11"> <Password><![CDATA[xxxx]]></Password> <agent_options> </AuthenticationMethodPassword> </SSHAuthentication> <scheduler_user>sos</scheduler_user></SFTPFragment> </ProtocolFragments> </Fragments> <Profiles> <scheduler_log_dir>/var/log/sos-berlin.com/jobscheduler/agent</scheduler_log_dir><Profile profile_id="192.11.0.111:4445"> <Operation> </agent_options> <Copy> <ssh><CopySource> <user>sos</user><CopySourceFragmentRef> <password>xxxx< <LocalSource /password>> <sudo_password>xxxx</sudo_password></CopySourceFragmentRef> <host>192.11.0.95</host><SourceFileOptions> </ssh> <Selection> <postprocessing> <command>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> <FileSpecSelection> <command>echo ${ssh.sudo_password} | sudo -S chkconfig jobscheduler_agent_${agent_options.scheduler_http_port}</command><FileSpec><![CDATA[.*\.(sh|gz)$]]></FileSpec> </postprocessing> </installation> <installation lastRun="2015-11-23 11:11"> <Directory><![CDATA[C:\tmp\agent_batch]]></Directory> <agent_options> </FileSpecSelection> <scheduler_http_port>4446</scheduler_http_port> </Selection> <scheduler_user>test</scheduler_user> </SourceFileOptions> <scheduler_log_dir>/var/log/sos-berlin.com/jobscheduler/agent</scheduler_log_dir> </agent_options>CopySource> <ssh> <CopyTarget> <user>sos</user> <CopyTargetFragmentRef> <SFTPFragmentRef <password>xxxx</password>ref="SFTP_192.11.0.111:4445" /> <sudo_password>xxxx</sudo_password></CopyTargetFragmentRef> <host>192.11.0.95</host> <Directory><![CDATA[/home/test/tmp/]]></Directory> </ssh>CopyTarget> <postprocessing></Copy> </Operation> </Profile> <command>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><Profile profile_id="192.11.0.111:4446"> <Operation> <Copy> <command>echo ${ssh.sudo_password} | sudo -S chkconfig jobscheduler_agent_${agent_options.scheduler_http_port}</command> <CopySource> </postprocessing> <CopySourceFragmentRef> <LocalSource </installation> </installations> |
...
Each installation makes use of a profile in the YADE settings file. The default profile name is <host>:<port>
where
<host>
will be substituted with the value from the element<installation><agent_option><scheduler_ip_address>
<port>
will be substituted with the value from the element<installation><agent_option><scheduler_http_port>
Please follow these steps:
- Specify the name of the YADE settings file with the
<globals><settings>
element. - Open the YADE settings file or create a new one.
- Assign the XSD Schema http://www.sos-berlin.com/schema/yade/YADE_configuration_v1.0.xsd
- Add a
<ProtocolFragments>
element and nodes for each host that you want to install the JobScheduler Universal Agent for. - Add a
<Profile>
element and nodes for each host you want install the JobScheduler Universal Agent for. - The default
profile_id
is<host>:<port>
. If you do not use the default then you have to specify the profile name in the installer configuration file.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<?xml version="1.0" encoding="utf-8"?> <Configurations xsi:noNamespaceSchemaLocation="http://www.sos-berlin.com/schema/yade/YADE_configuration_v1.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Fragments> <ProtocolFragments> <SFTPFragment name="SFTP_192.11.0.111> </CopySourceFragmentRef> <SourceFileOptions> <Selection> <FileSpecSelection> <FileSpec><![CDATA[.*\.(sh|gz)$]]></FileSpec> <Directory><![CDATA[C:\tmp\agent_batch]]></Directory> </FileSpecSelection> </Selection> </SourceFileOptions> </CopySource> <CopyTarget> <CopyTargetFragmentRef> <SFTPFragmentRef ref="SFTP_192.11.0.111:4446" /> </CopyTargetFragmentRef> <Directory><![CDATA[/home/sos/tmp/]]></Directory> </CopyTarget> </Copy> </Operation> </Profile> <Profile profile_id="192.11.0.95:4445"> <BasicConnection><Operation> <Copy> <Hostname><![CDATA[192.11.0.111]]></Hostname> </BasicConnection><CopySource> <SSHAuthentication> <CopySourceFragmentRef> <Account><![CDATA[test]]></Account> <LocalSource <AuthenticationMethodPassword>/> <Password><![CDATA[xxxx]]></Password> </CopySourceFragmentRef> </AuthenticationMethodPassword> <SourceFileOptions> </SSHAuthentication> <Selection> </SFTPFragment> <SFTPFragment name="SFTP_192.11.0.111:4446"> <FileSpecSelection> <BasicConnection> <Hostname><<FileSpec><![CDATA[192.11.0.111*\.(sh|gz)$]]></Hostname>FileSpec> </BasicConnection> <SSHAuthentication><Directory><![CDATA[C:\tmp\agent_batch]]></Directory> <Account><![CDATA[sos]]></Account> </FileSpecSelection> <AuthenticationMethodPassword> </Selection> <Password><![CDATA[xxxx]]></Password></SourceFileOptions> </AuthenticationMethodPassword>CopySource> </SSHAuthentication> <CopyTarget> </SFTPFragment><CopyTargetFragmentRef> <SFTPFragment name <SFTPFragmentRef ref="SFTP_192.11.0.95:4445" /> <BasicConnection> </CopyTargetFragmentRef> <Hostname><<Directory><![CDATA[192.11.0.95/home/sos/tmp/]]></Hostname>Directory> </BasicConnection>CopyTarget> <SSHAuthentication></Copy> </Operation> <Account><![CDATA[sos]]></Account></Profile> <Profile profile_id="192.11.0.95:4446"> <AuthenticationMethodPassword><Operation> <Copy> <Password><![CDATA[xxxx]]></Password> <CopySource> </AuthenticationMethodPassword> </SSHAuthentication><CopySourceFragmentRef> </SFTPFragment> <SFTPFragment name="SFTP_192.11.0.95:4446"> <LocalSource /> <BasicConnection></CopySourceFragmentRef> <Hostname><![CDATA[192.11.0.95]]></Hostname> <SourceFileOptions> </BasicConnection> <Selection> <SSHAuthentication> <Account><![CDATA[sos]]></Account> <FileSpecSelection> <AuthenticationMethodPassword> <Password><<FileSpec><![CDATA[xxxx.*\.(sh|gz)$]]></Password>FileSpec> </AuthenticationMethodPassword> </SSHAuthentication><Directory><![CDATA[C:\tmp\agent_batch]]></Directory> </SFTPFragment> </ProtocolFragments> </Fragments> <Profiles> <Profile profile_id="192.11.0.111:4445"> </FileSpecSelection> <Operation> <Copy></Selection> <CopySource> </SourceFileOptions> <CopySourceFragmentRef></CopySource> <LocalSource /><CopyTarget> </CopySourceFragmentRef><CopyTargetFragmentRef> <SourceFileOptions> <SFTPFragmentRef <Selection>ref="SFTP_192.11.0.95:4446" /> <FileSpecSelection></CopyTargetFragmentRef> <FileSpec><<Directory><![CDATA[.*\.(sh|gz)$/home/test/tmp/]]></FileSpec>Directory> </CopyTarget> <Directory><![CDATA[C:\tmp\agent_batch]]></Directory></Copy> </Operation> </FileSpecSelection> </Profile> </Profiles> </Configurations> |
Anchor | ||||
---|---|---|---|---|
|
Note that the file shown above is an XML file and YADE versions less that 1.11 require a .ini
file to perform the transfer that is specified in the <globals><install_path><transfer><settings>
element in the Batch Installer configuration file.
- We recommended that you use the XML Editor to convert configuration files from XML to the
.ini
format (see the XML Editor for converting YADE configuration files (XML) into YADE setting files (.ini) section below for more information). - The following example shows as an example a
.ini
file that has been converted from the XML file above. You can download the example here yade_agent_batch_installer_settings.ini.
Code Block | ||||
---|---|---|---|---|
| ||||
[protocol_fragment_sftp@SFTP_192.11.0.111:4445] protocol Selection> </SourceFileOptions> </CopySource> <CopyTarget> <CopyTargetFragmentRef> <SFTPFragmentRef ref="SFTP_192.11.0.111:4445" /> </CopyTargetFragmentRef> <Directory><![CDATA[/home/test/tmp/]]></Directory> </CopyTarget> </Copy> </Operation> = </Profile>sftp host <Profile profile_id="192.11.0.111:4446"> <Operation> <Copy> <CopySource> = 192.11.0.111 user <CopySourceFragmentRef> <LocalSource= /> test ssh_auth_method </CopySourceFragmentRef> = password password <SourceFileOptions> <Selection> = xxxx [protocol_fragment_sftp@SFTP_192.11.0.111:4446] protocol <FileSpecSelection> <FileSpec><![CDATA[.*\.(sh|gz)$]]></FileSpec> = sftp host <Directory><![CDATA[C:\tmp\agent_batch]]></Directory> = 192.11.0.111 user </FileSpecSelection> </Selection> = </SourceFileOptions> sos ssh_auth_method </CopySource> = <CopyTarget>password password <CopyTargetFragmentRef> <SFTPFragmentRef ref="SFTP= xxxx [protocol_fragment_sftp@SFTP_192.11.0.111:4446" /> 95:4445] protocol </CopyTargetFragmentRef> <Directory><![CDATA[/home/sos/tmp/]]></Directory> = sftp host </CopyTarget> </Copy> </Operation> </Profile> <Profile= profile_id="192.11.0.95:4445"> user <Operation> <Copy> <CopySource> = sos ssh_auth_method <CopySourceFragmentRef> <LocalSource /> = password password </CopySourceFragmentRef> <SourceFileOptions> <Selection> = xxxx [protocol_fragment_sftp@SFTP_192.11.0.95:4446] protocol <FileSpecSelection> <FileSpec><![CDATA[.*\.(sh|gz)$]]></FileSpec> = sftp host <Directory><![CDATA[C:\tmp\agent_batch]]></Directory> </FileSpecSelection> = 192.11.0.95 user </Selection> = </SourceFileOptions> test ssh_auth_method </CopySource> = <CopyTarget>password password <CopyTargetFragmentRef> <SFTPFragmentRef ref="SFTP_= xxxx [192.11.0.95111:4445" />] operation </CopyTargetFragmentRef> <Directory><![CDATA[/home/sos/tmp/]]></Directory> = copy source_protocol </CopyTarget> </Copy> </Operation> = </Profile> <Profile profile_id="192.11.0.95:4446"> local file_spec <Operation> <Copy> <CopySource> <CopySourceFragmentRef> = .*\.(sh|gz)$ source_dir <LocalSource /> </CopySourceFragmentRef> = C:\tmp\agent_batch target_include <SourceFileOptions> <Selection> = protocol_fragment_sftp@SFTP_192.11.0.111:4445 target_dir <FileSpecSelection> <FileSpec><![CDATA[.*\.(sh|gz)$]]></FileSpec> = /home/test/tmp/ [192.11.0.111:4446] operation <Directory><![CDATA[C:\tmp\agent_batch]]></Directory> = copy source_protocol </FileSpecSelection> </Selection> = local file_spec </SourceFileOptions> </CopySource> = .*\.(sh|gz)$ source_dir <CopyTarget> <CopyTargetFragmentRef> = C:\tmp\agent_batch target_include <SFTPFragmentRef ref="SFTP= protocol_fragment_sftp@SFTP_192.11.0.95111:4446" /> target_dir </CopyTargetFragmentRef> = <Directory><![CDATA[/home/testsos/tmp/]]></Directory> [192.11.0.95:4445] operation </CopyTarget> = copy source_protocol </Copy> = local file_spec </Operation> </Profile> </Profiles> </Configurations> |
HINTS:
...
title | INI file |
---|---|
collapse | true |
...
= .*\.(sh|gz)$
source_dir = C:\tmp\agent_batch
target_include = protocol_fragment_sftp@SFTP_192.11.0.95:4445
target_dir = /home/sos/tmp/
[192.11.0.95:4446]
operation = copy
source_protocol = local
file_spec = .*\.(sh|gz)$
source_dir = C:\tmp\agent_batch
target_include = protocol_fragment_sftp@SFTP_192.11.0.95:4446
target_dir = /home/test/tmp/
|
Anchor | ||||
---|---|---|---|---|
|
We assume that you have opened the Batch Installer configuration file batch_installer_config_file.xml
and assigned the scheduler_universal_agent_installations.xsd
XSD schema. The XML file contains a basic example with recommended values for an Agent installation.
The Batch Installer configuration file contains an <installation>
element for each Agent instance. In addition, the <global>
element can be used in a homogeneous environment to specify parameters that will be applied to all Agent installations. If a parameter is specified in the <global>
element and in an individual <installation>
element then the setting for the individual element will overwrite the global setting.
The following configuration steps should be carried out:
- Specify the Global parameters:
Specify the path to the YADE settings file (.ini file) in the Batch Installer configuration file with the element
<globals><transfer><settings>.
Specify the filename (not the path) for the Agent that has to be installed with the element
<installation_file>
. This filename contains the version of the Agent which you are installing and it is helpful for recognising this version of the installed versions.
- Specify the installation parameters for each Agent installation:
- Specify the
<install_path>
to point to a location where the Agent should be installed. - Agent options:
<scheduler_user>
: Agent user<scheduler_log_dir>
: Logs folder for the Agent
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 - <
host
>: SSH Host <port>
: SSH port
- Use the
<postprocessing>
element to specify the post-processing commands that 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
- Specify the
Info | ||
---|---|---|
| ||
|
An example Batch Installer configuration file for the installation of two Agents is attached on this wiki page (download: batch_installer_config_file.xml) and might look like this:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<installations lastRun="2015-11-23 12:11">
<globals>
<install_path>/opt</install_path>
<transfer>
|
...
<settings>c:\tmp\agent_batch\yade_agent_batch_installer_settings.ini</settings> |
...
</transfer> <ssh> <auth_method>password</auth_method> |
...
<port>22</port> </ssh> <installation_file><![CDATA[jobscheduler_unix_universal_agent.1.10.2-SNAPSHOT.tar.gz]]></installation_file> </globals> <installation lastRun="2015-11-23 11:11"> |
...
|
...
<agent_options> <scheduler_user>test</scheduler_user> |
...
<scheduler_log_dir>/var/log/sos-berlin.com/jobscheduler/agent</scheduler_log_dir> </agent_options> <ssh> <user>test</user> |
...
|
...
<password>xxxx</password> <sudo_password>xxxx</sudo_password> |
...
|
...
<host>192.11.0. |
...
111</host> |
...
|
...
</ssh> <postprocessing> |
...
|
...
<command>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>echo ${ssh.sudo_password} | sudo -S chkconfig jobscheduler_agent_${agent_options.scheduler_http_port}</command> </postprocessing> </installation> <installation |
...
lastRun="2015-11-23 11:11"> <agent_options> <scheduler_http_port>4446</scheduler_http_port> |
...
|
...
|
...
<scheduler_user>sos</scheduler_user> |
...
<scheduler_log_dir>/var/log/sos-berlin.com/jobscheduler/agent</scheduler_log_dir> </agent_options> <ssh> |
...
<user>sos</user> <password>xxxx</password> |
...
<sudo_password>xxxx</sudo_password> |
...
<host>192.11.0.111</host> |
...
</ssh> <postprocessing> <command>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>echo ${ssh.sudo_password} | sudo -S |
...
chkconfig jobscheduler_agent_${agent_options.scheduler_http_port}</command> </postprocessing> </installation> <installation lastRun="2015-11-23 11:11"> |
...
<agent_options> <scheduler_user>sos</scheduler_user> |
...
<scheduler_log_dir>/var/log/sos-berlin.com/jobscheduler/agent</scheduler_log_dir> </agent_options> |
...
<ssh> <user>sos</user> |
...
<password>xxxx</password> <sudo_password>xxxx</sudo_password> |
...
<host>192.11.0.95</host> |
...
</ssh> |
...
|
...
<postprocessing> |
...
<command>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>echo ${ssh.sudo_password} | sudo -S chkconfig jobscheduler_agent_${agent_options.scheduler_http_port}</command> </postprocessing> </installation> <installation lastRun= |
...
"2015-11-23 11:11"> <agent_options> |
...
<scheduler_http_port>4446</scheduler_http_port> <scheduler_user>test</scheduler_user> |
...
<scheduler_log_dir>/var/log/sos-berlin.com/jobscheduler/agent</scheduler_log_dir> </agent_options> <ssh> |
...
|
...
<user>test</user> |
...
<password>xxxx</password> |
...
|
...
<sudo_password>xxxx</sudo_password> |
...
<host>192.11.0.95</host> |
...
</ssh> <postprocessing> <command>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>echo ${ssh.sudo_password} | sudo -S |
...
chkconfig jobscheduler_agent_${agent_options.scheduler_http_port}</command> </postprocessing> |
...
</installation>
</installations> |
Anchor | ||||
---|---|---|---|---|
|
...