Rebalancing a cluster

About this task

Rebalance a non-vnode cluster to ensure each node in a DataStax Enterprise cluster manages an equal amount of data. Rebalancing a cluster is not applicable to vnodes.

Prerequisites

If OpsCenter role-based security is enabled, be sure that the permission for the Rebalance Cluster option in Cluster Topology is enabled for the appropriate user roles.

Procedure

  1. Select the cluster to rebalance in the OpsCenter Monitoring navigation menu.

  2. Click Cluster Actions > Rebalance Cluster.

    The Rebalance Cluster menu option is disabled for clusters using vnodes or for those users who do not have the appropriate permission.

    OpsCenter checks if the token ranges are evenly distributed across the nodes in the cluster. If the cluster is already balanced, a message indicates rebalancing is not necessary at this time. If the cluster requires a rebalance, the Rebalance Cluster dialog appears showing the Proposed and Current topologies. Click Current and Proposed to view each topology before and after the rebalance operation.

    opscProposedRebalanceCluster

  3. Indicate a Delay Between Moves in seconds between node moves.

    Skipping a disk space check to verify enough disk space is available is not recommended. Skip the check only if it causes problems or cannot be performed.

  4. Click Start Rebalance. Check the status of the rebalance in the Activities area.

  5. If a rebalance operation is cancelled before all nodes are moved, click Rebalance Cluster again to resume.

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

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: +1 (650) 389-6000, info@datastax.com