
Automatic Cluster Responders
Another common cluster configuration requirement is to be able to automatically redirect all traffic that uses a
specific URL. To do this, you need to add a new match rule that:
l matches any incoming request
l has a Redirect Responder selected
For example, let’s say that we want all traffic to a cluster that uses the URL http://cluster/special/ to be
redirected to https://www.example.com/special/. The following procedure shows you how to add the
appropriate Responder and Match Rule:
1. Right-click on Responders in the left frame and select Add New Responder from the popup menu.
2.
Type Redirect_Example into the Name field and select Redirect.
3.
Type https://www.example.com/special/ into the URL field.
4. Click Commit to save the new Responder.
5. Right-click on the name of the cluster for which you want to display the sorry page in the left frame and
select Add Match Rule from the menu.
6. Refer to "Creating a New Match Rule" on page 333 to configure the match rule. Leave the match rule
expression set to the default [any()] -- the rule will match all incoming requests. Do not select any server
pools from the Server Pool drop down list. This means that if this match rule’s expression selects a
request, the Responder we select will respond to the selected request regardless of the status of the server
pools in the cluster.
7. Click Commit to create the match rule.
8. Select Redirect_Example in the Responder drop-down list as shown below.
9. Click commit to save the match rule.
After completing the above procedure, all client requests to http://cluster/special/ will be redirected
to https://www.example.com/special/, even when all the server instances in a server pool are available.
More Responder Examples
More examples of using Responders and Match Rules can be found on the Coyote Point Support Portal, in the
Device Manuals section.
http://support.coyotepoint.com
Responders and Hot Spares
356
Copyright © 2013 Coyote Point Systems. A subsidiary of Fortinet, Inc.
Kommentare zu diesen Handbüchern