Sample deployments for a co-located/external Cassandra cluster
You can use these sample deployments as a model for your chosen deployment option: single data center or multi-data center.
Single data center
A single data center cluster server must contain a minimum of two Cassandra nodes such as Cassandra node 1 and Cassandra node 2.
- Configure <Cassandra installed directory>\conf\cassandra.yaml as follows:
- cluster_name: FeatureServerCluster
- start_rpc: true
- listen_address: Cassandra node IP address/hostname
- rpc_address: Cassandra node IP address/hostname
- seeds: Cassandra node 1 IP address/hostname
- storage_port : 7000 (default value)
- ssl_storage_port : 7001 (default value)
- native_transport_port : 9042 (default value)
- rpc_port : 9061 (default value)
- endpoint_snitch: PropertyFileSnitch
- Configure <Cassandra installed directory>\conf\cassandra-topology.properties as follows:
- Cassandra node 1 IP address/hostname=DC1:RAC1
- Cassandra node 2 IP address/hostname=DC1:RAC2
Multi-data center
Following is a sample deployment for a multi-data centre.
- A multi data center cluster server must contain a minimum of two data centers:
- Data center 1 => Cassandra node 1, Cassandra node 2
- Data center 2 => Cassandra node 3, Cassandra node 4
- Configure <Cassandra installed directory>\conf\cassandra.yaml as follows:
- cluster_name: FeatureServerCluster
- start_rpc: true
- listen_address: Cassandra node IP address/hostname
- rpc_address: Cassandra node IP address/hostname
- seeds: IP addresses/hostnames of Cassandra node 1, Cassandra node3
- storage_port : 7000 (default value)
- ssl_storage_port : 7001 (default value)
- native_transport_port : 9042 (default value)
- rpc_port : 9061 (default value)
- endpoint_snitch: PropertyFileSnitch
- Configure the <Cassandra installed directory>\conf\cassandra-topology.properties as follows:
- Cassandra node 1 IP address/hostname=DC1:RAC1
- Cassandra node 2 IP address/hostname=DC1:RAC2
- Cassandra node 3 IP address/hostname=DC2:RAC1
- Cassandra node 4 IP address/hostname=DC2:RAC2
This page was last edited on July 24, 2020, at 06:31.
Comments or questions about this documentation? Contact us for support!