...
The individual nodes in the universal_agent_installer
job chain have the following functions:
CheckPreRequisite
Sync:
To wait until all prerequisites have been checked and any already installed Agent instances that are running have been shut down.Show If group sos-members Status colour Yellow title In der Diagram ist sync ein extra Node - Check for the correct Java version.
- Check whether a JobScheduler Universal Agent has already been installed. If so:
- shut down the instance if it is running,
- remove the installation.
- shut down the instance if it is running,
TransferInstallationSetup
: To transfer the installer files to the host- Before the transfer starts, the preprocessor will use the use the
jobscheduler_agent_instance_script.txt
template to create a start script for the Agent instance. The files that are to be transfered are specified with the element
<globals><transfer><file_spec=".*\.(sh|gz)$">
Show If group sos-members Status colour Yellow title Does this filter <all> files? - This regular expression is used to, the following files will be transfered:
- the JobScheduler Universal Agent installation files:
jobscheduler_unix_universal_agent.tar.gz
thejobscheduler_agent_<port>.sh
start script for the instance - the installation script:
jobscheduler_universal_agent_install.sh
- the JobScheduler Universal Agent installation files:
- Before the transfer starts, the preprocessor will use the use the
PerformInstall
: The installation is started by SSH.The step before transfered installation script will be executed
Show If group sos-members Status colour Yellow title WHAT IS THE NAME OF THIS SCRIPT - The installation script will install and start the JobScheduler Universal Agent
- Finally the PerformInstall job post-processing commands will be executed:
- These commands are specified using the
<installation><postprocessing><command>
element.
- The default configuration for a Linux server will place the Agent start script under
/etc/init.d
and set up the autostart for JobScheduler Universal Agent(example for a 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
- These commands are specified using the
...
- Configuring XML files with a text editor is error-prone. Therefore we recommend that you download the XML Editor that can be used to manage the configuration files required for the Batch Installer. For details about the XML Editor see the Using the XML Editor chapter below.
- After downloading the XML Editor, extract the contents of the zip file to a convenient folder (an installation routine is not required) and start the
sos.xml.editor.exe
program. - Open your
batch_installer_config_file.xml
configuration file in the XML Editor and assign thescheduler_universal_agent_installations.xsd
schema: both files are located in theconfig/batch_installer
folder. - Open your
yade_agent_batch_installer_settings.xml
YADE configurationfile, which is located in the
config/batch_installer
folder and assign the XSD schema
- After downloading the XML Editor, extract the contents of the zip file to a convenient folder (an installation routine is not required) and start the
- See the Batch Installer Configuration File chapter below for instructions on how to configure the Batch Installer configuration file
Status colour Yellow See the YADE profiles for the file transfer chapter below for instructions on how to configure the YADE configuration filetitle Integrate 2 and 3 in 1?
Show If | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
|
Info | ||
---|---|---|
| ||
|
JobScheduler Jobs
Show If | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
|
AgentBatchInstaller
job: adjust JobAgentBatchInstaller:
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 Having configured the XML configuration files and the JobScheduler jobs , the Agents can be installedhave 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 JobScheduler job From to open the context menu.
- Select the use the operation:
Start task immediately
operation. - This job will create different the appropriate JobScheduler orders as explained in the chapter and the Agent installation installation.
Show If | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
#4 -
|
Example: Installation of two Agents
The following example explains describes the installation of two Agents for two servers, i.e. one Agent will be installed per serveron separate servers.
Anchor | ||||
---|---|---|---|---|
|
...