Starting DataStax Enterprise as a service

Steps for starting the DataStax Enterprise (DSE) service when DataStax Enterprise was installed from RHEL or Debian packages.

All nodes types are DataStax Enterprise nodes and run the database.

You can also use DSE OpsCenter to start and stop nodes.

Considerations for starting a cluster

Be aware of the following when starting a DataStax Enterprise cluster:

Nodes must be segregated by datacenters

Transactional, DSE Search, DSE Analytics, and SearchAnalytics nodes must be in separate datacenters. For example, in a cluster with both DSE Search and transactional nodes, all DSE Search nodes must be in a one or more search datacenters and all transactional nodes must be in one or more datacenters.

DSE Graph must be enabled on all nodes in a datacenter. It no longer has to be enabled on the entire cluster.

Deploying a mixed-workload cluster

When deploying one or more datacenters for each type of node, first determine which nodes to start as transactional, analytic, DSE Graph only, DSE Graph plus other types, DSE Search, and SearchAnalytics nodes. Deploy in this order:

  1. Analytic seed nodes.

  2. Transactional or DSE Graph only seed nodes.

  3. DSE Search seed nodes.

  4. SearchAnalytics nodes.

  5. Remaining nodes one at a time. See Initializing multiple datacenters per workload type.

DSE Analytics nodes

Before starting DSE Analytics nodes, ensure that the replication factor is configured correctly for the analytics keyspaces. Every time you add a new datacenter, you must manually increase the replication factor of the dse_leases keyspace for the new DSE Analytics datacenter.

Start up options

Set the type of node in the /etc/default/dse file. (Start-up scripts are also available in /etc/init.d.)

Option Description

GRAPH_ENABLED=1

Starts the node as a DSE Graph node.

SPARK_ENABLED=1

Starts the node as a Spark node and starts the Spark master service.

SOLR_ENABLED=1

Starts the node as a DSE Search node.

Transactional-only or BYOS nodes

NODE_TYPES=0 or not present.

For example:

Spark Analytics node
SPARK_ENABLED=1

SOLR_ENABLED=0

GRAPH_ENABLED=0

or

SPARK_ENABLED=1

No entry is the same as disabling the omitted type.

Spark Analytics, DSE Graph, and DSE Search node
SPARK_ENABLED=1

GRAPH_ENABLED=1

SOLR_ENABLED=1
BYOS (Bring Your Own Spark) nodes

For these nodes, Spark runs in separate Spark cluster from a vendor other than DataStax. To prevent the node from attempting to use the DSE integrated Spark, you must start BYOS nodes as transactional nodes. To do this, set all node types to =0 or omit them.

For a combined DSE Graph and BYOS node, set the GRAPH_ENABLED option to 1 only. Set all other types to 0 or omit them.

SearchAnalytics nodes

An integrated DSE SearchAnalytics cluster allows analytics jobs to be performed using Search index syntax.

SPARK_ENABLED=1

SOLR_ENABLED=1

Procedure

  1. If DataStax Enterprise is running, stop the node.

  2. Set the node type in the /etc/default/dse file as explained in Start up options.

  3. Start DataStax Enterprise:

    sudo service dse start

    If a Timed out while waiting for DSE to start error appears, see DSE cannot start with YAML parsing error.

  4. To verify that the cluster is running:

    nodetool status

    The nodetool command shows the node type and the status. For a transactional node running in a normal state (UN) with virtual nodes (vnodes) enabled shows:

    Datacenter: Cassandra
    =====================
    Status=Up/Down
    |/ State=Normal/Leaving/Joining/Moving
    --  Address    Load       Tokens  Owns    Host ID                               Rack
    UN  127.0.0.1  82.43 KB   128     ?       40725dc8-7843-43ae-9c98-7c532b1f517e  rack1

    For example, a running node in a normal state (UN) with DSE Analytics without vnodes enabled shows:

    Datacenter: Analytics
    =====================
    Status=Up/Down
    |/ State=Normal/Leaving/Joining/Moving
    --  Address         Load       Owns    Host ID                               Token                 Rack
    UN  172.16.222.136  103.24 KB  ?       3c1d0657-0990-4f78-a3c0-3e0c37fc3a06  1647352612226902707   rack1

Was this helpful?

Give Feedback

How can we improve the documentation?

© Copyright IBM Corporation 2026 | Privacy policy | Terms of use |  Manage Privacy Choices

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: Contact IBM