Installing Solr nodes

Installing and starting and stopping 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:

  • Installer-No Services and Tarball installations:

    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
  • Installer-Services and Package installations:
    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