Steps of Installing lookup service from source is given below:
Panel |
---|
mak@aegir $ svn co http://anonsvn.internet2.edu/svn/perfsonar/trunk/perfsonar; |
Panel |
---|
mak@aegir $ cd perfsonar/ libs-xmlls: init-libs: libs-generic: init-libs: libs-for-xmlls: BUILD SUCCESSFUL |
Panel |
---|
mak@aegir $ ant -f build-xmlls.xml pre-install show-info: [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 [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] Enter webserver hostname (please type your host and domain name - not localhost) [input] Enter service deployment name [LookupService] confirm-inputs: get-tomcat: copy-const-properties: pre-install: BUILD SUCCESSFUL |
Panel |
---|
mak@aegir $ ant -f build-xmlls.xml build load-const-properties: create-build-dir: clean-all: clean-jar-generic: compile-generic: jar-generic: clean-jar: compile: jar: build: BUILD SUCCESSFUL |
Panel |
---|
mak@aegir $ ant -f build-xmlls.xml configure load-const-properties: configure-ask-for-values: [echo] 1. Service configuration [input] Enter log configuration file [/usr/perfsonar/LookupService/WEB-INF/classes/perfsonar/conf/log4j.properties] [input] Enter logs directory [/usr/perfsonar/LookupService/log] [input] Enter path for parser configuration file [/usr/perfsonar/LookupService/WEB-INF/classes/perfsonar/conf/objects.config] [echo] 2. Lookup Information configuration [input] Lookup Information of service -- access point (URL) [http://aegir:8080/LookupService] [input] Lookup Information of service -- service type [LS] [input] Lookup Information of service -- service description [Test Lookup Service, perfSONAR] [echo] 3. LS Storage [input] LS Storage -- XML database type (preferred one is HTTP, because it's much faster)(http,xmlrpc) [input] LS Storage -- XML database username [lookupservice] [input] LS Storage -- XML database password [sonar] [echo] 4. LS Cleanup [input] LS Cleanup -- enable LS Cleanup (removing old entries when TTL exceeded)?(y,n) [input] LS Cleanup -- TTL of lookup information [3600] (seconds) configure-show-values: [echo] --------------------------------------------------------------- configure-confirm-values: copy-components-properties: copy-service-properties: copy-log4j-properties: configure: BUILD SUCCESSFUL |
Panel | ||
---|---|---|
|
Panel |
---|
mak@aegir $ ant -f build-xmlls.xml test test: [echo] ant -f build-xmlls.xml client-echo [echo] For testing service without Tomcat (just service functionality) please run: [echo] ant -f build-xmlls.xml test-echo BUILD SUCCESSFUL |
Panel |
---|
mak@aegir $ ant -f build-xmlls.xml client-echo client-echo: BUILD SUCCESSFUL |