Forum Discussion
Osama_Friejeh_6
Oct 05, 2008Historic F5 Account
Application layer persistence iRule
A customer of mine has a persistence requirement between his web servers and application server layer. BIG-IP is load balancing two layers: web layer and application layer. Persistence at web layer is...
kykong_107132
Nimbostratus
Oct 06, 2008Hi,
you can try following steps.
1. create 2 pools, app1_pool(app1 higher priority) and app2_pool(app2 higher priority).
2. create this irule:- (assuming web1 ip address is 192.168.1.1)
when CLIENT_ACCEPTED {
if { [IP::addr [IP::remote_addr] equals 192.168.1.1] } {
pool app1_pool
} else {
pool app2_pool
}
}
3. assign this irule to app_virtual_server.
hope this work for you.
regards,
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