Configuring weighted active bindings, Using minimum active bindings, Tracking an application port for active bindings – Brocade Virtual ADX Global Server Load Balancing Guide (Supporting ADX v03.1.00) User Manual

Page 161

Advertising
background image

Brocade Virtual ADX Global Server Load Balancing Guide

151

53-1003245-01

Advanced GSLB configuration for IPv6

2

Configuring weighted active bindings

Weighted active bindings allows you to configure the GSLB Brocade Virtual ADX to direct requests
to domain VIPs in proportion to their active bindings.

For example, if VIP-1 has two active bindings and VIP-2 has one active binding, you can configure
the GSLB Brocade Virtual ADX to direct two-thirds of the client requests to VIP-1 and one-third of
the client requests to VIP-2.

To enable weighted active bindings for the global GSLB policy, first enable the active bindings using
the existing active-bindings CLI command, then configure the following additional command:

Virtual ADX# configure terminal

Virtual ADX(config)#gslb policy

Virtual ADX(config-gslb-policy)#weighted-selection

Virtual ADX(config-gslb-policy)#end

To enable weighted active bindings for the host level policy, first enable the active bindings using
the existing active-bindings CLI command, then configure the following additional command:

Virtual ADX#configure terminal

Virtual ADX(config)#gslb-host-policy abc

Virtual ADX(config-gslb-host-policy-abc)#weighted-selection

Virtual ADX(config-gslb-host-policy-abc)#end

Using minimum active bindings

You can configure the GSLB Brocade Virtual ADX to use the minimum active bindings among all
application ports if multiple application ports are associated with a domain. For example, if
application ports http and ftp are configured for www.example2.com, you may need the active
bindings count for the VIPs to be based on the minimum of the active bindings for these two
application ports. You can configure the GSLB Brocade Virtual ADX to use minimum bindings as
follows:

Virtual ADX#configure terminal

Virtual ADX(config)#gslb dns zone example2.com

Virtual ADX(config-gslb-dns-example2.com)#host-info www http

Virtual ADX(config-gslb-dns-example2.com)#host-info www ssl

Virtual ADX(config-gslb-dns-example2.com)#host-info www min-bindings

Virtual ADX(config-gslb-dns-example2.com)#end

Tracking an application port for active bindings

You can configure the GSLB Brocade Virtual ADX to track a particular application port for active
bindings if multiple application ports are associated with a domain. For example, if application
ports HTTP and SSL are configured for www.example2.com, you may need the active bindings
count for the VIPs to be based only on the active bindings for the HTTP port but not the SSL port.
You can configure the GSLB Brocade Virtual ADX to track active bindings for the http port only as
follows:

Virtual ADX#configure terminal

Virtual ADX(config)#gslb dns zone example3.com

Virtual ADX(config-gslb-dns-example3.com)#host-info www http

Virtual ADX(config-gslb-dns-example3.com)#host-info www ssl

Virtual ADX(config-gslb-dns-example3.com)#host-info www http track-port

Virtual ADX(config-gslb-dns-example3.com)#end

Advertising