Brocade Virtual ADX Server Load Balancing Guide (Supporting ADX v03.1.00) User Manual
Page 114
![background image](/manuals/361724/114/background.png)
98
Brocade Virtual ADX Server Load Balancing Guide
53-1003247-01
Policy-based SLB
2
For the example shown in
“Policy-based SLB configuration”
on page 96, the policies would be
defined as shown in the following.
10.10.10.10 1
20.20.0.0/16 2
The policy list file created in the format defined above can be transferred to the Brocade Virtual
ADX from a TFTP server. A single download file should contain all IPv4 entries. These entries can be
in any order.
NOTE
Downloading a new file overwrites the existing policy list file on a Brocade Virtual ADX. Consequently
any entries that are not in the most recent download will be lost.
Dynamically downloading a policy list using TFTP
When a policy list is created, as described in
“Creating the policy list file to dynamically download
, the following command can be used to download the file from a TFTP server.
Virtual ADX(config)#server pbslb tftp 192.168.9.210 policy-list.txt 5
When you enter this command, the downloaded policy list file immediately replaces the entries in
the Brocade Virtual ADX’s policy-based SLB configuration.
Syntax: server pbslb tftp tftp-server-ip-addr filename retry-count
The tftp-server-ip-addr variable specifies the IP address of the TFTP server.
The filename variable specifies the name of the policy list file.
The retry-count variable specifies the number of times that the Brocade Virtual ADX retries the
download if the first attempt is not successful.
Redirecting traffic to the default group during download
The Brocade Virtual ADX supports seamless download (or no blocking of VIP traffic while a policy
list is being downloaded) only when the number of PBSLB entries do not exceed 1,000,000 IPv4
entries. A Brocade Virtual ADX maintains two separate tables in memory: one for the existing list
and one for the new list that is being downloaded. After the new list is completely downloaded, it is
swapped with the existing list. This method allows for the new policy list to take effect immediately
without affecting the VIP traffic during the download.
NOTE
This redirect method only applies when the maximum number of PBSLB entries has not been
increased to 5,000,000 for IPv4 through the use of the server pbslb max-entries command.
For policy list files that contain more than 1,000,000 entries, all VIP traffic will be blocked during
the download and will resume only after the policy list file is completely downloaded. To be able to
send VIP traffic to the default server group instead of blocking it during download, enable the
server pbslb send-to-default-group-during-download feature.
There are three steps to turn on this feature.
1. Create a PBSLB default group-ID.
2. Assign real server ports to the default group.
3. Enable send-to-default-group-during-download.