Forum Discussion
Mark_Bell_98620
Nimbostratus
Dec 15, 2010Attempting to Set WideIP Ratio
Hi,
Got a query on attempting to set the ratio for the Wide IP in our F5 GTM setup. Using the Perl script on F5 examples I am able to change the pool member ratio with the GlobalLB.PoolMember set ratio method, however as far as I can see there is no corrolating option in the API for the GlobalLB.WideIP.
Am I going about this the wrong way, any ideas would be appreciated!
Cheers
wingZero
- smp_86112
Cirrostratus
Hi, I think you're looking in the wrong place. There is a get_ratio[] and set_ratio[] function in GlobalLB.PoolMember. It may not be intuitive, but it makes some sense since the ratio value is a property of the pool member, not the WIP. - smp_86112
Cirrostratus
Sorry...now that I re-read this, obviously you already know about the set_ratio[] method for PoolMember. But that leaves me unclear about what property you are trying to set on the WIP. You can set the load balancing method to Ratio at the WIP, which then uses the ratio values set on the pool members. Sorry about my initial response - can you clarify what option you are looking for? - JRahm
Admin
The LB_METHOD_RATIO attribute is defined in the GlobalLB.WideIP wsdl:LB_METHOD_RETURN_TO_DNS LB_METHOD_NULL LB_METHOD_ROUND_ROBIN LB_METHOD_RATIO
- Mark_Bell_98620
Nimbostratus
Cheers for the info Jason! - JRahm
Admin
No worries. As for all viewers, with LTM, lb_method is only a pool level attribute. In GTM, you can establish an lb_method at the pool level and then also at the wideIP level. So you may want to be evenly distributed within a datacenter but send 80% of your traffic to one datacenter over another because of capacity or cost. Having the two levels adds greater flexibility in your global lb solution.
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