从同一台计算机运行多个cassandra节点(集群)? [英] Run multiple cassandra nodes (a cluster) from the same machine?
问题描述
如何从我的Ubuntu运行3个Cassandra节点(实际上是一个集群)?我不想创建3个VMWare / VirtualBox实例,而是配置每个cassandra节点以侦听不同的端口。这是可能的一个cassandra安装?
How can I run 3 cassandra nodes (actually a cluster) from my Ubuntu? I don't want to create 3 instances of VMWare/VirtualBox but instead, configure each cassandra node to listen to a different port. Is that possible with one cassandra installation?
我想到的解决方案是有3个本地cassandra安装和独立配置每个cassandra.yaml,但实际上我更喜欢
A solution that came to my mind is to have 3 local cassandra installation and configure each cassandra.yaml independently but actually I would prefer to have achieve that by my installed cassandra configuration files.
我需要这样的配置只用于测试目的。
I need such configuration only for testing purposes, obviously.
推荐答案
在github上查看此Cassandra群集管理器 https://github.com/pcmanus/ccm
Check this Cassandra Cluster Manager on github https://github.com/pcmanus/ccm
这篇关于从同一台计算机运行多个cassandra节点(集群)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!