incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brandon Williams <dri...@gmail.com>
Subject Re: multinode cluster wiki page
Date Mon, 05 Apr 2010 18:10:38 GMT
2010/4/5 Ted Zlatanov <tzz@lifelogs.com>

> On Sat, 3 Apr 2010 14:10:37 -0500 Jonathan Ellis <jbellis@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

Mime
View raw message