Versions Compared

Key

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

...

  1. Run the script ${REPO_HOME}/etc/prepare-install.sh with an additional argument: "sparqler-users.derby" (note that the username and password you create here for administering the sparqler should be different from the main repository's admin-credentials):
    No Format
    
     bash ${REPO_HOME}/etc/prepare-install.sh SPARQLER_USERNAME SPARQLER_PASSWORD ${REPO_HOME} sparqler-users.derby
    
  2. Create and edit the repository configuration file (${SPARQLER_HOME}/configuration.properties) - it should be identical to the main repository's config-file, with the following two exceptions - we set:
    No Format
    eaglei.repository.sesame.dir=${sys:org.eaglei.sparqler.home}/sesame
    eaglei.repository.log.dir=${sys:org.eaglei.sparqler.home}/logs
    
  3. Start up Tomcat
  4. Run the script ${REPO_HOME}/etc/finish-install.sh, using the username and password that you want for administering the sparqler (this these should be different from the main repository's superuser):
    No Format
    
     bash ${REPO_HOME}/etc/finish-install.sh SPARQLER_USERNAME SPARQLER_PASSWORD https://localhost:8443
    

Synchronization

The sparqler repository keeps itself up-to-date with its source-repository by running a nightly synchronization process.  This is run automatically so long as the sparlqer and its source-repository are running - no intervention is required.

However, if for some reason the synchronization fails (look in sparqler/logs/repository.log), you can run the synchronizer manually by invoking the script has a synchronization program,  synchronize-sparqler.sh (found in folder ${REPO_HOME}/etc), that should be run (as the same user that runs tomcat) every night.  On a Unix-like system (including OS X and above on a Mac), the system administrator should set a line in a crontab file to accomplish this (something like the following)/synchronize-sparqler.sh as follows:

No Format
13 2 * * *    tomcat   cd /opt/eaglei && 
bash repo/etc/synchronize-sparqler.sh

(the first 6 fields are "min", "hr", "day-of-month", "day-of-week", "user";  "*" is a wild-card - so this would run daily at 02:13am as the user "tomcat").  

If you run on Windows (warning: this is at your own risk - we have not tested the system on Windows), you should set up a Unix-like environment (e.g. Cygwin) in which to perform the installation and run the shell-scripts.

Queries

See also eagle-i SPARQL Queries for Monitoring and Maintenance, which contains a library of pre-written SPARQL queries to try.       --------------------------------------------------------------------------------------------------------------------------------------------------------------------------