我使用指向这些实例的3个弹性IP地址创建了3个实例。
我安装了dsc: dsc12.noarch1.2.13-1 @datastax
并且/etc/cassandra/default.conf/curandra.yaml具有以下内容:-种子:弹性IP列表
但是当我通过“服务cassandra start”启动cassandra时,我在/var/log/cassandra/curandra.log中看到:.启动过程中遇到的异常:无法联系任何种子!而且,足够的"nodetool状态“显示:未能连接到'127.0.0.1:7199':连接被拒绝
但是:如果我改变种子的值来使用实例的“私有IP”,cassandra就会很好地启动。我希望它能很好地与弹性IP的工作,但它没有。
你知道为什么吗?
我希望弹性IP能够工作的原因是我提前知道IP地址,所以当我提供一台带有木偶的机器时,我可以在cassandra.yaml文件中预先填充种子。直到机器启动之后,我才知道私有IP地址:
发布于 2014-01-27 20:57:29
我相信您的问题来自于种子IP与节点的广播IP不一样。若要更改此操作,请修改每个Cassandra.yamls中的以下行
# Address to broadcast to other Cassandra nodes
# Leaving this blank will set it to the same value as listen_address
broadcast_address: <node's elastic ip> #uncomment this linehttps://stackoverflow.com/questions/21261098
复制相似问题