Re: Preferred IP is NULL

2016-08-24 Thread Anuj Wadehra
Finally, multiple DC setup is working as expected in 2.0. So the recipe for configuring multiple interfaces in 2.0 is as follows: use GossipingPropertyFileSnitch so that preferred IP (private IP) is used for intra DC communication. Morever, you need to have a NAT rule to route traffic on public

Re: Preferred IP is NULL

2016-08-22 Thread Anuj Wadehra
We are using PropertyFileSnitch. ThanksAnuj Sent from Yahoo Mail on Android On Mon, 22 Aug, 2016 at 7:09 PM, Paulo Motta wrote: What snitch are you using? If GPFS you need to enable the prefer_local=true flag (this is automatic on EC2MRS). 2016-08-21 22:24 GMT-03:00 Anuj Wadehra : Hi Pa

Re: Preferred IP is NULL

2016-08-22 Thread Paulo Motta
What snitch are you using? If GPFS you need to enable the prefer_local=true flag (this is automatic on EC2MRS). 2016-08-21 22:24 GMT-03:00 Anuj Wadehra : > Hi Paulo, > > I am aware of CASSANDRA-9748. It says that Cassandra only listens at > listen_address and not broadcast_address. To overcome th

Re: Preferred IP is NULL

2016-08-21 Thread Anuj Wadehra
Hi Paulo, I am aware of CASSANDRA-9748. It says that Cassandra only listens at listen_address and not broadcast_address. To overcome that I can add a NAT rule to route all traffiic on public IP to private IP.  But, why preferred IP is set to null in peers table? Whats the expected value? Even if

Re: Preferred IP is NULL

2016-08-21 Thread Paulo Motta
See CASSANDRA-9748, I think it might be related. 2016-08-20 15:20 GMT-03:00 Anuj Wadehra : > Hi, > > We use multiple interfaces in multi DC setup.Broadcast address is public > IP while listen address is private IP. > > I dont understand why prefeerred IP in peers table is null for all rows. > > T

Preferred IP is NULL

2016-08-20 Thread Anuj Wadehra
Hi, We use multiple interfaces in multi DC setup.Broadcast address is public IP while listen address is private IP. I dont understand why prefeerred IP in peers table is null for all rows. There is very little documentation on the role of preferred IP and when it is set. As per code TCP connectio