Forum Discussion
v_sakalkin_9556
Nimbostratus
Jan 21, 2013F5 LTM balancing by source port
Hello, colleagues!
We configured Source Address Affinity persistence profile type for Siebel application. But we have a BPM system that must be balanced not by source address.
One ch...
What_Lies_Bene1
Cirrostratus
Jan 29, 2013OK, so there are different connection sources. In that case sure, an iRule can do this easily. If you configure a default Persistence profile on the VS of source address, the elseif isn't actually required, I've just included it to demonstrate the possibilities;
when HTTP_REQUEST {
Check if this is a BPM system
if { [IP::addr [IP::client_addr] equals 192.168.1.0/24] } {
If a BPM system, disable persistence
persist none
Stop processing the iRule here
return
}
Check if this is a CC user
elseif { [IP::addr [IP::client_addr] equals 172.16.0.0/16] } {
If a CC user, enable source address persistence
persist source_addr
Stop processing the iRule here
return
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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