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--...
sandiksk_35282
Altostratus
Sep 24, 2015and i more question if anyother source makes a connection to the database servers it should be based on the predictor and persistence correct .Only App1 and app2 traffic will be directed to the database servers based on the irule.
Hannes_Rapp
Nimbostratus
Sep 24, 2015That's correct. However, given the new details I recommend you take into use "persist none" function - add it to both of the ELSEIF blocks so no persistency records will be created for those two app servers. I've also updated my original iRule code.
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