Applies To:
Show VersionsBIG-IP AAM
- 13.1.5, 13.1.4, 13.1.3, 13.1.1, 13.1.0
BIG-IP APM
- 13.1.5, 13.1.4, 13.1.3, 13.1.1, 13.1.0
BIG-IP Link Controller
- 13.1.5, 13.1.4, 13.1.3, 13.1.1, 13.1.0
BIG-IP Analytics
- 13.1.5, 13.1.4, 13.1.3, 13.1.0
BIG-IP LTM
- 13.1.5, 13.1.4, 13.1.3, 13.1.1, 13.1.0
BIG-IP AFM
- 13.1.5, 13.1.4, 13.1.3, 13.1.1, 13.1.0
BIG-IP PEM
- 13.1.5, 13.1.4, 13.1.3, 13.1.1, 13.1.0
BIG-IP DNS
- 13.1.5, 13.1.4, 13.1.3, 13.1.1, 13.1.0
BIG-IP ASM
- 13.1.5, 13.1.4, 13.1.3, 13.1.1, 13.1.0
About connection mirroring
Purpose
BIG-IP® system high availability includes the ability for a device to mirror connection and persistence information to another device in a device service clustering (DSC®) configuration, to prevent interruption in service during failover. The BIG-IP system maintains a separate mirroring channel for each traffic group. The BIG-IP system allows TCP ports starting from 1029 to 1155. The port range for each new connection (traffic group and channel) is incremented by one.
How to enable connection mirroring
You enable connection mirroring on the relevant virtual server, and then on each device in the device group, you specify the self IP addresses that you want other devices to use when mirroring connections to the local device. This enables mirroring between an active traffic group and a mirroring peer in the device group. You can enable connections such as FTP, Telnet, HTTP, UDP, and SSL connections.
When to enable connection mirroring
You should enable connection mirroring whenever failover would cause a user session to be lost or significantly disrupted. For example, long-term connections such as FTP and Telnet are good candidates for mirroring. For this type of traffic, if failover occurs, an entire session can be lost if the connections are not being mirrored to a peer device. Conversely, the mirroring of short-term connections such as HTTP and UDP is typically not recommended, because these protocols allow for failure of individual requests without loss of the entire session, and the mirroring of short-term connections can negatively impact system performance.
Platform caveats
About connection mirroring for VIPRION systems
For VIPRION® systems, each device in a Sync-Failover device group can be either a physical cluster of slots within a chassis, or a virtual cluster for a vCMP® guest. In either case, you can configure a device to mirror an active traffic group's connections to its next-active device.
You enable connection mirroring on the relevant virtual server, and then you configure each VIPRION cluster or vCMP guest to mirror connections by choosing one of these options:
- Within a cluster
-
You can configure the BIG-IP system to mirror connections between blades within a single VIPRION cluster on the same chassis. This option is not available on VIPRION systems provisioned to run vCMP.Note: With this option, the BIG-IP system mirrors Fast L4 connections only.
- Between clusters (recommended)
- You can configure the BIG-IP system to mirror connections between two chassis or between two vCMP guests that reside in separate chassis. When you choose this option, the BIG-IP system mirrors a traffic group's connections to the traffic group's next-active device. For VIPRION systems that are not provisioned for vCMP, each chassis must have the same number of blades in the same slot numbers. For VIPRION systems provisioned for vCMP, each guest must be assigned to the same number of blades in the same slot numbers, with the same number of cores allocated per slot.
In addition to enabling connection mirroring on the virtual server, you must also assign the appropriate profiles to the virtual server. For example, if you want the BIG-IP system to mirror SSL connections, you must assign one or more SSL profiles to the virtual server.
Connection mirroring and traffic groups
Connection mirroring operates at the traffic group level. That is, for each virtual server that has connection mirroring enabled, the traffic group that the virtual server belongs to mirrors its connections to its next-active device in the device group.
For example, if traffic-group-1 is active on Bigip_A, and the next-active device for that traffic group is Bigip_C, then the traffic group on the active device mirrors its in-process connections to Bigip_C.
If Bigip_A becomes unavailable and failover occurs, traffic-group-1 goes active on Bigip_C and begins mirroring its connections to the next-active device for Bigip_C.
Configuration task summary
Configuring connection mirroring requires you to perform these specific tasks:
- Specifying a local self IP address for connection mirroring (required)
- This local self IP address is the address that you want other devices in a device group to use when other traffic groups mirror their connections to a traffic group on this device.
- Enabling connection mirroring on a virtual server
- The BIG-IP® can mirror TCP or UDP connections for a virtual server. When you enable connection mirroring on a virtual server, and you then make the relevant virtual address a member of an active floating traffic group, the traffic group can mirror its connections to its corresponding standby traffic group on another device.
- Enabling connection mirroring on a SNAT
- The BIG-IP system can mirror TCP or UDP connections for a SNAT.
- Enabling persistence mirroring on a persistence profile
-
The BIG-IP system can mirror persistence information between peers for the following persistence profiles:
- Destination address affinity
- Hash
- Microsoft Remote Desktop (MSRDP)
- Session Initiation Protocol (SIP)
- Source address affinity
- SSL
- Universal
Specifying an IP address for connection mirroring
You can specify the local self IP address that you want other devices in a device group to use when mirroring their connections to this device. Connection mirroring ensures that in-process connections for an active traffic group are not dropped when failover occurs. You typically perform this task when you initially set up device service clustering (DSC®).
Configuring connection mirroring between VIPRION clusters
Using the BIG-IP® Configuration utility, you can configure connection mirroring between two VIPRION® or vCMP® clusters as part of your high availability setup:
- When you configure mirroring on a VIPRION system where vCMP is not provisioned (a bare-metal configuration), an active traffic group on one chassis mirrors its connections to the next-active chassis in the device group.
- When you configure mirroring on a vCMP guest, an active traffic group mirrors its connections to its next-active guest in another chassis.
Enabling connection mirroring for TCP and UDP connections
You can perform this task to enable TCP or UDP connections for a virtual server. Connection mirroring is an optional feature of the BIG-IP® system, designed to ensure that when failover occurs, in-process connections are not dropped. You enable mirroring for each virtual server that is associated with a floating virtual address.
Enabling connection mirroring for SNAT connections
You can perform this task to enable connection mirroring for source network address translation (SNAT). Connection mirroring is an optional feature of the BIG-IP® system, designed to ensure that when failover occurs, in-process SNAT connections are not dropped. You can enable mirroring on each SNAT that is associated with a floating virtual address.
Enabling mirroring of persistence records
You can perform this task to mirror persistence records to another device in a device group.