NetScaler Global Load Balancing for Hybrid and Multi-Cloud Deployments
Architecture of the NetScaler Hybrid and Multi-Cloud GLB Solution
-
If you have an existing load balancing setup, it is up and running.
-
A SNIP address or a GLB site IP address is configured on each of the NetScaler GLB nodes. This IP address is used as the data center source IP address when exchanging metrics with other data centers.
-
An ADNS or ADNS-TCP service is configured on each of the NetScaler GLB instances to receive the DNS traffic.
-
The required firewall and security groups are configured in the cloud service providers.
Capabilities of the NetScaler Hybrid and Multi-Cloud GLB Solution
Compatibility with other load balancing solutions
GLB Methods
-
Metric-based GLB methods. Metric-based GLB methods collect metrics from the other NetScaler nodes through the metrics exchange protocol.
-
Least Connection: The client request is routed to the load balancer that has the fewest active connections.
-
Least Bandwidth: The client request is routed to the load balancer that is currently serving the least amount of traffic.
-
Least Packets: The client request is routed to the load balancer that has received the fewest packets in the last 14 seconds.
-
-
Non-metric based GLB methods
-
Round Robin: The client request is routed to the IP address of the load balancer that is at the top of the list of load balancers. That load balancer then moves to the bottom of the list.
-
Source IP Hash: This method uses the hashed value of the client IP address to select a load balancer.
-
-
Proximity-based GLB methods
-
Static Proximity: The client request is routed to the load balancer that is closest to the client IP address.
-
Round-Trip Time (RTT): This method uses the RTT value (the time delay in the connection between the client's local DNS server and the data center) to select the IP address of the best performing load balancer.
-
GLB Topologies
-
Active-passive topology - Provides disaster recovery and ensures continuous availability of applications by protecting against points of failure. If the primary data center goes down, the passive data center becomes operational. For more information about GSLB active-passive topology, see Configuring GSLB for Disaster Recovery.
-
Parent-child topology – Can be used if you are using the metric-based GLB methods to configure GLB and LB nodes and if the LB nodes are deployed on a different NetScaler instance. In a parent-child topology, the LB node (child site) must be a NetScaler appliance because the exchange of metrics between the parent and child site is through the metrics exchange protocol (MEP).
IPv6 Support
Monitoring
Persistence
-
Source IP based persistence sessions, so that multiple requests from the same client are directed to the same service if they arrive within the configured time-out window. If the time-out value expires before the client sends another request, the session is discarded, and the configured load balancing algorithm is used to select a new server for the client's next request.
-
Spillover persistence so that the backup virtual server continues to process the requests it receives, even after the load on the primary falls below the threshold. For more information, see Configuring Spillover.
-
Site persistence so that the GLB node selects a data center to process a client request and forwards the IP address of the selected data center for all subsequent DNS requests. If the configured persistence applies to a site that is DOWN, the GLB node uses a GLB method to select a new site, and the new site becomes persistent for subsequent requests from the client.
Configuration by using the NetScaler Console StyleBooks
Workflow of the NetScaler Hybrid and Multi-Cloud GLB Solution Configuration
-
Sign up for a Citrix Cloud™ account.To start using NetScaler Console, create a Citrix Cloud company account or join an existing one that has been created by someone in your company.
-
After you log on to Citrix Cloud, click Manage on the NetScaler Console tile to set up the NetScaler Console for the first time.
-
Download and install multiple agents.You must install and configure the agent in your network environment to enable communication between the NetScaler Console and the managed instances in your data center or cloud. Install an agent in each region, so that you can configure LB and GLB configurations on the managed instances. The LB and GLB configurations can share a single agent. For more information on the above three tasks, see Getting Started.
-
Deploy load balancers on Microsoft Azure/AWS cloud/on-premises data centers.Depending on the type of load balancers that you are deploying on cloud and on-premises, provision them accordingly. For example, you can provision NetScaler VPX instances in a Microsoft Azure Resource Manager (ARM) portal, in an Amazon Web Services (AWS) virtual private cloud and in on-premises data centers. Configure NetScaler instances to function as LB or GLB nodes in standalone mode, by creating the virtual machines and configuring other resources. For more information on how to deploy NetScaler VPX instances, see the following documents:
-
Perform security configurations.Configure network security groups and network ACLs in ARM or AWS to control inbound and outbound traffic for your instances and subnets.
-
Add NetScaler instances in NetScaler Console.NetScaler instances are network appliances or virtual appliances that you want to discover, manage, and monitor from NetScaler Console. To manage and monitor these instances, you must add the instances to the service and register both LB (if you are using NetScaler for LB) and GLB instances. For more information on how to add NetScaler instances in the NetScaler Console, see Getting Started.
-
Implement the GLB and LB configurations using default NetScaler Console StyleBooks.
-
Use Multi-cloud GLB StyleBook to run the GLB configuration on the selected GLB NetScaler instances.
-
Implement the load balancing configuration. (You can skip this step if you already have LB configurations on the managed instances.)
You can configure load balancers on NetScaler instances in one of two ways:-
Manually configure the instances for load balancing the applications. For more information on how to manually configure the instances, see Setting Up Basic Load Balancing.
-
Use StyleBooks. You can use one of the NetScaler Console StyleBooks (HTTP/SSL LoadBalancing StyleBook or HTTP/SSL LoadBalancing (with Monitors) StyleBook) to create the load balancer configuration on the selected NetScaler instance. You can also create your own StyleBooks. For more information on StyleBooks, see StyleBooks.
-
-
Use Multi-cloud GLB StyleBook for LB Node to configure GLB parent-child topology in any of the following cases:
-
If you are using the metric-based GLB algorithms (Least Packets, Least Connections, Least Bandwidth) to configure GLB and LB nodes and if the LB nodes are deployed on a different NetScaler instance.
-
If site persistence is required.
-