How GSLB Works

Added by Gaurav Joshua Vaz , last edited by Megha Shaseendran on Apr 30, 2008  (view change)
Tags: 

An conceptual overview of how GSLB works.

Summary

GSLB directs DNS requests to the best-performing GSLB site in a distributed Internet environment. The Citrix NetScaler implementation of GSLB is DNS-based.
GSLB enables distribution of traffic across multiple sites, manages disaster recovery, and ensures that applications are consistently accessible.

When a client sends a DNS request, the system determines the best-performing site and returns its IP to the client. In the process of ascertaining the best- performing site, the system performs these intelligent decisions:

  • Directs client requests to the geographically closest GSLB site (geographic and network proximity-based traffic redirection)
  • Directs client requests to surviving data centers when an outage occurs
  • Directs client requests to alternate data centers, when a pre-defined traffic load limit is reached
  • Directs client requests to be distributed among multiple data centers (assigns each user to the GSLB site with lowest latency)

The system performs these intelligent decisions using the Metric Exchange Protocol (MEP), GSLB policies, and GSLB methods supported by the system.

GSLB methods are algorithms that control how the system load-balances client requests across distributed data centers. The system provides support for creating policies for distributing or redirecting client request. GSLB policies direct the traffic to a pre-defined target site.

Multiple sites exchange metrics with each other using the Metric Exchange Protocol (MEP). The system uses this protocol to exchange load, network, and persistence information between GSLB sites. The system also uses this information to perform load balancing between GSLB sites.

A typical GSLB deployment contains the entities described in the following figure. 

GSLB Entity Model

To configure GSLB, you must configure a GSLB site. As shown in the figure, a GSLB site is the logical collection of GSLB vserver, GSLB service, LB vserver, service, domain, and ADNS service. It is the central entity in a GSLB deployment, and is represented by a name and an IP address.

To create a GSLB site, you must configure load balancing on the system. You must create GSLB vservers and GSLB services for each site. You must bind GSLB services to GSLB vservers. You must then create an ADNS service that provides the IP address of the best performing site to the client's request.

A GSLB vserver is an entity that performs load balancing for the domains bound to it by returning the IP address of the best GSLB service. A GSLB service is a representation of the load balancing/content switching vserver. An LB vserver load balances incoming traffic by identifying the best server, then directs traffic to the corresponding service. It can also load-balance external DNS name servers. Services are entities that represent the servers. The domain is the domain name for which the system is the authoritative DNS server. By creating an ADNS service, the system can be configured as an authoritative DNS server.

More Information

User Rating?

Missing an image....

Posted by Anonymous at Apr 29, 2008 11:38 | Reply To This

Also, this is pretty high-level.  It doesn't really say how GSLB works.

Posted by Anonymous at Apr 29, 2008 14:40 | Reply To This

Thanks for pointing out the missing image. I will coordinate with NetScaler team to update this page.
Vishal

Has been fixed! will replace this with a better image soon.

Changed the image.

Here's a question, I understand the whole TTL for a DNS record out there on DNS servers etc, but what about browser caches, eg IE, NetScape.

My understanding of this is IE will cache a record (outside of the host machine for 30mins) or until the browser is restarted.  Check out the following link for more information.  I'd be interested to hear comments on how GSLB within the NetScaler may or may not work around this.  As the article is a bit older...http://www.tenereillo.com/GSLBPageOfShame.htm

Posted by Anonymous at May 07, 2008 16:32 | Reply To This
  • Add to Bookmarks