Forum Discussion
john_45664
Nimbostratus
Apr 22, 2009Multiple Pools/Sub pools?
Hi,
We are hosting using small groups of IIS servers with state servers assigned to each group.
Here's roughly how we're setup:
GroupA
state_server_A
web_server_A1
web_server_A2
web_server_A3
web_server_A4
GroupB
state_server_B
web_server_B1
web_server_B2
web_server_B3
web_server_B4
What we need to achieve is to round robin load balance between the two groups with source affinity to a group. Then round-robin between each webserver within the same group per request. If a server fails within the group, its crucial that the request only gets sent to another server within the same group.
How can we achieve this? Is it possible to setup multiple pools per virtual server (from the GUI I can only see the default pool option). I presume this must be setup via an irule. Any help would be greatly appreciated.
TIA
3 Replies
- hoolio
Cirrostratus
You can use an iRule to assign a client to one pool or a second pool based on some criteria, using the pool command (Click here). If you want to ensure the client is persisted to the same member of that pool, you can use the persist command (Click here). You can check if the pool has any members using the active_members command (Click here).
When do you want requests to go to the state_server_A|B though? If you add it to the pool as a member it will receive requests like any other pool member.
Aaron - hoolio
Cirrostratus
... - john_45664
Nimbostratus
Hi, Thanks for your reply.
The state server won't actually be receiving any requests, so I should just remove them from the picture entirely. Both pools are equal, and the first request therefore should be a round robin to give equal weighting.
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
