Re: Client connection probem
Eric Chan <[email protected]>
| Newsgroups | gmane.linux.highavailability.ultramonkey |
|---|---|
| Message-ID | <[email protected]> |
Eric Chan <rdbates1 <at> comcast.net> writes: > > Hi, > > We have a client bound to a fixed port and connected to a virtual ip. When > failover, we found that the client is not able to connect to the other server. > We found that it is due to the fixed port bound by the client. After changing > the bound port to be a dynamic port, the reconnect is successful in failover. > However, we need the fixed bound port as a authentication mechanism in the > server. Any solution to it ? Thx. > > Best regards, > Eric > Hi, Further investigation show that I need to set the tcp timeout on the server by typing ipvsadm --set 3 120 300 3 stand for 3 second for the tcp timeout The client is ack to reset its connection after 3 second otherwise the client is kept in SYN_SENT state for a very long time. However, this result in a 3 second delay for reconnection. Any better solution other than that? Best regards, Eric -- Ultra Monkey - http://www.ultramonkey.org/ To UNSUBSCRIBE, email to [email protected], with a body: unsubscribe ultramonkey-users [email protected] where "[email protected]" is YOUR email address.