Forum Discussion
Gudmo_34348
Nimbostratus
Mar 01, 2007Loadbalancing multiport applications
I'm new to iRules or F5 altogether for that matter.
I'm trying to loadbalance an application,
I will have 4 servers running the application and each instance runs with two ports open.
My question is.
How can I guarentee persistance so that the client that connects to the
application on one port connects to the same server on the other port?
Client ----> F5:9000 ---> ServerA:9000
Then he uses another feature in it's client framework and needs to connect to the
other port on ServerA Client ----> F5:9001 ---> ServerA:9001..
But I'm unsure what persistance iRule to use as I don't understand it's syntax.
Cany anyone help me with this dilemma?
- Gudmo_34348
Nimbostratus
The problem is that the application in question uses 2 standard ports, not just the one. - hoolio
Cirrostratus
If you want to use separate, single port virtual servers and pools for each port (aka "service") and have persistence across all of them, you'd want to use one custom source address persistence profile attached to all of the virtual servers, with match across virtuals, match across pools and match across services all enabled on the profile. - Gudmo_34348
Nimbostratus
I did try that, but I think I need a rule for this as one of the binaries in question doesn't work when using source address persistance. - Marcus_Slawik_8Historic F5 AccountGudmo, did you test with a vs:* already? does this one work, or don't you want to go that way at all?
- Gudmo_34348
Nimbostratus
I don't want to go that way at all. So no, I haven't tested this. - hoolio
Cirrostratus
If you tested using source persistence with all three "match across ..." options enabled, I'd expect the client would be persisted to the same node regardless of which service the request was made over. - shane_foster_11
Nimbostratus
we've seen numerous bugs with "match across services," both with cookie insert and with source-addr persist.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects