"Seegrid will be due for a migration to confluence on the 1st of August. Any update on or after the 1st of August will NOT be migrated"

Vocabulary Service 3.0 Test Setup


Introduction

This page describes the setup of our testing instance of the Spatial Information Services Stack Vocabulary Service (SISSVoc) v 3.0.It serves the following purposes:
  • Uploading/editing vocabularies on the Sesame triplestore for testing.
  • Testing new development versions of the Elda.
After passing the acceptance tests, vocabularies and new vocabulary service versions can be migrated to the production server.

Elda client http://auscope-services-test.arrc.csiro.au/sissvoc/
Sesame Workbench http://auscope-services-test.arrc.csiro.au/openrdf-workbench/
Sesame Server http://auscope-services-test.arrc.csiro.au/openrdf-sesame/

Server setup

Deploy Sesame Server and Workbench

We are using Sesame server 2.6.X from http://www.openrdf.org/ as backend for our Vocabulary Service. This is a guide to install Sesame.

Deploy Elda

Copy Sesame triplestore database

  • Log into auscope-services-test:
  • If the data does not exist:
    • Create DATA directory: sudo mkdir /var/lib/tomcat6/data/openrdf-sesame/repositories
    • Manually populate the repos
  • Alternatively:
    • Recreate all the data from existing data hosts via importing the RDF.

Setup Tomcat and Apache

  • On auscope-services-test as root:
    • chmod -R tomcat6.tomcat6 /var/lib/tomcat6/data/openrdf-sesame/repositories/
    • In /etc/default/tomcat6 added in JAVA_OPTS:
      • -Dinfo.aduna.platform.appdata.basedir=/var/lib/tomcat6/data
    • In /etc/tomcat6/server.xml add in two Connector tags:
      • attribute address="127.0.0.1"
    • In /etc/apache2/sites-enabled/000-default add in the VirtualHost section:
      • ProxyPass /openrdf-workbench ajp://localhost:8009/openrdf-workbench
        ProxyPassReverse /openrdf-workbench ajp://localhost:8009/openrdf-workbench
        ProxyPass /openrdf-sesame ajp://localhost:8009/openrdf-sesame
        ProxyPassReverse /openrdf-sesame ajp://localhost:8009/openrdf-sesame
      • <Location /openrdf-workbench>
        #User Authentication Stuff - we use LDAP but protect it how you like.
        </Location>
      • # Regular expression to match everything that is a sub folder ignoring query string
        # More info - http://www.openrdf.org/doc/sesame2/system/ch08.html#d0e179
        <LocationMatch /openrdf-sesame/repositories/([^\?]*)+?/>
                # Authentication
                # Allow on HTTP GET
                <LimitExcept GET>
                    require ldap-group cn=testGroup,ou=Groups,dc=example,dc=org,dc=au
                </LimitExcept>
        </LocationMatch>
    • a2enmod authnz_ldap
    • sudo service apache2 restart
    • sudo service tomcat6 restart

Configure Vocabulary Service

  • sudo service tomcat6 restart

Test the installation

Use the links above to test your installation.
Topic revision: r6 - 29 Aug 2012, TerryRankine
 

Current license: All material on this collaboration platform is licensed under a Creative Commons Attribution 3.0 Australia Licence (CC BY 3.0).