compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (1)

View Page History

(!) OPTIONAL: insert a single random statement having rdfs:label as predicate in order to activate the EUF plugin

h2. Setting up a Coordinator

We will be using *Apache Tomcat* as a web application container for this example.

# Download the [Coordinator web application|http://maven.ontotext.com/content/repositories/publishing-releases/com/ontotext/ces/coordinator/1.0.1/coordinator-1.0.1.war] from our Nexus instance
# Add the coordinator-specific parameters to the Tomcat setup -- use the {{<tomcat-home>/bin/setenv.sh}} file; example:
{code:language=bash|title=coordinator setenv.sh}
#!/bin/bash

# general options -- name, storage directory location, URL (required)
export GENERAL_OPTS="-Dcoordinator.name=master -Dcoordinator.stateDirectory=/path/to/storage/dir/coordinator -Dcoordinator.baseUrl=http://the.base.url:7070/coordinator"

# sparql endpoint options -- location
export ENDPOINT_OPTS="-Dcoordinator.sparql.endpoint=http://sparql.endpoint.be:8080/graphdb/repositories/my-repo"

# VM options -- heap size, etc
export JVM_OPTS="-XX:+UseConcMarkSweepGC -XX:+TieredCompilation -Xmx1g"

export CATALINA_OPTS="$GENERAL_OPTS $ENDPOINT_OPTS $JVM_OPTS"
{code}
# deploy the coordinator web application in Tomcat's {{webapps}} directory
# (Re-)start the Tomcat instance

(!) More information about all Coordinator configuration parameters can be found [here|CES Components#Coordinator].

h2. Setting up a Worker node

We will be using *Apache Tomcat* as a web application container for this example.

# Download the [CES Worker web application|http://maven.ontotext.com/content/repositories/publishing-releases/com/ontotext/ces/extractor-web/1.0.1/extractor-web-1.0.1.war] from our Nexus instance
# Add the worker-specific parameters to the Tomcat setup -- use the {{<tomcat-home>/bin/setenv.sh}} file; example:
{code:language=bash|title=worker setenv.sh}
#!/bin/bash

# garbage collection and compiler
export J_OPTS="-XX:+UseConcMarkSweepGC -XX:+TieredCompilation -Xmx4g"

# worker options -- path to pipeline, size of pipeline pool
export W_OPTS="-Dworker.name=st-worker -Dgate.app.location=file:/path/to/pipeline/application.xgapp -Dpipeline-pool-max-size=2"

export CATALINA_OPTS="$J_OPTS $W_OPTS"
{code}
# Deploy the {{extractor-web.war}} in Tomcat's {{webapps}} directory
# (Re-)start the Tomcat instance