Forum Discussion
sandiksk_35282
Altostratus
Sep 24, 2015need help with an irule
I have 2 app serves i.e need to talk to the database VIP,load balancing 2 database servers.
How can I create an irule so that
app server 1 --- always talk to database server 1
app server 2--...
Hannes_Rapp
Nimbostratus
Sep 24, 2015when CLIENT_ACCEPTED {
if { [active_members DB_servers_pool] < 2 }{
return
} elseif { [IP::client_addr] == "1.1.1.1" }{
persist none
pool DB_servers_pool member 10.10.10.1
} elseif { [IP::client_addr] == "1.1.1.2" }{
persist none
pool DB_servers_pool member 10.10.10.2
}
}
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