Versions Compared

Key

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

...

  • got fed up with UI, so did console install:

...

Code Block
titlePerfSONAR v1.0 CLI Install

\[ytl@net-desk1:~/Work/perfSONAR/Installation/perfSONAR-1.0\]$ ./install.pl 
Welcome to perfSONAR v1.0

...



Enter Information Common to the LS and MA:

...



Enter base path for the application:\[/afs/slac.stanford.edu/g/scs/net/netmon/perfSONAR/Installation/perfSONAR-1.0\]: /opt/perfSONAR/current/
Enter java path for the application:\[/usr/local/java/current\]: 
Enter the hostname:\[net-desk1.slac.stanford.edu\]: 
Enter the max file size of the log files (indicate KB or MB):\[500KB\]: 
Enter the number of backup logs to keep:\[10\]: 
eXist home directory:\[/opt/exist/current\]: 

...




Do you want to install the RRD MA?[y/n]: y

...


Enter Information Specific to the RRD MA:

...



Tomcat home directory:\[/usr/local/tomcat\]: /opt/tomcat/current
Axis home directory:\[/opt/tomcat/current/webapps/axis\]: 
Enter Tomcat port:\[8080\]: 80

...




Be sure to edit your CLASSPATH:

...


        CLASSPATH=$CLASSPATH:/opt/tomcat/current/webapps/axis/WEB-INF/lib/axis-ant.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/commons-discovery-0.2.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/jaxrpc.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/saaj.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/axis.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/commons-logging-1.0.4.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/log4j-1.2.8.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/wsdl4j-1.5.1.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/resolver.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/xercesImpl.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/perfSONAR-generic.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/activation.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/xmlrpc-1.2-patched.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/mail.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/commons-pool-1.1.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/xmlParserAPIs.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/perfSONAR-rrdma.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/xmlsec.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/xercesSamples.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/xml-apis.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/rrdjtool.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/xmldb.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/jdom.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/xalan.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/exist.jar

...

Please be sure axis is installed, and tomcat is running.

...


        export CLASSPATH

Please be sure axis is installed, and tomcat is running.

Enter rrdtool path:\[/usr/local/rrdtool\]: 

...




Be sure to edit your LD_LIBRARY_PATH:

...


        LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/rrdtool/lib:/opt/perfSONAR/current//contrib/rrdjtool/build

...


        export LD_LIBRARY_PATH

...



Enter general service name:\[Measurement Archive Service\]: 
Measurement Archive access point (URL):[http://net-desk1.slac.stanford.edu:80/axis/services/MeasurementArchiveService]: 
Measurement Archive service name:\[Java MA\]: 
Measurement Archive service type:\[MA\]: 
Measurement Archive service description:\[Java RRD MA, perfSONAR project\]: 

...




Do you want to register the RRD MA with a LookupService?\[y/n\]: y
Lookup Information to register with (URL):\[http://net-desk1.slac.stanford.edu:80/axis/services/LookupService\]: 
MA Storage Conf File:\[/opt/perfSONAR/current//conf/rrd-database_TEST.xml\]: 

...




Do you want the MA to use an eXist database?\[y/n\]: y
XML database collection:\[xmldb:exist://localhost:8680/exist/xmlrpc/db/rrdmaconfig\]: xmldb:exist://localhost:80/exist/xmlrpc/db/rrdmaconfig
XML database username:\[rrdmaservice\]: 
XML database password:\[rrdmaservice\]: 

...




Do you want the allow the MA to store data?[y/n]: y
RRD Storage Directory:\[/opt/perfSONAR/current//data/rrd/test\]: 

...




Do you want the installer to configure eXist for you?\[y/n\]: n

...



Don't forget to configure the eXist database for the RRD MA.

...



Processing file /opt/perfSONAR/current//wsdd/ma-service-undeploy.wsdd

...


<Admin>Done processing</Admin>

...


Processing file /opt/perfSONAR/current//wsdd/ma-service-deploy.wsdd

...


<Admin>Done processing</Admin>

...


mv: cannot stat `client/MA*': No such file or directory

...




Do you want to install the LS?[y/n]: y

...


Enter Information Specific to the LS:

...



Tomcat home directory:\[/usr/local/tomcat\]: /opt/tomcat/current
Axis home directory:\[/opt/tomcat/current/webapps/axis\]: 
Enter Tomcat port:\[8080\]: 80

...




Be sure to change your CLASSPATH:

...


        CLASSPATH=$CLASSPATH:/opt/tomcat/current/webapps/axis/WEB-INF/lib/axis-ant.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/commons-discovery-0.2.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/jaxrpc.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/saaj.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/axis.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/commons-logging-1.0.4.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/log4j-1.2.8.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/wsdl4j-1.5.1.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/resolver.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/xercesImpl.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/perfSONAR-generic.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/activation.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/xmlrpc-1.2-patched.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/mail.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/commons-pool-1.1.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/xmlParserAPIs.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/xmlsec.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/xercesSamples.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/xml-apis.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/xmldb.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/jdom.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/xalan.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/perfSONAR-xmlls.jar:/opt/tomcat/current/webapps/axis/WEB-INF/lib/exist.jar

...

Please be sure tomcat, axis, and eXist are running.

...


        export CLASSPATH

Please be sure tomcat, axis, and eXist are running.

Lookup Information of service -- access point (URL):[http://net-desk1.slac.stanford.edu:80/axis/services/LookupService]: 
Lookup Information of service -- service name:\[Java LS\]: 
Lookup Information of service -- service type:\[LS\]: 
Lookup Information of service -- service description:\[Java LS, perfSONAR\]: 
Lookup Service to register Lookup Information:\[http://net-desk1.slac.stanford.edu:80/axis/services/LookupService\]: 
Enter service name:\[Lookup Service\]: 

...



LS Storage -- XML database collection:\[xmldb:exist://localhost:8680/exist/xmlrpc/db/ls\]: xmldb:exist://localhost:80/exist/xmlrpc/db/ls
LS Storage -- XML database username:\[lookupservice\]: 
LS Storage -- XML database password:\[sonar\]: 

...




Do you want the installer to configure eXist for you?\[y/n\]: n
LS Cleanup -- cleanup interval (ms):[180000]: 
Register with LS interval (ms):[600000]: 
Processing file /opt/perfSONAR/current//wsdd/ls-service-undeploy.wsdd
<Admin>Done processing</Admin>
Processing file /opt/perfSONAR/current//wsdd/ls-service-deploy.wsdd
<Admin>Done processing</Admin>

...




Do you want to clean up the installation?[y/n]: y

...


[ytl@net-desk1:~/Work/perfSONAR/Installation/perfSONAR-1.0]$ 

  • think the configuration of exist dbs a bit screwy.
  • anyway, http://net-desk1/axis/servlet/AxisServlet shows following which kinda implies its running...
    LookupService (wsdl)
    acceptCall
    MeasurementArchiveService (wsdl)
    acceptCall