ADC

Configure a high-availability setup with multiple IP addresses and NICs

In a Microsoft Azure deployment, a high-availability configuration of two Citrix ADC VPX instances is achieved by using the Azure Load Balancer (ALB). This is achieved by configuring a health probe on ALB, which monitors each VPX instance by sending health probe at every 5 seconds to both primary and secondary instances.

In this setup, only the primary node responds to health probes and secondary does not. Once the primary sends the response to the health probe, the ALB starts sending the data traffic to the instance. If the primary instance misses two consecutive health probes, ALB does not redirect traffic to that instance. On failover, the new primary starts responding to health probes and the ALB redirects traffic to it. The standard VPX high availability failover time is three seconds. The total failover time that might take for traffic switching can be maximum of 13 seconds.

You can deploy a pair of Citrix ADC VPX instances with multiple NICs in an active-passive high availability (HA) setup on Azure. Each NIC can contain multiple IP addresses.

The following options are available for a multi-NIC high availability deployment:

  • High availability using Azure availability set
  • High availability using Azure availability zones

For more information about Azure Availability Set and Availability Zones, see the Azure documentationManage the availability of Linux virtual machines.

High availability using availability set

A high availability setup using availability set must meet the following requirements:

  • An HA Independent Network Configuration (INC) configuration
  • The Azure Load Balancer (ALB) in Direct Server Return (DSR) mode

All traffic goes through the primary node. The secondary node remains in standby mode until the primary node fails.

Note

For a Citrix VPX high availability deployment on Azure cloud to work, you need a floating public IP (PIP) that can be moved between the two VPX nodes. The Azure Load Balancer (ALB) provides that floating PIP, which is moved to the second node automatically in the event of a failover.

Diagram:高可用性部署archit的例子ecture, using Azure Availability Set

localized image

In an active-passive deployment, the ALB floating public IP (PIP) addresses are added as the VIP addresses in each VPX node. In HA-INC configuration, the VIP addresses are floating and SNIP addresses are instance specific.

You can deploy a VPX pair in active-passive high availability mode in two ways by using:

  • Citrix ADC VPX standard high availability template: use this option to configure an HA pair with the default option of three subnets and six NICs.
  • Windows PowerShell commands: use this option to configure an HA pair according to your subnet and NIC requirements.

This topic describes how to deploy a VPX pair in active-passive HA setup by using the Citrix template. If you want to use PowerShell commands, seeConfiguring an HA Setup with Multiple IP Addresses and NICs by Using PowerShell Commands.

Configure HA-INC nodes by using the Citrix high availability template

You can quickly and efficiently deploy a pair of VPX instances in HA-INC mode by using the standard template. The template creates two nodes, with three subnets and six NICs. The subnets are for management, client, and server-side traffic, and each subnet has two NICs for both the VPX instances.

You can get the Citrix ADC HA Pair template at theAzure Marketplace.

Complete the following steps to launch the template and deploy a high availability VPX pair, by using Azure availability sets.

  1. From Azure Marketplace, searchCitrix ADC.

    Azure Marketplace

  2. ClickGET IT NOW.

  3. Select the required HA deployment along with license, and clickContinue.

    Azure HA with license

  4. TheBasicspage appears. Create a Resource Group and selectOK.

    localized image

  5. TheGeneral Settingspage appears. Type the details and selectOK.

    localized image

  6. TheNetwork Settingpage appears. Check the vnet and subnet configurations, edit the required settings, and selectOK.

    localized image

  7. TheSummarypage appears. Review the configuration and edit accordingly. SelectOKto confirm.

  8. TheBuypage appears. SelectPurchaseto complete the deployment.

It might take a moment for the Azure Resource Group to be created with the required configurations. After completion, select the Resource Group in the Azure portal to see the configuration details, such as LB rules, back-end pools, health probes, and so on. The high availability pair appears as ns-vpx0 and ns-vpx1.

If further modifications are required for your HA setup, such as creating more security rules and ports, you can do that from the Azure portal.

localized image

Next, you need to configure the load-balancing vserver with the ALB public IP (PIP) address, on each node. To find the ALB PIP, select ALB >Frontend IP configuration.

localized image

See the Resources section for more information about how to configure the load-balancing vserver.

Resources:

The following links provide additional information related to HA deployment and virtual server (vserver) configuration:

Related resources:

High availability using availability zones

Azure Availability Zones are fault-isolated locations within an Azure region, providing redundant power, cooling, and networking and increasing resiliency. Only specific Azure regions support Availability Zones. For more information, see the Azure documentationWhat are Availability Zones in Azure?.

Diagram: Example of a high availability deployment architecture, using Azure Availability Zones

image

You can deploy a VPX pair in high availability mode by using the template called “NetScaler 12.1 HA using Availability Zones,” available in Azure Marketplace.

Complete the following steps to launch the template and deploy a high availability VPX pair, by using Azure Availability Zones.

  1. From Azure Marketplace, select and initiate the Citrix solution template.

    image

  2. Ensure deployment type is Resource Manager and selectCreate.

  3. TheBasicspage appears. Enter the details and clickOK.

    Note: Ensure that you select an Azure region that supports Availability Zones. For more information about regions that support Availability Zones, see Azure documentationWhat are Availability Zones in Azure?

    image

  4. TheGeneral Settingspage appears. Type the details and selectOK.
  5. TheNetwork Settingpage appears. Check the vnet and subnet configurations, edit the required settings, and selectOK.
  6. TheSummarypage appears. Review the configuration and edit accordingly. SelectOKto confirm.

  7. TheBuypage appears. SelectPurchaseto complete the deployment.

    It might take a moment for the Azure Resource Group to be created with the required configurations. After completion, select theResource Groupto see the configuration details, such as LB rules, back-end pools, health probes, and so on, in the Azure portal. The high availability pair appears as ns-vpx0 and ns-vpx1. Also, you can see the location under theLocationcolumn.

    image

If further modifications are required for your HA setup, such as creating more security rules and ports, you can do that from the Azure portal.

Configure a high-availability setup with multiple IP addresses and NICs