Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel

 mak@aegir $ ant -f build-xmlls.xml pre-install
Buildfile: build-xmlls.xml
Overriding previous definition of reference to classpath

Wiki Markup
show-info:
     \[echo\] Pre-install

Wiki Markup
     \[echo\] \-\--\- Welcome in perfSONAR LookupService installation script \--\-\-

Wiki Markup
     \[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

Wiki Markup
     \[echo\] Requirements:

Wiki Markup
     \[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

Wiki Markup
    \[input\] Do you want to proceed? Just press ENTER to continue. Otherwise CTRL-C stops the process immediately

Wiki Markup
     \[echo\] Preparing the installation of XML Lookup Service...

Wiki Markup
     \[echo\] Answer to all questions. If you go wrong, cancel (ctrl-c) and start again.

Wiki Markup
get-inputs:
    \[input\] Do you want to install Tomcat webserver?(y,n)
y
    \[input\] Enter webserver home directory \[/usr/local/tomcat_ls\]
/usr/tomcat_ls
    \[input\] Temporary directory \[/tmp\]?

Wiki Markup
    \[input\] Enter webserver hostname (please type your host and domain name - not localhost)
aegir
    \[input\] Enter webserver port \[8080\]
1011
    \[input\] Enter service directory (where to be installed) \[/usr/perfsonar\]

Wiki Markup
    \[input\] Enter service deployment name \[LookupService\]

Wiki Markup
confirm-inputs:
     \[echo\] \--------------------------------------------------------------\-
     \[echo\] Your settings:
     \[echo\] \--------------------------------------------------------------\-
     \[echo\] Tomcat home directory \[/usr/tomcat_ls\]
     \[echo\] Service address \[http://aegir:1011/LookupService\]
    \[input\] Proceed with these settings? (y,n)
y

Wiki Markup
get-tomcat:
     \[echo\] Download Tomcat
      \[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\] .
      \[get\] last modified = Thu Sep 28 07:01:58 PDT 2006
     \[echo\] Unpacking Tomcat
    \[untar\] Expanding: /tmp/apache-tomcat-5.5.20.tar.gz into /tmp
   \[delete\] Deleting: /tmp/apache-tomcat-5.5.20.tar.gz
     \[move\] Moving 832 files to /usr
     \[move\] Moved 174 empty directories to 9 empty directories under /usr
    \[chmod\] Applied chmod to 7 files and 0 directories.

Wiki Markup
copy-const-properties:
     \[echo\] Create ANT configuration file \[/usr/perfsonar/ant/const.properties\]
     \[copy\] Copying 1 file to /usr/perfsonar/ant

pre-install:

BUILD SUCCESSFUL
Total time: 59 seconds

Panel

mak@aegir $ ant -f build-xmlls.xml build
Buildfile: build-xmlls.xml
Overriding previous definition of reference to classpath

load-const-properties:

create-build-dir:

clean-all:

clean-jar-generic:

Wiki Markup
compile-generic:
    \[javac\] Compiling 258 source files to /usr/perfsonar/build
    \[javac\] Note: Some input files use unchecked or unsafe operations.
    \[javac\] Note: Recompile with \-Xlint:unchecked for details.

Wiki Markup
jar-generic:
      \[jar\] Building jar: /usr/perfsonar/build/perfSONAR-generic.jar

clean-jar:

Wiki Markup
compile:
    \[javac\] Compiling 12 source files to /usr/perfsonar/build
     \[copy\] Copying 2 files to /usr/perfsonar/build/org/perfsonar/service/web/wsdd

Wiki Markup
jar:
      \[jar\] Building jar: /usr/perfsonar/build/perfSONAR-xmlls.jar

build:

BUILD SUCCESSFUL
Total time: 8 seconds

Panel

mak@aegir $ ant -f build-xmlls.xml configure
Buildfile: build-xmlls.xml
Overriding previous definition of reference to classpath

load-const-properties:

Wiki Markup
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\] \--------------------------------------------------------------\-

Wiki Markup
     \[echo\] 1. Service configuration
     \[echo\] ==========================

Wiki Markup
    \[input\] Enter log configuration file \[/usr/perfsonar/LookupService/WEB-INF/classes/perfsonar/conf/log4j.properties\]

Wiki Markup
    \[input\] Enter logs directory \[/usr/perfsonar/LookupService/log\]

Wiki Markup
    \[input\] Enter path for parser configuration file \[/usr/perfsonar/LookupService/WEB-INF/classes/perfsonar/conf/objects.config\]

Wiki Markup
     \[echo\] 2. Lookup Information configuration
     \[echo\] =====================================

Wiki Markup
    \[input\] Lookup Information of service \-\- access point (URL) \[http://aegir:8080/LookupService\]
http://aegir:1011/LookupService
    \[input\] Lookup Information of service \-\- service name \[Test Lookup Service\]

Wiki Markup
    \[input\] Lookup Information of service \-\- service type \[LS\]

Wiki Markup
    \[input\] Lookup Information of service \-\- service description \[Test Lookup Service, perfSONAR\]

Wiki Markup
     \[echo\] 3. LS Storage
     \[echo\] =====================================

Wiki Markup
    \[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/rest/db/ls\]

Wiki Markup
    \[input\] LS Storage \-\- XML database username \[lookupservice\]

Wiki Markup
    \[input\] LS Storage \-\- XML database password \[sonar\]

Wiki Markup
     \[echo\] 4. LS Cleanup
     \[echo\] =====================================

Wiki Markup
    \[input\] LS Cleanup \-\- enable LS Cleanup (removing old entries when TTL exceeded)?(y,n)
y
    \[input\] LS Cleanup \-\- cleanup interval: how often to search old entries in DB \[300\] (seconds)

Wiki Markup
    \[input\] LS Cleanup \-\- TTL of lookup information \[3600\] (seconds)

Wiki Markup
configure-show-values:
     \[echo\] \--------------------------------------------------------------\-
     \[echo\] Your settings:
     \[echo\] \--------------------------------------------------------------\-
     \[echo\] \[ \] Tomcat directory \[/usr/tomcat_ls\]
     \[echo\] \[ \] Service address \[http://aegir:1011/LookupService\]
     \[echo\] \[ \] Target path for the application \[/usr/perfsonar\]
     \[echo\]      - Properties dir \[/usr/perfsonar/LookupService/WEB-INF/classes/perfsonar/conf\]
     \[echo\]      - Log config file \[/usr/perfsonar/LookupService/WEB-INF/classes/perfsonar/conf/log4j.properties
     \[echo\]      - Logs directory \[/usr/perfsonar/LookupService/log
     \[echo\]      - Parser config file \[/usr/perfsonar/LookupService/WEB-INF/classes/perfsonar/conf/objects.config\]
     \[echo\] \[ \] Lookup Information
     \[echo\]      - LI-access point (URL) \[http://aegir:1011/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

Wiki Markup
     \[echo\] \--------------------------------------------------------------\-

Wiki Markup
configure-confirm-values:
    \[input\] Proceed with these settings? (y,n)
y

Wiki Markup
copy-components-properties:
     \[echo\] Create COMPONENTS configuration file \[/usr/perfsonar/conf/components.properties\]
     \[copy\] Copying 1 file to /usr/perfsonar/conf

Wiki Markup
copy-service-properties:
     \[echo\] Create SERVICE configuration file \[/usr/perfsonar/conf/service.properties\]
     \[copy\] Copying 1 file to /usr/perfsonar/conf

Wiki Markup
copy-log4j-properties:
     \[echo\] Create log4j configuration file \[/usr/perfsonar/conf/log4j.properties\]
   \[delete\] Deleting: /usr/perfsonar/conf/log4j.properties
     \[copy\] Copying 1 file to /usr/perfsonar/conf

configure:

BUILD SUCCESSFUL
Total time: 46 seconds

Panel