
Rules
BIG-IP® Reference Guide 4-49
Rules
As described in the Pools section, a pool may be referenced directly by the
virtual server, or indirectly through a rule, which chooses among two or
more load balancing pools. In other words, a rule selects a pool for a virtual
server. A rule is referenced by a 1- to 31-character name. When a packet
arrives that is destined for a virtual server that does not match a current
connection, the BIG-IP can select a pool by evaluating a virtual server rule.
The rule is configured to ask true or false questions such as:
• HTTP header load-balancing: Does the packet data contain an HTTP
request with a URI ending in cgi?
• IP header load balancing: Does the source address of the packet begin
with the octet 206?
In addition to creating a rule to select a pool, you can also create a rule to
redirect an HTTP request to a specific host name, port number, or URI path.
The remainder of this section covers the following topics:
• Rule-based pool selection - Describes how to use the pool-selection
criteria to configure load balancing.
• Rule-based HTTP redirection - Describes how to create a rule to redirect
an HTTP request to a specific host name, port, or URI.
• Rule Statements - Describes the various types of expressions and
operands that you are allowed to use when constructing rules.
• Configuring rules - Provides the procedure for configuring a rule, using
either the Configuration utility or the command-line interface.
• Additional rule examples - Provides additional examples showing how to
configure rules for various types of pool selection.
Note
Once you have created a rule, you need to configure a virtual server to
reference that rule. For information on configuring a virtual server to
reference a rule, see Configuring virtual servers that reference rules, on
page 4-82.
Kommentare zu diesen Handbüchern