Stop, start, or restart a node with OpsCenter

Use OpsCenter to stop, start, or restart the DataStax Enterprise (DSE) service on one or more nodes.

If OpsCenter role-based security is enabled, you must have a role with the Start and Stop Node Operations permission.

Stop a node

  1. In the OpsCenter navigation menu, click the name of the cluster that you want to manage, and then click Nodes.

  2. On the List tab, select the checkbox for each node that you want to stop.

    opscNodesListViewFilter

  3. Click Other Actions, and then select Stop.

  4. Select whether you want to drain the node before stopping (recommended), and then click Stop DSE.

    Confirm stopping DSE with optional drain before stopping

Start a node

  1. In the OpsCenter navigation menu, click the name of the cluster that you want to manage, and then click Nodes.

  2. On the List tab, select the checkbox for each node that you want to start.

    opscNodesListViewFilter

  3. Click Other Actions, and then select Start.

  4. On the confirmation banner, click Show Details to monitor the operation.

Restart a node

  1. In the OpsCenter navigation menu, click the name of the cluster that you want to manage, and then click Nodes.

  2. On the List tab, select the checkbox for each node that you want to restart.

    If the restart operation targets multiple nodes, the actions run sequentially. The next queued node is restarted as soon as the start command for the current node returns. To perform a rolling restart on an entire cluster, see Restart a cluster.

    opscNodesListViewFilter

  3. Click Restart.

  4. Select whether you want to drain the node before restarting (recommended), and then click Restart DSE.

    opscRestartDSE

Customize the startup and shutdown scripts

When you start, stop, or restart a node from the OpsCenter UI or API, the DataStax Agent attempts to determine the optimal way to run the operation. If the agent is unable to determine the best way, or you need to specify custom behavior, you can override the default start-cassandra and stop-cassandra scripts. These scripts are managed on each node as part of the DataStax Agent installation.

  1. Access the node where you want to customize the startup or shutdown script.

  2. Change to the DataStax Agent directory that contains example script files named start-cassandra.example and stop-cassandra.example.

    The default location depends on the installation type:

    • Package installations: /usr/share/datastax-agent/bin

    • Tarball installations: INSTALL_DIRECTORY/bin

  3. Remove the .example extension from the script that you want to customize:

    mv start-cassandra.example start-cassandra
  4. Edit the script as needed.

    The script should return an exit code of 0 when successful, and a non-zero value if it fails. For more information about DSE start and stop commands, see Start and stop DataStax Enterprise (DSE).

  5. Make the script executable:

    chmod 755 start-cassandra

The next time that you start or stop the node from the OpsCenter UI or API, the DataStax Agent runs your custom script.

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