无需停机即可将生产环境 cassandra 集群移至 AWS cassandra [英] Move production env cassandra cluster to AWS cassandra without downtime

查看:23
本文介绍了无需停机即可将生产环境 cassandra 集群移至 AWS cassandra的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有 4 个节点的 cassandra 集群在本地 DC 的生产环境中运行.我必须将其移至 AWS cassandra.由于某种原因,我不想将 cassandra 移动到 dynamoDB.

I have cassandra cluster of 4 nodes running in production environment in on-premise DC. I have to move it to AWS cassandra. I don't want move cassandra to dynamoDB due to some reason.

使用的 Cassandra 版本很旧,即 1.2.9.

Cassandra version used is pretty old i.e. 1.2.9.

如何在不丢失数据和零停机的情况下将 cassandra 从本地 DC 迁移到 AWS cassandra.

How do I move cassandra from on-premise DC to AWS cassandra without data loss and zero downtime.

问候,维维克

推荐答案

在 AWS 中创建一个新的 DC.在两个 DC 之间配置 DC 间同步.停用旧的 DC.

Create a new DC in AWS. Configure inter DC sync between the both DCs. Decommision the old DC.

https://docs.datastax.com/en/cassandra/3.0/cassandra/operations/opsAddDCToCluster.html

这篇关于无需停机即可将生产环境 cassandra 集群移至 AWS cassandra的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆