global server load balancing is used to manage traffic flow to a web site hosted on two separate...

14
Configuring Global Server Load Balancing (GSLB)

Upload: conrad-gordon

Post on 29-Dec-2015

220 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Global server load balancing is used to manage traffic flow to a web site hosted on two separate server farms that ideally are in different geographic

Configuring Global Server Load

Balancing (GSLB)

Page 2: Global server load balancing is used to manage traffic flow to a web site hosted on two separate server farms that ideally are in different geographic

Global server load balancing is used to manage traffic flow to a web site hosted on two separate server farms that ideally are in different geographic locations.

For example, consider a Web site, www.mycompany.com, which is hosted on two geographically separated server farms or data centers.

Both server farms use NetScaler appliances. The NetScaler appliances in these server farms are

set up in one-arm mode and function as authoritative DNS servers for the ww.mycompany.com domain.

Configuring Global Server Load Balancing (GSLB)

Page 3: Global server load balancing is used to manage traffic flow to a web site hosted on two separate server farms that ideally are in different geographic

Configuring Global Server Load Balancing (GSLB)

Page 4: Global server load balancing is used to manage traffic flow to a web site hosted on two separate server farms that ideally are in different geographic

To configure such a GSLB setup, you must first configure a standard load balancing setup for each server farm or data center.

This enables you to balance load across the different servers in each server farm.

Then, configure both NetScaler appliances as authoritative DNS (ADNS) servers.

Next, create a GSLB site for each server farm, configure GSLB virtual servers for each site, create GLSB services, and bind the GSLB services to the GSLB virtual servers.

Finally, bind the domain to the GSLB virtual servers. The GSLB configurations on the two appliances at the two

different sites are identical, although each sites’s load-balancing configuration is specific to that site.

Configuring Global Server Load Balancing (GSLB)

Page 5: Global server load balancing is used to manage traffic flow to a web site hosted on two separate server farms that ideally are in different geographic

When you configure the NetScaler appliance as an authoritative DNS server, it accepts DNS requests from the client and responds with the IP address of the data center to which the client should send requests.

For the NetScaler to be authoritative, you must also create SOA and NS records.

Configuring an Authoritative DNS Service

Page 6: Global server load balancing is used to manage traffic flow to a web site hosted on two separate server farms that ideally are in different geographic

A GSLB site is a representation of a data center in your network and is a logical grouping of GSLB virtual servers, services, and other network entities.

Typically, in a GSLB set up, there are many GSLB sites that are equipped to serve the same content to a client.

These are usually geographically separated to ensure that the domain is active even if one site goes down completely

Configuring a Basic GSLB Site

Page 7: Global server load balancing is used to manage traffic flow to a web site hosted on two separate server farms that ideally are in different geographic

All of the sites in the GSLB configuration must be configured on every NetScaler appliance hosting a GSLB site.

In other words, at each site, you configure the local GSLB site and each remote GSLB site.

Once GSLB sites are created for a domain, the NetScaler appliance sends client requests to the appropriate GSLB site as determined by the GSLB algorithms configured.

Configuring a Basic GSLB Site

Page 8: Global server load balancing is used to manage traffic flow to a web site hosted on two separate server farms that ideally are in different geographic

A GSLB service is a representation of a load balancing or content switching virtual server.

A local GSLB service represents a local load balancing or content switching virtual server.

A remote GSLB service represents a load balancing or content switching virtual server configured at one of the other sites in the GSLB setup.

At each site in the GSLB setup, you can create one local GSLB service and any number of remote GSLB services.

Configuring a GSLB Service

Page 9: Global server load balancing is used to manage traffic flow to a web site hosted on two separate server farms that ideally are in different geographic

A GSLB virtual server is an entity that represents one or more GSLB services and balances traffic between them.

It evaluates the configured GSLB methods or algorithms to select a GSLB service to which to send the client request.

Configuring a GSLB Virtual Server

Page 10: Global server load balancing is used to manage traffic flow to a web site hosted on two separate server farms that ideally are in different geographic

To make a NetScaler appliance the authoritative DNS server for a domain, you must bind the domain to the GSLB virtual server.

When you bind a domain to a GSLB virtual server, the NetScaler adds an address record for the domain, containing the name of the GSLB virtual server.

The start of authority (SOA) and name server (NS) records for the GSLB domain must be added manually.

Binding a Domain to a GSLB VirtualServer

Page 11: Global server load balancing is used to manage traffic flow to a web site hosted on two separate server farms that ideally are in different geographic

A typical GSLB set up has more than one data center, with a GSLB site configured for each data center.

After you configure a local site, you need to configure the remote sites.

To configure remote sites, you can simply copy the GSLB running configuration of the local site and paste it to the remote sites.

Synchronizing a GSLB Setup

Page 12: Global server load balancing is used to manage traffic flow to a web site hosted on two separate server farms that ideally are in different geographic

Alternatively, you can synchronize the configurations across all the sites involved in the GSLB setup.

When you synchronize the GSLB configuration, the local NetScaler appliance obtains the GSLB running configurations of the remote sites and compares the local site configuration with the remote site configurations.

The local appliance then sends each remote site any local configuration information that is not implemented on the remote site.

Synchronizing a GSLB Setup

Page 13: Global server load balancing is used to manage traffic flow to a web site hosted on two separate server farms that ideally are in different geographic

Before you synchronize a GSLB setup, make sure that:◦ For all GSLB sites, the GSLB site IP address has

been specified and the Management Access setting is enabled on the GSLB site IP address.

◦ The GSLB configuration is complete on the NetScaler that synchronizes the configuration.

Synchronizing a GSLB Setup

Page 14: Global server load balancing is used to manage traffic flow to a web site hosted on two separate server farms that ideally are in different geographic

Synchronization occurs only across GSLB sites.

LB sites are aware of their parent GSLB site configurations only.

Synchronizing a GSLB Setup