Brocade Communications Systems ServerIron ADX 12.4.00 Service Manual Page 86

  • Download
  • Add to my manuals
  • Print
  • Page
    / 136
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 85
74 ServerIron ADX Advanced Server Load Balancing Guide
53-1002435-01
Content aware cache switching
2
A server group can contain one or more cache servers. When a server group consists of more than
one cache server, the ServerIron ADX uses a hashing algorithm to select one of the cache servers,
and directs the request to the selected cache server. When configuring content aware cache
switching, you establish the IP address of each cache server and specify the server group to which
it belongs.
To configure CacheServer1 in Figure 19 on page 71, enter a command such as the following
ServerIronADX(config)# server cache-name CacheServer1 192.168.1.101
ServerIronADX(config-rs-CacheServer1)# port http group-id 1 1
ServerIronADX(config-rs-CacheServer1)# exit
Syntax: port http group-id <server-group-id-pairs>
The port http group-id command indicates the server groups to which the cache server belongs.
The server group is expressed as a pair of numbers, indicating a range of server group IDs. The first
number is the lowest-numbered server group ID, and the second is the highest-numbered server
group ID. For example, if a cache server belongs only to the server group with ID = 1, the last two
numbers in the port http group-id command would be 11. (Note the space between the two
numbers.) If a cache server belongs to server groups 1 – 10, the last two numbers in the command
would be 110. Valid numbers for server group IDs are 0 – 1023.
To include a cache server in groups that are not consecutively numbered, you can enter up to four
server group ID pairs. For example, to include a cache server in groups 1 – 5 and 11 – 15, you
would enter the following command.
ServerIronADX(config-rs-CacheServer1)# port http group-id 1 5 11 15
You can also specify the server group ID pairs on separate lines, by entering commands such as the
following.
ServerIronADX(config-rs-CacheServer1)# port http group-id 1 5
ServerIronADX(config-rs-CacheServer1)# port http group-id 11 15
The configuration for the remaining cache servers in Figure 19 is shown below. These commands
place CacheServer2 in server group ID = 1 (along with CacheServer1) and CacheServer3 in server
group ID = 2.
ServerIronADX(config)# server cache-name CacheServer2 192.168.1.102
ServerIronADX(config-rs-CacheServer2)# port http group-id 1 1
ServerIronADX(config-rs-CacheServer2)# exit
ServerIronADX(config)# server cache-name CacheServer3 192.168.1.103
ServerIronADX(config-rs-CacheServer3)# port http group-id 2 2
ServerIronADX(config-rs-CacheServer3)# exit
Assigning the cache servers to a cache group
To activate content aware cache switching (as in Figure 19), you create a cache group, assign the
cache servers to that group, and specify a CSW policy to be active for the cache group, such as the
following.
ServerIronADX(config)# server cache-group 1
ServerIronADX(config-tc-1)# cache-name CacheServer1
ServerIronADX(config-tc-1)# cache-name CacheServer2
ServerIronADX(config-tc-1)# cache-name CacheServer3
ServerIronADX(config-tc-1)# csw
ServerIronADX(config-tc-1)# csw-policy p1
Syntax: csw
Syntax: csw-policy <policy-name>
Page view 85
1 2 ... 81 82 83 84 85 86 87 88 89 90 91 ... 135 136

Comments to this Manuals

No comments