问题而创建集群使用卡桑德拉 -如何在Windows7中创建一个Cassandra节点集群?
我按照说明创建卡桑德拉集群下面的步骤: - 1.Installed卡桑德拉3款Windows-7的PC。 PC ip地址,127.0.0.1,127.0.0.2,127.0.0.3
2.Modified the cassandra.yaml file as below.
cluster_name: 'MyCluster'
num_tokens: 256
seed_provider: - seeds: "127.0.0.1"
listen_address: 127.0.0.1,127.0.0.2,127.0.0.3
rpc_address: 0.0.0.0
3.start the Cassandra in all the above 3 PCs.
but I am not getting more than 1 Node in Node tool. I can see only one node.
I have installed datastax-community-64bit_2.0.3
So, Please help me to solve this problem. I need to create Cassandra cluster.
Thanks in Adavance,
Satya
你也必须修改监听地址。使用你系统的IP地址作为监听地址(不要使用你的群集的所有ip地址).eg在你的第一个节点的cassandra.yaml文件中,它应该是listen_address :127.0.0.1和第二节点listen_address:127.0.0.2和第三listen_address:127.0.0.3。 –
谢谢subhra。它为我工作很好。我已经更改了配置文件中的listen_address,并将端口(7000,7001,1 9160,7199,9042,8888,50031,61620,8012,9290,50030,50060,61621,22,8983)添加到防火墙入站规则中。 – Satya