setting up cassandra multi node cluster on a single ubuntu server

后端 未结 4 1763
渐次进展
渐次进展 2020-12-03 09:06

I have a Cassandra Service running on my Ubuntu Server with a single node now. I want to make it into a ring cluster with 3 nodes to get a feel of multinode cluster all bein

4条回答
  •  时光取名叫无心
    2020-12-03 09:37

    Tried this on,

    Cassandra: 3.11.2
    RHEL: 6.5
    

    In cassandra.yaml, keep the following values different for different instances:

    1. native_transport_port
    2. Data Directory
    3. Commitlog Directory
    4. Saved_Cache Directory
    5. listen_address
    6. broadcast_rpc_address(rpc_address set as 0.0.0.0)

    Use loopback address in both listen_address and broadcast_rpc_address. Keep the storage port same in all the instances(i.e. 7000).

    In cassandra-env.sh, keep the JMX_PORT different for different instances.

提交回复
热议问题