This article contains information about the overview of Global Server Load Balancing (GSLB), Metric Exchange Protocol (MEP), monitors, and their relationship in the load balancing decision. Please also reference CTX251348 for deeper detail and explanation on this topic.
Before configuring GSLB, you must have a properly working load balancing virtual server or service configuration.
MEP is a proprietary protocol used by the Citrix ADC (NetScaler) appliances to exchange site metrics, network metrics, and persistence information to other sites participating in GSLB. The communication process is accomplished between each GSLB site on TCP port 3011 (or 3009 for secure communication) and therefore must be open on firewalls that are between the Citrix ADC (NetScaler) appliances.
The metrics that are exchanged are the load balancing metrics that are configured on the load balancing virtual server. For example, if you have three GSLB sites and each geographic site has a load balancing virtual server and this load balancing virtual server is configured for a method of Least Connections, each geographic site has its own Least Connection value that is based upon that current connection of the site. When a request is made, the GSLB site compares these metrics for that particular virtual server receiving the request for resolution and then resolves that request to the site that has the least connections.
Note: CNAME based services will not use MEP for state. Refer to Citrix Documentation - Creating CNAME-Based GSLB Services.
Configuration
To toggle MEP on a GSLB Site, run the following command:
set gslb site <sitename> [-metricExchange (ENABLED | DISABLED)]When this protocol is enabled, load balancing metrics are exchanged between all GSLB sites including the health of the GSLB services as per the vServer's monitor configurations. GSLB services are associated with a GSLB site. If at any point the MEP status changes to DOWN on any one site, the entire load balancing method as defined by the virtual server is disabled and falls back to a Round Robin load balancing method. After all the MEP statuses are marked as UP, it starts to use the defined load balancing metrics.
Configuration
To bind a monitor to a GSLB service, use the following command:Monitoring | MEP Enabled | MEP Disabled |
Explicit monitors | Health status is controlled by monitoring | Health status is controlled by monitoring |
No explicit monitors | Health status controlled by MEP | All services belonging to that site are marked down |
CTX251348 - Citrix ADC GSLB MEP vs Monitors
CTX110348 - How to Configure Global Server Load Balancing with NetScaler Appliances