VRRP-A High Availability
VRRP-A High Availability
1-P9
Configuring VRRP-A High Availability
November, 2023
© 2023 A10 Networks, Inc. All rights reserved.
Information in this document is subject to change without notice.
PATENT PROTECTION
A10 Networks, Inc. products are protected by patents in the U.S. and elsewhere. The following website is provided
to satisfy the virtual patent marking provisions of various jurisdictions including the virtual patent marking
provisions of the America Invents Act. A10 Networks, Inc. products, including all Thunder Series products, are
protected by one or more of U.S. patents and patents pending listed at:
a10-virtual-patent-marking.
TRADEMARKS
A10 Networks, Inc. trademarks are listed at: a10-trademarks
CONFIDENTIALITY
This document contains confidential materials proprietary to A10 Networks, Inc. This document and information
and ideas herein may not be disclosed, copied, reproduced or distributed to anyone outside A10 Networks, Inc.
without prior written consent of A10 Networks, Inc.
DISCLAIMER
This document does not create any express or implied warranty about A10 Networks, Inc. or about its products or
services, including but not limited to fitness for a particular use and non-infringement. A10 Networks, Inc. has made
reasonable efforts to verify that the information contained herein is accurate, but A10 Networks, Inc. assumes no
responsibility for its use. All information is provided "as-is." The product specifications and features described in
this publication are based on the latest information available; however, specifications are subject to change without
notice, and certain features may not be available upon initial product release. Contact A10 Networks, Inc. for
current information regarding its products or services. A10 Networks, Inc. products and services are subject to A10
Networks, Inc. standard terms and conditions.
ENVIRONMENTAL CONSIDERATIONS
Some electronic components may possibly contain dangerous substances. For information on specific component
types, please contact the manufacturer of that component. Always consult local authorities for regulations
regarding proper disposal of electronic components in your area.
FURTHER INFORMATION
For additional information about A10 products, terms and conditions of delivery, and pricing, contact your nearest
A10 Networks, Inc. location, which can be found by visiting www.a10networks.com.
Table of Contents
Overview of VRRP-A 7
VRRP-A Overview 8
VRRP-A Configuration 8
Basic VRRP-A Configuration 8
Multicast Heartbeat Destination Addresses 10
Unicast Heartbeat Destination Addresses 10
VRRP-A and Virtual Router IDs 11
Leader and Follower VRIDs 12
VRID Virtual MAC Addresses 12
VRRP-A, Virtual Router IDs, and Partitions 13
VRRP-A Active / Standby Device Selection 13
VRRP-A Active Device Selection Overview 14
Event Tracking for Weight and Priority 15
Priority Calculation 16
Track Event Delay 16
Preemption and VRRP-A Failover Behavior 16
Preemption and VRRP-A Failover Behavior in Active/Active State 17
Preemption Delay 17
Active Device Selection Examples 17
VRRP-A Failover 21
Policy-Based Failover 21
Dynamic Priority Reduction 22
Force-Self-Standby 23
VRRP-A and Floating IP Addresses 23
VRRP-A and Configuration Synchronization 25
VRRP-A and Session Synchronization 26
VRRP-A Interfaces 27
Explicitly Configured VRRP-A Interfaces 27
3
ACOS 5.2.1-P9 Configuring VRRP-A High Availability
Contents
Deploying VRRP-A 36
Basic VRRP-A Deployment 37
Force-Self-Standby Reload or Restart Persistence 37
Viewing VRRP-A Information 38
Viewing VRRP-A Config-Sync Status in the CLI 39
Viewing Peer Box Information 43
Configuring Preemption Delays 44
Use the GUI to Configure VRRP-A Preemption Delay 45
Use the CLI to Configure VRRP-A Preemption Delay 45
VRRP-A Configuration Examples 47
Simple Deployment 47
Deployment with Custom Priority Settings 48
Configuration of Tracking Options 50
Ethernet Interface Tracking 51
Trunk Tracking 51
VLAN Tracking 51
Gateway Tracking 52
Route Tracking 52
Preemption Delay 53
4
ACOS 5.2.1-P9 Configuring VRRP-A High Availability
Contents
5
ACOS 5.2.1-P9 Configuring VRRP-A High Availability
Contents
Glossary 82
6
Overview of VRRP-A
7
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Overview of VRRP-A
VRRP-A Overview
VRRP-A is the ACOS implementation of high availability that is completely different
from the industry-standard implementation of Virtual Router Redundancy Protocol
(VRRP). For purposes of operational familiarity, it borrows concepts from VRRP but is
significantly different from VRRP. VRRP-A will not inter-operate with VRRP.
VRRP-A simplifies the configuration of multi-system redundancy and allows up to
eight physical or virtual ACOS devices to serve as mutual backups for IP addresses.
VRRP-A inline mode is supported only with one VRRP-A VRID ID group.
VRRP-A can provide redundancy for the following IP resources:
l Virtual server IP addresses (VIPs)
l Floating IP addresses used as default gateways by downstream devices
l IPv6 NAT pools
l IPv4 NAT pools
l IPv4 static range lists and individual mappings for inside source NAT
VRRP-A Configuration
The following topics are covered:
Basic VRRP-A Configuration 8
VRRP-A and Virtual Router IDs 11
VRRP-A, Virtual Router IDs, and Partitions 13
8
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Overview of VRRP-A
This type of configuration is called Active-Standby mode, because only the active
device processes traffic.
The elements in this illustration are described in Table 1.
9
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Overview of VRRP-A
If the standby device stops receiving hello messages from the active device, the
operation for the VRID fails over to the standby device. The device to which the
operation fails over becomes the new active device for the VRID.
To configure multicast heartbeats, use the hello-interval command. For more
information about the command, see the Command Line Reference Guide document.
NOTE: At least one unicast address must be configured on a data interface per
peer ACOS device.
For reliability and redundancy, configure at least four IP Addresses in a peer group,
with each IP address belonging to a different interface. This will enable you to
allocate at least two interfaces per ACOS device. The peer group configuration on
each VRRP-A device in the set should be the same, including the device’s own IP
address. When a device sends VRRP-A heartbeats to the members of a peer group,
that device skips any IP addresses that belong to itself.
To configure peer groups for unicast heartbeat messages, use the vrrp-a peer-group
command. For more information about the command, see Command Line Reference
Guide.
10
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Overview of VRRP-A
Admins with write privileges for the partition can assign a floating IP address to the
partition’s VRID. Generally, the floating IP address provides redundancy for the
11
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Overview of VRRP-A
default gateway IP address used by downstream devices. (For more information, see
VRRP-A and Floating IP Addresses.)
Parameters related to the selection of the active device and failover can be
configured.
The total number of VRIDs that can be configured is dependent on the device model.
All devices in a VRRP-A cluster must use the same value for the IPv6 prefix length
irrespective of the number of VRIDs configured. For more information about IPv6
prefix length, see Command Line Reference Guide.
NOTE: The IPv6 prefix length must be modified only when the VRRP-A cluster is
not in use. Else, unpredictable disruptions may occur to the traffic.
The n.nnnn portion of the address includes the partition ID, VRRP-A set ID, and VRID.
12
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Overview of VRRP-A
In this example, a pair of ACOS devices are configured with L3V partitions. The VIPs
and other IP resources in each partition are backed up by the partition’s VRID. At any
given time, one of the devices is the active device (A) for a VRID and the other device
is the standby (S) for the VRID. For more information about how the active device is
selected, see VRRP-A Active / Standby Device Selection.
13
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Overview of VRRP-A
The VRRP-A device selection process consists of two levels of failover considerations:
l The weight assigned to an event.
l Priority value assigned as part of the VRRP-A deployment.
While both weight and priority are factored into failover decisions, the weight of the
VRID takes precedence over the VRID’s priority.
14
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Overview of VRRP-A
Each VRID is allocated a fixed, total weight of 65534 and each event is allocated a
corresponding configurable priority of 1-255. When the event occurs, the configured
weight for the event is deducted from the total weight assigned to the VRID. Some
events (for example, when an interface goes down) are considered to be critical for a
VRID and will reduce the VRID’s weight. ACOS devices that are part of the same set
periodically exchange their weight information with peer ACOS devices.
VRRP-A determines the Active or Standby status based on received weight
information. Based on the newly computed weight, a failover will occur from an
ACOS device of lower weight to another ACOS device of a higher weight. This concept
is called preemption.
Preemption based on weight is always enabled. Preemption based on priority can be
enabled or disabled.
15
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Overview of VRRP-A
Priority Calculation
Every few seconds, VRRP-A recalculates the priority for each VRID on the active
device for the VRIDs.
To calculate the priority, VRRP-A subtracts the priority values for all optional failover
trigger events that have occurred from the configured priority value. The lowest
value to which the priority can be reduced is 1.
Once the link or server health is restored, the failover trigger event is no longer
occurring and the priority value is not subtracted during the next priority calculation.
16
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Overview of VRRP-A
Preemption Delay
If VRRP-A preemption is enabled, failover can be triggered by VRRP-A configuration
changes, in addition to network changes. By default, when preemption is enabled,
failover can occur as soon as 3 seconds after an applicable configuration change
takes effect.
This release enables you to configure a delay between VRRP-A configuration changes
and the failover that occurs due to the changes. The default VRRP-A preemption
delay is 6 seconds (60 units of 100 ms); the value can be customized to a value from
100 ms (1 unit of 100 ms) to 25.5 seconds (255 units of 100 ms).
In deployments where many sessions are synchronized, setting the preemption delay
to a longer value can help ensure there is time for session synchronization to be
completed before failover.
For more information about configuring preemption delays, see Configuring
Preemption Delays.
17
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Overview of VRRP-A
VRID. Each VRID has its own priority value, which can be 1-255. The default is 150.
Figure 5 shows an example.
Figure 5 : Selection of Active Device
In this example, the priority of VRID 0 is set to 255 for the shared partition and
partition CorpB on device 1, and partitions CorpA and CorpC on device 2. The
active/standby state of each VRID on each device is based on these priority settings.
In the illustration, "A" denotes active and "S" denotes standby.
If more than one device has the highest priority value, the device with the lowest
device ID becomes the active device. For example, if the VRID priority is left set to the
default value on all devices, device 1 becomes the active device for the VRID.
VRRP-A selects the device that has the second-highest priority for a VRID as the
standby device for the VRID. In VRRP-A deployments on more than 2 devices, if more
than one device has the second-highest priority value, the device with the lowest
device ID becomes the standby device. Figure 6 shows an example.
18
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Overview of VRRP-A
The priority for VRID 0 in partition CorpB is set to 255 on device 1 but is left to its
default value on the other devices. Since device 2 is has the lowest device ID number
among the remaining devices, device 2 becomes the standby for the VRID (denoted
by “S” in the illustration). The other devices are backups (denoted by “B” in the
illustration).
If session synchronization is enabled, sessions are copied from device 1 to device 2. If
a failover occurs, device 2 becomes the active device and device 1 becomes the
standby device. Sessions are not synchronized to the backups.
If the standby device becomes unavailable or its priority value is reduced below the
priority value on another backup device, the other device becomes the new standby
for the VRID, as shown in Figure 7.
19
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Overview of VRRP-A
NOTE:
l In VRRP-A deployments of 3 or more devices, moving the active role
to a backup other than the standby can cause loss of synchronized
sessions, since sessions are synchronized only from the active device
to the standby device.
l To avoid loss of sessions in this case, first change the priority on the
backup so that it will assume the role of standby. Then, when VRRP-
A fails over, the standby will have the synchronized sessions.
20
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Overview of VRRP-A
VRRP-A Failover
Failover of a VRID from the active ACOS device to the standby ACOS device can be
triggered by any of the following events:
l The standby ACOS device stops receiving VRRP-A hello messages from the active
ACOS device.
l The VRRP-A priority on the active device is dynamically reduced below the priority
on the standby device. The priority can be dynamically reduced when a tracked
default gateway, data port, or VLAN goes down, a tracked route is not in the data
route table (For more information, see the tracking-options command in the
Command Line Reference Guide), or a server bound to a service group in a VIP fails
its health check.
l The VRRP-A priority on the active device is manually reduced below the priority on
the standby device by an administrator, and preemption is enabled.
l The force-self-standby option is used on the active device by an administrator.
l The traffic on the blade (chassis or multi-PU platforms) is stuck or inoperable.
The blade sends a message to the master instructing it to disable or shut down all
ports. When the ports are disabled, the traffic is routed to the standby or peer
device.
Policy-Based Failover
VRRP-A provides flexible event tracking and policy-based failover support through
configurable templates. This feature allows policy-based failover even when VRRP-A
preemption is disabled and the ACOS device typically would remain in an Active
state, despite VRID priority changes. It allows for event-based failover once a tracked
event occurs.
For more information, see VRRP-A Policy-Based Failover Template.
21
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Overview of VRRP-A
In this example, link tracking is enabled for Ethernet port 6 and configured to reduce
the VRID priority by 155 if the link goes down. Device 1 has the higher configured
priority value for VRID 0 in partition CorpB and is the active device. However, if the
link on Ethernet port 6 goes down, the priority is dynamically reduced below the
priority value on device 2. Device 2, therefore, becomes the active device for the
VRID.
See Events Tracked for Weight via the Templates for a summary of events that can be
tracked.
By default, none of the dynamic failover triggers are configured. They can be
configured on an individual partition basis.
22
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Overview of VRRP-A
Force-Self-Standby
The force-self-standby option in vrrp-a force-self-standby provides a simple
method to force a failover, without the need to change VRID priorities and use
preemption. For more information about the command, see Command Line Reference
Guide.
The option can be entered by shared partition admins and private partition admins.
If entered in the shared partition, the option applies to all VRIDs on the device. If
entered in a private partition, the option applies to all VRIDs within that partition
but does not affect VRIDs in other partitions.
The option remains in effect until one of the other failover triggers occurs or the
device is reloaded or rebooted. The option is not added to the configuration and
does not persist across reloads or reboots.
23
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Overview of VRRP-A
In this example, a device uses ACOS device IP address 10.8.8.6 as its default gateway.
This address is configured as a floating IP address on the ACOS device and always
resides on the active VRRP-A device.
Because the address is configured as a floating IP address on the ACOS device, the
address remains reachable by the client even if a VRRP-A failover occurs. For
example, if VRRP-A fails over from device 1to device 2, then the floating IP address
also moves to device 2.
24
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Overview of VRRP-A
NOTE:
l A floating IP address cannot be the same as an address that already
belongs to a device. For example, the IP address of an ACOS device
interface cannot be a floating IP address.
l A floating IP address can overlap with IP NAT pool IP address and
virtual server IP. Smart NAT cannot be enabled when Floating IP and
NAT IPs overlap.
l In the case of CGNAT, floating IP and IP NAT pool cannot be the same
IP address.
For more information about viewing the configuration synchronization status, see
Viewing VRRP-A Information.
25
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Overview of VRRP-A
NOTE:
l For configuring VRRP-A for vThunder, the devices should have the
same model and resources, such as CPU, Memory, and so on. The
vThunder devices must be set to the same DPDK enable or disable
mode. If the DPDK state of one device is ‘enabled’ and that of the
other device is ‘disabled,’ then failover happens for both devices.
l The session synchronization message is enhanced in ACOS 5.2.1-P4,
but it is not understood by all previous ACOS 4.1.4 releases and
ACOS 5.2.1-P3.
As a result, when upgrading ACOS, the session synchronization
between ACOS 5.2.1-P4 onwards and all ACOS 4.1.4 or ACOS 5.2.1-P3
earlier will not work.
26
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Overview of VRRP-A
VRRP-A Interfaces
VRRP-A sends hello messages and session synchronization messages on the ACOS
device’s VRRP-A interfaces.
Each ACOS device providing VRRP-A for a VRID must have at least one Up Ethernet
interface that can reach the other ACOS devices. If an ACOS device cannot receive
hello messages from the other devices for the VRID, the ACOS device's VRRP-A state
becomes Active. In this case, there is more than one active VRRP-A device for the
same VRID, which is invalid. One of the active VRRP-A devices is the ACOS device that
does not have a connection to the other devices. The other active VRRP-A device is
the ACOS device that can still reach the other ACOS devices (standby VRRP-A
devices).
By default, no VRRP-A interfaces are explicitly configured. In this case, VRRP-A uses
all Up Ethernet interfaces to send and listen for hello messages. For an interface that
belongs to more than 1 VLAN, the ACOS device uses the lowest VLAN ID to which the
interface belongs.
If a data interface has both IPv4 and IPv6 addresses, the primary IPv4 address is used.
Admins with write privileges for the shared partition can explicitly specify the ACOS
device interfaces to use as VRRP-A interfaces. In this case, the specified interfaces are
used as VRRP-A interfaces by the shared partition and all L3V partitions.
27
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Overview of VRRP-A
l If no VRRP-A interfaces are explicitly configured (the default situation), each L3V
partition must have at least one Ethernet interface that can reach the other L3V
partitions for the VRID.
l If at least one interface in the shared partition is explicitly configured as a VRRP-A
interface, that interface is used for the shared partition's VRID hello messages and
the hello messages of all the VRIDs in the L3V partitions.
For specific information about the fields on this screen, refer to the online help.
28
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Overview of VRRP-A
Using the CLI to Configure the Session Synchronization Interface for VRRP-A
29
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Overview of VRRP-A
To specify the Ethernet interface on which to receive synchronized sessions, use the
vrrp-a preferred-session-sync-port ethernet command on the device that you
want to receive the session information. For more information about the command,
see Command Line Reference Guide.
For example, if you want to receive session information on Ethernet port 2 on device
ACOS-2:
ACOS-2(config)# vrrp-a preferred-session-sync-port ethernet 2
30
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Overview of VRRP-A
Before synchronizing the Active and Standby ACOS devices, verify that both are
running the same software version. Configuration synchronization between two
different software versions is not recommended, since some configuration
commands in the newer version might not be supported in the older version.
The configuration synchronization process does not check user privileges on the
Standby ACOS device and will synchronize to it using read-only privileges. However,
you must be logged onto the Active ACOS device with configuration (read-write)
access.
If the configuration includes Policy-based SLB (black/white lists), the time it takes for
synchronization depends on the size of the black/white-list file. This is because the
synchronization process is blocked until the files are transferred from active to
standby.
Do not make other configuration changes to the Active or Standby ACOS device
during synchronization.
The configure sync command will not function if vcs enabled is active.
31
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Overview of VRRP-A
NOTE: The order of Firewall rule-set is not synced during the configuration
synchronization. If you want to sync the order of Firewall rule-set, you
must use the aVCS as an alternative.
32
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Overview of VRRP-A
For more detailed information, see configure sync in the Command Line Reference
Guide.
33
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Overview of VRRP-A
If the running configuration is modified, the running-config state will change from
“sync” to “not-synced”.
For example, the following configuration is added to the running configuration.
vThunder-Active(config)# cgnv6 nat pool a 1.1.1.1 netmask /24
34
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Overview of VRRP-A
35
Deploying VRRP-A
36
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Deploying VRRP-A
You can specify a device ID from 1-8, and a set ID from 1-15. Note that the prompt
is updated to reflect whether the device is a standby device or the active device.
Ensure that each VRRP-A cluster in a Layer 2 broadcast domain has unique set
IDs.
NOTE: If aVCS is configured, its device ID is the same as the VRRP-A device
ID. If Scaleout is configured and enabled, VRRP-A should NOT be
enabled.
Device-IDs for VRRP-A enabled configurations must be in the range
of 1-8.
37
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Deploying VRRP-A
To place VRID 2 in a self-standby state even after a restart or reload, use the
following command:
ACOS(config)# vrrp-a force-self-standby-persistent vrid 2
Doing so may cause some of the VRID(s) to become inactive in the whole
vrrp-a set.
WARNING: Please confirm that you want to perform this operation.
Doing so may cause some of the VRID(s) to become inactive in the whole
vrrp-a set; make sure you verify that an active device will be available
after performing this operation. [yes/no]: yes
If you issue the vrrp-a force-self-standby command, the partition or device will
not be placed in a force-self-standby state after the device reloads or restart
completes. You must configure self-standby with vrrp-a force-self-standby-
persistent to have your device retain its self-standby state after a future reload or
restart operation. For more information about the commands, see Command Line
Reference Guide.
To place all VRIDs in partition (partA) in the self-standby state even after a restart or
reload, execute the following command in partition “partA:”
ACOS[partA](config)# vrrp-a force-self-standby enable
Doing so may cause some of the VRID(s) to become inactive in the whole
vrrp-a set.
WARNING: Please confirm that you want to perform this operation.
Doing so may cause some of the VRID(s) to become inactive in the whole
vrrp-a set; make sure you verify that an active device will be available
after performing this operation. [yes/no]: yes
38
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Deploying VRRP-A
This means that if you already have config-sync configured and the device is
rebooted, you will have to reconfigure the config-sync settings in the running-config.
The sync status of the startup-config persists through any reload or reboot
operation; and will not be changed by the reload or reboot process.
39
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Deploying VRRP-A
ACOS1(config)#
The output from the peer device (ACOS2) shows that both the running-config and
startup-config are synced from ACOS1:
ACOS2(config)# show config-sync
Partition Name Sync Status for running-config and startup-config
--------------------------------------------------------------------------
-------
shared (running-config) is synced from ip 192.168.216.201 at
20:31:54 IST Wed May 18 2016
shared (startup-config) is synced from ip 192.168.216.201 at
20:32:13 IST Wed May 18 2016
40
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Deploying VRRP-A
The status is changed to “not synced” because of the change made in the running-
config. After running the write memory command, the status appears as shown
below:
ACOS1(config)# write memory
Building configuration...
Write configuration to primary default startup-config
[OK]
ACOS1(config)# show config-sync
Partition Name Sync Status for running-config and startup-config
--------------------------------------------------------------------------
----------
shared (running-config) not synced to 192.168.216.201 because
it's changed at 05:54:56 GMT Fri Mar 5 2021
shared (startup-config) not synced to 192.168.216.201 because
write memory at 05:58:12 GMT Fri Mar 5 2021
shared (running-config) not synced to 192.168.216.203 because
it's changed at 05:54:56 GMT Fri Mar 5 2021
shared (startup-config) not synced to 192.168.216.203 because
write memory at 05:58:12 GMT Fri Mar 5 2021
The sync status of the startup-config is now “not synced” because of the change.
41
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Deploying VRRP-A
The show config-sync command on ACOS1 will now show the “is synced from”
status as the most recent sync status:
ACOS1(config)# show config-sync
Partition Name Sync Status for running-config and startup-config
--------------------------------------------------------------------------
----------
shared (running-config) is synced from ip 192.168.216.202 at
04:31:00 IST Fri Mar 5 2021
shared (startup-config) is synced from ip 192.168.216.202 at
04:31:02 IST Fri Mar 5 2021
The detail option can be used to view information about when the sync status was
changed:
ACOS1(config)# show config-sync detail
Partition Name Sync Status for running-config and startup-config
--------------------------------------------------------------------------
----------
shared (running-config) not synced because it's changed at
20:36:50 IST Wed May 18 2016
shared (startup-config) not synced because write memory at
20:37:50 IST Wed May 18 2016
shared (running-config) is synced from ip 192.168.216.202 at
20:41:45 IST Wed May 18 2016
42
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Deploying VRRP-A
The above output shows the previous sync status of both the running-config and
startup-config on ACOS1 before the sync from ACOS2 to ACOS1.
For more information, see show config-sync in the Command Line Reference Guide.
NOTE: On the active box, in the VRRP-A's API, a source port value is
automatically filled in the UDP header so that session gets synced to
the expected target board and target CPU.
Steps to get target board, target CPU information, and sync a session:
1. The system API gives information about the board number and CPU number of
each board of the standby box. The board number and CPU number are provided
by the standby box system API, and VRRP-a exchanges this information among
each peer by VRRP-a hello packets. VRRP-a hello API return with two parameter
" target_blade_index "and " target_cpu_index".
2. The values " target_blades_number" and " target_cpu_number" can be obtained
by calling API. This platform information belongs to the target standby box.
Different application teams will implement parts for their session type.
3. On the VRRP-a infra side, after the information mentioned above is fetched, the
corresponding value is filled in the UDP header.
For example:
43
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Deploying VRRP-A
4. The VRRP-a hello packet TLV mechanism is used to get the peer box's blade
number, version, and CPU number of each blade.
For example:
a. The TLV after the header:
struct _vrrp_tlv {
UINT8 type;
UINT8 subtype;
UINT16 len;
UINT8 data[1];
} __attribute__((__packed__)) ;
44
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Deploying VRRP-A
45
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Deploying VRRP-A
To see how preemption delay works, suppose we track route 110.0.0.0 255.255.255.0:
ACOS# show run | sec vrrp-a vrid 0
vrrp-a vrid 0
blade-parameters
priority 200
tracking-options
route 110.0.0.0 255.255.255.0 priority-cost 255
vrrp-a vrid 0
blade-parameters
priority 200
tracking-options
route 110.0.0.0 255.255.255.0 priority-cost 255
blade-parameters
priority 180
tracking-options
route 110.0.0.0 255.255.255.0 priority-cost 255
blade-parameters
priority 160
tracking-options
route 110.0.0.0 255.255.255.0 priority-cost 255
An interface becoming unavailable would also cause the route to disappear and then
reappear. Without preemption delay, the following sequence of events would occur
(all times given are approximate and will depend on your exact configuration):
l After the interface goes down, the route disappears (less than 1 second)
l The ACOS device notices the missing route and lowers the device priority for the
VRID (less than 1 second).
l Failover occurs (less than 1 second)
l The route is restored (several seconds, depending on your specific configuration)
46
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Deploying VRRP-A
l The devices notice the route and restore the original device priority for the VRID
(less than 1 second)
l Preemption happens 8 seconds after the original device priority is restored
In the same scenario, with preemption delay configured for 25.5 seconds:
ACOS# show run | sec vrrp-a common
vrrp-a common
device-id 1
set-id 1
enable
preemption-delay 255
Simple Deployment
The following commands deploy VRRP-A on a set of 2 ACOS devices.
47
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Deploying VRRP-A
Commands on ACOS-1
Enter the following commands on ACOS-1:
ACOS-1(config)# vrrp-a common
ACOS-1(config-common)# device-id 1
ACOS-1(config-common)# set-id 1
ACOS-1(config-common)# enable
Commands on ACOS-2
Enter the following commands on ACOS-2:
ACOS-2(config)# vrrp-a common
ACOS-2(config-common)# device-id 2
ACOS-2(config-common)# set-id 1
ACOS-2(config-common)# enable
These commands also configure a floating IP address for each VRID. Selection of
Active Device does not include the floating IP addresses. (For more on floating IP
addresses, see VRRP-A and Floating IP Addresses.)
Commands on ACOS-1
ACOS-1(config)# vrrp-a common
ACOS-1(config-common)# device-id 1
48
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Deploying VRRP-A
ACOS-1(config-common)# set-id 1
ACOS-1(config-common)# enable
ACOS-1(config-common)# exit
ACOS-1(config)# vrrp-a vrid 0
ACOS-1(config-vrid:0)# floating-ip 10.10.10.2
ACOS-1(config-vrid:0)# blade-parameters
ACOS-1(config-vrid:0-blade-parameters)# priority 255
ACOS-1(config-vrid:0-blade-parameters)# exit
ACOS-1(config-vrid:0)# exit
ACOS-1(config)# active-partition CorpB
Current active partition: CorpB
ACOS-1[CorpB](config)# vrrp-a vrid 0
ACOS-1[CorpB](config-vrid:0)# floating-ip 30.30.30.2
ACOS-1[CorpB](config-vrid:0)# blade-parameters
ACOS-1[CorpB](config-vrid:0-blade-parameters)# priority 255
ACOS-1[CorpB](config-vrid:0-blade-parameters)# exit
ACOS-1[CorpB](config-vrid:0)# exit
ACOS-1[CorpB](config)#
ACOS-1(config)# active-partition CorpA
Current active partition: CorpA
ACOS-1[CorpA](config)# vrrp-a vrid 0
ACOS-1[CorpA](config-vrid:0)# floating-ip 20.20.20.2
ACOS-1[CorpA](config-vrid:0)# exit
ACOS-1[CorpA](config)#
ACOS-1(config)# active-partition CorpC
Current active partition: CorpC
ACOS-1[CorpC](config)# vrrp-a vrid 0
ACOS-1[CorpC](config-vrid:0)# floating-ip 40.40.40.2
ACOS-1[CorpC](config-vrid:0)# exit
ACOS-1[CorpC](config)#
Commands on ACOS-2
ACOS-2(config)# vrrp-a common
ACOS-2(config-common)# device-id 2
ACOS-2(config-common)# set-id 1
ACOS-2(config-common)# enable
ACOS-2(config-common)# exit
ACOS-2# active-partition CorpA
Current active partition: CorpA
49
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Deploying VRRP-A
ACOS-2[CorpA]# config
ACOS-2[CorpA](config)# vrrp-a vrid 0
ACOS-2[CorpA](config-vrid:0)# floating-ip 20.20.20.2
ACOS-2[CorpA](config-vrid:0)# blade-parameters
ACOS-2[CorpA](config-vrid:0-blade-parameters)# priority 255
ACOS-2[CorpA](config-vrid:0-blade-parameters)# exit
ACOS-2[CorpA](config-vrid:0)# exit
ACOS-2[CorpA](config)# active-partition CorpC
Currently active partition: CorpC
ACOS-2[CorpC](config)# vrrp-a vrid 0
ACOS-2[CorpC](config-vrid:0)# floating-ip 40.40.40.2
ACOS-2[CorpC](config-vrid:0)# blade-parameters
ACOS-2[CorpC](config-vrid:0-blade-parameters)# priority 255
ACOS-2[CorpC](config-vrid:0-blade-parameters)# exit
ACOS-2[CorpC](config-vrid:0)# exit
ACOS-2[CorpC](config)# active-partition CorpB
Current active partition: CorpB
ACOS-1[CorpB](config)# vrrp-a vrid 0
ACOS-1[CorpB](config-vrid:0)# floating-ip 30.30.30.2
ACOS-1[CorpB](config-vrid:0)# exit
ACOS-1[CorpB](config)#
NOTE: When finished configuring specific tracking options, use the exit or end
CLI commands to return to the global configuration mode.
Example of using the exit command to reach the global configuration mode:
ACOS(config-vrid:1-blade-parameters)# exit
ACOS(config-vrid:1)# exit
ACOS(config)#
50
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Deploying VRRP-A
Trunk Tracking
The following commands configure the ACOS device to track the status of a trunk
(but not ports within the trunk). The VRRP-A protocol will reduce the priority of the
device by 100 if the trunk goes down.
ACOS(config)# vrrp-a vrid 1
ACOS(config-vrid:1)# blade-parameters
ACOS(config-vrid:1-blade-parameters)# tracking-options
ACOS(config-vrid:1-blade-parameters-track...)# trunk 1 priority-cost 100
The following commands configure the ACOS device to track the status of a trunk, as
well as the status of ports within the trunk. If trunk 2 goes down, the priority of the
associated VRID is reduced by 150. If a port within the trunk goes down, the priority
of the associated VRID is reduced by 40.
ACOS(config)# vrrp-a vrid 2
ACOS(config-vrid:2)# blade-parameters
ACOS(config-vrid:2-blade-parameters)# tracking-options
ACOS(config-vrid:2-blade-parameters-track...)# trunk 2 priority-cost 150
per-port-pri 40
VLAN Tracking
The following command configures tracking of VLAN 69. If the VLAN is quiet for more
than 30 seconds, 50 is subtracted from the VRID priority.
ACOS(config)# vrrp-a vrid 1
ACOS(config-vrid:1)# blade-parameters
ACOS(config-vrid:1-blade-parameters)# tracking-options
ACOS(config-vrid:1-blade-parameters-track...)# vlan 69 timeout 30
priority-cost 50
51
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Deploying VRRP-A
For more information about enhanced VLAN tracking capabilities, see Increased
VLANs for VRRP-A Failover Tracking.
Gateway Tracking
The following commands configure tracking of gateway 10.10.10.1. If the gateway
stops responding to pings, 100 is subtracted from the VRID’s priority value.
ACOS(config)# health monitor gatewayhm1
ACOS(config-health:monitor)# method icmp
ACOS(config-health:monitor)# exit
ACOS(config)# slb server gateway1 10.10.10.1
ACOS(config-real server)# health-check gatewayhm1
ACOS(config-real server)# exit
ACOS(config)# vrrp-a vrid 0
ACOS(config-vrid:0)# blade-parameters
ACOS(config-vrid:0-blade-parameters)# tracking-options
ACOS(config-vrid:0-blade-parameters-track...)# gateway 10.10.10.1
priority-cost 100
Route Tracking
The following command configures tracking of routes to destination network
3000::/64. If the IPv6 route table does not contain any routes to the destination, 105
is subtracted from the VRID priority.
ACOS(config)# vrrp-a vrid 0
ACOS(config-vrid:0)# blade-parameters
ACOS(config-vrid:0-blade-parameters)# tracking-options
ACOS(config-vrid:0-blade-parameters-track...)# route 3000::/64 priority-
cost 105
52
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Deploying VRRP-A
Preemption Delay
The following commands configure the desired preemption delay value of 200
milliseconds:
ACOS(config)# vrrp-a common
ACOS( config-common)# preemption-delay 200
53
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Deploying VRRP-A
NOTE: Tracking options and the failover policy template can track the same
VLANs. For example, you configure 64 VLANs using the tracking option.
You can also configure tracking of 64 of the same VLANs using a fail-
over-policy template. In essence, you are still only tracking 64 VLANs.
The following example shows how 11 VLANs of differing timeout values and
weights are being tracked in a failover template called test.
!
vrrp-a fail-over-policy-template test
vlan 222 timeout 50 weight 100
vlan 223 timeout 30 weight 200
vlan 224 timeout 40 weight 160
vlan 225 timeout 80 weight 105
vlan 226 timeout 65 weight 118
vlan 227 timeout 43 weight 145
vlan 228 timeout 67 weight 120
vlan 229 timeout 59 weight 156
vlan 230 timeout 33 weight 66
vlan 231 timeout 82 weight 90
vlan 232 timeout 98 weight 75
54
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Deploying VRRP-A
Configuration Example 1
To configure a leader VRID, do the following:
1. In the shared partition, configure a vrid-lead:
ACOS(config) # vrrp-a vrid-lead lead1
ACOS(config-vrid-lead:lead1)# partition shared vrid 1
2. In the L3V partition, configure the VRID you wish to designate as the follower.
a. To do so, enter the partition:
ACOS# active-partition p1
55
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Deploying VRRP-A
Configuration Example 2
To configure a leader in the shared partition, issue the following commands:
1. Define a VRID called myname as the leader:
ACOS(config)# vrrp-a vrid-lead myname
ACOS(config-vrid-lead:myname)# partition p1 vrid 0
2. Use the following show command to display your VRID leader configuration:
ACOS(config)# show vrrp-a vrid-lead
vrrp-a vrid-lead default-vrid-lead
partition shared vrid 0
vrrp-a vrid-lead myname
partition p1 vrid 0
3. In the L3V partition, configure the VRID to follow the lead VRID:
ACOS[p1](config)# vrrp-a vrid 3
ACOS[p1](config-vrid:3)# follow vrid-lead myname
5. As the Admin, if you want to change the VRID’s role from being a follower to
standalone VRID again, issue the following command:
ACOS[p1](config)# vrrp-a vrid 3
ACOS[p1](config-vrid: 3)# no follow vrid-lead default-vrid-lead
To view your configuration, use the show run command:
ACOS[p1](config)# show running-config | vrrp-a
56
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Deploying VRRP-A
!
vrrp-a vrid 3
!
If you try to remove a VRID that is configured as a lead VRID and that has other VRIDs
that follow it, you will not be allowed to remove it. You must remove the VRIDs that
are configured as followers before you remove the lead VRID.
Suppose you want to change the default VRID (VRID 0) on partition p1 to follow
ACOS2. Using the vrrp-a vrid 0 follow vrid-lead-ACOS2 command could
accomplish this, however, there may be a disruption of the traffic on partition p1’s
VRID because of the time interval required for manual configuration on both sides.
During this time interval, the VRID 0 could be double active or double standby on
both devices.
This section provides alternative solutions that do not affect traffic:
57
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Deploying VRRP-A
Doing so may cause some of the VRID(s) to become inactive in the whole
vrrp-a set.
WARNING: Please confirm that you want to perform this operation.
Doing so may cause some of the VRID(s) to become inactive in the whole
vrrp-a set; make sure you verify that an active device will be
available after performing this operation. [yes/no]: yes
2. Ensure that the new VRID’s active device is the same as the current VRID (in this
example, the active device is ACOS1). You can accomplish this by manually setting
the dynamic priority of the new VRID on ACOS2 to a lower number than on
ACOS1, or by using the vrrp-a force-self-standby vrid vrid# command for
the new VRID on ACOS2.
ACOS2(config)# vrrp-a force-self-standby vrid 5 enable
3. Create the VRID lead that you will use in the next step.
ACOS1-Active(config)# vrrp-a vrid-lead lead1
ACOS1-Active((config-vrid-lead:lead1)# partition shared vrid 5
58
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Deploying VRRP-A
5. Change the dynamic priority of the new VRID on ACOS1, or the vrrp-a force-
self-standby vrid vrid# disable command for the new VRID on ACOS2, thus
causing the new VRID to become active on ACOS2. This switch is done by message
negotiation among peer devices, so no traffic is lost in this step.
ACOS2(config)# vrrp-a force-self-standby vrid 5 disable
59
VRRP-A Policy-Based Failover Template
VRRP-A provides flexible event tracking and policy-based failover support via a
template. This feature allows policy-based failover even when VRRP-A preemption is
disabled and the ACOS device typically would remain in an Active state, despite
VRID priority changes. It allows for event-based failover once a tracked event
occurs.
60
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
VRRP-A Policy-Based Failover Template
61
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
VRRP-A Policy-Based Failover Template
template1 (that tracks for VLANs and gateways) to also address the events that
template2 tracks (for interfaces and routes), edit template1 to include the events
covered by template2. You cannot associate both templates to VRID1 to have it
track all four events (VLANs, gateways, interfaces, and routes).
l Create templates with unique names, however, the second time you try to create a
template with the same name, you will enter the template module and can edit the
events listed in the template.
l To associate a template with a private partition, you must switch to an active
partition.
l Since each private partition can have its own template, and templates cannot be
shared across multiple partitions, template names do not need to be unique. For
example, template1 can be the template for private partition1 and template1 can
be the template for private partition2. They can be named the same but can track
different events for different VRIDs.
l You can create a maximum of 32 templates in the private partition.
62
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
VRRP-A Policy-Based Failover Template
After the event results in a reduction of the weight, Unit 1 now has a weight of
“65334” for VRID1, and failover was triggered that placed Unit 1 in a Standby state:
ACOS(config)# show vrrp-a
vrid 0
Unit State Weight Priority
2 (Local) Standby 65534 150 *
became Standby at: May 20 12:10:05 2013
for 0 Day,22 Hour,54 min
1 (Peer) Active 65534 150
63
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
VRRP-A Policy-Based Failover Template
vrid 1
Unit State Weight Priority
2 (Local) Active 65534 150 *
became Active at: May 20 12:10:05 2013
for 0 Day,22 Hour,54 min
1 (Peer) Standby 65334 200
After the event results in a reduction of the priority, Unit 1 now has a priority of “1”
for VRID1, and failover was triggered that placed Unit 1 in a Standby state:
ACOS(config)# show vrrp-a
vrid 0
Unit State Weight Priority
2 (Local) Standby 65534 150 *
became Standby at: May 20 12:15:05 2013
for 0 Day,22 Hour,54 min
1 (Peer) Active 65534 150
vrid 1
Unit State Weight Priority
2 (Local) Active 65534 150
became Active at: May 20 12:15:05 2013
64
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
VRRP-A Policy-Based Failover Template
After the event results in an increase in weight, Unit 1 and Unit 2 both have equal
weight and priority, yet a failover is triggered based on the device ID. For VRID1, Unit
1 is lower than Unit 2, it is now is in an Active state instead of the Standby state:
ACOS(config)# show vrrp-a
vrid 0
Unit State Weight Priority
2 (Local) Standby 65534 150 *
became Standby at: May 20 12:10:05 2013
for 0 Day,22 Hour,54 min
1 (Peer) Active 65534 150
vrid 1
Unit State Weight Priority
2 (Local) Standby 65534 150 *
became Standby at: May 20 12:20:05 2013
for 0 Day,22 Hour,54 min
1 (Peer) Active 65534 150
65
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
VRRP-A Policy-Based Failover Template
66
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
VRRP-A Policy-Based Failover Template
67
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
VRRP-A Policy-Based Failover Template
68
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
VRRP-A Policy-Based Failover Template
NOTE: For details on additional template rules, refer to Template Rules and
Partitions.
69
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
VRRP-A Policy-Based Failover Template
For more information about this screen, refer to the online help.
5. Click Create when you are finished.
Your failover template will be listed on the Failover Policy Template page.
b. For interface tracking, indicate the interface type, interface number, and
assign a weight for that interface in the event of a failure. For example, if
Ethernet interface 1 fails, 35 will be subtracted from the weight of the VRID:
ACOS(config-fail-over-policy-template:tem... )# interface ethernet 1
weight 35
c. For route tracking, indicate the route number and assign a weight for that
route in the event of failure. For example, if route 20.20.20.0 /24 fails, 70 will
be subtracted from the weight of the VRID:
70
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
VRRP-A Policy-Based Failover Template
d. For trunk tracking, indicate the trunk identification number and assign a
weight for that trunk in the event of failure. For example, if trunk 4 fails, 25
will be subtracted from the weight of the VRID:
ACOS(config-fail-over-policy-template:tem... )# trunk 4 weight 25
e. For VLAN tracking, indicate the VLAN identification number, the timeout
value, and assign a weight for that trunk in the event of failure. For example,
if VLAN 6 fails, 40 will be subtracted from the weight of the VRID:
ACOS(config-fail-over-policy-template:tem... )# vlan 6 timeout 30
weight 40
3. Assign a failover template to a VRID from the Global configuration level. For
example, to assign template1 to VRID 0:
ACOS( config)# vrrp-a vrid 0
ACOS(config-vrid:0)# blade-parameters
ACOS(config-vrid:0-blade-parameters)# fail-over-policy-template
template1
71
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
VRRP-A Policy-Based Failover Template
If you specify the name of the template, the show vrrp-a fail-over-policy-
template command will display the contents of that template:
Use the show vrrp-a command with the detail option to display comprehensive
information on your current VRRP-A configuration:
ACOS(config)# show vrrp-a detail
vrid 0
Unit State Weight Priority
2 (Local) Standby 65534 150 *
became Standby at: May 20 12:04:05 2013
for 0 Day,22 Hour,54 min
1 (Peer) Active 65534 150
...
VRRP-A stats
Peer: 1, vrid 0
Port 1: received 25685 missed 3
...
72
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
VRRP-A Policy-Based Failover Template
...
To view information on all the fail-over policy templates, you can use the show vrrp-
a fail-over-policy-template command;
73
VRRP-A Service Migration
Service Migration enables the migration of all services from a particular virtual
server in a source VRRP-A pod to another virtual server located in a destination
VRRP-A pod. This migration is independent of partitions and VRIDs. Service
Migration occurs in a stateful process where all the sessions from the virtual server
of the source VRRP-A pod are synced to a virtual server on the destination VRRP-A
pod.
A VRRP-A pod is defined by the VRRP-A set id. All ACOS devices within a VRRP-A pod
have the same set-id.
Service Migration is currently supported for DSR virtual servers only. This feature
also requires VRRP-A pods configured with OSPF route advertisements.
74
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
VRRP-A Service Migration
75
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
VRRP-A Service Migration
Before starting Service Migration, traffic flows from the downstream router to ACOS1
to the upstream server. The response from the upstream server goes to the
downstream router directly.
Figure 11 : Flow of Traffic Before Service Migration
The following is the sample configuration of ACOS1. ACOS1 connects to the router on
tagged ethernet 3 and VLAN 100. ACOS1 connects to the server on tagged ethernet 6
and VLAN 558. The VIP of the virtual server is 9.8.8.18 and is associated with the OSPF
route map ospf_red. The OSPF cost metric of the route is 110. The VIP has the service
group sg-http associated.
!
vlan 100
76
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
VRRP-A Service Migration
tagged ethernet 3
router-interface ve 100
name toRTR
!
vlan 558
tagged ethernet 6
router-interface ve 558
name toServer
!
slb virtual-server vip1 9.8.8.18
redistribution-flagged
redistribute route-map ospf_red
port 80 tcp
ha-conn-mirror
service-group sg-http
no-dest-nat
!
router ospf
network 100.1.1.0 0.0.0.255 area 0
redistribute vip only-flagged
!
route-map ospf_red permit 1
set metric 110
!
To qualify ACOS2 for service migration as the destination pod, you must configure
ACOS2 with the same VIP, service groups, and route map. Before initiating migration,
ensure that the OSPF cost metric for the OSPF map in ACOS2 is higher than that of
ACOS1. In this example, since the OSPF metric for the source pod is 110, configure the
OSPF metric of the destination pod as 120.
The following is the sample configuration for ACOS2. ACOS2 connects to the router
on tagged ethernet 3 and VLAN 200. ACOS2 connects to the server on tagged
ethernet 2 and VLAN 558. The VIP of the virtual server is the same as that of the
source POD and is configured as 9.8.8.18. Similar to the source pod, the VIP is
associated with the OSPF route map ospf_red. The OSPF cost metric of the route is
set higher than that of the source pod and configured as 120. Similar to the source
pod, the VIP has the service group sg-http associated.
!
vlan 200
77
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
VRRP-A Service Migration
tagged ethernet 3
router-interface ve 200
name toRTR
!
vlan 558
tagged ethernet 2
router-interface ve 558
name toServer
!
slb virtual-server vip1 9.8.8.18
vrid 1
redistribute route-map ospf_red
port 80 tcp
ha-conn-mirror
service-group sg-http
no-dest-nat
!
router ospf
network 200.1.1.0 0.0.0.255 area 0
redistribute vip only-flagged
redistribute vip only-not-flagged
!
route-map ospf_red permit 1
set metric 120
!
78
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
VRRP-A Service Migration
l Specify the floating IP or IPv6 address on the destination POD. The floating
address must belong to the destination L3V partition id and vrid that the
destination virtual server will be on. Here, the address is 9.8.8.50.
2. Run the following command to display the status of migration:
ACOS1-Active(config-slb vserver)# show slb virtual-server vip1
Wait for a couple of minutes for the traffic to stabilize and all flows to move from the
source pod to the destination pod.
79
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
VRRP-A Service Migration
After Service Migration completes, traffic flows from the downstream router to
ACOS2 to the upstream server. The response from the upstream server goes to the
downstream router directly.
Figure 12 : Flow of Traffic After Service Migration
80
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
VRRP-A Service Migration
NOTE: If you cancel the migration, ensure that the OSPF cost metric on the
source pod is made lower than that of the destination pod.
81
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Glossary
Glossary
bypass
A go-around functionality, where a specific action is performed via an external
or alternative route instead of the intended route. In network security, a
bypass is defined as a security system flaw that allows attackers access to net-
work by circumventing the security mechanism.
DNS
Domain Name System. A hierarchical model and decentralized naming system
that identifies computers, resources and network-based services over a
private network or the Internet. It specifies information on web domain
names associated with respective entities.
DSR
Direct Server Return. A load balancing mode where packets are routed to the
backend server by modifying only the destination MAC address.
failover
A backup operational mode that allows the functions of a system component
such as a network, server or database to be assumed by secondary com-
ponents in instances when the primary components are unavailable due to
failure or downtime.
82
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Glossary
gateway
A hardware device such as a firewall, router, or server, that acts as a gate
between two networks and allows the inward and outward flow of traffic
among the networks. It secures the nodes within a network and also serves as
a node itself.
HTML
Hypertext Markup Language. The standard markup language developed for dis-
playing documents in a web browser.
HTTP
HyperText Transfer Protocol. An underlying web protocol that defines the way
messages can be formatted and sent, and the actions to be taken by web serv-
ers and browsers for responding to multiple commands.
IPv4
The fourth version of the Internet Protocol used as a core protocol in stand-
ardized internetworking methods over the Internet and packet-switched net-
works.
L3
A Network Layer, the third layer in the seven-layered OSI reference model
used for routing traffic and forwarding packets across intermediate routers.
83
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Glossary
L4
A Transport Layer, the fourth layer of the seven-layered OSI reference model
used for establishing host-to-host communications for applications.
load balancing
The process of distributing a set of tasks over a set of resources for making
their overall processing more efficient and improving the performance.
packet flow
A sequence of packets sent from a source to a destination over packet-switch-
ing networks, across a host, a broadcast domain, or a multicast group.
service-group
A group of one or more services linked together for making object con-
figurations simple.
SIP
Session Initiation Protocol. A signaling protocol that initiates, maintains, and
ends real-time voice, video and messaging sessions of applications.
SMPP
Short Message Peer-to-Peer. A standardized protocol that provides scalable
data communication interfaces for short message data transmissions between
ESME, message centres, and routing entities.
84
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Glossary
SPDY
Speedy. A deprecated and open-spec networking protocol, developed by
Google, which transports web content and manages HTTP traffic at a high
speed by lowering webpage load latency and boosting web security.
subnet
An IP network subdivision.
TCP
Transmission Control Protocol. Key part of the main IP suite protocols used
during initial network implementation.
TLS
Transport Layer Security. A cryptographic protocol that provides data trans-
port and communications security over a network.
UDP
User Datagram Protocol. An alternative to TCP and used for setting up con-
nections with low-latency and loss-tolerance between internet applications.
URL
Uniform Resource Locator. A web address that works as a reference to specify
the location of a web resource on a computer network and also runs a mech-
anism for its retrieval.
85
ACOS 5.2.1-P9 Configuring VRRP-A High Availability Feedback
Glossary
VIP
Virtual Internet Protocol. An IP address which does not correspond to any
real physical network interface but is used for mobility, network address
translation, and fault-tolerance.
virtual port
An emulation or virtualization of a hardware port.
VLAN
Virtual Local Area Network. A LAN broadcast domain which is seperated and
isolated at the data link layer in a network.
86
©2023 A10 Networks, Inc. All rights reserved. A10 Networks, the A10 Networks logo, ACOS, A10 Thunder,
Thunder TPS, A10 Harmony, SSLi and SSL Insight are trademarks or registered trademarks of A10 Networks, Inc. in
the United States and other countries. All other trademarks are property of their respective owners. A10
Networks assumes no responsibility for any inaccuracies in this document. A10 Networks reserves the right to
change, modify, transfer, or otherwise revise this publication without notice. For the full list of trademarks, visit:
Contact Us
www.a10networks.com/company/legal/trademarks/.