Brocade Virtual ADX Global Server Load Balancing Guide (Supporting ADX v03.1.00) User Manual
Page 53
Brocade Virtual ADX Global Server Load Balancing Guide
43
53-1003245-01
Configuring GSLB protocol parameters
1
Configuring Weighted Site metrics
To configure Weighted Site metrics, complete the following tasks.
1. Enable the Weighted Site metric.
2. Select the site for which to apply weights.
3. Configure a weight for the site.
For example, enter commands such as the following.
Virtual ADX(config-gslb-policy)#weighted-site
Virtual ADX(config-gslb-policy)#gslb site SanJose
Virtual ADX(config-gslb-site-SanJose)#weight 50
Syntax: [no] weighted-site
Syntax: gslb site site name
The site name can have a maximum of 16 characters.
Syntax: weight weight
The weight is a value from 0 to 100. The default value is 0.
Displaying results of traffic distribution for Weighted Sites
To view the results of traffic distribution after configuring Weighted Site metrics, enter the following
command.
The first example shows the first two sites.
Virtual ADX(config)#show gslb traffic site
SITE: local Weight: 50
* a.b.c
DNS Requests: 36
SI VIP Selection (%)
== === =============
10.1.1.1 10.1.1.181 9 (25 %)
10.1.1.1 10.1.1.180 9 (25 %)
Site Selection for Domain: 18 (50 %)
* b.b.c
DNS Requests: 0
SI VIP Selection (%)
== === =============
10.1.1.1 10.1.1.121 0 (0 %)
Site Selection for Domain: 0 (0 %)
SITE: TWO Weight: 50
* a.b.c
DNS Requests: 36
SI VIP Selection (%)
== === =============
10.1.1.2 10.1.1.182 18 (50 %)
Site Selection for Domain: 18 (50 %)
* b.b.c
DNS Requests: 0
SI VIP Selection (%)
== === =============
10.1.1.2 10.1.1.122 0 (0 %)
Site Selection for Domain: 0 (0 %)