We want to direct all requests for images to a particular server pool, and balance the remainder
of requests across the other server pools in the cluster. The image server pool is connected to a
common storage device that contains the images. The remaining server pools are all dedicated to
serving particular content for different web sites. For this example, we assume that a cluster has
already been defined.
We want to maintain persistent connections for the web site servers, assuming that some of the
websites may need to maintain sessions for applications such as shopping carts, email, etc.
Persistent connections are not necessary for the image servers, since they access the images
from common storage and have no need to maintain client sessions, so there is no need to incur
the performance impact of maintaining session information.
To do this, we’ll create two match rules, as follows:
1. Log into the GUI using a login that has add/del access for the cluster.
2. In the navigation pane on the left, click the name of the Layer 7 cluster to which you want to
add the rule. The cluster
Configuration
screen (tab) will appear on the right:
a. Make sure that the
Once Only
checkbox is not checked; otherwise, uncheck it
and click
Commit
.
b. Make sure the
Persist
checkbox is not checked; otherwise, uncheck it and click
Commit
.
These steps are necessary because these flags, if enabled, cause only the first request in a
connection to be evaluated. Since we want content to come from one server pool and images from
another, we want the server pools that will have persistent connections to be chosen by the match
rules.
3. Right-click the cluster name in the left frame and select
Add Match Rule
. The
Add Match
Rule
form appears:
a. Type
images
into the
Match Name
text box and use the
Next Match Rule
drop-
down list to specify the match rule order for this match rule on the selected
cluster. Click on
Commit
. In this match rule, we’ll construct an expression that
will match all the filename extensions of the images to be served. These
requests will go to the image servers.
The match rule is created, added to the object tree, and its
Configuration
tab is opened:
4. Click on the
Expression Editor
button:
a. Drag and drop the
filename_suffix
function from the from
Functions
pane to the
Expression Workbench
.
b. Type “
jpg
” into the
filename suffix
text box.
Copyright © 2014 Coyote Point Systems, A Subsidiary of Fortinet, Inc.
All Rights Reserved.
417
Equalizer Administration Guide
Содержание 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: ......