Working with Clusters and Match Rules
expression “!client_ip(\“10.10.10/24\”)”
Functions can be combined using the logical operators shown in the previous section. For
example, to match a client request for any file with two different file suffixes, you could use an
expression like this:
expression “filename_suffix(\“jpg”) or filename_suffix(\“gif”)”
Functions and operators can be grouped using parentheses to create complex expressions. For
example, to match a client request with a source IP on the 10.10.10/24 network and a URI whose
filename suffix is
not
“jpg” or “gif”, use the following expression:
expression “client_ip(\“10.10.10/24\”) and!(filename_suffix(\“jpg”) or filename_
suffix(\“gif”))”
Match Rule Expression Notes
Observe the following when constructing match rule expressions:
Match Rule Behavior When Server Status is Not "Up"
When a match rule expression matches a client request, the request is load balanced using the
server pools, parameters, and flags specified in the match rule. The server pools specified in the
match rule may be in a number of “states” that affect the load balancing behavior: the servers
within the sever pools may be up or down, and may have one or both of the
quiesce
and
hot spare
options enabled.
server up
The request is routed to the selected server.
up/quiesce enabled
The request is routed to the selected server.
up/hot spare enabled
The request is routed to the selected server.
server down
If no Responder is selected in the match rule, then the request is sent to
the selected server and, eventually, the client times out. If a Responder is
selected, the Equalizer sends the configured response to the client.
The reason match rules behave as shown above is because the purpose of a match rule is to send
a request that matches an expression to a particular server that can (presumably) better satisfy
the request. In some cases, sending the request to a particular server may be required behavior
for a particular configuration.
398
Copyright © 2014 Coyote Point Systems, A Subsidiary of Fortinet, Inc.
Содержание Equalizer GX Series
Страница 18: ......
Страница 32: ...Overview 32 Copyright 2014 Coyote Point Systems A Subsidiary of Fortinet Inc ...
Страница 42: ......
Страница 52: ......
Страница 64: ......
Страница 72: ......
Страница 76: ......
Страница 123: ...Copyright 2014 Coyote Point Systems A Subsidiary of Fortinet Inc All Rights Reserved 123 Equalizer Administration Guide ...
Страница 228: ......
Страница 238: ......
Страница 411: ...Copyright 2014 Coyote Point Systems A Subsidiary of Fortinet Inc All Rights Reserved 411 Equalizer Administration Guide ...
Страница 459: ...Copyright 2014 Coyote Point Systems A Subsidiary of Fortinet Inc All Rights Reserved 459 Equalizer Administration Guide ...
Страница 476: ......
Страница 492: ......
Страница 530: ......
Страница 614: ......
Страница 626: ......
Страница 638: ......
Страница 678: ......
Страница 732: ...Using SNMP Traps 732 Copyright 2014 Coyote Point Systems A Subsidiary of Fortinet Inc ...
Страница 754: ......
Страница 790: ......
Страница 804: ......
Страница 842: ......
Страница 847: ...Copyright 2014 Coyote Point Systems A Subsidiary of Fortinet Inc All Rights Reserved 847 Equalizer Administration Guide ...
Страница 866: ......