JobScheduler Installation by Copying



Similar documents
JobScheduler - Amazon AMI Installation

JobScheduler - Installation Guide

JobScheduler Security

JobScheduler Web Services Executing JobScheduler commands

MySQL Job Scheduling

CrontabFile Converter

JobScheduler and Script Languages

JobScheduler - Quickstart

How To Use The Jobscheduler On A Linux Box (Jid) On A Pcode (Jio) Or Macbook 2.2 On A Microsoft Powerbook 2 (For A Freebie

JobScheduler Events Definition and Processing

Magento Search Extension TECHNICAL DOCUMENTATION

Simba XMLA Provider for Oracle OLAP 2.0. Linux Administration Guide. Simba Technologies Inc. April 23, 2013

Fuse ESB Enterprise Installation Guide

IGEL Universal Management. Installation Guide

Eclipse installation, configuration and operation

Sage HRMS 2014 Sage Employee Self Service Tech Installation Guide for Windows 2003, 2008, and October 2013

Predictive Analytics Client

Kognitio Technote Kognitio v8.x Hadoop Connector Setup

MIGS Payment Client Installation Guide. EGate User Manual

JobScheduler. Architecture and Mode of Operation. Software for Open Source

This guide consists of the following two chapters and an appendix. Chapter 1 Installing ETERNUSmgr This chapter describes how to install ETERNUSmgr.

Installation, Configuration and Administration Guide

Novell Access Manager

JOB SCHEDULER. Managed Jobs. Technical Documentation March Job Automation

LAE 5.1. Windows Server Installation Guide. Version 1.0

HP AppPulse Active. Software Version: 2.2. Real Device Monitoring For AppPulse Active

FirstClass Synchronization Services 12 Release Notes Windows Version

24x7 Scheduler Multi-platform Edition 5.2

IBM WebSphere Application Server V8.5 lab Basic Liberty profile administration using the job manager

AklaBox. The Ultimate Document Platform for your Cloud Infrastructure. Installation Guideline

Polarion Application Lifecycle Management Platform. Installation Guide for Microsoft Windows

CA Spectrum and CA Service Desk

VERSION 9.02 INSTALLATION GUIDE.

How To Install Outlook Addin On A 32 Bit Computer

TIBCO ActiveMatrix BusinessWorks Plug-in for TIBCO Managed File Transfer Software Installation

Architecture and Mode of Operation

User Manual - Help Utility Download MMPCT. (Mission Mode Project Commercial Taxes) User Manual Help-Utility

Release Date May 10, Adeptia Inc. 443 North Clark Ave, Suite 350 Chicago, IL 60654, USA

Ahsay Offsite Backup Server and Ahsay Replication Server

V6 Client Deployment Preparation Check List

Apache Directory Studio. User's Guide

Compiere ERP & CRM Installation Instructions Linux System - EnterpriseDB

Deploying EMC Documentum WDK Applications with IBM WebSEAL as a Reverse Proxy

Project management integrated into Outlook

insync Installation Guide

Installing BIRT Analytics 4.4

Canto Integration Platform (CIP)

Automating client deployment

Tcat Server User s Guide. Version 6 R2 December 2009

HP Cloud Service Automation

Symantec LiveUpdate Administrator. Getting Started Guide

Application Servers - BEA WebLogic. Installing the Application Server

Setting Up SSL on IIS6 for MEGA Advisor

Installation & Activation Guide. Lepide Active Directory Self Service

StreamServe Persuasion SP5 Control Center

Novell ZENworks 10 Configuration Management SP3

Monitoring Oracle Enterprise Performance Management System Release Deployments from Oracle Enterprise Manager 12c

Forms Printer User Guide

Instant Chime for IBM Sametime For IBM Websphere and IBM DB2 Installation Guide

Upgrading Your Web Server from ClientBase Browser Version 2.0 or Above to Version 2.1.1

What's New in BlackBerry Enterprise Server 5.0 SP4 for Novell GroupWise

OnCommand Performance Manager 1.1

EMC Clinical Archiving

Install BA Server with Your Own BA Repository

EventTracker: Configuring DLA Extension for AWStats Report AWStats Reports

Virtual CD v10. Network Management Server Manual. H+H Software GmbH

Server Monitoring. AppDynamics Pro Documentation. Version Page 1

ACTIVE DIRECTORY DEPLOYMENT

Topaz Installation Sheet

Project management integrated into Outlook

Witango Application Server 6. Installation Guide for Windows

Customer Tips. Xerox Network Scanning HTTP/HTTPS Configuration using Microsoft IIS. for the user. Purpose. Background

Upgrade Guide. Product Version: Publication Date: 02/11/2015

Witango Application Server 6. Installation Guide for OS X

Siebel Installation Guide for UNIX. Siebel Innovation Pack 2013 Version 8.1/8.2, Rev. A April 2014

Upgrading From PDI 4.0 to 4.1.0

Project management integrated into Outlook

Matisse Installation Guide for MS Windows

Wolfr am Lightweight Grid M TM anager USER GUIDE

SAP HANA Client Installation and Update Guide

How to - Install EventTracker and Change Audit Agent

FileMaker Server 14. Network Install Setup Guide

EMC Documentum Content Management Interoperability Services

Crystal Server Upgrade Guide SAP Crystal Server 2013

Acronis Backup & Recovery 11.5 Quick Start Guide

ServletExec TM 6.0 Installation Guide. for Microsoft Internet Information Server SunONE Web Server Sun Java System Web Server and Apache HTTP Server

XenClient Enterprise Synchronizer Installation Guide

Practice Fusion API Client Installation Guide for Windows

ADAM 5.5. System Requirements

EventTracker: Configuring DLA Extension for AWStats report AWStats Reports

DevTest Solutions. Local License Server. Version 2.1.2

Sentinel Protection Installer Version (Windows) ReadMe

ITG Software Engineering

Milestone Systems Software Manager 1.5. Administrator's Manual

Installation Guide. MashZone. Version 9.6

IBM WEBSPHERE LOAD BALANCING SUPPORT FOR EMC DOCUMENTUM WDK/WEBTOP IN A CLUSTERED ENVIRONMENT

System Planning, Deployment, and Best Practices Guide

PMOD Installation on Linux Systems

FirstClass Synchronization Services Install Guide

ZeroTurnaround License Server User Manual 1.4.0

Transcription:

JobScheduler - Job Execution and Scheduling System JobScheduler Installation by Copying Deployment of multiple JobSchedulers on distributed servers by copying a template JobScheduler March 2015 March 2015 JobScheduler page: 1

JobScheduler - Contact Information Contact Information Software- und Organisations-Service GmbH Giesebrechtstr. 15 D-10629 Berlin Germany Telephone +49 (0)30 86 47 90-0 Telefax +49 (0)30 8 61 33 35 Mail info@sos-berlin.com Web http://www.sos-berlin.com Last Updated: 03/13/2015 12:03 PM This documentation is based on JobScheduler Version 1.7.4169. Copyright 2005-2015 SOS GmbH Berlin. All rights reserved. All trademarks or registered trademarks are the property of their respective holders. All information and materials in this book are provided "as is" and without warranty of any kind. All information in this document is subject to change without further notice. This product includes software developed by the Apache Software Foundation (http://apache.org/) We would appreciate any feedback you have, or suggestions for changes and improvements; please forward your comments to info@sos-berlin.com. March 2015 JobScheduler page: 2

JobScheduler - Table of Contents Table of Contents 1 Introduction.................................................................................................. 4 2 Install Java................................................................................................... 5 3 Installation of the "template" JobScheduler................................................................. 6 3.1 Installation path........................................................................................... 6 3.1.1 Linux................................................................................................6 3.1.2 Microsoft Windows................................................................................ 6 3.2 Database................................................................................................. 7 3.3 JobScheduler-Port, Jetty-Ports............................................................................ 7 4 Prepare the Template JobScheduler for Cloning............................................................ 8 4.1 Add the Java Runtime Environment (JRE)............................................................... 8 4.2 Set up the./config/sos.ini for Microsoft Windows........................................................8 4.3 Set up the./user_bin/jobscheduler_environment_variables.(sh cmd)....................................... 8 4.3.1 Linux................................................................................................9 4.3.2 Microsoft Windows............................................................................... 10 5 Cloning..................................................................................................... 11 5.1 Linux...................................................................................................11 5.2 Microsoft Windows....................................................................................11 March 2015 JobScheduler page: 3

JobScheduler - Introduction 1 Introduction This document describes how to install a JobScheduler by copying/cloning a template JobScheduler. This procedure should assist the deployment of JobSchedulers on multiple servers. You start this procedure by installing the JobScheduler that will be used as the template for the others using the normal setup procedure. This JobScheduler should include the Java Runtime Environment (JRE). Note that the copied/cloned JobSchedulers will use the same database as the template. It is important to ensure that the clones have a unique JobScheduler-ID and use the template Java Runtime Environment (JRE). In addition, some modifications have to be made to the template JobScheduler's file system: the modifications required depend on the operating system: On Microsoft Windows systems a script has to be started after copying the template in order to install the service and to generate the shortcuts and symlinks. On Linux systems the cloned JobScheduler should have the same user as the template JobScheduler, nothing else needs to be configured after cloning. March 2015 JobScheduler page: 4

JobScheduler - Install Java 2 Install Java A version of Oracle Database's Java Runtime Environment (JRE) 7 that can be installed on both Microsoft Windows and Linux systems without using a setup (.exe) or rpm call is used. Such Java Runtime Environment (JRE) versions are available as archives and only need to be unpacked into a suitable folder. They can be downloaded from Oracle Database's web-site and can be easily recognised by their ".tar.gz" extension (see Oracle - JRE Downloads). Such a tar.gz Java Runtime Environment (JRE) should be "installed" alongside the template JobScheduler so that the Java Runtime Environment (JRE) can be included in the template JobScheduler during cloning. At this stage in the cloning procedure, simply unpack the tar.gz Java Runtime Environment (JRE) archive to any folder on the template JobScheduler server. Ensure that Java Runtime Environment (JRE) version you download has the same number of bits (i.e. 32 or 64) as the template JobScheduler. March 2015 JobScheduler page: 5

JobScheduler - Installation of the "template" JobScheduler 3 Installation of the "template" JobScheduler Install the template JobScheduler using the standard JobScheduler setup. See the Installation Guide. 3.1 Installation path Two directories are set during the JobScheduler installation procedure ($SCHEDULER_HOME and $SCHEDULER_DATA). These have to be KEPT IDENTICAL for the installation of the template JobScheduler. Note that $SCHEDULER_HOME will be used in the rest of this document to refer to both installation directories. 3.1.1 Linux We recommend that you create a user such as "jobscheduler" to carry out the installation. Use this user - without root permissions - (./setup.sh -u) and set the $HOME directory as the installation directory. If the tar.gz Java Runtime Environment (JRE) described above is the only Java Runtime Environment (JRE) on the template JobScheduler server, then you will need to set the PATH environment variable before starting the set-up at the command line. > export PATH=/path/to/java/bin:$PATH >./setup.sh -u Example: Set $PATH before setup on Linux Note that the Java Runtime Environment (JRE) used during the setup will not affect the use of the tar.gz Java Runtime Environment (JRE) by the template and clone JobSchedulers later on. 3.1.2 Microsoft Windows Do not install the JobScheduler in the Program Files folder, as files will have to be modified after installation. Use of the Program Files folder makes modifications more difficult as administrator permissions are required to make changes to files installed in this folder. In addition, after installation the JobScheduler may have insufficient permissions for writing, for example, log files. If the tar.gz Java Runtime Environment (JRE) described above is the only Java Runtime Environment (JRE) on the template JobScheduler server, then you will need to set the Path environment variable before starting the set-up at the command line. > set Path=c:\path\to\java\bin;%Path% > setup.cmd Example: Set %Path% before setup on Microsoft Windows Note that the Java Runtime Environment (JRE) used during the setup will not affect the use of the tar.gz Java Runtime Environment (JRE) by the template and clone JobSchedulers later on. March 2015 JobScheduler page: 6

JobScheduler - Installation of the "template" JobScheduler 3.2 Database All the cloned JobSchedulers will use the same database. Configure the database on the template JobScheduler server before installing the template JobScheduler and enter the necessary database connection as described in the database configuration chapter of our JobScheduler Installation Guide. 3.3 JobScheduler-Port, Jetty-Ports All cloned JobSchedulers will use the same ports later on. The default port for JobScheduler is 4444 and the default for Jetty is 44440 for http and 8443 for https. It is assumed that no other JobScheduler or other applications that use these ports will be installed on the target servers. Note that if these default ports are not free, it is important to ensure that the ports selected are available on all target servers. March 2015 JobScheduler page: 7

JobScheduler - Prepare the Template JobScheduler for Cloning 4 Prepare the Template JobScheduler for Cloning A number of simple manual changes are required before the template JobScheduler can be cloned. The clones require a unique JobScheduler ID, a flexible installation path and the "correct" Java Runtime Environment (JRE). This means that the Java Runtime Environment (JRE) described above has to be added to the installation directory and either 1 or 2 (depending on the OS) files are modified. The files to be modified are: $SCHEDULER_HOME/config/sos.ini (for Microsoft Windows ) $SCHEDULER_HOME/user_bin/jobscheduler_environment_variables.cmd (for Microsoft Windows ) $SCHEDULER_HOME/user_bin/jobscheduler_environment_variables.sh (for Linux ) 4.1 Add the Java Runtime Environment (JRE) In order to include the Java Runtime Environment (JRE) with the template JobScheduler, the Java Runtime Environment (JRE) should either be moved or unpacked in the $SCHEDULER_HOME folder. You will now have a $SCHEDULER_HOME/jre[version] directory (for example: $SCHEDULER_HOME/jre1.7.0_40). Rename this directory $SCHEDULER_HOME/jre, to enable you to update the Java Runtime Environment (JRE) environment without having to change anything in the other files of the template JobScheduler. 4.2 Set up the./config/sos.ini for Microsoft Windows JobScheduler normally uses the registry to find the JVM. In addition, the $SCHEDULER_HOME/config/sos.ini file should be set so that JobScheduler uses the JVM in the $SCHEDULER_HOME/jre. This setting is to be found in the [java] section of the $SCHEDULER_HOME /config/sos.ini file vm = $SCHEDULER_HOME/jre/bin/client/jvm.dll Example: $SCHEDULER_HOME/config/sos.ini 4.3 Set up the./user_bin/jobscheduler_environment_variables.(sh cmd) Copy the $SCHEDULER_HOME/bin/jobscheduler_environment_variables.(sh cmd) to the $SCHEDULER_HOME /user_bin/. In this file you can configure a unique ID, a flexible installation path and the JAVA_HOME environment variable for JobScheduler, JobScheduler Object Editor (JOE) and JobScheduler Information Dashboard (JID). The flexible installation path ensures that the clone can be copied to any required location. March 2015 JobScheduler page: 8

JobScheduler - Prepare the Template JobScheduler for Cloning 4.3.1 Linux Modify the $SCHEDULER_HOME/user_bin/jobscheduler_environment_variables.sh as follows:... USER=`whoami` SCHEDULER_USER=jobscheduler # Installationpath is the parent folder of this script SCHEDULER_HOME="`dirname $0`" SCHEDULER_HOME="`dirname $SCHEDULER_HOME`" # SCHEDULER_HOME and SCHEDULER_DATA are identically SCHEDULER_DATA="$SCHEDULER_HOME" # JobScheduler ID has to be unique SCHEDULER_ID="$HOSTNAME.4444" # Set JAVA_HOME JAVA_HOME="$SCHEDULER_HOME/jre" # The following can retain unchanged SH="/bin/sh -c" LD_LIBRARY_PATH="$SCHEDULER_HOME/lib:/usr/local/lib:$JAVA_HOME/lib/i386:$JAVA_HOME/lib/i386/client:$JAVA_HOME/jre/lib/i 386:$JAVA_HOME/jre/lib/i386/client:$LD_LIBRARY_PATH" SOS_INI="$SCHEDULER_DATA/config/sos.ini" SCHEDULER_PID="$SCHEDULER_DATA/logs/scheduler.pid" SCHEDULER_INI="$SCHEDULER_DATA/config/factory.ini" SCHEDULER_CLUSTER_OPTIONS="" SCHEDULER_PARAMS="-service \"-id=$scheduler_id\" \"-sos.ini=$sos_ini\" \"-ini=$scheduler_ini\" \"-config=$scheduler_data/config/scheduler.xml\" \"-param=$scheduler_data\" \"-cd=$scheduler_data\" \"-include-path=$scheduler_data\"" SCHEDULER_START_PARAMS="$SCHEDULER_PARAMS \"-log-dir=$scheduler_data/logs\" \"-pid-file=$scheduler_pid\"" SCHEDULER_BIN="$SCHEDULER_HOME/bin/scheduler" SCHEDULER_SAFE="$SCHEDULER_HOME/bin/scheduler_safe.sh" export SCHEDULER_USER export SCHEDULER_HOME export SCHEDULER_DATA export SOS_INI export LD_LIBRARY_PATH export JAVA_HOME Example: $SCHEDULER_HOME/user_bin/jobscheduler_environment_variables.sh The unique dynamic ID is set using SCHEDULER_ID="$HOSTNAME.4444", where 4444 is the port of the template JobScheduler. This port can be found in the template JobScheduler's $SCHEDULER_HOME/config/scheduler.xml file. The $SCHEDULER_HOME/user_bin/jobscheduler_environment_variables.sh necessary then type has to be executable. If > chmod a+x./user_bin/jobscheduler_environment_variables.sh Example: set $SCHEDULER_HOME/user_bin/jobscheduler_environment_variables.sh executable March 2015 JobScheduler page: 9

JobScheduler - Prepare the Template JobScheduler for Cloning 4.3.2 Microsoft Windows Change the $SCHEDULER_HOME/user_bin/jobscheduler_environment_variables.cmd, as follows:... :begin rem Installationpath is the parent folder of this script set INSTALL_PATH=%~dp0 set INSTALL_PATH=%INSTALL_PATH:\user_bin\=% rem SCHEDULER_HOME and SCHEDULER_DATA are identically set APPDATA_PATH=%INSTALL_PATH% set SCHEDULER_HOME=%INSTALL_PATH:\=/% set SCHEDULER_DATA=%APPDATA_PATH:\=/% rem JobScheduler ID has to be unique set SCHEDULER_ID=%COMPUTERNAME%.4444 rem Set JAVA_HOME set JAVA_HOME=%INSTALL_PATH%\jre rem The following can retain unchanged set SOS_INI=%SCHEDULER_DATA%/config/sos.ini set SCHEDULER_INI=%SCHEDULER_DATA%/config/factory.ini set SCHEDULER_PID="%SCHEDULER_DATA%/logs/scheduler.pid" set SCHEDULER_CLUSTER_OPTIONS= set SCHEDULER_PARAMS=-id="%SCHEDULER_ID%" -sos.ini="%sos_ini%" -config="%scheduler_data%/config/scheduler.xml" -ini="%scheduler_ini%" -env="scheduler_home=%scheduler_home%" -env="scheduler_data=%scheduler_data%" -param="%scheduler_data%" -cd="%scheduler_data%" -include-path="%scheduler_data%" set SCHEDULER_START_PARAMS=%SCHEDULER_PARAMS% -log-dir="%scheduler_data%/logs" -pid-file=%scheduler_pid% set SCHEDULER_BIN="%INSTALL_PATH%\bin\scheduler.exe" Example: $SCHEDULER_HOME/user_bin/jobscheduler_environment_variables.cmd "set SCHEDULER_ID=%COMPUTERNAME%.4444" is used to set a unique, dynamic ID, where 4444 is the port of the template JobScheduler. This port can be determined from the $SCHEDULER_HOME/config/scheduler.xml file. March 2015 JobScheduler page: 10

JobScheduler - Cloning 5 Cloning After the changes described above have been made to the template JobScheduler, the whole $SCHEDULER_HOME directory can be packed in an archive and copied to another computer. The $SCHEDULER_HOME/db and $SCHEDULER_HOME/Uninstaller can be optionally deleted from the template JobScheduler. The uninstaller will not work in cloned JobSchedulers: cloned JobSchedulers have to be deleted manually (see JobScheduler Installation Guide). The $SCHEDULER_HOME/logs folder can also be emptied beforehand. Note that the clone requires read, write and execute permissions in the installation directory. 5.1 Linux On Linux systems the archive has to be unpacked by the user (e.g. "jobscheduler") that will use the JobScheduler. Note that a user with this name has to be configured on the target computer before the cloned JobScheduler is installed - as already described for the template JobScheduler. In addition, the clone has to be copied in the correct $HOME directory. The SCHEDULER_USER can be modified after cloning if required by modifying the $SCHEDULER_HOME /user_bin/jobscheduler_environment_variables.sh file as follows: SCHEDULER_USER=[otherUser] Example: $SCHEDULER_HOME/user_bin/jobscheduler_environment_variables.sh 5.2 Microsoft Windows The $SCHEDULER_HOME/install/create_service_symlinks_shortcuts.cmd script file should be executed after unpacking the archive. This script creates the necessary symlinks, checks the Java Runtime Environment (JRE) environment, creates shortcuts and installs and starts the JobScheduler service. Now you're ready! March 2015 JobScheduler page: 11