You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Next »
Steps for installing Lookup Service
- download packege from http://wiki.perfsonar.net/images/files/perfSONAR-XML-LS-1.1-RC3.tar.gz
- Do the following commands:
mak@aegir $ tar -xzf perfSONAR-XML-LS-1.1-RC3.tar.gzmak@aegir $ cd perfSONAR-XML-LS-1.1-RC3/perfsonar/
mak@aegir $ ls
ant/ build/ conf/ doc/ lib/ log/ schema/ src/mak@aegir $ cd ant/
mak@aegir $ ant -f build-xmlls.xml pre-install
Buildfile: build-xmlls.xml
Overriding previous definition of reference to classpath
show-info:
[echo] Pre-install
[echo] ---- Welcome in perfSONAR LookupService installation script ----
[echo] You're about to install LookupService that may be also called LS during the installation process. The installation guide is accessible on http://wiki.perfsonar.net/jra1-wiki/index.php/Installation_LS_1.1#Lookup_service_installation web page
[echo] Requirements:
[echo] 1. Java 1.5.x
[echo] 2. Ant 1.6.x (we're sure you've already got it installed as you run the installation process)
[echo] 3. eXist DB XML - see Exist DB Installation Guide for LS:
[echo] http://wiki.perfsonar.net/jra1-wiki/index.php/Exist_DB_Installation_Guide_for_LS
[echo] 4. JAVA_HOME environment variable set to your Java directory
[input] Do you want to proceed? Just press ENTER to continue. Otherwise CTRL-C stops the process immediately
[echo] Preparing the installation of XML Lookup Service...
[echo] Answer to all questions. If you go wrong, cancel (ctrl-c) and start again.
get-inputs:
[input] Do you want to install Tomcat webserver?(y,n)
n
[input] Enter webserver home directory [/usr/local/tomcat_ls]
/path_to/tomcat/
[input] Temporary directory [/tmp]?
[input] Enter webserver hostname (please type your host and domain name - not localhost)
aegir
[input] Enter webserver port [8080]
88
[input] Enter service directory (where to be installed) [path_to/perfSONAR-XML-LS-1.1-RC3/perfsonar]
[input] Enter service deployment name [LookupService]
confirm-inputs:
[echo] ---------------------------------------------------------------
[echo] Your settings:
[echo] ---------------------------------------------------------------
[echo] Tomcat home directory [path_to/tomcat/]
[echo] Service address [http://aegir:88/LookupService]
[input] Proceed with these settings? (y,n)
y
get-tomcat:
copy-const-properties:
[echo] Create ANT configuration file [path_to/perfSONAR-XML-LS-1.1-RC3/perfsonar/ant/const.properties]
[copy] Copying 1 file to path_to/perfSONAR-XML-LS-1.1-RC3/perfsonar/ant
pre-install:
BUILD SUCCESSFUL
Total time: 59 seconds
mak@aegir $ ant -f build-xmlls.xml configure
Buildfile: build-xmlls.xml
Overriding previous definition of reference to classpath
load-const-properties:
configure-ask-for-values:
[echo] ---------------------------------------------------------------
[echo] Enter your settings. Set at least [base path] and [host name],
[echo] other may remain default (default values may be accepted just
[echo] by pressing ENTER)
[echo] ---------------------------------------------------------------
[echo] 1. Service configuration
[echo] ==========================
[input] Enter log configuration file [path_to/perfSONAR-XML-LS-1.1-RC3/perf sonar/LookupService/WEB-INF/classes/perfsonar/conf/log4j.properties]
[input] Enter logs directory [path_to/perfSONAR-XML-LS-1.1-RC3/perfsonar/Lo okupService/log]
[input] Enter path for parser configuration file [path_to/perfSONAR-XML-LS- 1.1-RC3/perfsonar/LookupService/WEB-INF/classes/perfsonar/conf/objects.config]
[echo] 2. Lookup Information configuration
[echo] =====================================
[input] Lookup Information of service -- access point (URL) [http://aegir:80 80/LookupService]
[input] Lookup Information of service -- service name [Test Lookup Service]
[input] Lookup Information of service -- service type [LS]
[input] Lookup Information of service -- service description [Test Lookup Se rvice, perfSONAR]
[echo] 3. LS Storage
[echo] =====================================
[input] LS Storage -- XML database type (preferred one is HTTP, because it's much faster)(http,xmlrpc)
http
[input] LS Storage -- XML database collection [http://localhost:8680/exist/r est/db/ls]
[input] LS Storage -- XML database username [lookupservice]
[input] LS Storage -- XML database password [sonar]
[echo] 4. LS Cleanup
[echo] =====================================
[input] LS Cleanup -- enable LS Cleanup (removing old entries when TTL excee ded)?(y,n)
y
[input] LS Cleanup -- cleanup interval: how often to search old entries in D B [300] (seconds)
[input] LS Cleanup -- TTL of lookup information [3600] (seconds)
configure-show-values:
[echo] ---------------------------------------------------------------
[echo] Your settings:
[echo] ---------------------------------------------------------------
[echo] [ ] Tomcat directory [path_to/tomcat/]
[echo] [ ] Service address [http://aegir:88/LookupService]
[echo] [ ] Target path for the application [path_to/perfSONAR-XML-LS-1.1-R C3/perfsonar]
[echo] - Properties dir [path_to/perfSONAR-XML-LS-1.1-RC3/perfsonar/L ookupService/WEB-INF/classes/perfsonar/conf]
[echo] - Log config file [path_to/perfSONAR-XML-LS-1.1-RC3/perfsonar/ LookupService/WEB-INF/classes/perfsonar/conf/log4j.properties
[echo] - Logs directory [path_to/perfSONAR-XML-LS-1.1-RC3/perfsonar/L ookupService/log
[echo] - Parser config file [path_to/perfSONAR-XML-LS-1.1-RC3/perfson ar/LookupService/WEB-INF/classes/perfsonar/conf/objects.config]
[echo] [ ] Lookup Information
[echo] - LI-access point (URL) [http://aegir:8080/LookupService]
[echo] - LI-service name [Test Lookup Service]
[echo] - LI-service type [LS]
[echo] - LI-service description [Test Lookup Service, perfSONAR]
[echo] [ ] Lookup Storage
[echo] - XML database type [http]
[echo] - XML database collection [http://localhost:8680/exist/rest/db/ ls]
[echo] - XML database username [lookupservice]
[echo] - XML database password [sonar]
[echo] [ ] LS Cleanup
[echo] - Cleanup interval [300] seconds
[echo] - Cleanup TTL [3600] seconds
[echo] ---------------------------------------------------------------
configure-confirm-values:
[input] Proceed with these settings? (y,n)
y
copy-components-properties:
[echo] Create COMPONENTS configuration file [path_to/perfSONAR-XML-LS-1.1- RC3/perfsonar/conf/components.properties]
[copy] Copying 1 file to path_to/perfSONAR-XML-LS-1.1-RC3/perfsonar/conf
copy-service-properties:
[echo] Create SERVICE configuration file [path_to/perfSONAR-XML-LS-1.1-RC3 /perfsonar/conf/service.properties]
[copy] Copying 1 file to path_to/perfSONAR-XML-LS-1.1-RC3/perfsonar/conf
copy-log4j-properties:
[echo] Create log4j configuration file [path_to/perfSONAR-XML-LS-1.1-RC3/p erfsonar/conf/log4j.properties]
[copy] Copying 1 file to path_to/perfSONAR-XML-LS-1.1-RC3/perfsonar/conf
configure:
BUILD SUCCESSFUL
Total time: 1 minute 34 seconds