24x7 Scheduler Multi-platform Edition 5.2



Similar documents
JAMF Software Server Installation Guide for Linux. Version 8.6

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

ConcourseSuite 7.0. Installation, Setup, Maintenance, and Upgrade

Installing and Running Tomcat 5.5

DB Audit Expert 3.1. Performance Auditing Add-on Version 1.1 for Microsoft SQL Server 2000 & 2005

Tcat Server User s Guide. Version 6 R2 December 2009

JAMF Software Server Installation Guide for Windows. Version 8.6

Offsite Backup. Installation and Upgrade Guide

24x7 Scheduler Web-based Management Console User's Guide Version 5.2

Oracle Product Data Quality

IUCLID 5 Guidance and support. Installation Guide Distributed Version. Linux - Apache Tomcat - PostgreSQL

QuickStart Guide for Managing Computers. Version 9.2

Installation Guide for contineo

Prerequisites and Configuration Guide

Application Servers - BEA WebLogic. Installing the Application Server

QuickDNS 4.6 Installation Instructions

DocuShare Installation Guide

ArcGIS 9. Installing ArcIMS 9 on Red Hat Linux

Informatica Corporation Proactive Monitoring for PowerCenter Operations Version 3.0 Release Notes May 2014

Fuse ESB Enterprise Installation Guide

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

JAMF Software Server Installation and Configuration Guide for OS X. Version 9.0

VERSION 9.02 INSTALLATION GUIDE.

EMC Documentum Connector for Microsoft SharePoint

Hitachi Backup Services Manager Certified Configurations Guide 6.5

Verax Service Desk Installation Guide for UNIX and Windows

JAMF Software Server Installation and Configuration Guide for Linux. Version 9.2

JAMF Software Server Installation and Configuration Guide for OS X. Version 9.2

JAMF Software Server Installation and Configuration Guide for Linux. Version 9.0

Ahsay Replication Server v5.5. Administrator s Guide. Ahsay TM Online Backup - Development Department

Kony MobileFabric. Sync Windows Installation Manual - WebSphere. On-Premises. Release 6.5. Document Relevance and Accuracy

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

Automated Process Center Installation and Configuration Guide for UNIX

GoAnywhere Director to GoAnywhere MFT Upgrade Guide. Version: Publication Date: 07/09/2015

Using the Adobe Access Server for Protected Streaming

Canto Integration Platform (CIP)

JAMF Software Server Installation and Configuration Guide for Windows. Version 9.3

Install guide for Websphere 7.0

DocuShare Installation Guide

HP Business Availability Center


Ahsay Offsite Backup Server v5.x. Installation and Upgrade Guide. Ahsay TM Online Backup - Development Department

RemoteTM Web Server User Guide. Copyright Maxprograms

WebCT 3.7 Campus Edition System Administrator s Guide. Technical Communications

Job Management Partner 1/Performance Management - Remote Monitor for Virtual Machine Description, User's Guide and Reference

CA Business Intelligence

SWsoft Plesk 8.2 for Linux/Unix Backup and Restore Utilities. Administrator's Guide

Server Monitoring. AppDynamics Pro Documentation. Version Page 1

NGASI Shared-Runtime Manager Administration and User Guide WebAppShowcase DBA NGASI

SMART Vantage. Installation guide

IBM WebSphere Application Server Version 7.0

BMC Remedy Integration Guide

What is Aconex Local Copy? Controlling Access to a Datastore Hardware Requirements Software Requirements Installing Aconex Local Copy Troubleshooting

Polarion Application Lifecycle Management Platform. Installation Guide for Microsoft Windows

TIBCO ActiveMatrix BusinessWorks Process Monitor Server. Installation

Volume SYSLOG JUNCTION. User s Guide. User s Guide

v5.2 Installation Guide for Websense Enterprise v5.2 Embedded on Cisco Content Engine

SIEMENS. Teamcenter Windows Server Installation PLM

Ahsay Offsite Backup Server and Ahsay Replication Server


SWsoft Plesk 8.3 for Linux/Unix Backup and Restore Utilities

enicq 5 System Administrator s Guide

Installation and Deployment

Secure Messaging Server Console... 2

BACKITUP Online. Error Codes & Fixes

CORISECIO. Quick Installation Guide Open XML Gateway

TIBCO Hawk SNMP Adapter Installation

Deploying Intellicus Portal on IBM WebSphere

DameWare Server. Administrator Guide

CA SiteMinder. Web Agent Installation Guide for Apache-based Servers 12.51

Quark Publishing Platform 9.5 ReadMe

Installation Notes for Outpost Network Security (ONS) version 3.2

Metalogix SharePoint Backup. Advanced Installation Guide. Publication Date: August 24, 2015

Installation Guide. SAP Control Center 3.3

Oracle Fusion Middleware 11gR2: Forms, and Reports ( ) Certification with SUSE Linux Enterprise Server 11 SP2 (GM) x86_64

Readme File for All Platforms

EMC Documentum Content Services for SAP Repository Manager

Core Protection for Virtual Machines 1

PN Connect:Enterprise Secure FTP Client Release Notes Version

Envinsa INSTALL GUIDE. Version 4.1. For WebSphere Application Servers

How To Install An Aneka Cloud On A Windows 7 Computer (For Free)

IUCLID 5 Guidance and Support

Migrating helpdesk to a new server

Parallels Containers for Windows 6.0

Compiere ERP & CRM Installation Instructions Windows System - EnterpriseDB

Installation and Administration Guide

Oracle Fusion Middleware. 1 Oracle Team Productivity Center Server System Requirements. 2 Installing the Oracle Team Productivity Center Server

Rev 7 06-OCT Site Manager Installation Guide

DeskNow. Ventia Pty. Ltd. Advanced setup. Version : 3.2 Date : 4 January 2007

Xpresstransfer Online Backup Manager General Technical FAQ

Embarcadero Performance Center 2.7 Installation Guide

KINETIC SR (Survey and Request)

OnCommand Performance Manager 1.1

Plesk 8.3 for Linux/Unix System Monitoring Module Administrator's Guide

Ekran System Help File

TIBCO Administrator User s Guide. Software Release March 2012

Novell Access Manager

Oracle Endeca Information Discovery Integrator

Transcription:

24x7 Scheduler Multi-platform Edition 5.2 Installing and Using 24x7 Web-Based Management Console with Apache Tomcat web server Copyright SoftTree Technologies, Inc. 2004-2014 All rights reserved

Table of Contents Table of Contents ABOUT THIS GUIDE... 4 CONVENTIONS USED IN THIS DOCUMENT... 4 ABBREVIATIONS AND TERMS... 4 TRADEMARKS... 4 MINIMUM REQUIREMENTS... 5 SOFTWARE... 5 HARDWARE... 5 APACHE TOMCAT INSTALLATION... 5 CONFIGURING WEB SERVER... 6 STARTING WEB SERVER... 6 STOPPING WEB SERVER... 7 24X7 WEB-BASED CONSOLE INSTALLATION... 7 LOCAL INSTALLATION... 7 REMOTE INSTALLATION... 8 UPGRADING EXISTING INSTALLATION... 8 STARTING 24X7 WEB-BASED CONSOLE... 9 TROUBLESHOOTING... 9 24x7 Scheduler 3

About This Guide This reference describes how to install, configure and run 24x7 Web-based Management Console with Apache Tomcat Servlet/JSP Container on all supported operating systems. This reference contains information for experienced users of the 24x7 Scheduler and assumes that you understand basic concepts of your operation system. Conventions Used in This Document This section describes the style conventions used in this document. Italic An italic font is used for filenames, URLs, emphasized text, and the first usage of technical terms. Monospace A monospaced font is used for code fragments and data elements. Bold A bold font is used for important messages, names of options, names of controls and menu items, and keys. Graphical marks - This mark is used to indicate product specific options and issues and to mark useful tips. - This mark is used to indicate important notes. Abbreviations and Terms This guide uses common abbreviations for many widely used technical terms including FTP, HTTP, RAS, SQL, DBMS, SSH and other. Trademarks 24x7 Automation Suite, 24x7 Scheduler, 24x7 Event Server, DB Audit, DB Audit Expert, DB Mail, DB Tools for Oracle are trademarks of SoftTree Technologies, Inc. Apache Tomcat is a trademark of the Apache Software Foundation. Windows NT, Windows 2000, Windows XP are registered trademarks of Microsoft Corporation. UNIX is registered trademark of the X/Open Consortium. Sun, SunOS, Solaris, SPARC, Java are trademarks or registered trademarks of Sun Microsystems, Inc. Ultrix, Digital UNIX and DEC are trademarks of Digital Equipment Corporation. HP-UX is a trademark of Hewlett-Packard Co. IRIX is a trademark of Silicon Graphics, Inc. AIX is a trademark of International Business Machines, Inc. AT&T is a trademark of American Telephone and Telegraph, Inc. All other trademarks appearing in this document are trademarks of their respective owners. All rights reserved. 24x7 Scheduler 4

Minimum Requirements Software 1. 24x7 Scheduler Multi-platform Edition v4.0 or better, version 5.1 is recommended 2. Java Development Kit (JDK) JAVA_HOME environment variable must be set to the pathname of the directory into which you installed the JDK release. 3. Apache Tomcat Servlet/JSP Container (web server) version 5.0 or better. 4. 24x7 Web-based Management Console JSP version Important Notes: 24x7 Web-based Management Console is optimized for use with 24x7 Scheduler Multi-platform Edition v5.1. While it can be used with other versions, not all console features might be available when working with older scheduler versions. Hardware 1. Windows, Mac OS X, Linux or UNIX system capable of running Apache Tomcat web-server. See http://tomcat.apache.org/ for specific requirement 2. 1.5 MB free disk space for the 24x7 Web-based Console and 4 MB free disk space for compiled JSP files and temporary files. 3. 512 MB RAM or better. Actual amount may vary for different operation systems and Tomcat versions. Apache Tomcat Installation Apache Tomcat Servlet/JSP Container version 5.0 or better can be used to run 24x7 Web-based Management Console. If you don't have Apache Tomcat installed, use the following 3 simple steps to download and install this software package: 1. Download and install the Tomcat Binary Distribution (either.zip or TGZ file) from http://tomcat.apache.org/ Make sure to select version 5.0 or later. 2. Save the downloaded file into a temporary directory. The downloaded file name will have a name like jakarta-tomcat-[version].zip where [version] will be replaced with the Tomcat version number, for example, jakarta-tomcat-5.0.28.zip Important Notes: In order to run the Tomcat web-server and the 24x7 Web-based Console you must have JDK 1.5 installed on the computer where the Tomcat web server will run. JDK 1.5 is required for Tomcat versions 5.5, JDK version 1.6 is required for Tomcat 6 and above. If you don't have it, download the required JDK from http://java.sun.com/j2se/. Install the JDK according to the instructions included with the release. 24x7 Scheduler 5

Make sure JAVA_HOME environment variable is set to the pathname of the directory into which you installed the JDK release. See your operation system manual or search the web for instructions on setting environment variables. 3. After Tomcat Binary Distribution is downloaded, unzip it to the directory where you want the web-server to reside. The web server is now ready to be started Tips: Further information about configuring and running Tomcat can be found in the documentation included here with the package, as well as on the Tomcat web site http://jakarta.apache.org/tomcat/ Configuring Web Server The following changes in the default Tomcat configuration are recommended for running 24x7 web console 1. Change connectiontimeout parameter: Locate [Tomcat directory]/conf/server.xml file. Open this file in text editor and search connectiontimeout. Change this value to 2000000000. Here an example fragment of server.xml with this change. <Connector port="8080" protocol="http/1.1" connectiontimeout="2000000000" redirectport="8443" /> 2. Set the start and maximum heap size for Tomcat server. set CATALINA_OPTS=-Xms256m -Xmx512m (Windows) export CATALINA_OPTS="-Xms256m -Xmx512m" (UNIX, Linux, Mac OS X) It is recommended that you add this command to the web server's startup file or set it as a global environment variable to make this configuration change permanent. See the next topic for details on where to locate startup.bat/sh file. Starting Web Server Tomcat web server can be started by executing the following commands: [Tomcat directory]\bin\startup.bat (Windows) [Tomcat directory]/bin/startup.sh (UNIX, Linux, Mac OS X) On Windows platforms, Tomcat can be installed and a run as a Windows service. In the latest case you do not need to use startup.bat. The service is started automatically for you. After startup, the default Tomcat instance will be available by visiting http://localhost:8080/ Important Notes: The default port used by Tomcat is port 8080 which it will be trying to bind on startup. In case if you have another web server or any other process using that port the Tomcat server will fail to start properly. To avoid that conflict configure Tomcat to some other port number. Edit [Tomcat directory]/conf/server.xml file and replace 8080 with some other port number which is not in use, for example, 8081. Restart Tomcat. If changes are 24x7 Scheduler 6

made correctly the Tomcat instance will be available by visiting http://localhost:8081/ or whatever you have entered as the new port number. Stopping Web Server Tomcat web server can be stopped by executing the following commands: [Tomcat directory]\bin\shutdown.bat (Windows) [Tomcat directory]/bin/shutdown.sh (UNIX, Linux, Mac OS X) 24x7 Web-based Console Installation Local Installation Use the following simple steps to install 24x7 Web-based Console: 1. FTP or copy 24x7 Web-based Console web archive file jwi24x7_nnn.war file to the computer running Tomcat. Here "nnn" represents numeric build number for the console. Rename the downloader file to scheduler.war 2. Deploy 24x7 Web-based Console to the Tomcat web server. Several deployment methods are available. The following paragraphs describe 3 simple methods. Please note that third methods seems to be easier it requires Tomcat restart which might be unacceptable if you use Tomcat with other applications. Method 1 (recommended; requires Tomcat 5.0 or later ) using the Tomcat's web application auto-deployment features: Copy scheduler.war to webapps directory. Wait for 10 seconds while Tomcat deploys the console application. That's it. Method 2 (can be used with Tomcat 5.x in case the auto-deployment features are disabled using the Tomcat's web application deployment tool or "Manager" application: The application deployment tool is available starting with Tomcat version 5, the "Manager" tool is available in most versions. Because of that we will review the latest method. (a) Deploy the console application using the manager tool by entering the following URL into your web browser http://localhost:8080/manager/deploy?path=/scheduler&war=jar:file:/path_to_war/scheduler.war!/ Here "path_to_ war" substring needs to be replaced with the absolute path to the directory where you have copied scheduler.war file. if the deployment process completes successfully, you will see a web page with the following contents: OK - Deployed application at context path /scheduler 24x7 Scheduler 7

Important Notes: The Tomcat Manager web-application may prompt you to enter user id and password. You must enter user and password that you have entered in the Tomcat tomcat-users.xml configuration file. If you haven't setup this file yet, edit [Tomcat directory]/conf/tomcat-users.xml with any text editor. This file contains an XML <user> for each individual user, which might look something like this: <?xml version='1.0' encoding='utf-8'?> <tomcat-users> <role rolename="tomcat"/> <role rolename="standard"/> <role rolename="manager"/> <user username="tomcat" password="tomcat" roles="tomcat"/> <user name="john" password="secret" roles="standard,manager"/> </tomcat-users> To enable access to the Manager web-application, you must either create a new username/password combination and associate the role name manager with it, or add the manager role to some existing username/password combination as in example above. Method 3 manual installation using the file system (can be used with all Tomcat versions): (a) Rename scheduler.war to scheduler.zip and then unzip it to the [Tomcat directory]/webapps/scheduler directory. Be sure to unzip using Restore Folder Names option. (b) Restart Tomcat. Tomcat will automatically find the new web application, register it and start. To restart Tomcat you can use stop shutdown and startup commands described in the previous topics. 3. You can test the console is running by entering the following URL into your web browser http://localhost:8080/scheduler Remote Installation You will need to perform same basic steps that have been described in the Local Installation topic but in all URLs replace word "localserver" with the name of your web server computer, for example, http://yourwebserver:8080/manager/deploy?path=/scheduler&war=jar:file:/path_to_war/jwi24x7.war!/ Upgrading Existing Installation Method 1 using the Tomcat web application deployment tool or "Manager" application: (a) Undeploy the old version using the following command: http://localhost:8080/manager/undeploy?path=/scheduler 24x7 Scheduler 8

or if doing it remotely http://yourwebserver:8080/manager/undeploy?path=/scheduler (b) Deploy the new version as described in the "Installation" topic. Method 2 manual installation using the file system: Stop the console web-application using the following command: http://localhost:8080/manager/stop?path=/scheduler or if doing it remotely http://yourwebserver:8080/manager/stop?path=/scheduler (a) Copy or FTP scheduler.war to [Tomcat directory]/webapps directory overwriting the existing file. (b) Clear Tomcat cache for the application, deleting [Tomcat directory]/work/catalina/localhost/scheduler directory. (c) Restart the application as described in the following topic. Starting 24x7 Web-based Console Normally after the deployment Tomcat automatically starts 24x7 Web-based Console. If for whatever reason it was stopped you can restart it using the following command: http://localhost:8080/manager/start?path=/scheduler You can test the console is running by using the following URL: http://localhost:8080/scheduler or if you are doing it remotely http://yourwebserver:8080/scheduler Troubleshooting Why do I get the error "Bind exception: Address already in use" when I try to startup Tomcat? The most probable reason is that you have an application conflict, in other words, an instance of Tomcat or some other application is already active in your system and using the default Tomcat port number 8080. To avoid that conflict configure Tomcat to some other port number. Edit [Tomcat directory]/conf/server.xml file and replace 8080 with some other port number which is not in use, for example, 8081. Restart Tomcat. If changes are made correctly the Tomcat instance will be available by visiting http://localhost:8081/ or whatever you have entered as the new port number. Why does the memory usage increase when I redeploy 24x7 Web-based Console? 24x7 Scheduler 9

Because the Tomcat's Classloader (and the Class objects it loaded) cannot be recycled. They are stored in the permanent heap generation by the JVM, and when you redeploy 24x7 web-based console a new class loader is created, which loads another copy of all these classes. This can eventually cause OufOfMemoryErrors errors. Restart Tomcat server to avoid dealing with this issue. Why does Tomcat hang after starting on a Linux computer? The most likely cause of such hang is the incompatibility of JDK with the new implementation of POSIX library on Red Hat Linux Systems. Multithreading applications like application servers are likely to face threading issues when using the new NPTL implementation on Linux. To fix this issue, an environment variable LD_ASSUME_KERNEL needs to be exported before starting Tomcat. Add the following line to Tomcat's startup.sh script. export LD_ASSUME_KERNEL=2.4.1 Why do I get "404 Error page not found" while running 24x7 Web-based Console? The most likely cause of such error is that some console files have been deleted from the deployment directory or haven't been installed. Try redeploying the application as described in the "Upgrading existing installation" topic. Why do I get "Connection denied" error when logging into the 24x7 Web-based Console? There are 4 likely causes: The Remote Control option has not been enabled in the 24x7 Scheduler settings. If you are running 24x7 Scheduler Windows Edition ensure the Master mode (the "distributed network mode" option) has been enabled. The 24x7 Scheduler doesn't run under privileged user account as a result is unable to authenticate the provided user credentials with the host operation system The security system has been enabled in the 24x7 Scheduler but the provided user is not added to a privileged group or unknown to the scheduler If you have a firewall between the web server and the scheduler computer, the firewall blocks TCP port used by the console and the scheduler for communications. (24x7 Scheduler Multi-platform Edition by default uses port 1097 while 24x7 Scheduler for windows uses port 1096). Be sure to open that port in the firewall for the network traffic flowing between the web server and the scheduling server computers. 24x7 Scheduler 10