question

Shannu avatar image
Shannu asked Erick Ramirez answered

How do I enable DSE Search on a node?

I couldn't find any parameter to enable dse search in dse.yaml file. or Am I looking at the wrong location . Or is it by default enabled?

dse version: 5.1.20

dsesearch
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

steve.lacerda avatar image
steve.lacerda answered

Hi, you can configure the workload in /etc/default/dse (SOLR_ENABLED=1). You will then need to restart the service in order for the change to take affect. Please note that workloads are DC specific, so when you state standalone, then I'm not sure if you're talking about a single node in a DC, or you just want to standup one node of many as search within the same DC. If it's the latter, that's not a supported configuration. Whether it's search or analytics, you need to make sure that all nodes in the dc have the same workload.

Share
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Erick Ramirez avatar image
Erick Ramirez answered

If you've installed DSE as a package using YUM on RHEL/CentOS machines or APT on Ubuntu/Debian systems, you need to initialise the DSE service by setting the workload type to Search in /etc/default/dse with:

SOLR_ENABLED=1

and then start DSE as a service with:

$ sudo service dse start

If you've installed DSE using the binary tarball, you need to start DSE as a standalone process with the -s flag:

$ cd /path/to/tarball/installation
$ bin/dse cassandra -s

If you need more information, I've linked the relevant docs above. Cheers!

Share
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.