Service properties

From GEANT2-JRA1 Wiki

Note: For Java RRD Measurement Archive, please do the following changes:

 cp ant/const.properties.ma ant/const.properties
 cp conf/service.properties.rrdma conf/service.properties
 cp conf/components.properties.ma conf/components.properties

or:

 ln -s ant/const.properties.ma ant/const.properties
 ln -s conf/service.properties.rrdma conf/service.properties
 ln -s conf/components.properties.ma conf/components.properties


  • In $PERFSONAR/ant/const.properties you need to be set up:
 axis.home : path of Axis installation, eg. /home/jra1/jakarta-tomcat-5.0.28/webapps/axis 
 target.server : address (DNS or IP) of host where perfSONAR service is deployed, eg. localhost
 target.port : port number of perfSONAR service, eg. 8080
 rrdjdir : path of rrdjtool package, eg. /home/jra1/sonar/rrdjtool
           (this package should be downloaded with perfSONAR package)
 rrdtool_path : base path of RRDTool application, eg. if the path of installed RRDTool is /usr/bin/rrdtool
                then the value of property is /usr
 jdk_path : path of Java installation, eg. /opt/jdk1.5.0_06

  • In $PERFSONAR/conf/service.properties you need to set up:
 service.log.log4j.config : path of configuration file for logging engine, eg. /home/jra1/sonar/perfsonar/conf/log4j.properties
                            (this file exists in perfSONAR package)
 service.sax_parser.config : path of configuration file of perfSONAR NMWGv2 parser, eg. /home/jra1/sonar/perfsonar/src/objects.config
                            (this file exists in perfSONAR package)
 service.ma.rrd.conf_file : path of rrd configuration file, eg. /home/jra1/sonar/perfsonar/conf/rrd-database_PIONIER.xml

  • In $PERFSONAR/conf/log4j.properties you need to set up:
 logDir : path of directory where log files should be generated, eg, /home/jr1/sonar/perfsonar/log
          (log directory exists in perfSONAR package)

  • Add pointers to service.properties and components.properties files to $TOMCAT/conf/catalina.properties file
 service.properties=$PERFSONAR/conf/service.properties
 components.properties=$PERFSONAR/conf/components.properties


Go back to MA installation guide

Personal tools