将Datastax Enterprise Cassandra迁移到Apache Cassandra [英] Migrate Datastax Enterprise Cassandra to Apache Cassandra

查看:37
本文介绍了将Datastax Enterprise Cassandra迁移到Apache Cassandra的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们目前正在使用DSE 4.8和5.12。我们希望迁移到aps cassandra。因为我们不使用spark或搜索思想,所以可以节省一些钱来迁移到apache。可以在没有停机时间的情况下实现这一目标。我看到sstableloader以其他方式工作。任何人都可以与我分享从dse迁移到Apache Cassandra的步骤。从dse到Apache之类的东西。
https: //support.datastax.com/hc/zh-CN/articles/204226209-Clarification-for-the-use-of-SSTABLELOADER

We have currently using DSE 4.8 and 5.12. we want to migrate to apache cassandra .since we don't use spark or search thought save some bucks moving to apache. can this be achieved without down time. i see sstableloader works other way. can any one share me the steps to follow to migrate from dse to apache cassandra. something like this from dse to apache. https://support.datastax.com/hc/en-us/articles/204226209-Clarification-for-the-use-of-SSTABLELOADER

推荐答案


  1. 找出DSE正在运行的Apache Cassandra版本。根据DSE文档, DSE 4.8.14 是使用Apache Cassandra 2.1和 DSE 5.1 使用的是Apache Cassandra 3.11

  1. Figure out what version of Apache Cassandra is being run by DSE. Based on the DSE documentation DSE 4.8.14 is using Apache Cassandra 2.1 and DSE 5.1 is using Apache Cassandra 3.11

最简单的方法是构建另一个DC(每个Cassandra的逻辑DC)并将其添加到现有集群中。

Simplest way to do this is to build another DC (Logical DC per Cassandra) and add it to the existing cluster.

像往常一样,在新的DC节点上使用 Nodetool Rebuild {from-old-DC},让Cassandra负责将数据流传输到新的Apache Cassandra节点自然。

As usual, with a "Nodetool Rebuild {from-old-DC}" on to the new DC nodes, let Cassandra take care of streaming data to the new Apache Cassandra nodes naturally.

数据流一旦完成,根据应用程序使用的LoadBalancingPolicy,将其local_dc切换为DC2(新的DC)。新的DC开始流量后,旧DC中的关闭节点会逐个说DC1。

Once data streaming is completed, based on the LoadBalancingPolicy being used by applications, switch their local_dc to DC2 (the new DC). Once the new DC starts taking traffic, shutdown nodes in old DC say DC1 one by one.

这篇关于将Datastax Enterprise Cassandra迁移到Apache Cassandra的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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