Drain a node

Drain a node using the Drain option in OpsCenter Nodes administration. Draining a node flushes all memtables from the node to SSTables on disk. Restarting DSE after draining a node is required for the node to start accepting writes again. Typically, a node is drained before upgrading to a new version of DSE.

For information about manually draining a node, see the corresponding nodetool drain command.

Draining a node is not necessary with either the OpsCenter UI or the drain nodetool command when upgrading a node to a minor DSE version using LCM.

To simply flush memtables to disk, use the Flush option in OpsCenter or the corresponding nodetool flush command.

  1. If OpsCenter role-based security is enabled, be sure that the Drain Node Operations permission is enabled for the appropriate user roles.

  2. In the OpsCenter navigation menu, click your cluster’s name, and then select Nodes.

  3. In the Ring or List view, select the node you want to drain.

  4. On the Node Details dialog, in the Actions menu, select Drain.

    Drain option Node Details Actions menu

  5. Review the warning, and then click Drain Node to begin the drain operation.

  6. After the drain operation is complete, perform the operation that required you to drain the node, such as manually upgrading a node.

  7. Click Restart from the Node Actions menu.

    The node cannot accept writes until DSE is restarted.

  8. Click Restart DSE. You don’t need to select the Drain before stopping option again.

    opscRestartDSE

Was this helpful?

Give Feedback

How can we improve the documentation?

© Copyright IBM Corporation 2025 | 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