beautypg.com

Http error detection – HP Traffic Director sa7220 User Manual

Page 44

background image

C H A P T E R 2

HP Traffic Director Server Appliances User Guide

32

The

dup-syn

command uses the following syntax:

config policygroup service

dup-syn

HTTP Error Detection

NOTE: This section
applies to all models
except the SA7200.

The SA8220 offers HTTP error detection for RICH services. When
HTTP error detection is enabled, the SA8220 scans the headers of
server responses for errors. If an HTTP error is found, the original
request is rerouted to another server for fulfillment, transparently to
the client. This process continues until a server responds without an
error, or all applicable servers have been tried. Conversely, if HTTP
error detection is disabled, the error is returned directly to the client.
HTTP error detection for errors 401-405 and 500-503 (as defined in
the HTTP specification) is configured with the command:

config policygroup service server

port http [enable | disable]

The SA8220 extends standard HTTP error handling by allowing the
server to return a special 606 error code. Detection and handling of
606 errors is separately configurable. In this way, standard errors may
be passed to the client while 606 errors are handled transparently by
the HP system. If 606 error handling is enabled, the SA8220 scans the
returned HTTP header for an HTTP 606 response code. If the 606
response code is found and another server is available to handle the
request, it is sent automatically. This process continues until a server
responds without an error, or until all applicable servers have been
tried.

The HTTP header for 606 handling is of the form: “HTTP/1.0 606
Error.” Users can generate this response through a variety of methods
including CGI and nph scripts. Consult your web server
documentation for information about generating custom error
messages.

config policygroup service server

port 606 [enable | disable]