Match Functions
Equalizer Installation and Administration Guide
219
Modifying a Match Rule
To edit a match rule, follow these steps:
1. Log into the Administrative Interface using a login that has
write access
for the cluster (see “Logging In” on
page 52).
2. In the left frame, click the name of the match rule to be changed.
3. Make the desired changes to the match rule, as shown in the procedure in the previous section, starting at Step 5
on page 217.
Removing a Match Rule
To delete a match rule, follow these steps:
1. Log into the Administrative Interface using a login that has
add/del
access for the cluster (see “Logging In” on
page 52).
2. In the left frame, right-click the name of the match rule to be deleted and select
Delete Match Rule
from the
local menu.
3. Click
delete
to confirm that you want to delete the match rule.
Match Functions
To build or edit a match expression, click part of the expression to edit its arguments or to select a match function or
logical expression from a dynamic drop-down list. The part of the expression that you click on is highlighted and
determines the contents of the drop-down list. For instance, if the current selection is a match function, the
arguments to the function are displayed so you can edit them, along with a list of items that can replace the function.
In the Administration Interface, logical operators and constructs are introduced using special entries in the drop-
down list for expressions. These allow you to build complex boolean expressions in match rules. See the section
“Logical Operators and Constructs in the GUI” on page 225.
The combination of match functions and logical operators provides a great deal of control over request processing
based on the contents of the request’s HTTP headers and the destination URI of the request.
The following table lists the non-URI functions supported by Equalizer match rules:
non-URI Match Function
Description
any()
This
function always evaluates to
true
.
client_ip(
string
)
This
function evaluates to
true
only if the IP address of the client
machine making the connection matches the
string
argument.
The
string
can be a simple IP address (e.g., “192.168.1.110”),
or an IP address in Classless Inter-Domain Routing (CIDR)
notation (e.g., “192.168.1.0/24”). This function can be useful in
restricting match expressions to a particular client or group of
clients, which can aid in debugging a new match rule when a
cluster is in production. Only the specified clients match the rule,
leaving other clients to be handled by other match rules.
Содержание E350GX
Страница 18: ...Chapter Preface 18 Equalizer Installation and Administration Guide ...
Страница 38: ...Chapter 1 Equalizer Overview 38 Equalizer Installation and Administration Guide ...
Страница 50: ...Chapter 2 Installing and Configuring Equalizer Hardware 50 Equalizer Installation and Administration Guide ...
Страница 62: ...Chapter 3 Using the Administration Interface 62 Equalizer Installation and Administration Guide ...
Страница 80: ...Chapter 4 Equalizer Network Configuration 80 Equalizer Installation and Administration Guide ...
Страница 110: ...Chapter 5 Configuring Equalizer Operation 110 Equalizer Installation and Administration Guide ...
Страница 208: ...Chapter 7 Monitoring Equalizer Operation 208 Equalizer Installation and Administration Guide ...
Страница 240: ...Chapter 8 Using Match Rules 238 Equalizer Installation and Administration Guide ...
Страница 258: ...Chapter 9 Administering GeoClusters 254 Equalizer Installation and Administration Guide Envoy Configuration Worksheet ...
Страница 262: ...Appendix A Server Agent Probes 258 Equalizer Installation and Administration Guide ...
Страница 274: ...Appendix B Timeout Configuration 270 Equalizer Installation and Administration Guide ...
Страница 280: ...Appendix D Regular Expression Format 276 Equalizer Installation and Administration Guide ...
Страница 296: ...Appendix E Using Certificates in HTTPS Clusters 292 Equalizer Installation and Administration Guide ...
Страница 310: ...Appendix F Equalizer VLB 306 Equalizer Installation and Administration Guide ...
Страница 318: ...Appendix G Troubleshooting 314 Equalizer Installation and Administration Guide ...