Configuring Active-Active Mode
On each Citrix ADC appliance that you want to deploy in active-active mode, you must add a Virtual MAC (VMAC) and bind the Virtual MAC to a VIP. The Virtual MAC for a given VIP must be same on each appliance. For example, if VIP 10.102.29.5, is created on the appliances, a virtual router ID (VRID) must be created on each Citrix ADC and bound to VIP 10.102.29.5 on each Citrix ADC. When you bind a Virtual MAC to a VIP, the appliance sends VRRP advertisements to each VLAN that is bound to that VIP. The Virtual MAC can be shared by different VIPs configured on the same Citrix ADC.
Configuring IPv4 Active-Active Mode
Perform the following tasks on each of the Citrix ADC appliances to be included in the active-active configuration:
- Add a Virtual MAC address.Add a Virtual MAC address by adding a VRID. You can also specify a priority and enable or disable preemption and sharing on this VRID address.
- Add a VIP address and associate the Virtual MAC’s VRID.Add a VIP address and set the VRID parameter to the newly created VRID. The attributes of the VRID (for example, priority and preemption) are bound to this VIP address.Note: The same VIP address must be added to all the other Citrix ADC appliances.
To add a Virtual MAC address by using the CLI
At the command prompt, type:
- add vrID
[-priority ] [-preemption(ENABLED|DISABLED)][-sharing(ENABLED|DISABLED)] [-tracking ] - show vrid
To add a VIP address by using the CLI:
At the command prompt, type:
- add ns ip
-type VIP -vrid - show ns ip
To configure a Virtual MAC by using the GUI:
- Navigate toSystem>Network>VMAC, on theVMACtab, add a new Virtual MAC, or edit an existing Virtual MAC.
- Set the following parameters:
- Virtual Router ID
- Priority
- Tracking
- Preemption
- Sharing
To configure a VIP address and associate the VRID to it by using the GUI:
- Navigate toSystem>Network>IPs, on theIPV4stab, add an IP address of type VIP.
- While adding the IP address, select the virtual router ID from theVirtual Router Iddrop down box.
Sample Configuration:
The following sample configuration is for deploying Citrix ADC appliances NS1 and NS2 in IPv4 active-active mode. VIP address 203.0.113.10 is configured on both NS1 and NS2, with a different priority value on each appliance. On each appliance, this VIP address is bound to a Virtual MAC address. 203.0.113.10 is master on NS2, because its priority (200) on NS2 is higher than on NS1 (100).
Settings on NS1 > add vrid 10 –Priority 100 –Preemption Enabled –sharing Enabled Done > add ns ip 203.0.113.10 –type VIP –vrid 10 Done Settings on NS2 > add vrid 10 –Priority 200 –Preemption Enabled –sharing Enabled Done > add ns ip 203.0.113.10 –type VIP –vrid 10 Done
Configuring IPv6 Active-Active Mode
Perform the following tasks on each of the Citrix ADC appliances to be included in the active-active configuration:
- Add a Virtual MAC6 address.Add a Virtual MAC6 address by adding a VRID6. You can also specify a priority and enable or disable preemption and sharing on this VRID6 address.
- Add a VIP6 address.添加一个VIP6地址。设置VRID6参数the VRID6 of the newly created Virtual MAC6.The attributes of the Virtual MAC6 (for example, priority and preemption) are bound to this VIP6 address.Note: The same VIP6 address must be added to all the other Citrix ADC appliances.
To add a Virtual MAC6 address by using the CLI:
At the command prompt, type:
- add vrID6
[-priority ] [-preemption(ENABLED|DISABLED)] [-sharing(ENABLED|DISABLED)] - show vrID6
To add a VIP6 address by using the CLI:
At the command prompt, type:
- add ns ip6
-typeVIP -vrid - show ns ip6
To configure a Virtual MAC6 by using the GUI:
- Navigate toSystem>Network>VMAC, on theVMAC6tab, add a new Virtual MAC6, or edit an existingVirtual MAC.
- Set the following parameters:
- Virtual Router ID
- Priority
- Preemption
- Sharing
To configure a VIP6 address and associate the VRID to it by using the GUI:
- Navigate toSystem>Network>IPs, on theIPV6stab, add an IPv6 address of type VIP.
- 在添加VIP6地址,选择VRID6 from theVirtual Router Iddrop down box.
Sample Configuration:
The following sample configuration is for deploying Citrix ADC appliances NS1 and NS2 in IPv6 active-active mode. VIP6 address 2001:db8::5001 is configured on both NS1 and NS2, with a different priority value on each appliance. On each appliance, this VIP6 address is bound to a Virtual MAC6 address. 2001:db8::5001 is master on NS2, because it’s priority (200) on NS2 is higher than on NS1 (100).
Settings on NS1 > add vrid6 10 –Priority 100 –Preemption Enable –sharing Enable Done > add ns ip6 2001:db8::5001 –type VIP –vrid6 10 Done Settings on NS2 > add vrid6 10 –Priority 200 –Preemption Enable –sharing Enable Done > add ns ip6 2001:db8::5001 –type VIP –vrid6 10 Done