2010/4/5 Ted Zlatanov <t...@lifelogs.com> > On Sat, 3 Apr 2010 14:10:37 -0500 Jonathan Ellis <jbel...@gmail.com> > wrote: > > JE> IMO the "right" way to do it is to configure your machines so that > JE> autodetecting listenaddress Just Works, so you can deploy exactly the > JE> same config to all nodes. > > It would be nice if Cassandra looked at all the available interfaces and > selected the one whose reverse DNS lookup returned ".*cassandra.*" (or > some keyword the user provided). > > In other words, when you have > > eth0 = address X, reverse = "67.frontend.com" > eth1 = address Y, reverse = "cassandra-67.backend.com" > > eth1 should look better. So maybe ListenAddress could support this in > the configuration somehow, as a string spec or a > ListenAddressPreferReverse option. That would let those of us with > multiple interfaces use the exact same config everywhere.
You can already accomplish this. Setup /etc/hosts correctly and leave ListenAddress blank. -Brandon