Table of Contents |
---|
Introduction
The JobScheduler Universal This article is one of a series describing how to configure the JobScheduler Universal Agent Batch Installer provides a solution that allows a JobScheduler Master to install so that a number of Universal Agents on multiple can be readily installed on a number of servers.
Article Scope
This article is one of a series describing the use of the JobScheduler describes how to use the Universal Agent Batch Installer in a number of environments in - this case to install Agents in a heterogeneous environment. The other articles Other use cases in this series of articles are listed in the introductory JobScheduler Universal Agent - Batch Installation and Update of Agents article.
A general introduction to installation of the JobScheduler Universal Agent can be found in the JobScheduler Universal Agent - Installation & Operation article.
The JobScheduler Universal Agent - Batch Installation and Update of Agents article provides an overview of how the Batch Installer works. New users are strongly recommended to read this article before proceeding with the instructions presented here.
The Batch Installation - Reference The Batch Installation - Reference Documentation article provides a detailed guide to configuration of the batch installer with, for example, full lists of parameters.
Installation Environment
This article describes the use of the JobScheduler Universal Agent Batch Installer in a heterogeneous environment. We define a heterogeneous environment as one in which a number of JobScheduler Agents will are to be installed according to different prerequisites:
- A JobScheduler Master is up and running.
- The Agent installations are to be performed on any number of servers that do not have to have the same operating system. One Agent is to be installed per server.
- The Agents will be operated with different users, listening ports and installation paths.
The Batch Installer supports:
Installation Procedure
General requirements:
- A JobScheduler Master is
- First Installation: an Agent has not yet been installed on the server.
- Update Installation: an Agent has already been installed and may be up and running.
...
Configuration
...
- A Java Run-time Environment in version 1.8 or newer is installed on the system(s) the Agent is to be installed on.
- We recommend that you use the SOS XML Editor to manage the configuration files required for the Batch Installer. More information about the installation and use of the XML editor will be provided later in this article.
1. Download and Extract the Batch Installer and Agent Files
The following steps have to be carried out. Files can be downloaded from http://www.sos-berlin.com/jobscheduler-downloads
- 1.1 Unix
- Download the "JobScheduler Universal Agent" tarball for Unix.
- Download the "Universal Agent Batch Installer". The archive contains the following folders and sub-folders:
live/batch_install_universal_agent
- This folder contains the Jobs and Job Chain used to carry out the installation.
- Extract these files to the the
live
folder of the JobScheduler Master:SCHEDULER_DATA/config/live
.
batch_install
- This folder contains the configuration files for the Batch Installer.
- Extract these files to the
config
directory of the JobScheduler Master:SCHEDULER_DATA
/config
.
- Copy the JobScheduler Universal Agent installation file to the
SCHEDULER_DATA/config/
batch_install
folder.
- 1.2 Windows
- Download the "JobScheduler Universal Agent" for Windows.
- Download the "Universal Agent Batch Installer". The archive contains the following folders and sub-folders
- the
live/batch_install_universal_agent
folder- This folder contains the Jobs and Job Chain used to carry out the installation.
- Extract these files to the
live
folder of the JobScheduler MasterSCHEDULER_DATA/config/live
.
- the
batch_install
folder- This folder contains the configuration files for the Batch Installer.
- Extract these files to the JobScheduler configuration directory
SCHEDULER_DATA/config
.
- the
- Copy the JobScheduler Universal Agent installation file to the folder
SCHEDULER_DATA/config/
batch_instal
folderl
.
2. Configure the Transfer of the Universal Agent Installation Files and the Installation of the Agents
2.1 Edit the XML Configuration files
Configuring complex XML files with a text editor is often a tedious and error-prone procedure. To get around this, we recommend that you use our XML Editor to manage the configuration files required for the Batch Installer. The XML Editor automatically validates configuration files and therefore reduces the possibility of configuration errors. See the Using the XML Editor chapter below for more detailed information about using the XML Editor.
- 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 the
sos.xml.editor.exe
program. program. - Use the XML Editor to configure transfer of the Universal Agent installation files:
- Open
- your
yade_agent_batch_installer_settings.xml
- YADE configuration
file, which is located in
- the
config/batch_installer
- folder and assign the
- following schema in the XML Editor:
- See the YADE profiles for the file transfer chapter below for instructions on how to configure the YADE configuration file.
- Use the XML Editor to configure the installation of the Universal Agents:
- 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.
- See the Batch Installer Configuration File chapter below for instructions on how to configure the Batch Installer configuration file.
- Open your
Info | ||
---|---|---|
| ||
|
2.2 Configure the JobScheduler Jobs
Carry out the following once the job and job chain Once the Job and Job Chain have been extracted to the the live
folder folder of your JobScheduler Master carry out the following:
AgentBatchInstaller
J
ob:- Set
AgentBatchInstaller
job: adjust- the parameter values for the
AgentBatchInstaller
job in your JobScheduler Master. Set the
installation_definition_file
job parameter to point the path that points to the Batch Installer configuration file.
3 Installation of the Agents
The Agents can be installed after the XML configuration files and JobScheduler jobs Jobs have been configured. Start a task for the AgentBatchInstaller
AgentBatchInstaller
job as follows:
- Open a JobScheduler Operating Center (JOC) browser window for the JobScheduler master.
- Go on the "Jobs" Window and open the "batch_installer_universal_agent" folder.
- Right click on the job to open the context menu.
- Select the
Start task immediately
operation operation. - This job will create the appropriate Orders for the JobScheduler orders
- as explained in the chapter
- description of the Batch Installer Application.
Example: Installation of two Agents
...