...
- download packege from http://wiki.perfsonar.net/images/files/perfSONAR-XML-LS-1.1-RC3.tar.gz
- Do the following commands:
Code Block |
---|
mak@aegir $ tar -xzf perfSONAR-XML-LS-1.1-RC3RC4.tar.gzmak@aegir $ cdln -s perfSONAR-XML-LS-1.1-RC3/perfsonar/ mak@aegirRC4 lookupmak@aegir $ ls ant/ build/ conf/ doc/ lib/ log/ schema/ src/mak@aegir $ cd ant/ cd lookup/perfsonar/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) ny [input] Enter webserver home directory [/usr/local/tomcat_ls] /path_toopt/tomcat/_ls [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/opt/perfSONAR-XML-LS-1.1-RC3RC4/perfsonar] [input] Enter service deployment name [LookupService] confirm-inputs: [echo] --------------------------------------------------------------- [echo] Your settings: [echo] --------------------------------------------------------------- [echo] Tomcat home directory [path_to/opt/tomcat/_ls] [echo] Service address [http://aegir:88/LookupService] [input] Proceed with these settings? (y,n) y get-tomcat: copy-const-properties: [echo] CreateDownload ANTTomcat 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] ---------------------------------------------------------------get] Getting: http://monstera.man.poznan.pl/private/bak/apache-tomcat-5.5.20.tar.gz [get] To: /tmp/apache-tomcat-5.5.20.tar.gz [get] .................................................... [get] .. [get] last modified = Thu Sep 28 07:01:58 PDT 2006 [echo] [ ]Unpacking Tomcat directory [path_to/tomcat/] [echountar] [ ] 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]Expanding: /tmp/apache-tomcat-5.5.20.tar.gz into /tmp [delete] Deleting: /tmp/apache-tomcat-5.5.20.tar.gz [echomove] [Moving ]832 Lookup Information [echo] - LI-access point (URL) [http://aegir:8080/LookupService]files to /opt [echomove] Moved 174 empty directories to -9 LI-serviceempty 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]directories under /opt [echochmod] - 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-serviceApplied chmod to 7 files and 0 directories. copy-const-properties: [echo] Create SERVICEANT configuration file [path_to/opt/perfSONAR-XML-LS-1.1-RC3 RC4/perfsonar/confant/serviceconst.properties] [copy] Copying 1 file to path_to/opt/perfSONAR-XML-LS-1.1-RC3RC4/perfsonar/confant 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 configurepre-install: BUILD SUCCESSFUL Total time: 1 minute 3426 seconds |