How do I configure GSLB?

Test Domain                     : arraysupport.com

Test Hostname                  : www.arraysupport.com

Authoritative DNS(domain) : Bind running on FreeBSD (10.7.0.1)

Authoritative DNS (host)     :Array TMX in USA, Japan, and China

USA TMX   IP                    : 10.7.4.10

Japan TMX   IP                  : 10.7.5.10

China TMX   IP                   : 10.7.6.10

 

GSLB Sites                        : China, Japan, and USA

 

 

1. Authoritative DNS configuration:

#Bind zone file for arraysupport.com

@       IN      SOA     ns.arraysupport.com.  root.localhost (

                        2008090101; serial

                        28800 ; refresh

                        7200 ; retry

                        3600 ; expire

                        86400 ; ttl

                        )

 

@       IN      NS      ns1.arraysupport.com.

 

#Authoritative name servers for host www

#Queries for www will be forwarded to one of the DNS

www     IN      NS      usa.arraysupport.com.

www     IN      NS      japan.arraysupport.com.

www     IN      NS      china.arraysupport.com.

 

ns1             IN      A       10.7.0.1

usa             IN      A       10.7.4.10

japan           IN      A       10.7.5.10

china           IN      A       10.7.6.10

2.  Configure Array to serve DNS queries:

“llb dns local”  turns on DNS to listen on UDP port 53

“llb dns host”  creates A records for DNS responses

 

#TMX USA

llb dns local 10.7.4.10

llb dns host "www.arraysupport.com" 10.7.4.11

 

#TMX Japan

llb dns local 10.7.5.10

llb dns host "www.arraysupport.com" 10.7.5.11

 

#TMX China

llb dns local 10.7.6.10

llb dns host "www.arraysupport.com" 10.7.6.11

 

3. Configure GSLB/SDNS for each site:

"sdns member attribute" defines a site member
"sdns member local" defines the site member in the local site.

 

#Common config for all sites:

#define members from from all geographical sites

sdns on

sdns member attribute "USA_site" 10.7.4.10 5888 all

sdns member attribute "Japan_site" 10.7.5.10 5888 all

sdns member attribute "China_site" 10.7.6.10 5888 all

 

#TMX USA

# Identify the local member for USA

sdns member local "USA_site"

 

#TMX Japan

# Identify the local member for Japan

sdns member local "Japan_site"

 

#TMX China

# Identify the local member for China

sdns member local "China_site"