Brocade Virtual ADX Global Server Load Balancing Guide (Supporting ADX v03.1.00) User Manual

Page 29

Advertising
background image

Brocade Virtual ADX Global Server Load Balancing Guide

19

53-1003245-01

Proxy for DNS server

1

Virtual ADX(config)#gslb site sunnyvale

Virtual ADX(config-gslb-site-sunnyvale)#si-name slb-1 10.157.22.209

Virtual ADX(config-gslb-site-sunnyvale)#si-name slb-2 10.157.22.210

Virtual ADX(config)#gslb site atlanta

Virtual ADX(config-gslb-site-atlanta)#si-name slb-1 192.108.22.111

Virtual ADX(config-gslb-site-atlanta)#si-name slb-2 192.108.22.112

These commands configure two GSLB sites: one in Sunnyvale, the other in Atlanta. Each site
contains two ADX devices, slb-1 and slb-2, that load balance traffic across server farms. The GSLB
Brocade Virtual ADX you are configuring will use information provided by the other ADX devices
when it evaluates the servers listed in DNS replies.

To set the administrative preference for a site ADX device to 255, enter a command such as the
following.

Virtual ADX(config-gslb-site-sunnyvale)#si-name slb-1 10.157.22.20 255

To change the preference for a site ADX device you have already configured, use the same
command syntax. You do not need to reconfigure other site parameters when you change the
preference. For example, to change the preference for a site ADX device from the default (128) to
200, enter a command such as the following.

Virtual ADX(config-gslb-site-sunnyvale)#si-name slb-2 10.157.22.210 200

NOTE

The administrative preference metric is disabled by default, which means it is not used by the GSLB
policy. The GSLB policy uses the preference values only if you enable this metric. Refer to

“Disabling

or re-enabling individual GSLB policy metrics”

on page 37.

Syntax: [no] gslb site name

The name parameter is a text string that uniquely identifies the site on the GSLB ADX device. You
can enter a string up to 16 characters long. The string can contain blanks. To use blanks, enclose
the string in quotation marks.

Syntax: [no] si-name [name] ip-addr [preference]

The si-name name parameter specifies a unique name for the ADX at the site. You can enter a
string up to 16 characters long. The string can contain blanks. To use blanks, enclose the string in
quotation marks. You can enter up to four pairs of ADX names and IP addresses on the same
command line. The name is optional.

The ip-addr parameter specifies whether the remote site ADX runs on the switch code or router
code. If the remote site ADX runs the switch code, enter the IPaddress configured on the site ADX. If
it runs the router code, then enter the VE IP address on the site ADX.

In both cases, you must not enter a virtual IP address (VIP) configured on the ADX device.

The preference parameter sets the administrative preference for the site. When you enable the
administrative preference as a GSLB metric, the administrative preference can be used by the
GSLB policy when comparing this site with other sites. You can specify a preference from 0 to 255.
The default preference is 128. The GSLB policy prefers high preference values over low preference
values. If you specify 0, the site is administratively removed from selection by the GSLB policy but
remains connected to the network. Refer to

“Site ADX device’s administrative preference”

on

page 11 for information about uses for this parameter.

Advertising