On Thursday, June 04, 2009 at 03:41 CEST,
Corey Chandler <[email protected]> wrote:
> mouss wrote:
>
> > he can put multiple IPs in "hosts=..." statement.
>
> Within the mysql map file itself? That's nifty; I wasn't aware that
> was there; I'll have to revisit some of my own configs.
>
> Does it roundrobin, tackle them in order, etc?
Quoting mysql_table(5):
The hosts are tried in random order, with all connections over
UNIX domain sockets being tried before those over TCP. The con-
nections are automatically closed after being idle for about 1
minute, and are re-opened as necessary. Postfix versions 2.0 and
earlier do not randomize the host order.
--
Magnus Bäck
[email protected]