Load-Balancer-Hash-Header - IBM WebSphere XS40 Command Reference Manual

Datapower xml security gateway
Table of Contents

Advertisement

value
Guidelines
Use the no inject command to remove a previously-injected proprietary HTTP
header field.
Related Commands
suppress
Examples
v Injects the ProcInst HTTP header field with a value of 0 into the packet stream
v Removes the ProcInst HTTP header field from the packet stream.

load-balancer-hash-header

Syntax
Uses the value of an HTTP header
Uses the client IP address
Parameters
header Specifies the name of the HTTP header.
Guidelines
The load-balancer-hash-header command identifies the HTTP header to use for
calculating the hash for load balancing traffic to the backend servers.
v When defined, the hash algorithm uses the value of the identified HTTP header.
v When not defined, the hash algorithm uses the IP address of the client.
This command is relevant only when the value defined by the algorithm command
in Load Balancer configuration mode is hash.
Use the no load-balancer-hash-header command to disable the use of an HTTP
header as the hash algorithm to use for load balancing.
Related Commands
algorithm
Examples
v Disables the use of an HTTP header for load balancing (uses the IP address to
448
Command Reference
Specifies the value of the field and can contain a character string or an
integer. This property is case-sensitive.
directed to the HTTP client.
# inject front ProcInst 0
#
# no inject front ProcInst
#
load-balancer-hash-header header
no load-balancer-hash-header
calculate the hash). Subsequently, enables load balancing traffic to the backend
servers using a hash algorithm identified by the X-Forwarded-For HTTP header.

Advertisement

Table of Contents
loading

Table of Contents