小编BDa*_*ata的帖子

使用Amazon Elastic IP的Cassandra Datastax Enterprise

我想在Amazon EC2实例上运行Cassandra Datastax Enterprise,而不是使用节点专用IP地址,而是使用弹性公共IP

我目前的配置如下:

/etc/dse/cassandra/cassandra.yaml

seed_provider:
  - class_name: org.apache.cassandra.locator.SimpleSeedProvider
    parameters:
        seeds: "publicIP"

listen_address:  "publicIP"
endpoint_snitch:Ec2Snitch
rpc_address: "publicIP"
Run Code Online (Sandbox Code Playgroud)

"dse"服务无法正常启动.

/var/log/cassandra/system.log显示以下错误:

org.apache.cassandra.exceptions.ConfigurationException: Unable to bind to address /<publicIP>:7000. Set listen_address in cassandra.yaml to an interface you can bind to, e.g., your private IP address on EC2

我还尝试将broadcast_address更改为指向公共IP地址,但它不起作用.

有没有办法以某种方式运行dse服务(Cassandra),它使用弹性IP地址而不是EC2盒的私有IP?

amazon-web-services cassandra datastax-enterprise datastax

7
推荐指数
2
解决办法
3935
查看次数