Forum Discussion
MQ_107747
Mar 04, 2011Nimbostratus
I-RULE HELP&ADVISE
i need to type i-rule check the client source address then check pool member available then go to pool , if not check second pool availability , and so on ...
when HTTP_REQUEST {
if { [class match [IP::client_addr] equals "UsersSubnet" ] }{
if { [active_members Pool1 ] > 0 }{
pool Pool1
}
elseif {[active_members Pool2 ] > 0 }{
pool Pool2
}
} End I-rule
- Chris_MillerAltostratusIs the rule not working or are you just looking for recommendations?
- MQ_107747Nimbostratusi did not try it yet , i am jut looking for recommendation and advise.
- Chris_MillerAltostratusHow about just creating a pool that contains all the different servers and using priority group activation to make users go to the proper pools if there are available members. You'd still use the iRule to direct that network to the pool.
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