1 GSLB domain-level affinity

Displaying affinity selection counters

You can display the number of times an IP address is selected based on affinity. To display the information, enter the following command.

ServerIronADX(config)# show gslb dns detail

 

 

 

ZONE: gslb.com

 

 

 

 

HOST: www:

 

Flashback

DNS resp.

 

 

 

 

 

 

delay

 

selection

 

 

 

(x100us)

counters

*

1.1.1.101: dns v-ip

ACTIVE N-AM

TCP

APP

Count (%)

0

0

4 (100%)

 

site: santaclara, ServerIronADX: 1.1.1.102

 

session util:

0%, avail. sessions: 5999988

 

preference: 128

 

 

 

 

 

 

Metric counter (count [selection-metric]):

 

3[health-check]

 

 

 

 

 

 

Affinity selection count = 1

 

 

 

*

1.1.1.115: dns real-ip DOWN

N-AM

--

--

0 (0%)

In the example, IP address 1.1.1.101 has been selected a total of four times as the best IP address; it has been chosen three times based on the health check metric and once based on affinity as displayed through the Affinity selection count.

Syntax: show gslb dns detail [<name>]

The <name> parameter specifies a zone name.

GSLB domain-level affinity

This section contains the following sections:

“Overview of GSLB domain-level affinity” on page 88

“Command line interface” on page 89

Overview of GSLB domain-level affinity

Users need the flexibility to associate a different set of affinities with different domains. For instance, user may want to direct all traffic from 199.239.0.0/24 subnet to ServerIron ADX A for domain www.times.com but not for another domain www.travel.com configured on the same controller. User cannot implement this using the existing global affinity definitions which apply to all the domains.

This document describes a feature called domain-level affinity which will allow the user to configure domain-level affinity groups and associate these with the desired domains. As a result, user has the flexibility of specifying different affinities for different domains. We will continue to support global affinity. We will support 128 domain-level affinity groups. Each domain-level affinity group can contain different number of affinity definitions as needed but the total number of affinity definitions across all the groups including global affinity cannot exceed 1024. User may also use all the 1024 entries just for global affinity definitions or domain-level affinity definitions. User can associate a domain-level affinity group with multiple domains. Only one domain-level affinity group can be associated with a domain.

88

ServerIron ADX Global Server Load Balancing Guide

 

53-1002437-01

Page 100
Image 100
Brocade Communications Systems 12.4.00 manual Gslb domain-level affinity, Displaying affinity selection counters