
For large sites in order to avoid interference from Tomcat
activities related to web interface, we recommend installation
of SRM
monitoring on a separate node.
Install JDK1.5
Download, install and start latest tomcat 5.5 from Tomcat Web Site
Download srmwatch RPM from http://www.dcache.org.
Install RPM. Installation can be performed using this command:
[root] #
rpm -Uvh srmwatch-1.0-0.i386.rpm
Edit configuration file
/opt/d-cache/srmwatch-1.0/WEB-INF/web.xml
in the line saying:<param-value>jdbc:postgresql://localhost/dcache</param-value>
Make sure that the localhost is in jdbc url substitutes with
SRM
database host name. For example:<param-value>jdbc:postgresql://fledgling06.fnal.gov/dcache</param-value>
Execute
[root] #
export CATALINA_HOME=<YOUR_TOMCAT_LOCATION>
Execute
[root] #
/opt/d-cache/srmwatch-1.0/deploy_srmwatch
SRM
Monitoring page should be visible at http://<srm-monitoring-node>:8080/srmwatch/
Download srmwatch rpm from http://www.dcache.org>.
Install rpm after srm server is installed and running, with
/opt/d-cache/etc/srm_setup.env
containing before the installationTOMCAT_HTTP_ENABLED=true
RPM installation can be performed using this command:
[root] #
rpm -Uvh srmwatch-1.0-0.i386.rpm
SRM
Monitoring page should be visible at http://<srmnode>:8080/srmwatch/