Forum Discussion
gtfx_34287
Nimbostratus
Dec 28, 2009Disabel node for a specific request
Hello,
I have a virtual server that manages many hosts on Apache level with virtual hosts. What i need to do is the following:
When a request comes for a specific [HTTP::host] i want it to load balance it on all the members of the pool for that specific VIP. On any other cases i want to leave one specific member out of it just for that request.
What is the best way to do it?
Thanks in advance.
Leonid
- The_Bhattman
Nimbostratus
What are the conditions you want so that you leave that member out of the request? - gtfx_34287
Nimbostratus
for instance i have 5 domains that are getting handled by that VIP. - The_Bhattman
Nimbostratus
I suppose you can do the followingwhen HTTP_REQUEST { switch -glob [HTTP::host] { "www.domaina.com" - "www.domainb.com" - " www.domainc.com" - { node 10.1.2.200 80 } default { pool pool_others } } }
- gtfx_34287
Nimbostratus
From what i understand, this will redirect all thhe traffic to the node. I want to be part of the pool, just as any other member in some cases and out of the pool at the other. - The_Bhattman
Nimbostratus
It will only direct Domain A, B and C to that node and the rest to the pool that does not contain the node. Unless you need the opposite. Then you would do the opposite with the irule.
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