Skip to Content.
Sympa Menu

freetds - Re: [freetds] Multiple entry in freetds.conf

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddyz77 AT tin.it>
  • To: luc.riou AT wanadoo.fr, FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Cc:
  • Subject: Re: [freetds] Multiple entry in freetds.conf
  • Date: Mon, 30 Aug 2004 16:10:33 +0200

Il gio, 2004-08-26 alle 18:10, Luc RIOU ha scritto:
> Hi,
> it's possbile to have multiple entry for same server in freetds.conf same
> interfaces files.
>
> ex:
> [SERVER]
> host = host1 #host is up is warm
> port = port1
> host= host2 #host is down is standby
> port = port2
>
> I want to connect on SERVER to host1 when host2 is down and to host2 when
> host1 is down.
> When i try this, it's don't work.
>
>
> ps: sorry for my english

No, it's not possible. You should change client code to do the
connection to wanted server.
I think it's not a good idea to code this in FreeTDS. How to check if a
server it's up? icmp, double asyncronous tcp connection?

freddy77






Archive powered by MHonArc 2.6.24.

Top of Page