Starting and stopping DSE Search

Starting and stopping search nodes.

To install a DSE Search/Solr node, use the same installation procedure as you use to install any other type of node. To use real-time (Cassandra), analytics (Hadoop/Spark), 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, so you need to change the snitch from the default to another type for multiple data center deployment.

Starting and stopping a DSE Search/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 DSE Search/Solr node:
    $ bin/dse cassandra -s

    The node starts up.

    From the install directory, use this command to stop the node:
    $ bin/dse cassandra-stop
  • Installer-Services and Package installations:
    1. Enable DSE Search/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 node using this command:
    $ sudo service dse stop