release notes | Book: 1.9.5, 1.9.12 (opt, FHS), 2.11 (FHS), 2.12 (FHS), 2.13 (FHS), 2.14 (FHS), | Wiki | Q&A black_bg
Web: Multi-page, Single page | PDF: A4-size, Letter-size | eBook: epub black_bg

Monitoring Installation

DRAFT

[return to top]

Scope of this document

This section briefly summarizes steps to install Monitoring for the Replica Manager. RM installation is described here the section called “Installation”. It’s meant as aide-memoire for people doing dCache packaging. The document is of very little use for dCache end users. You may find useful information on how to operate the Resilience Manager at the Resilient Manual.

Resilience Manager uses Tomcat to monitor its operation. This package is not required for normal RM operation, but it is highly desirable to install and run it to properly monitor RM.

[return to top]

Prerequisites

The PostgreSQL database must be installed and running on the machine hosting the replica manager module and DB schema must be initalized as described in RM installation instructions (Database Preparation). You will see something in the tables if Resilience Manager is running.

[return to top]

Tomcat Installation and Configuration

  • get the binary Tomcat distribution (currently version 5.5.x) from Apache Jakarta Tomcat website http://tomcat.apache.org/download-55.cgi#5.5.25 and install it folowing the instruction form the web site.

  • Tomcat uses port 8080 by default, but we have changed it to 8090 in the conf/server.xml file because 8080 is too popular — check this port and change it !

    <Connector port="8090"
    ...
  • You need to copy jdbc PostgreSQL driver into common/lib directory in Tomcat installation from URL : http://jdbc.postgresql.org/download/pg74.215.jdbc3.jar This version of the driver works with Java 1.4 and 1.5 .

  • deploy replica.war file into tomcat/apache-tomcat-5.5.x/webapps/

  • start the Tomcat:

    [root] # tomcat/apache-tomcat-5.5.x/bin/startup.sh

You can now access the Resilience Manager monitoring info using URL: http://<your.hostname:8090>/replica