Brocade Communications Systems ServerIron ADX 12.4.00 Manual Manual page 52

Global server load balancing guide
Table of Contents

Advertisement

1
Configuring GSLB protocol parameters
Implementing the weighted IP metric
Beginning with router software release 08.1.00R, you can configure the ServerIron ADX to
distribute GSLB traffic among IP addresses in a DNS reply, based on weights assigned to the IP
addresses. The weights determine the percentage of traffic each IP address receives in
comparison with other candidate IP addresses, which may or may not have assigned weights.
NOTE
You cannot use the weighted IP metric if the weighted site metric is enabled.
The GSLB ServerIron ADX uses relative percentages in order to achieve 100% total weight
distribution, as shown in
metrics (2nd column) is 100. The last column shows that the GSLB ServerIron ADX distributes the
traffic to the IP addresses exactly as configured. In this example, traffic distribution is
straightforward because the total weight of all three IP addresses equals 100.
TABLE 3
IP address
1.1.1.80
1.1.2.80
1.1.3.80
Total
Now consider the example in
metrics (2nd column) does not equal 100. However, as illustrated in the last column, the GSLB
ServerIron ADX uses relative percentages in order to achieve 100% total weight distribution.
TABLE 4
IP address
1.1.1.80
1.1.2.80
1.1.3.80
Total
The weighted IP metric is disabled by default. When enabled, it is placed second in the GSLB
algorithm, after the Health Check metric. You can change the metric order and enable or disable
other metrics, although we do not recommended this.
DNS response processing
When the weighted IP metric option is enabled, the GSLB ServerIron ADX assesses each IP address
in the DNS reply and selects the best IP address for a client, based on the weighted IP metrics
configured in the GSLB policy.
Using the weighted IP metric, the GSLB algorithm calculates a relative weight for each IP address
and selects the IP address with the least relative weight. The following criteria is used to calculate
the relative weight of an IP address:
40
Table 3
Example weighted IP metric configuration
Table
Example weighted IP metric configuration
The number of times the GSLB ServerIron ADX selected the IP address as the best IP address
to reply to a client
and
Table
4. In
Table
3, the total of the Configured weighted IP
Configured weighted IP metric
50
30
20
100
4. In this example, the total of the Configured weighted IP
Configured weighted IP metric
15
20
10
45
ServerIron ADX Global Server Load Balancing Guide
Relative weighted IP metric
50%
30%
20%
100%
Relative weighted IP metric
33% (15/45 x 100)
44% (20/45*100)
22% (10/45*100)
100%
53-1002437-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Serveriron adx

Table of Contents