I did a small poc for this *(similar rpc_address for both data centers) . *My
observations:
1. rpc_address is used by a client( datastax java driver) in my case to
connect to cassandra nodes.
2. Driver is keeping a list of contact points which it is updating using
system.peers table
3. Having two
>
> In a network one can assign valid private IP. Private IPs can conflict if
> we do not put any restriction on private IP.
>
Yes, you're right and I was aware of that (not realising that your question
was more around what I would consider multi-region comms). My disconnect
now is around the
So a few things are true:
- Cassandra uses IP addresses for internal data structures (in released
versions), so duplicating IP nominally means stomping on the wrong host
- Cassandra also differentiates broadcast IP from listen IP (local IP)
- The broadcast IP is what the other DC is going to
The nodes within one datacenter will talk on private IPs and for
communication across data center public ips are used. Does that answer
your question? or you are asking in terms of network layer.
As per this link
Putting Cassandra aside, I'm curious to know how you envision that would
work from a network perspective. How would the connectivity between servers
work?
>