Tony_92768
Aug 06, 2008Nimbostratus
Load Balancing an Application Using Multiple Ports
First off, I searched the forums and did not find anything similar to what I am dealing with.
I am trying to set up load balancing for an application that utilizes multiple ports. By that, I mean the application is not FTP but behaves in a manner similar to passive mode FTP with the initial connection being made on TCP port "A" and a secondary connection being made on TCP port "B" where "B" is a single port in a defined range of ports.
Note - The application is not browser based.
The configuration I am considering involves two VIP's -
VIP1:A
Pool1
Node X:A
Node Y:A
VIP2:ANY
Pool2
Node X:ANY
Node Y:ANY
The problem is one of persistence across the two VIP's. If the initial connection on TCP port "A" comes in via VIP1 to Node X in Pool1, how can I guarantee the secondary connection gets sent to the Node X, and not Node Y, in Pool2 which is associated with VIP2?
Here's what I want:
VIP1 --> Pool1 --> Node X:A
VIP2 --> Pool2 --> Node X:B
Here's what I don't want since it will break the app:
VIP1 --> Pool1 --> Node X:A
VIP2 --> Pool2 --> Node Y:B
Does anyone have any suggestions/recommendations on how to approach this configuration? Will an iRule be able to handle the logic I need to maintain the persistence across VIP's? Remember, the application is not browser based so standard browser-centric approaches using cookies, profiles, etc., don't seem to apply - at least none that I've found.
Any assistance would be greatly appreciated.
Thanks,
Tony