Skip to content

Commit d105fff

Browse files
authored
Merge pull request #204418 from TheovanKraay/patch-20
Update configure-hybrid-cluster.md
2 parents def19f2 + b6a4ea0 commit d105fff

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

articles/managed-instance-apache-cassandra/configure-hybrid-cluster.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,13 @@ This quickstart demonstrates how to use the Azure CLI commands to configure a hy
212212
> ```azurecli-interactive
213213
> az managed-cassandra cluster update --cluster-name --resource-group--repair-enabled false
214214
> ```
215-
> Then run `nodetool repair --full` on all the nodes in your existing cluster's data center. You should run this only after all of the above steps have been taken. This should ensure that all historical data is replicated to your new data centers in Azure Managed Instance for Apache Cassandra. If you have a very large amount of data in your existing cluster, it may be necessary to run the repairs at the keyspace or even table level - see [here](https://cassandra.apache.org/doc/latest/cassandra/operating/repair.html) for more details on running repairs in Cassandra. Prior to changing the replication settings, you should also make sure that any application code that connects to your existing Cassandra cluster is using LOCAL_QUORUM. You should leave it at this setting during the migration (it can be switched back afterwards if required). After everyhting is done and the old datacenter decommissioned you can enable automatic repair again).
215+
> Then run `nodetool repair --full` on all the nodes in your existing cluster's data center. You should run this **only after all of the prior steps have been taken**. This should ensure that all historical data is replicated to your new data centers in Azure Managed Instance for Apache Cassandra. If you have a very large amount of data in your existing cluster, it may be necessary to run the repairs at the keyspace or even table level - see [here](https://cassandra.apache.org/doc/latest/cassandra/operating/repair.html) for more details on running repairs in Cassandra. Prior to changing the replication settings, you should also make sure that any application code that connects to your existing Cassandra cluster is using LOCAL_QUORUM. You should leave it at this setting during the migration (it can be switched back afterwards if required). After the migration is completed, you can enable automatic repair again, and point your application code to the new Cassandra Managed Instance data center's seed nodes (and revert the quorum settings if preferred).
216+
>
217+
> Finally, to decommission your old data center:
218+
>
219+
> - Run `ALTER KEYSPACE` for each keyspace, removing the old data center.
220+
> - We recommend running `nodetool repair` for each keyspace as well, before the below step.
221+
> - Run [nodetool decommision](https://cassandra.apache.org/doc/latest/cassandra/operating/topo_changes.html#removing-nodes) for each on premise data center node.
216222
217223
> [!NOTE]
218224
> To speed up repairs we advise (if system load permits it) to increase both stream throughput and compaction throughput as in the example below:

0 commit comments

Comments
 (0)