问题描述
我必须增加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添加磁盘/增加存储卷,而不添加新节点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!