Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux Virtual Server: Users

[lvs-users] Modify established connections (hash list)

 

 

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded


studentsite at o2

Nov 8, 2007, 8:49 AM

Post #1 of 3 (458 views)
Permalink
[lvs-users] Modify established connections (hash list)

Hello everyone,
I'm trying to create tcp socket migration mechanism. For now on I have
solution to migrate socket between two "real servers".
I would like to modify entry in lvs hash table for established
connection. I would like to change IP address and port number in the
hash table to avoid switching connection between "real server".

For example:

I have 3 computers:
- lvs 10.0.0.1 & 200.200.200.1
- real_srv_1 10.0.0.2
- real_srv_2 10.0.0.3

Client from Internet connect to 200.200.200.1 and lvs switch this
connection to real_srv_1 (port 80). For some reason I migrate proces
and socket from real_srv_1 to real_srv_2. From now on, this process
running on 10.0.0.3 and port (...for example) 8080. To make it still
runnng I have to redirect packets incoming from lvs to real_srv_2 - so
I can't to switch off real_srv_1 (for example - I would like to add
more RAM to real_srv_1).

Here is the question:
Is there is any solution to change entry in hash table in LVS to
redirect all packet not to real_srv_1:80 but to real_srv_2:8080?
Thank You for any reply.

Greets,
Lukasz Kowalski

_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users[at]LinuxVirtualServer.org
Send requests to lvs-users-request[at]LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users


rumen at voicecho

Nov 8, 2007, 9:46 AM

Post #2 of 3 (440 views)
Permalink
Re: [lvs-users] Modify established connections (hash list) [In reply to]

I am afraid there is no such feature in lvs.

Rumen

On Thu, 2007-11-08 at 17:49 +0100, studentsite[at]o2.pl wrote:
> Hello everyone,
> I'm trying to create tcp socket migration mechanism. For now on I have
> solution to migrate socket between two "real servers".
> I would like to modify entry in lvs hash table for established
> connection. I would like to change IP address and port number in the
> hash table to avoid switching connection between "real server".
>
> For example:
>
> I have 3 computers:
> - lvs 10.0.0.1 & 200.200.200.1
> - real_srv_1 10.0.0.2
> - real_srv_2 10.0.0.3
>
> Client from Internet connect to 200.200.200.1 and lvs switch this
> connection to real_srv_1 (port 80). For some reason I migrate proces
> and socket from real_srv_1 to real_srv_2. From now on, this process
> running on 10.0.0.3 and port (...for example) 8080. To make it still
> runnng I have to redirect packets incoming from lvs to real_srv_2 - so
> I can't to switch off real_srv_1 (for example - I would like to add
> more RAM to real_srv_1).
>
> Here is the question:
> Is there is any solution to change entry in hash table in LVS to
> redirect all packet not to real_srv_1:80 but to real_srv_2:8080?
> Thank You for any reply.
>
> Greets,
> Lukasz Kowalski
>
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users[at]LinuxVirtualServer.org
> Send requests to lvs-users-request[at]LinuxVirtualServer.org
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users


_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users[at]LinuxVirtualServer.org
Send requests to lvs-users-request[at]LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users


jmack at wm7d

Nov 16, 2007, 2:23 PM

Post #3 of 3 (433 views)
Permalink
Re: [lvs-users] Modify established connections (hash list) [In reply to]

On Thu, 8 Nov 2007, studentsite[at]o2.pl wrote:

> Hello everyone,
> I'm trying to create tcp socket migration mechanism. For now on I have
> solution to migrate socket between two "real servers".
> I would like to modify entry in lvs hash table for established
> connection. I would like to change IP address and port number in the
> hash table to avoid switching connection between "real server".

In case you haven't got an answer... No-one is working on
anything like this for LVS. I know people outside LVS are
doing things like this, but AFAIK it's difficult and beyond
anything I'm prepared to tackle. If you get it to work,
we'll be very happy to use it, and I'm sure everyone will be
impressed that you got it to work.

All the best

Joe

--
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!

_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users[at]LinuxVirtualServer.org
Send requests to lvs-users-request[at]LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.