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

Page 50

Advertising
background image

40

Brocade Virtual ADX Global Server Load Balancing Guide

53-1003245-01

Configuring GSLB protocol parameters

1

SLB-Virtual ADX(config-gslb-policy)#weighted-ip

SLB-Virtual ADX(config-gslb-policy)#gslb dns zone example1.com

SLB-Virtual ADX(config-gslb-dns-example1.com)#host www http

SLB-Virtual ADX(config-gslb-dns-example1.com)#host www ip-weight 10.1.1.80 50

Syntax: [no] weighted-ip

Syntax: [no] gslb dns zone name

For name, enter up to 32 characters

Syntax: [no] host-info host-name host-application | tcp/udp-portnum

The host-name parameter specifies the host name. You do not need to enter the entire fully
qualified host name. Enter only the host portion of the name. For example, if the fully qualified host
name is www.example1.com, do no enter the entire name. Enter only "www". The rest of the name
is already specified by the gslb dns zone command.

The host-application parameter specifies the host application for which you want to create an IP
list. Specify one of the following:

ftp – the well-known name for port 21. (Ports 20 and 21 both are FTP ports but on the Brocade
Virtual ADX, the name “ftp” corresponds to port 21.)

tftp – the well-known name for port 69

http – the well-known name for port 80

imap4 – the well-known name for port 143

ldap – the well-known name for port 389

nntp – the well-known name for port 119

pop3 – the well-known name for port 110

smtp – the well-known name for port 25

telnet – the well-known name for port 23

The tcp/udp-portnum parameter specifies a TCP/UDP port number instead of a well-known port.

Syntax: host-info www ip-weight IP address weight

IP address is the IP address for which you are assigning a weight.

weight is a value from 0 to 100. The default value is 0.

However, this command will result in an error if the ip argument for ip-weight has not been
previously entered as an argument for ip-list. For example, enter the command such as the
following:

SLOWANSI01(config-gslb-dns-example3.com)#host-info www ip-weight 10.4.4.4 80

This command will respond with an error message, IP-address not found for host-name.

NOTE

If there is no 'ip-list' defined for the host, then the 'ip-weight' for the host IPs are removed from the
'gslb dns zone' configuration whenever the GSLB Brocade Virtual ADX or the backend DNS servers
are reloaded.

Displaying the results of traffic distribution for Weighted IPs
To view the results of traffic distribution after configuring Weighted IP metrics, enter the following
command.

Advertising