[freetds] Multiple entry in freetds.conf

Frediano Ziglio freddyz77 at tin.it
Mon Aug 30 10:10:33 EDT 2004

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:
> 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? 


More information about the FreeTDS mailing list