awesomemypro
awesomemypro

Reputation: 561

How to use different network interface for Cassandra inter-node communication?

I have four Cassandra nodes deployed. I have a Java application which acts as a client to the Cassandra cluster. Now, I want to see if I can use different network interfaces for the Inter-node communication and the Data transfer.

Can you shed some light on this?

Upvotes: 1

Views: 403

Answers (1)

Alex Ott
Alex Ott

Reputation: 87164

Yes, you can do this. For inter-node communication you can specify IPs/interfaces via listen_address (or listen_interface, but not together) (conf), and for client->Cassandra communication - rpc_address (or rpc_interface) (conf)...

If necessary, you may need to set broadcast_address & broadcast_rpc_address as well, but it depends on the topology of your cluster.

Upvotes: 1

Related Questions