Specifications
Example Match Rules
Equalizer Installation and Administration Guide 141
In this example, we assume that we can determine this by examining the hostname used in incoming
requests. Any request containing a hostname in the following format will not require a persistent
connection:
name.testexample.com
We’ll assume that any request with a hostname having the format name.testexample.com will not
require persistent connections. We’ll use the host_suffix() match rule function to match the
hostname. For this example, we assume that a cluster with three servers (sv00, sv01, sv02) has
already been defined. We will construct a match rule that turn off persist for any request that
contains the host suffix “testexample.com”; this request will be balanced across all three servers in
the cluster.
1. Log into the Equalizer Administration Interface in Edit mode.
2. In the left frame, click the name of the Layer 7 cluster to which you want to add the rule. The
cluster screen appears in the right frame.
3. In the cluster screen, select menu > Add Match Rule. The create match rule screen appears
in the right frame.
4. Type nopersist into the match name text box.
5. In the Construct match expression field, select replace with host_suffix from the drop-down
list box, and then select continue.
6. Replace the text in the arg0 text box with testexample.com. Select continue.
7. In the servers field, enable the check boxes for the servers sv00, sv01, and sv02.