This is the main configuration file of Cassandra. Almost every parameter, whether it is related to performance, security, or other features, is present within this file. JVM configuration options are not included within this file:
- listen_address: This is the IP address that Cassandra binds to for internode communication (gossip). The default value is localhost (127.0.0.1). In our case, we will have to set this value to the relevant loopback address based on the instance number. Set these values as follows:
- CASSANDRA_DIR1/conf/cassandra.yaml - 127.0.0.1
- CASSANDRA_DIR2/conf/cassandra.yaml - 127.0.0.2
- CASSANDRA_DIR3/conf/cassandra.yaml - 127.0.0.3
- rpc_address: This is the IP address that Cassandra binds to for client connections. ...