Installing Solr nodes

Installing and starting Solr nodes.

To install a Solr node, use the same installation procedure as you use to install any other type of node. To use real-time (Cassandra), analytics (Hadoop), or search (Solr) nodes in the same cluster, segregate the different nodes into separate data centers. Using the default DSESimpleSnitch automatically puts all the Solr nodes in the same data center. Use OpsCenter Enterprise to rebalance the cluster when you add a node to the cluster.

Starting and stopping a Solr node 

The way you start up a Solr node depends on the type of installation, tarball or packaged.

Tarball installation:

From the install directory, use this command to start the Solr node:
$ bin/dse cassandra -s

The Solr node starts up.

From the install directory, use this command to stop the Solr node

$ bin/dse cassandra-stop

Packaged installation:

Procedure

  1. Enable Solr mode by setting this option in /etc/default/dse:

    SOLR_ENABLED=1

  2. Start the dse service using this command:
    $ sudo service dse start
    The Solr node starts up.

    You stop a Solr node using this command:

    $ sudo service dse stop