Skip to main content
Jump to: navigation, search

SMILA/Documentation/HowTo/How to setup SMILA in a cluster

< SMILA‎ | Documentation‎ | HowTo
Revision as of 05:11, 18 October 2012 by (Talk | contribs) (Setup SMILA on cluster - configuration changes)

Install external Solr server

If you want to use Solr for indexing, you need to setup a separate Solr server, because the Solr instances embedded in SMILA cannot be shared with the other SMILA instances.

Single-Node Server

  • Download a Solr 3.x archive from This HowTo was tested with Solr 3.6.1
  • Unpack the archive to a local directory, you get a directory like /home/smila/solr/apache-solr-3.6.1.
  • Copy the files from SMILA/configuration/org.eclipse.smila.solr to the Solr machine ( is'nt needed), e.g. to /home/smila/solr/smila-cores
  • Go to /home/smila/solr/apache-solr-3.6.1/example and run:
java -Dsolr.solr.home=/home/smila/solr/smila-cores -jar start.jar

Distributed Server

For larger data volumes you will need to setup Solr in a distributed way, too.


Setup SMILA on cluster

On each cluster node, you have to do the following SMILA configuration changes.

Cluster configuration

You have to define which nodes belong to the cluster.

Configuration file:

Enter new section "clusterNodes":

 "clusterNodes": ["PC-1", "PC-2", "PC-3"],

Objectstore configuration

You have to define a __shared__ data directory for all nodes

Configuration file:

Set a root path to the shared directory:


Solr configuration

You have to point to the Solr server that you set up above.

Configuration file:


Jetty configuration

To monitor the cluster node, you have to make SMILA HTTP server accessible from external.



See also Enabling Remote Access to SMILA

Back to the top