Brocade Communications Systems ServerIron ADX 12.4.00 Service Manual Page 64

  • Download
  • Add to my manuals
  • Print
  • Page
    / 136
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 63
52 ServerIron ADX Advanced Server Load Balancing Guide
53-1002435-01
Other TCS options
2
ServerIronADX(config)# server cache-group 1
ServerIronADX(config-tc-1)# source-nat
ServerIronADX(config-tc-1)# dest-nat
These commands configure a source IP address at the global CONFIG level of the CLI, then change
the CLI to the cache group configuration level and enable source NAT and Destination NAT. Source
NAT configures the ServerIron ADX to change the source IP address in a client query from the
client’s IP address to configured source IP address. Destination NAT configures the ServerIron ADX
to change the destination IP address of the client’s request to the IP address of the cache server.
Syntax: [no] source-ip <ip-addr> <network-mask> <default-gateway>
NOTE
The gateway parameter is required. If you do not want to specify a gateway, enter "0.0.0.0".
Syntax: [no] source-nat
To enable source NAT on a specific cache server instead of at the cache group configuration level
for all cache servers, enter commands such as the following:
ServerIronADX(config)# server cache-name C1
ServerIronADX(config-rs-C1)# source-nat
ServerIronADX(config-rs-C1)# dest-nat
The commands in this example enable Source NAT and Destination NAT on cache server C1 only.
This example assumes that the source IP address also is configured as shown in the previous
example.
NOTE
FTP is not supported when source NATis configured.
Selecting a method for server selection within a cache group
By default, selecting a server within a cache group is performed using a hash method that is based
on source and destination IP addresses for the SSL and HTTP protocols and for all other protocols
the least connection method is used. The method of server selection within a cache group can be
changed as shown in the following.
ServerIronADX(config)# server cache-group 1
ServerIronADX(config-tc-1)# predictor least-connection port http
ServerIronADX(config-tc-1)# predictor hash port ftp
Syntax: predictor { hash | least-connection } port <portname or number>
The default predictor for SSL and HTTP is the hash method described in “Controlling traffic
distribution among cache servers” on page 53.
The default predictor for all other protocols is least-connection.
Examples
In the following example, SSL traffic uses the hash mechanism to select a cache server which is
the default action. SSL and HTTP traffic can use one hash table, This means that traffic having the
same hash value will go to the same cache server whether it is SSL traffic or HTTP traffic.
ServerIronADX(config)# server cache-name cs1 3.3.3.1
ServerIronADX(config-rs-server1)# port http
Page view 63
1 2 ... 59 60 61 62 63 64 65 66 67 68 69 ... 135 136

Comments to this Manuals

No comments