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, see Configuring 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.
- Management access to a cluster node must not be configured 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.
You must implement similar configurations on the cluster IP address and on the external connecting device. If possible, configure the upstream switch to distribute traffic on the basis of IP address or port instead of 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 when the upstream switch is not notified of power down of the CLAG and its member interfaces until after LACP timeout.
Make sure that you have created 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 the Configuration tab, navigate to NetScaler, and then click Clusters.
3. On the Cluster Instances page, select the cluster and click CLAG.
4. In the Create CLAG dialog box, do the following:
a. In the Channel ID drop-down list, select the cluster LA channel ID.
b. In the Interfaces section, from the Available selection box, select the interfaces and click +.
The selected interfaces are displayed under Configured selection box.
c. In the Setting section, do the following:
i. In the Alias field, enter an alternative name for the cluster LA channel.
ii. In the LACP Timeout field, select any 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 the HA Monitoring checkbox to monitor the channel for failure events. Failure of any LA channel that has HA MON enabled triggers HA failover.
iv. Select Tag All to add a four-byte 802.1q tag to every packet sent on this channel. The ON setting applies tags for all VLANs that are bound to this channel. OFF applies the tag to all VLANs other than the native VLAN.
d. Click Create to configure a CLAG for one of the SDX appliances.
5. In the Confirm dialog box, click Yes to refresh the CLAG settings in the other SDX appliances.
Note: If you select No, the CLAG is not configured.
- You must manually refresh the CLAG settings in the other SDX appliances.
- The MTU settings must be 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 the CLAGs dialog box, do the following:
i. Select CLA/1 and click Edit.
ii. In the Configure CLAG dialog box, set the MTU manually in the MTU field and click OK.
7. In the Confirm dialog box, click Yes.