Forum Discussion
Michel_van_der_
Nimbostratus
Jan 10, 2006LocalLB.VirtualServer.add_rule question
I tried to apply a rule to a virtual server, but it does not seem to work.
What format should the parameter 'virtual_servers' take. Is that '1.2.3.4:80' or the name of the virtual server?
12 Replies
- Cindy_127211
Nimbostratus
Okay, I'm not sure I fully understand, so I am going to state what I think (plus some questions). Please let me know if I have the right understanding.
All of the rules that have been added through the GUI are by default at priority 500. Is that true even if there are multiple rules and you've used the up/down arrow keys to move them around? If I add a rule with a priority of 100 through the iControl API, it will be first in priority, so will be processed first when a HTTP request is received (i.e. if the rules is HTTP_REQUEST type). - hoolio
Cirrostratus
Hi Cindy,
For more detail on priority in rules, check out Unruley's post in the 9.x rules forum (Click here).
The gist is that by default rules have a priority of 500. If you have two rules with no priority set (=500) configured on the same VIP, then the order they are listed in the bigip.conf or GUI determines which rule's events are triggered first.
I haven't played around with iControl so I can't say whether you can specify the priority of a rule when you're adding it to the VIP or not. But if you are able to, and you set it to a priority less than any existing rules associated with the VIP, the events in that rule would be triggered before any other rules.
Aaron
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