Cassandra添加磁盘/增加存储卷,而不添加新节点 [英] Cassandra adding disks / increase storage volume without adding new nodes

查看:959
本文介绍了Cassandra添加磁盘/增加存储卷,而不添加新节点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须增加Cassandra群集中的存储卷,但是性能和吞吐量仍然是足够的。我的第一个想法是只添加驱动器。



是否可以使用jbod在运行的节点中添加新的驱动器?



任何最佳做法?


b
$ b

Thx,非常感谢您的帮助

解决方案

您可以将cassandra.yaml修改为在data_file_directories中指定了多个存储目录。这将需要一个节点重新启动,以获取新的配置,但在重新启动后,Cassandra将开始使用新的目录,数据将在两者之间均匀。


I have to increase storage volume in an cassandra cluster, the performance and throughput however is still more than enough. My first thoughts were to only add drives. Is it possible to increasing storage volume without adding new nodes?

Is it possible with jbod to add new drives live in an running node?

Or is the only way taking it offline, add the disks and take it back online afterwards?

Any best practises?

Thx, I really appreciate your help

解决方案

You can modify the cassandra.yaml to have multiple storage directories specified in data_file_directories. This will require a node restart in order to pick up the new configuration, but after the restart, Cassandra will start to use the new directory, and data will even out between the two over time.

这篇关于Cassandra添加磁盘/增加存储卷,而不添加新节点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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