将Cassandra 2.0.8升级到2.1.0 [英] Upgrading Cassandra 2.0.8 to 2.1.0

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

问题描述

我的cassandra群集中有8个节点。现在我已将集群从cassandra 2.0.8升级到cassandra 2.1.0的发行版。

I have 8 nodes in my cassandra cluster. Now I have upgraded cluster from cassandra 2.0.8 to release version of cassandra 2.1.0.

我如何将cassandra升级到2.1.0?

how can i upgrading cassandra to 2.1.0?

推荐答案

首先检查您的升级兼容性:
可以从cassandra-2.0.7或更高版本升级2.1版的Cassandra升级。

First check your upgrade compatibility: Cassandra upgrade for 2.1 version can be upgrade from cassandra-2.0.7 or later version.

步骤:


  1. 在单个节点上执行nodetool消耗

  2. 备份cassandra.yaml文件

  3. 关闭节点

  4. 要安装rpm,请先卸载dsc和cassandra rpm

  5. 安装新版本的cassandra

  6. 对新cassandra.yaml文件中的所有更改都与旧yaml文件中一样

  7. 如果JMX较早启用了安全性,请在cassandra-env.sh文件中做所需的更改

  8. 以新版本启动节点

  9. 在节点上运行nodetool upgradesstables

  10. 在所有节点上一个接一个地

  1. Do nodetool drain on a single node
  2. Take backup of cassandra.yaml file
  3. Shutdown the node
  4. For rpm install first uninstall dsc and cassandra rpm
  5. Install new version of cassandra
  6. Do all the change in new cassandra.yaml file as in old yaml file
  7. If JMX security was enable earlier the do required changes in cassandra-env.sh file
  8. Start the node with new version
  9. Run nodetool upgradesstables on the node
  10. Follow the same procedure on all nodes one by one

为了安全起见,您可以先拍摄快照。

Before doing all that for your safe side you can take snashots first.

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

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