Frontier Installation and Configuration twiki for Tier-1s

NEWS

  • The frontier-tomcat-1.0-8 rpm that configures log rotates for tomcat catalina.out has been announced on December 9, 2010.
  • The frontier-tomcat-1.0-5 rpm that fixes the vulnerability in the Tomcat Manager CVE-2010-4172 has been announced on November 23, 2010.
  • The frontier-servlet-1.0-3.24.0 rpm containing the distribution of the Frontier servlet v.3.24 has been announced on October 5, 2010.
  • The current release of the Frontier set of rpms has been announced on August 3, 2010.

Current available rpms

General information

The Frontier set of rpms allow a Tier-1 site to install and configure the following packages needed for a Frontier installation:
  • awstats
  • tomcat
  • Frontier servlet
The versions of the packages installed by the latest release of the rpms are the following:
  • apache-tomcat-6.0.29
  • Frontier customization of awstats based on >= 6.95-1
  • Frontier servlet v.3.24
The frontier-tomcat rpm requires as well frontier-awstats. The frontier-servlet rpm requires the frontier-tomcat rpm. The rpms use some defaults for the installation directories and for the name of the servlet. Such defaults can be overridden by setting some environmental variables before installing the rpm. The prerequisite for installing the current set of rpms are:
  • jdk >=1.5.0_15 prerequisite for installing frontier-tomcat rpm
  • awstats >= 6.95-1 prerequisite for installing frontier-awstats rpm
Such prerequisite rpms can be found here: All rpms are relocatable through the rpm directive --prefix=.

Defaults and environmental variables

The default prefix is:

/data/dbfrontier for frontier-tomcat and frontier-awstats
/data/dbfrontier/tomcat/webapps/atlr 
for frontier-servlet where atlr is the default servlet name.
The following set of env variables can be set before installing the rpms to change the default settings (the settings in what follow are the default). If the file /data/dbfrontier/tomcat//servlet.conf exists with the variables below defined, the file is sourced by the rpm.
export FRONTIER_TOMCAT_LOGS="/data/tomcat_logs" # used by frontier-tomcat
export FRONTIER_USER="dbfrontier"  # used by frontier-tomcat, frontier-awstats
export FRONTIER_TABLE_NAME="ATLAS_FRONTIER_TRACKMOD.LAST_MODIFIED" # used by frontier-servlet
export FRONTIER_SERVLT_PREFIX= # used by frontier-servlet
export SQUID_LOGS="/data/squid_logs" # used by frontier-awstats
Example: To install the servelet atltest, it is sufficient to install the frontier-servlet rpm specifying as prefix:
/data/dbfrontier/tomcat/webapps/atltest

Configuration steps

The only manual configuration steps left to the system administrator are:
  1. to install in the directory tomcat/conf/Catalina/localhost the xml file needed for the connection to the Oracle database. In the same directory the rpm installs an example template file called <servlet_name>.xml.template
  2. to open ports 8000 and 3401 in the central firewall

Support

For any question, problem, correction please send e-mail to Flavia.Donno@cernNOSPAMPLEASE.ch.

-- FlaviaDonno - 04-Aug-2010

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r6 - 2010-12-09 - FlaviaDonno
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LCG All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback