[SOLVED] IPVS socket disconnect problem

Feature requests and their debate

[SOLVED] IPVS socket disconnect problem

Postby maslopo » Thu Jan 17, 2013 12:51 pm

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
Last edited by maslopo on Tue Feb 12, 2013 11:25 am, edited 1 time in total.
maslopo
 
Posts: 25
Joined: Fri Dec 28, 2012 4:17 pm

Re: IPVS socket disconnect problem

Postby Serge » Thu Jan 24, 2013 8:07 pm

Serge
 
Posts: 1526
Joined: Sat Feb 26, 2011 8:24 pm
Location: SPb

Re: IPVS socket disconnect problem

Postby maslopo » Fri Jan 25, 2013 8:57 am

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.
maslopo
 
Posts: 25
Joined: Fri Dec 28, 2012 4:17 pm


Return to Feature Requests



Who is online

Users browsing this forum: No registered users and 3 guests