Forum Discussion

William_Rodgers's avatar
William_Rodgers
Icon for Nimbostratus rankNimbostratus
Jul 10, 2007

Duplicating TCP messages and suppressing response

I have a couple of proprietary telecom nodes that I would like to load balance across, but problem is that client has to go through an initial registration process with a server before it will take client transactions. All of this happens with TCP and there is NO encryption or SSL.

 

 

I don't know if this is possible, but I am wondering if something like this is possible...

 

 

(Assuming I have LTM between client and two server nodes)

 

 

When client sends initial registration request to LTM VIP, I need to:

 

 

1) duplicate the message (send the client message to server-1 and server-2 at the same time)

 

 

2) have the LTM respond properly to both servers for any TCP message from both servers

 

 

3) suppress the duplicate response messages from server-2 (don't send them to the client, but respond properly to server)

 

 

4) make sure the client only gets response from server-1

 

 

Assuming this works for the initial registration process with each server, I think I could start sending transactions to the LTM that would be load balanced across both server nodes, because each transaction is handled inside of a single TCP connection.

 

 

Any ideas or any other ways to do this would be appreciated!!!

 

 

Thanks!

1 Reply

  • Deb_Allen_18's avatar
    Deb_Allen_18
    Historic F5 Account
    If it were HTTP traffic, you might be able to begin with one server, then use HTTP::retry (Click here) to replay the registration transaction with the 2nd server, then stick with it for the life of that HTTP connection and load balance follow-on connections. (More than 2 would considerably complexify the logic.)

     

     

    There is no equivalent retry command for TCP traffic, though...

     

     

    /deb