Forum Discussion
Ecesureshkumar
Nimbostratus
Mar 30, 2015Load Balancing issue - Source Address Persisantence
Hi team,
We have one webserver and two application servers. Virtual Server is configured for two Application servers and on webserver IIS configuration we pointed to Virtual server of Applicatio...
DevBabu_174449
Cirrus
Apr 01, 2015You might want to give try as:
when LB_SELECTED {
if {[LB::server port] eq 7011 } {
if {[LB::status pool xyz_pool member x.x.x.x 7011] equals "up"} {
node x.x.x.x 7011
}
elseif {[LB::status pool xyz_pool member y.y.y.y 7011] equals "up"} {
node y.y.y.y 7011
}
}
elseif {[LB::server port] eq 7012 } {
if {[LB::status pool xyz_pool member y.y.y.y 7012] equals "up"} {
node y.y.y.y 7012
}
elseif {[LB::status pool xyz_pool member x.x.x.x 7012] equals "up"} {
node x.x.x.x 7012
}
}
}
x.x.x.x - app1
y.y.y.y - app2
- EcesureshkumarApr 02, 2015
Nimbostratus
Hi Babu, Thanks for this Irule. I have two different Virtual server 1) VS_7011 2) VS_7012. So i planning to create two different irule and bind it with respective virtual server. IRULE 1 when LB_SELECTED { if {[LB::status pool xyz_pool member x.x.x.x 7011] equals "up"} { node x.x.x.x 7011 } elseif {[LB::status pool xyz_pool member y.y.y.y 7011] equals "up"} { node y.y.y.y 7011 } IRULE2 when LB_SELECTED { if {[LB::status pool xyz_pool member x.x.x.x 7012] equals "up"} { node x.x.x.x 7012 } elseif {[LB::status pool xyz_pool member y.y.y.y 7012] equals "up"} { node y.y.y.y 7012 }
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