Configuring cluster link aggregation
Cluster link aggregation, as the name suggests, combines a group of cluster-node interfaces into a channel. It is an extension of Citrix ADC link aggregation (LA). The only difference is that, while link aggregation requires the interfaces to be on the same device, in cluster link aggregation, the interfaces are on different nodes of the cluster. For more information about link aggregation, seeConfiguring Link Aggregation.
For example, consider a six-node cluster, across two SDX appliances, in which all six nodes are connected to an upstream switch. A cluster LA channel (CLA/1) is formed by binding interfaces 0/1/2, 1/1/3, 2/1/4, 3/1/2, 4/1/3, and 5/1/4.
A cluster LA channel has the following attributes:
- Each channel has a unique MAC address agreed upon by cluster nodes.
- The channel can bind both local and remote SDX nodes’ interfaces.
- A maximum of four cluster LA channels are supported in a cluster.
- A maximum of 16 interfaces can be bound to each cluster LA channel.
- Backplane interfaces cannot be part of a cluster LA channel.
- When an interface is bound to a cluster LA channel, the channel parameters take precedence over the network interface parameters.
- A network interface can be bound to only one channel.
- Do not configure management access to a cluster node on a cluster LA channel (for example, CLA/1) or its member interfaces. When the node is INACTIVE, the corresponding cluster LA interface is marked as POWER OFF, which causes it to lose management access.
Implement similar configurations on the cluster IP address and on the external connecting device. If possible, configure the upstream switch to distribute traffic based on the IP address or port instead of the MAC address.
Points to remember:
- Enable LACP (by specifying the LACP mode as either ACTIVE or PASSIVE).
Note:Make sure the LACP mode is not set as PASSIVE on both the Citrix ADC cluster and the external connecting device. - For creating a cluster LA channel, the LACP key can have a value from 5 through 8. These LACP Keys are mapped to CLA/1, CLA/2, CLA/3, and CLA/4.
- On the SDX appliance, the cluster link aggregation group (CLAG) member interfaces cannot be shared with other virtual machines.
- On the upstream switch, set LACP timeout to “short” to avoid long-duration traffic black holes on cluster nodes. This setting is useful when the upstream switch is not notified of the power down of the CLAG and its member interfaces until after the LACP timeout.
Prerequisites:
Create a cluster of Citrix ADC instances. The nodes of the cluster can be Citrix ADC instances on the same SDX appliance or on other SDX appliances that are available on the same subnet.
To configure a cluster LA channel by using the Management Service:
1. Log on to the SDX appliance.
2. On theConfigurationtab, navigate toCitrix ADC, and then clickClusters.
3. On theCluster Instancespage, select the cluster and clickCLAG.
4. In theCreate CLAGdialog box, do the following:
a. In theChannel IDdrop-down list, select the cluster LA channel ID.
b. In theInterfacessection, from theAvailableselection box, select the interfaces and click+.
The selected interfaces are displayed underConfiguredselection box.
c. In theSettingsection, do the following:
i. In theAliasfield, enter an alternative name for the cluster LA channel.
ii. In theLACP Timeoutfield, select one of the following values to define the interval after which a link is not aggregated, if the link does not receive an LACPDU.
The value must match on all the ports participating in link aggregation on the SDX appliance and the partner node:
•Long– 30 seconds
•Short– 1 second
iii. For High Availability (HA) configuration, select theHA Monitoringcheck box to monitor the channel for failure events. Failure of any LA channel that has HA MON enabled triggers HA failover.
iv. SelectTag Allto add a four-byte 802.1q tag to every packet sent on this channel. TheONsetting applies tags for all VLANs that are bound to this channel. OFF applies the tag to all VLANs other than the native VLAN.
d. ClickCreateto configure a CLAG for one of the SDX appliances.
5. In theConfirmdialog box, clickYesto refresh the CLAG settings in the other SDX appliances.
Note:If you selectNo, the CLAG is not configured.
Important:
- Manually refresh the CLAG settings in the other SDX appliances.
- The MTU settings must be the same on both of the SDX appliances. The MTU settings must be changed manually on either of the SDX appliances.
6. To change the MTU settings in theCLAGsdialog box, do the following:
i. SelectCLA/1and clickEdit.
ii. In theConfigure CLAGdialog box, set the MTU manually in theMTUfield and clickOK.
7. In theConfirmdialog box, clickYes.