Page 1 of 1

[SOLVED] IPVS socket disconnect problem

PostPosted: Thu Jan 17, 2013 12:51 pm
by maslopo
I use a distributed database for which I installed IPVS to load balance, so I dbever connect to a virtual ip ... in LVS-DR is defined a time-out after which the virtual ip, if he sees no communication between client and server, stop the socket ... so I have to run "reconnect" in dbever ... you could open a connection for each sql script execution?

Grazie, Massimo

Re: IPVS socket disconnect problem

PostPosted: Thu Jan 24, 2013 8:07 pm
by Serge

Re: IPVS socket disconnect problem

PostPosted: Fri Jan 25, 2013 8:57 am
by maslopo
Excuse my poor description, in fact, would only keep the connection alive so that ipvs not close itself ...


Every 2.0s: ipvsadm -lnc Fri Jan 25 09:45:49 2013
IPVS connection entries
pro expire state source virtual destination
TCP 479:42 ESTABLISHED 192.168.1.172:15853 172.168.1.49:5433 172.168.1.54:5433

When expired and I try to execute a new sql in Dbever I get socket error, closed by remote host...



Grazie.