Forum Discussion
Jose_Figueroa_4
Nimbostratus
Nov 25, 2008two pool ratio configuration?
Greetings,
Is there a way that I can have two pools and have ratio configuration? I need to load balancing two pools consisting of mail servers on both pools behind 1 virtual server. I ...
Jose_Figueroa_4
Nimbostratus
Nov 26, 2008Thank you Aaron.
We need to have two pool ratio lb for certain reasons. I was provided the following irule but it is not working, any ideas?
•Pool ratio configuration
As discussed, the best way to do this is with a pool populated with two "dummy" IP addresses. These addresses can be used within an iRule as tokens to select the appropriate destination pool. This allows us to use BIG-IPs native LB engine, and is very lightweight and supportable. Configuration example below.
Pool ratio configuration
virtual dual_pool_mail_vip {
pool dual_pool_mail_pool
destination 10.1.2.3:smtp
ip protocol tcp
rules dual_pool_mail_rule
}
pool dual_pool_mail_pool {
lb method member ratio
members
1.2.3.4:smtp
ratio 80
5.6.7.8:smtp
ratio 20
}
rule dual_pool_mail_rule {
when LB_SELECTED {
LB::reselect
pool dual_pool_mail_[LB::server addr]
}
}
pool dual_pool_mail_1.2.3.4 {
members
1.0.0.1:smtp
1.0.0.2:smtp
1.0.0.3:smtp
1.0.0.4:smtp
1.0.0.5:smtp
}
pool dual_pool_mail_5.6.7.8 {
members
2.0.0.1:smtp
2.0.0.2:smtp
}
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
