2010/4/5 Ted Zlatanov <email@example.com>
On Sat, 3 Apr 2010 14:10:37 -0500 Jonathan Ellis <firstname.lastname@example.org> 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.