Forum Discussion
Mike_Denny_1081
Nov 24, 2010Nimbostratus
Issue with setting up a rate class in Java
We're setting up two virtual servers with the same parent rate class, to limit their aggregate traffic. LocalLB.RateClass.createAt
that point, we haven't specified the ceiling rate. The
base rate is set to 0 MBps.
Our first step in iControl is to create the parent rate class, then set up each child rate class and assign them the parent.
Based on the tutorial example:
http://devcentral.f5.com/Tutorials/TechTips/tabid/63/articleType/ArticleView/articleId/308/iControl-101--21--Rate-Classes.aspx
our first step was to create the rate class using the create method
However, when we create a rate class with 0 base rate, the F5 responds with the error:
Exception: Common: OperationFailded
primary_error_code : 17236601 (0x01070279)
secondary_error_code: 0
error_string : 01070279:3: Rate class 'parentRateClass_3': ceiling rate must be greater than or equal to 296bps
See anything? thx.
- This was a fun one to try to dig up. It turns out that the LocalLB.RateClass's create method takes a base rate and not the ceiling rate. But, under the seams, it set's the base AND ceiling rate to what you pass in for the base rate parameter. Since the ceiling rate has a minimum value of 296bps, passing a zero in for the base rate will throw the exception.
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