Mendel Configuration

Property Configuration

The conf/config.properties file specifies two major properties:

  • mendel.home.dir - Mendel installation directory
  • mendel.root.dir - Where the file system root is stored. Files, journal, logs, etc... live here

Important!

The directory that the mendel.root.dir property is pointed should not be a NFS/SAMBA mounted location. Doing so will replicate every node's local indexes, files, logs, etc... to all nodes in the cluster and cause incorrect results.

All the property specifications are described in the conf/config.properties file with examples.

Storage Nodes

You must specify the storage nodes that make up your cluster. The conf/nodes file contain a list of hosts to act as the storage nodes. The file contains host names or IP addresses, one per line, their storage node port number (if not set the default port will be used), and the group identifier (prefixed with a $). An example nodes file is shown below:

$ Group A
  lattice-0:8989
  lattice-1
  lattice-2

$ Group B
  lattice-3
  129.82.45.204:5055
  129.82.46.59

Running Mendel

Once all the configuration has been setup, scripts in the bin/ directory will manage the startup. Be sure these scripts have execute permissions.

$ cd bin/
$ ./mendel-cluster start

Once everything is configured, the next step is to begin indexing data and executing queries.