Professional Documents
Culture Documents
1-P11
Configuring VRRP-A High Availability
for A10 Thunder® Series and AX™ Series
29 May 2019
© 2019 A10 NETWORKS, INC. CONFIDENTIAL AND PROPRIETARY- ALL RIGHTS RESERVED
Information in this document is subject to change without notice.
PATENT PROTECTION
A10 Networks products are protected by patents in the U.S. and elsewhere. The following website is provided to satisfy the virtual pat-
ent marking provisions of various jurisdictions including the virtual patent marking provisions of the America Invents Act. A10 Net-
works' products, including all Thunder Series products, are protected by one or more of U.S. patents and patents pending listed at:
https://www.a10networks.com/company/legal-notices/a10-virtual-patent-marking
TRADEMARKS
A10 Networks trademarks are listed at:
https://www.a10networks.com/company/legal-notices/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 Net-
works, Inc.
Anyone who uses the Software does so only in compliance with the terms of the End User License Agreement (EULA), provided later in
this document or available separately. Customer shall not:
1. Reverse engineer, reverse compile, reverse de-assemble, or otherwise translate the Software by any
means.
2. Sub-license, rent, or lease the Software.
DISCLAIMER
This document does not create any express or implied warranty about A10 Networks or about its products or services, including but not
limited to fitness for a particular use and non-infringement. A10 Networks has made reasonable efforts to verify that the information
contained herein is accurate, but A10 Networks 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 sub-
ject to change without notice, and certain features may not be available upon initial product release. Contact A10 Networks for current
information regarding its products or services. A10 Networks’ products and services are subject to A10 Networks’ standard terms and
conditions.
ENVIRONMENTAL CONSIDERATIONS
Some electronic components may possibly contain dangerous substances. For information on specific component types, please con-
tact the manufacturer of that component. Always consult local authorities for regulations regarding proper disposal of electronic com-
ponents in your area.
FURTHER INFORMATION
For additional information about A10 products, terms and conditions of delivery, and pricing, contact your nearest A10 Networks loca-
tion, which can be found by visiting www.a10networks.com.
Table of Contents
page 3
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Contents
page 4
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Contents
page 5
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Contents
page 6
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Contents
page 7
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Contents
page 8
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Overview of VRRP-A
• VRRP-A Overview
• VRRP-A Configuration
• VRRP-A Failover
• VRRP-A Interfaces
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 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.
• IPv4 static range lists and individual mappings for inside source NAT
page 9
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Configuration
VRRP-A Configuration
This section contains the following:
This type of configuration is called Active-Standby mode, because only the active device processes
traffic.
page 10
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Configuration
For more information, see “VRRP-A Active / Standby Device Selection” on page 14.
If the standby device stops receiving hello messages from the active device, operation for the VRID
fails over to the standby device. The device to which operation fails over becomes the new active
device for the VRID.
To do so, configure a VRRP-A peer group on each device in the VRRP-A set. For redundancy in the peer
group on each ACOS device, you can configure multiple IP addresses for multiple data interfaces. You
can configure a maximum of 16 IP addresses on the peer group.
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.
page 11
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Configuration
To configure peer groups for unicast heartbeat messages, use the vrrp-a peer-group command.
The configuration example in Figure 2 is called Active-Active mode, because both devices can poten-
tially process traffic on different VIPs.
A VRID is a logical container grouping functional configuration elements (for example, NAT pools, vir-
tual servers, or floating IP addresses) together. Those elements, in turn, are picked up and processed
by another device in the VRRP-A set in case of a failover.
By default, the shared partition and each L3V partition has its own VRID. The numerical value for this
default VRID is 0; in previous releases, you could configure this VRID using the keyword default, which
is no longer supported in Release 4.0.
Note: By default, a server load balancing virtual IP (VIP) is associated with VRID 0.
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 default gateway IP address used by
downstream devices. (For more information, see “VRRP-A and Floating IP Addresses” on page 23.)
Parameters related to selection of the active device and to failover also can be configured.
page 12
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Configuration
The total number of VRIDs that can be configured is dependent upon the device model.
Any time the maximum number of VRIDs is exceeded for a device, the VRIDs are automatically config-
ured as follower VRIDs or can be explicitly configured to be added as a follower VRID. To configure a
leader or a follower VRID. refer to “Configuring a Leader and Follower VRID” on page 49.
021f.a000.nnnn
The last 2 bytes (nnnn portion) of the address indicate the partition ID, VRRP-A set ID, and VRID.
page 13
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Active / Standby Device Selection
Figure 3 shows an example configuration with VRID instances spanning L3V partitions across sepa-
rate physical devices.
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 infor-
mation about how the active device is selected, see “VRRP-A Active / Standby Device Selection” on
page 14.
• Priority Calculation
• Preemption Delay
page 14
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Active / Standby Device Selection
NOTE: VRRP-A active device selection is unrelated to, and completely indepen-
dent of, aVCS vMaster device selection in a virtual chassis.
The VRRP-A device selection process consists of two levels of failover considerations:
While both weight and priority are factored in to failover decisions, the weight of the VRID takes prece-
dence over the VRID’s priority.
Each VRID is allocated a fixed, total weight of 65534 and each event is allocated a corresponding, con-
figurable weight 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 a lower weight to another ACOS
device of a higher weight. This concept is called preemption.
page 15
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Active / Standby Device Selection
Preemption based on weight is always enabled. Preemption based on priority can be enabled or dis-
abled.
When you configure VRRP-A using the GUI or command line at the VRRP-A configuration level, you can
specify the priority assigned to each event. When the event occurs, the value you assign to the event
will be deducted from the priority you configure from 1-255 for the VRID of a given ACOS device.
However, if you specify a value for a failed event using a VRRP-A failover template, you are configuring
the weight assigned to an event that will be deducted from a fixed total weight of 65534 assigned to
every VRID for an ACOS device.
The fixed total weight for a VRID is not user configurable, unlike the priority assigned the VRID for an
ACOS device which is configurable. A failed event will result in a deduction of the weight assigned to
the event from the fixed total weight for the VRID. Since the weight of each VRID is tallied to figure out
the weight and/or priority of an ACOS device, when multiple devices are configured with VRRP-A, this
value is used to gauge the device that will serve as the Active or the Standby device. When the weight
for all VRRP-A enabled devices are unequal, the device with the highest weight will serve as the Active
device, the rest will be placed in a Standby state.
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.
page 16
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Active / Standby Device Selection
For example, if the track event delay is 5 seconds, and a tracked link goes down for 3 seconds, then
comes back up, no failover is triggered. Failover is triggered only if the link stays down for at least 5
seconds.
The track event delay can be from 1-tenth second to 10 seconds. The default is 3 seconds.
Preemption is enabled by default. If preemption is disabled, failover is not triggered by manual priority
changes. If disabling preemption, it is strongly recommended to configure a VRRP-A Policy-Based
Failover Template to govern any failover events.
The VRRP-A failover behavior with preemption mode disabled is as follows. When a heartbeat link is
lost, the VRRP pair becomes Active / Active. If preemption is disabled, during the time that a heartbeat
link is re-established, the VRRP device that received the heartbeat message first becomes the Standby
device.
Preemption can be configured on an individual VRID basis, by shared partition admins and private par-
tition admins.
Preemption Delay
If VRRP-A preemption is enabled, failover can be triggered by VRRP-A configuration changes, in addi-
tion to network changes. By default, when preemption is enabled, failover can occur as soon as 3 sec-
onds 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.
page 17
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Active / Standby Device Selection
For more information about configuring preemption delays, see “Configuring Preemption Delays” on
page 40.
In this example, the priority of VRID 0 is set to 255 for the shared partition and partition CorpB on device
1, and for partitions CorpA and CorpC on device 2. The active/standby state of each VRID on each
device is based on these priority settings. The “A” in the illustration denotes the active
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.
page 18
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Active / Standby Device Selection
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.
page 19
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Active / Standby Device Selection
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.
page 20
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Failover
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:
• The standby ACOS device stops receiving VRRP-A hello messages from the active ACOS device.
• 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 (see tracking-options for further
information), or a server bound to a service group in a VIP fails its health check.
• 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.
• The force-self-standby option is used on the active device by an administrator.
Policy-Based Failover
VRRP-A provides flexible event tracking and policy-based failover support through configurable tem-
plates. 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” on page 55.
You can configure the priority of a VRID to be dynamically reduced based on changes in system or net-
work conditions. For example, you can configure link tracking on an Ethernet port. If the link goes down,
the VRID priority on the device is reduced by the configured amount. Figure 8 shows an example.
page 21
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Failover
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 dynam-
ically 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” on page 60 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 individ-
ual partition basis.
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.
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.
page 22
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A and Floating IP Addresses
In a typical VRRP-A deployment, floating IP addresses are configured for each of the ACOS device inter-
faces that are used as nexthop interfaces by other devices. Figure 9 shows a simple example.
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.
page 23
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A and Configuration Synchronization
When a floating IP address moves from one ACOS device to another following failover, the MAC
address associated with the floating IP address changes.
To help other devices find a floating IP address following failover, the new active ACOS device sends
IPv4 gratuitous ARPs (for an IPv4 floating IP address) or ICMPv6 neighbor advertisements (for an IPv6
floating IP address). The other devices in the network learn the new MAC address from the gratuitous
ARPs or neighbor advertisements.
• Automated – Uses ACOS Virtual Chassis System (aVCS) to automatically synchronize the con-
figuration. See “Automated Configuration Synchronization” in Configuring ACOS Virtual Chassis Systems.
• Manual – Use the configure sync CLI command. For more information, refer to the Command Line
Interface Reference.
See Viewing VRRP-A Information for further detail about viewing the configuration synchronization sta-
tus.
Session synchronization applies primarily to Layer 4 sessions. Session synchronization does not apply
to DNS sessions. Since these sessions are typically very short-lived, there is no benefit to synchronizing
them. Likewise, session synchronization does not apply to NATted ICMP sessions or to any static NAT
sessions. Synchronization of these sessions is not needed since the newly active device will create a
new flow for the session following failover.
Session synchronization is disabled by default and can be enabled on individual virtual ports.
page 24
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Interfaces
To enable session synchronization, in the configuration of a virtual port for a virtual server, add the
ha-conn-mirror CLI command. This is only allowable on certain port types, and whether the port type is
configurable for session synchronization can be identified by doing a query for the ha-conn-mirror CLI
command after the port type configuration.
• For more information on ha-conn-mirror CLI command, refer to the Command Line Interface Reference
for ADC Guide.
• For more information on the vrrp-a preferred-session-sync-port ethernet CLI command, see
“vrrp-a preferred-session-sync-port ethernet” on page 157.
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.
page 25
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Interfaces
For individual L3V partitions, the interface requirement differs depending on whether VRRP-A inter-
faces are explicitly configured:
• 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.
• If at least one interface in the shared partition is explicitly configured as an VRRP-A interface, that
interface is used for the shared partition's VRID hello messages, and for the hello messages of all
the VRIDs in the L3V partitions.
• Router interface – An upstream router (and ultimately, clients) can be reached through the inter-
face.
• Both – Both a server and upstream router can be reached through the interface.
Note: The both option is not recommended for new VRRP-A configurations and exists as an inherited
attribute for legacy High Availability (HA) configuration.
page 26
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Interfaces
NOTE: For specific information about the fields on this screen, please refer to
the online help.
4. On the Update VRRP-A Interface page, select the options you want to configure for the VRRP-A
interface.
You can enable or disable VRRP-A, or set the interface type and state (see “VRRP-A Interface
Types and VRRP-A State” on page 26).
Then, you can configure the interface type and state. The following example allows upstream routers to
be reached through this interface, and assign the interface to VLAN 2:
page 27
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Interfaces
Using the GUI to Configure the Session Synchronization Interface for VRRP-A
1. Hover over System in the menu bar, then select VRRP-A.
2. Click the Settings tab and select Global; this should be the active page by default.
3. Near the bottom of the page, expand the Session Sync Port category to display the configuration
area for the feature.
Using the CLI to Configure the Session Synchronization Interface for 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 example, if you want to receive session information on Ethernet port 2 on device ACOS-2:
page 28
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Before synchronizing the Active and Standby ACOS devices, verify that both are running the same soft-
ware version. Configuration synchronization between two different software versions is not recom-
mended, 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 synchroniza-
tion.
page 29
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Manually Synchronizing Configuration Information
Data that is synchronized from a Standby ACOS device to an Active ACOS device is not available on the
Active ACOS device until that device is rebooted or the software is reloaded.
The configure sync command will not function if vcs enabled is active.
page 30
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Manually Synchronizing Configuration Information
• To synchronize the running-config and startup-config, use the configure sync all command.
This will also sync data files in addition to the local running configuration and start up configura-
tion to the peer device.
• To synchronize the Active ACOS device’s running-config to the Standby ACOS device’s running-
config, use the configure sync running command. This will sync data files in addition to the run-
ning configuration to the peer device.
For more detailed information, see “configure sync” in the Command Line Interface Reference.
page 31
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Manually Synchronizing Configuration Information
Performing a write operation, or modifying a configuration will change the sync status for the modified
configuration.
For example, running the write memory command will change the start-up config state from “sync” to
“not-synced”.
If the running configuration is modified, the running-config state will change from “sync” to “not-
synced”.
Now, running the show config-sync command, the running configuration is no longer synced.
page 32
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Manually Synchronizing Configuration Information
page 33
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Manually Synchronizing Configuration Information
page 34
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Deploying VRRP-A
1. Specify the VRRP-A device ID and set ID, then enable VRRP-A using the enable command:
ACOS(config)# vrrp-a common
ACOS(config-common)# device-id 5
ACOS(config-common)# set-id 10
ACOS(config-common)# enable
ACOS-Active(config-common)# exit
ACOS-Active(config)#
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 clus-
ter in a Layer 2 broadcast domain have 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.
page 35
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Force-Self-Standby Reload or Restart Persistence
The following example configures a floating IP address (192.168.9.9) for VRID 13:
ACOS-Active(config)# vrrp-a vrid 13
ACOS-Active(config-vrid:13)# floating-ip 192.168.9.9
To place VRRP-A VRID 2 into a forced-self-standby state, issue the following command:
To place VRID 2 in a self-standby state even after a restart or reload, use the following command:
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 reload 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.
To place all VRIDs in partition (partA) in self-standby state even after a restart or reload, execute the fol-
lowing command in partition “partA:”
page 36
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Viewing VRRP-A Information
To view VRRP-A synchronization status information, see Viewing VRRP-A Config-Sync Status in the
CLI.
In the following examples, ACOS1 is the local device and ACOS2 is the peer.
In the case of a new device with no config-sync configuration, or when a device is reloaded or rebooted,
the sync status of the running-config will always be reset and the sync status will be “N/A”. For exam-
ple:
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 per-
sists through any reload or reboot operation; and will not be changed by the reload or reboot process.
The following commands sync both the running-config and startup-config for the shared partition from
the local device to the peer, then view the config-sync status:
page 37
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Viewing VRRP-A Information
The output from the peer device (ACOS2) shows that both the running-config and startup-config are
synced from ACOS1:
If any configuration changes are made in the running-config on ACOS1, the status will change. Sup-
pose we make a configuration change on ACOS1 (for example, specify a VRRP-A failover policy tem-
plate), then view the config-sync status again:
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:
page 38
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Viewing VRRP-A Information
18 2016
The sync status of the startup-config is now “not synced” because of the change.
Suppose that later on, we sync the running-config from ACOS2 to ACOS1. Below is the detail output
from the local device (ACOS1) after this happens:
The detail option shows when the “sync to” status changed to the “is synced from” status, or vice
versa.
The show config-sync command on ACOS1 will now show the “is sync from” status as the most recent
sync status:
The detail option can be used to view information about when the sync status was changed:
page 39
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Configuring Preemption Delays
------------------------------------------------------------------------------------
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
shared (startup-config) is synced from ip 192.168.216.202 at 20:41:59 IST Wed May
18 2016
The highlighted lines above show the previous sync status of both the running-config and startup-con-
fig on ACOS1 before the sync from ACOS2 to ACOS1.
For more information, see “show config-sync” in the Command Line Interface Reference.
In the example below, the show vrrp-a command reveals three devices in Active-Active-Active mode:
page 40
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Configuring Preemption Delays
To see how preemption delay works, suppose we track route 110.0.0.0 255.255.255.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
page 41
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Configuring Preemption Delays
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):
• After the interface goes down, the route disappears (less than 1 second)
• The ACOS device notices the missing route and lowers the device priority for the VRID (less than
1 second).
• Failover occurs (less than 1 second)
• The devices notice the route and restore the original device priority for the VRID (less than 1 sec-
ond)
• Preemption happens 8 seconds after the original device priority is restored
In the same scenario, with preemption delay configured for 25.5 seconds:
• After the interface goes down, the route disappears (less than 1 second)
• The ACOS device notices the missing route and lowers the device priority for the VRID (less than
1 second).
• Failover occurs (less than 1 second)
• The devices notice the route and restore the original device priority for the VRID (less than 1 sec-
ond)
• Preemption happens 25 seconds after the original device priority is restored
page 42
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Configuration Examples
Simple Deployment
The following commands deploy VRRP-A on a set of 2 ACOS devices.
Commands on ACOS-1
Commands on ACOS-2
• On device ACOS-1, the priority value is set to 255 on the shared partition’s VRID 0 and partition
CorpB’s VRID 0. The priority value is left set to its default (150) for CorpA and CorpC; the priority
does not need to be set since this is the default value.
• On device ACOS-2, the priority value is set to 255 on the VRID 0s in partitions CorpA and CorpC.
The priority value is left set to its default (150) for the shared partition and for CorpB; the priority
does not need to be set since this is the default value.
page 43
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Configuration Examples
These commands also configure a floating IP address for each VRID. Figure 5 on page 18 does not
include the floating IP addresses. (For more on floating IP addresses, see “VRRP-A and Floating IP
Addresses” on page 23.)
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
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
page 44
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Configuration Examples
ACOS-2(config-common)# exit
ACOS-2# active-partition CorpA
Current active partition: CorpA
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)#
More information about these commands can be found in “VRRP-A VRID Configuration Commands” on
page 167.
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)#
page 45
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Configuration Examples
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.
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.
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.
For more information about enhanced VLAN tracking capabilities, see “Increased VLANs for VRRP-A
Failover Tracking” on page 48.
page 46
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Configuration Examples
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.
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.
The following commands configure tracking of routes to destination network 5000::/64. If the IPv6
route table does not contain any routes to the destination, 80 is subtracted from the VRID priority.
Preemption Delay
The following commands configure the desired preemption delay value of 200 milliseconds:
For more information about preemption delay, see “Preemption Delay” on page 17.
page 47
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Configuration Examples
If VRRP-A stops detecting traffic on a VLAN, VRRP-A reduces the priority for the VRID. The priority
value to subtract can be specified individually for each VLAN.
• Using the priority tracking option—The tracking option performs failover by decreasing a VRID's
priority value.
• Using failover policy templates—The failover policy template performs failover by decreasing a
VRID's weight value.
• Configure all 64 VLANs that can be tracked using a single failover policy template or split over
multiple templates.
• Configure a mix of both options mentioned above. That is configure 32 VLANS using the tracking
option and configure the remaining 32 VLANs using a failover policy template.
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.
vrrp-a vrid 31
blade-parameters
tracking-options
vlan 1000 timeout 30 priority-cost 1
vlan 1001 timeout 30 priority-cost 1
vlan 1002 timeout 30 priority-cost 1
page 48
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Configuring a Leader and Follower VRID
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
vlan 233 timeout 72 weight 64
!
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
page 49
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Configuring a Leader and Follower VRID
Configuration Example 2
To configure a leader in the shared partition, issue the following commands:
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
page 50
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Configuring VRRP-A VRID Lead Switching
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
Change the role of vrid 3 from follower to standalone? (y/n)y
Again, to view your configuration, use the show run command:
ACOS[p1](config)# show running-config
!
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.
The example in this section utilizes the topology shown in Figure 12:
page 51
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Configuring VRRP-A VRID Lead Switching
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 dis-
ruption of the traffic on partition p1’s VRID because of the time interval required for manual configura-
tion on both sides.During this time interval, the VRID 0 could be double active or double standby on
both devices.
1. Use either an existing VRID whose up or down status is the same as the VRID you are configuring,
or create a new VRID. In the steps below, the example is creating a new VRID called vrid 5. The fol-
lowing shows ACOS1, do the same on ACOS2.
ACOS1-Active(config)# vrrp-a vrid 5
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
page 52
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Status in CLI Prompt
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
4. In partition p1 on both devices, use the follow vrid-lead vrid_lead_template command to make
the traffic in the partition follow the new VRID. Since the new VRID has the same VRRP-A status as
the existing lead VRID, traffic is not impacted during this step. The following shows ACOS1, do the
same on ACOS-2.
ACOS1(config)# active-partition p1
Current active partition: p1
ACOS1-Active[p1](config)#vrrp-a vrid 0
ACOS1-Active[p1](config-vrid:5)#follow vrid-lead lead1
ACOS1-Active[p1](config-vrid:5)#exit
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
For information about how to do this, see “VRRP-A/aVCS Status in Command Prompt” in the Command
Line Interface Reference.
page 53
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Status in CLI Prompt
page 54
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
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.
• You may create multiple templates, however only one template can be associated with a particu-
lar VRID. For example, if you create two templates called “template1” and “template2,” you can
only associate either template1 or template2 with VRID1. Assuming template1 and template2
have different events configured and you want 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).
page 55
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Preemption and Levels
• 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.
• You can create a maximum of 32 templates in the shared partition.
• You can associate the same template to multiple VRIDs. For example, VRID1 and VRID23 can
both be attached to template1.
• You may create multiple templates, however only one template can be associated with a particu-
lar VRID. For example, if you create two templates called “template1” and “template2,” you can
only associate either template1 or template2 with VRID1. Assuming template1 and template2
have different events configured and you want 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).
• 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.
• To associate a template to a private partition, you must switch to an active-partition.
• 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.
• You can create a maximum of 32 templates in the private partition.
page 56
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Precedence Causing a Failover
• When the ACOS devices in a VRRP-A configuration have unequal weight, the one with the higher
weight will be the Active device. Refer to Higher Weight Scenario“Higher Weight Scenario” on
page 57.
• If all ACOS devices have equal weight, the ACOS device with the higher priority will be the Active
device. Refer to Higher Priority Scenario“Higher Priority Scenario” on page 58.
• If the two ACOS devices have equal weight and equal priority, the device with the lower Device ID
will be the Active device. Refer to “Equal Weight and Priority Scenario” on page 59.
After an event results in a reduction of the weight, Unit 1 now has a weight of “65334” for VRID1, and a
failover was triggered that placed Unit 1 in a Standby state:
page 57
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Precedence Causing a Failover
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 an event results in a reduction of the priority, Unit 1 now has a priority of “1” for VRID1, and a
failover was triggered that placed Unit 1 in a Standby state:
page 58
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Precedence Causing a Failover
After an event results in an increase in weight, Unit 1 and Unit 2 both have an 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
Active state instead of the Standby state:
page 59
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Events Tracked for Weight via the Templates
If you track a trunk that does not exist, VRRP-A will not reduce the device priority.
To track a trunk port within an L3V partition, you must verify that the tracked port
is actually being used within that partition (for example, verify that the port is
used in a VLAN of the partition):
• If the tracked trunk is down, VRRP-A reduces the device priority based on the
trunk value and ignores the status of the ports within the trunk.
• If the tracked trunk is up, VRRP-A checks the ports within the trunk, and if any
of them are down, VRRP-A reduces the device priority (1x configured port prior-
ity). If two ports are down, VRRP-A reduces the device priority by twice the pri-
ority assigned to the ports within the trunk (2x configured port priority).
Lost data route. If an IPv4 or IPv6 route matching the specified options is not in the data route
table, VRRP-A reduces the device’s priority for the VRID.
Lost link on an Ethernet If the link goes down on an Ethernet data port, VRRP-A reduces the device’s pri-
port ority for the VRID. The priority value to subtract can be specified individually for
each Ethernet data port.
If a tracked interface is a member of a trunk, only the lead port in the trunk is
shown in the tracking configuration and in statistics. For example, if a trunk con-
tains ports 1-3 and you configure tracking of port 3, the configuration will show
that tracking is enabled on port 1. Likewise, tracking statistics will show port 1,
not port 3. Similarly, if port 1 goes down but port 3 is still up, statistics still will
show that port 1 is up since it is the lead port for the trunk.
page 60
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Events Tracked for Weight via the Templates
The following graphic visually represents where tracking can be enabled for an ACOS device:
page 61
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Configuring VRRP-A Policy-Based Failovers
NOTE: For details on additional template rules, refer to “Template Rules and
Partitions” on page 55.
1. Go to System > VRRP-A > Failover Policy Template to view the Failover Policy Template
page.
2. Click Create to view the Create Failover Policy Template page.
3. Specify a template name in the Template Name field.
4. Configure the remainder of the page as needed.
For a description of the different events, see “Events Tracked for Weight via the Templates” on
page 60.
page 62
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Configuring VRRP-A Policy-Based Failovers
When an event occurs, the specified weight will be subtracted from the weight of the VRID, possi-
bly causing a failover.
For more information about this screen, refer to the online help.
5. Click Create when you are finished.
Your failover template will be listed in the Failover Policy Template page.
1. Create your failover policy template. For example., create a template with the name template1:
ACOS(config)# vrrp-a fail-over-policy-template template1
ACOS(config-fail-over-policy-template:tem...)#
page 63
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Configuring VRRP-A Policy-Based Failovers
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:
ACOS(config-fail-over-policy-template:tem...)# route 20.20.20.0 /24 weight 70
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
2. Follow the instructions in “Configuring Templates in the Shared Partition” on page 63.
page 64
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Configuring VRRP-A Policy-Based Failovers
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:
...
VRRP-A stats
page 65
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Configuring VRRP-A Policy-Based Failovers
Peer: 1, vrid 0
Port 1: received 25685 missed 3
...
...
To view information on all the fail-over policy templates, you can use the show vrrp-a fail-over-pol-
icy-template command;
page 66
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Overview
High Availability
This chapter describes High Availability (HA) and how to configure it.
NOTE: The version of HA described in this chapter is the version that is also
supported in previous releases.
NOTE: If you use source NAT, only half the protocol ports on each NAT IP
address are available at a given time. This is because the ACOS device
allocates half the ports to one of the ACOS devices in the HA pair and the
other half to the other ACOS device. This does not occur with VRRP-A. If
you use VRRP-A, all the protocol ports on NAT addresses are available.
NOTE: This applies to all ACOS device models. This change does not require any
configuration changes and should not affect the operation of your HA
deployment.
Overview
High Availability (HA) is an ACOS feature that provides ACOS-level redundancy to ensure continuity of
service to clients. In HA configurations, ACOS devices are deployed in pairs. If one ACOS device in the
HA pair becomes unavailable, the other ACOS device takes over.
• Active-Standby – One ACOS device is the primary SLB device for all virtual services on which HA
is enabled. The other ACOS device is a hot Standby for the virtual services.
page 67
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Overview
• Active-Active – Each ACOS device is the primary SLB device for some of the configured virtual
services, and is a hot Standby for the other configured virtual services.
Active-Active is supported only on ACOS devices that are deployed in route mode. Active-Standby is
supported on ACOS devices deployed in transparent mode or route mode.
NOTE: In High Availability (HA) deployments, the ACOS devices must be the
same model and must be running the same software version. For exam-
ple, if one of the ACOS devices in an HA deployment is model AX 3200-11
running 2.6.1, the other device also must be model AX 3200-11 running
2.6.1. The other device in this example can not be AX 3200 or any other
model except AX 3200-11.
page 68
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Overview
Layer 3 Active-Standby HA
Figure 13 shows an example of an Active-Standby configuration.
FIGURE 13 Active-Standby HA
page 69
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Overview
In this example, each ACOS device provides SLB for two virtual servers, VIP1 and VIP2.
(For a complete list of configurable HA parameters, see “HA Configuration Parameters” on page 90.)
• For private partitions enabled for Layer 2/3 virtualization (both FPGA and non-FPGA models): 64
floating IPs
page 70
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Overview
Layer 3 Active-Active HA
Figure 14 shows an example of an Active-Active configuration.
FIGURE 14 Active-Active HA
In the Active-Active configuration, as in the Active-standby configuration. only one ACOS device is
active for a given VIP. But unlike the Active-Standby configuration, the same ACOS device does not
need to be the Active ACOS device for all the VIPs. Instead, each of the ACOS devices can be the Active
ACOS device for some VIPs. In this example, AX1 is Active for VIP2 and AX2 is Active for VIP1.
This configuration is similar to the configuration for Active-Standby shown in Figure 13, with the follow-
ing exceptions:
page 71
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Overview
• Both HA groups are configured on each of the ACOS devices. In Active-Standby, only a single HA
group is configured.
• The priority values have been set so that each HA group has a higher priority on one ACOS device
than it does on the other ACOS device. In this example, HA group 1 has a higher priority on AX2,
whereas HA group 2 has a higher priority on AX1.
• On each ACOS device, one of the VIPs is assigned to HA group 1 and the other VIP is assigned to
HA group 2.
• On both ACOS devices, HA pre-emption is enabled. HA pre-emption enables the devices to use
the HA group priority values to select the Active and Standby ACOS device for each VIP. Without
HA pre-emption, the device selection is based on which of the ACOS devices comes up first.
page 72
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Overview
Inline support applies specifically to network topologies where inserting a pair of ACOS switches would
cause a Layer 2 loop, as shown in this example.
In this example, a pair of routers configured as a redundant pair route traffic between clients and serv-
ers. The redundant router pair can be implemented using Virtual Router Redundancy Protocol (VRRP-
A), Extreme Standby Router Protocol (ESRP), or another equivalent router redundancy protocol.
Each real server is connected to the router pair through a Layer 2 switch. Neither the Layer 2 switches
nor the routers are running Spanning Tree Protocol (STP). The network does not have any Layer 2 loops
page 73
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Overview
because the Layer 2 switches are not connected directly together, and the routers do not forward Layer
2 traffic.
If a pair of ACOS switches in transparent mode are added, the ACOS switches can add redundant Layer
2 paths, which cause Layer 2 loops. To prevent loops in this deployment, without making any configu-
ration changes on the other devices in the network, you can enable HA inline mode on the ACOS
devices. Inline mode automatically blocks redundant paths through the Standby ACOS device, without
the need to enable STP on any devices.
ACOS devices require a connection mirror IP address to be configured in Layer 2 inline mode HA
deployments. A connection mirror interface is a unicast IP address on the peer ACOS device in the HA
pair. This peer IP address is optional in earlier releases but usually is configured anyway for session
synchronization purposes. Beginning in AX Release 2.7.0, specifying a connection mirror IP address is
mandatory for proper operation of ACOS devices in Layer 2 Inline mode HA.
page 74
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Overview
The connection mirror IP address is used for session synchronization (also called “connection mirror-
ing”). Until a connection mirror IP address is specified, the ACOS device remains in Standby state.
If a connection mirror IP address is not configured, a log message such as the following is generated
every 5 minutes:
Sep 01 2012 03:01:30 Warning [HA]:HA Peer IP is not configured. Peer IP is required in
Inline Mode.
Restrictions
• Supported for Active-Standby HA deployments only. Not supported for Active-Active HA.
• Inline mode is designed for one HA group in Hot-Standby mode. Do not configure more than one
HA group on a device running in inline mode.
• In order to prevent Layer 2 loops in a Layer 2 host-standby environment, the Standby ACOS
device does not forward traffic. In addition, the Active ACOS device in the HA pair is designed to
not forward packets destined for the Standby ACOS device. Depending on the network topology,
certain traffic to the Standby ACOS device might be dropped if it must first pass through the
Active ACOS device.
Preferred HA Port
When you enable inline mode on an ACOS device, the ACOS device uses a preferred HA port for session
synchronization and for management traffic between the ACOS devices in the HA pair. For example, if
you use the CLI on one ACOS device to ping the other ACOS device, the ping packets are sent only on
the preferred HA port. Likewise, the other ACOS device sends the ping reply only on its preferred HA
port.
Management traffic between ACOS devices includes any of the following types of traffic:
• Telnet
• SSH
• Ping
Optionally, you can designate the preferred HA port when you enable inline mode. In Figure 16 on
page 74, Ethernet interface 5 on each ACOS device has been configured as the preferred HA port.
The ACOS device selects the Active ACOS device’s preferred HA port as follows:
1. Is a preferred port specified with the inline configuration, and is the port up? If so, use the port.
2. If no preferred HA port is specified in the configuration or that port is down, the first HA interface
that comes up on the ACOS device is used as the preferred HA port.
page 75
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Overview
3. If the preferred HA port selected by 1. or 2. above goes down, the HA interface with the lowest port
number is used. If that port also goes down, the HA interface with the next-lowest port number is
used, and so on.
HA heartbeat messages are not restricted to the preferred HA port. Heartbeat messages are sent out
all HA interfaces unless you disable the messages on specific interfaces.
NOTE: The preferred port must be added as an HA interface and heartbeat mes-
sages must be enabled on the interface.
Port Restart
When a transition from Standby to Active occurs because the formerly Active ACOS device becomes
unavailable, the other devices that are directly connected to the unavailable ACOS device detect that
their links to the ACOS device have gone down. The devices then flush their cached MAC entries on the
down links.
For example, in Figure 16 on page 74, while AX1 is still Active, the active router (the one on the left)
uses the MAC entries it has learned on its link with AX1 to reach downstream devices. If the link with
AX1 goes down, the router flushes the MAC entries. The router then relearns the MAC addresses on the
link with AX2 when it becomes the Active ACOS device.
This mechanism is applicable when the link with AX1 goes down. However, if the transition from Active
to Standby does not involve failure of the router's link with AX1, the router does not flush its learned
MAC entries on the link. As a result, the router might continue to send traffic for downstream devices
through the router's link with AX1. Since AX1 is now the Standby, it drops the traffic, thereby causing
reachability issues.
For example, if you administratively force a failover by changing the HA configurations of the ACOS
devices and enabling HA pre-emption, the link between the router and AX1 remains up. In this case, the
router continues to have MAC addresses through this link.
To ensure that devices connected to the formerly Active ACOS device flush their learned MAC entries
on their links with AX1, you can enable HA port restart.
HA port restart toggles a specified set of ports on the formerly Active ACOS device by disabling the
ports, waiting for a specified number of milliseconds, then re-enabling the ports. Toggling the ports
causes the links to go down, which in turn causes the devices on the other ends of the links to flush
their learned MAC entries on the links. The devices then can relearn MACs through links with the newly
Active ACOS device.
NOTE: You must omit at least one port connecting the ACOS devices from the
restart port-list. This is so that heartbeat messages between the ACOS
devices are maintained; otherwise, flapping might occur.
page 76
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Overview
NOTE: On model AX 2000 or AX 2100, A10 recommends that you do not include
Fiber ports in the restart port list.
Layer 3 HA for inline mode is beneficial in network topologies where the ACOS device interfaces with
the clients and real servers are in the same subnet. Figure 17 shows an example.
In this example, each ACOS device has multiple Ethernet ports connected to the clients, and multiple
Ethernet ports connected to the servers. On each ACOS device, all these Ethernet interfaces are config-
ured as a single Virtual Ethernet (VE) interface with a single IP address. The routers, both ACOS
devices, and the servers are all in the same subnet.
page 77
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Overview
Normally, this topology would introduce a traffic loop. However, the HA inline mode prevents loops by
logically blocking through traffic on the standby ACOS device. Spanning Tree Protocol (STP) is not
required in order to prevent loops.
A dedicated link between the ACOS devices is used for HA management traffic. In this example, the
dedicated link is in another subnet.
Layer 3 inline configuration is similar to Layer 2 inline mode configuration, with the following excep-
tions:
• Layer 3 inline mode does not require designation of a preferred port or configuration of port
restart.
• CPU processing must be enabled on the Ethernet interfaces that will receive server replies to cli-
ent requests. CPU processing is required on these interfaces in order to change the source IP
address from the server’s real IP address back into the VIP address.
Restrictions
• Supported for Active-Standby HA deployments only. Not supported for Active-Active HA.
• Inline mode is designed for one HA group in Hot-Standby mode. Do not configure more than one
HA group on an ACOS device running in inline mode.
• In order to prevent Layer 2 loops in a Layer 2 host-standby environment, the Standby ACOS
device does not forward traffic. In addition, the Active ACOS device in the HA pair is designed to
not forward packets destined for the Standby ACOS device. Depending on the network topology,
certain traffic to the Standby ACOS device might be dropped if it must first pass through the
Active ACOS device.
HA Messages
The ACOS devices in an HA pair communicate their HA status with the following types of messages:
• HA heartbeat messages
HA Heartbeat Messages
Each of the ACOS devices regularly sends HA heartbeat messages out its HA interfaces. The Standby
ACOS device listens for the heartbeat messages. If the Standby ACOS device stops receiving heartbeat
messages from the Active ACOS device, the Standby ACOS device transitions to Active and takes over
networking and SLB operations from the other ACOS device.
page 78
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Overview
By default, heartbeat messages are sent every 200 milliseconds. If the Standby ACOS device does not
receive a heartbeat message for 1 second (5 times the heartbeat interval), the Standby ACOS device
transitions to Active.
The heartbeat interval and retry count are configurable. (See “HA Configuration Parameters” on
page 90.)
If the heartbeat messages from one ACOS device to the other will pass through a Layer 2 switch, the
switch must be able to pass UDP IP multicast packets. (This requirement does not apply to Layer 2
inline HA because it uses unicast to transmit the heartbeat.)
Similarly, for IPv6, when an ACOS device transitions from Standby to Active, the newly Active ACOS
device sends ICMPv6 neighbor advertisement for the IPv6 address under HA control.
Gratuitous ARPs or ICMPv6 neighbor advertisements are sent for the following types of addresses:
• Virtual server IP addresses, for the VIPs that are assigned to an HA group.
Devices that receive the ARPs or ICMPv6 neighbor advertisements learn that the MAC address for the
HA pair has moved, and update their forwarding tables accordingly.
The Active ACOS device sends the gratuitous ARPs or ICMPv6 neighbor advertisements immediately
upon becoming the Active ACOS device. To make sure ARPs or ICMPv6 neighbor advertisements are
being received by the target addresses, the ACOS device re-sends them 4 additional times, at 500-milli-
second intervals.
After this, the ACOS device sends gratuitous ARPs or ICMPv6 neighbor advertisements every 30 sec-
onds to keep its IP information current.
The retry count is configurable. (See “HA Configuration Parameters” on page 90.)
HA Interfaces
When configuring HA, you specify each of the interfaces that are HA interfaces. An HA interface is an
interface that is connected to an upstream router, a real server, or the other ACOS device in the HA pair.
HA heartbeat messages can be sent only on HA interfaces. Optionally, you can disable the messages
on individual interfaces. When you configure an HA interface that is a tagged member of one or more
VLANs, you must specify the VLAN on which to send the heartbeat messages.
page 79
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Overview
Changes to the state of an HA interface can trigger a failover. By default, the HA state of an interface
can be Up or Down. Optionally, you can specify the HA interface type as one of the following:
• Router interface – An upstream router (and ultimately, clients) can be reached through the inter-
face.
• Both – Both a server and upstream router can be reached through the interface.
If you specify the HA interface type, the HA status of the ACOS device is based on the status of the link
with the real server and/or upstream router. The HA status can be one of the following:
• Partially Up – Some HA router or server interfaces are down but at least one server link and one
router link are up.
• Down – All router interfaces, or all server interfaces, or both are down. The status also is Down if
both router interfaces and server interfaces are not configured and an HA interface goes down.
If both types of interfaces (router interfaces and server interfaces) are configured, the HA interfaces for
which a type has not been configured are not included in the HA interface status determination.
During selection of the active ACOS device, the ACOS device with the highest state becomes the active
ACOS device and all HA interfaces on that ACOS device become active. For example, if one ACOS
device is UP and the other ACOS device is only Partially Up, the ACOS device that is UP becomes the
active ACOS device.
If each ACOS device has the same state, the active ACOS device is selected as follows:
• If HA pre-emption is disabled (the default), the first ACOS device to come up is the active ACOS
device.
• If HA pre-emption is enabled, the ACOS device with the higher HA group priority becomes active
for that group. If the group priorities on the two ACOS devices are also the same, the ACOS device
that has the lowest HA ID (1 or 2) becomes active.
Notes
• The maximum number of HA interfaces you can configure is the same as the number of Ethernet
data ports on the ACOS device.
page 80
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Overview
• If the heartbeat messages from one ACOS device to the other will pass through a Layer 2 switch,
the switch must be able to pass UDP IP multicast packets. (This requirement does not apply to
Layer 2 inline HA because it uses unicast to transmit the heartbeat.)
• If a tracked interface is a member of a trunk, only the lead port in the trunk is shown in the track-
ing configuration and in statistics. For example, if a trunk contains ports 1-3 and you configure
tracking of port 3, the configuration will show that tracking is enabled on port 1. Likewise, track-
ing statistics will show port 1, not port 3. Similarly, if port 1 goes down but port 3 is still up, statis-
tics still will show that port 1 is up since it is the lead port for the trunk.
• In non-Layer 2 inline deployments, if the heartbeat messages from one ACOS device to the other
will pass though a Layer 2 switch, the switch must be able to pass UDP IP multicast packets.
Layer 2 inline mode does not have this requirement.
VLAN ID Requirement
Beginning in AX Release 2.7.0, in deployments that use the older implementation of High Availability
(HA), if an HA interface is a tagged member of one or more VLANs, it is required to specify one of the
member VLAN IDs when configuring the interface to be an HA interface.
If the VLAN ID is not specified, the ACOS device does not transmit any heartbeat packets on the inter-
face. This is an invalid configuration. Previous releases incorrectly allowed the invalid configuration but
current releases do not.
For example, the following command is valid, if Ethernet port 5 is a tagged interface:
ha interface ethernet 5
If you are upgrading a device whose configuration has an invalid command such as the one shown
above, you will need to re-enter the command with valid syntax after the upgrade.
Session Synchronization
HA session synchronization sends information about active client sessions to the Standby ACOS
device. If a failover occurs, the client sessions are maintained without interruption. Session synchroni-
zation is optional. Without it, a failover causes client sessions to be terminated. Session synchroniza-
tion can be enabled on individual virtual ports.
page 81
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Overview
Session synchronization applies primarily to Layer 4 sessions. Session synchronization does not apply
to DNS sessions. Since these sessions are typically very short lived, there is no benefit to synchronizing
them. Likewise, session synchronization does not apply to NATted ICMP sessions or to any static NAT
sessions. Synchronization of these sessions is not needed since the newly Active ACOS device will cre-
ate a new flow for the session following failover.
Session synchronization is required for config sync. Config sync uses the session synchronization link.
(For more information, “Manually Synchronizing Configuration Information” on page 131.)
VLAN-based Failover
You can enable HA checking for individual VLANs. When HA checking is enabled for a VLAN, the active
ACOS device in the HA pair monitors traffic activity on the VLAN. If there is no traffic on the VLAN for
half the duration of a configurable timeout, the ACOS device attempts to generate traffic by issuing
ping requests to servers if configured, or broadcast ARP requests through the VLAN.
If the ACOS device does not receive any traffic on the VLAN before the timeout expires, a failover
occurs. The timeout can be 2-600 seconds. You must specify the timeout. Although there is no default,
A10 recommends trying 30 seconds.
This HA checking method provides a passive means to detect network health, whereas heartbeat mes-
sages are an active mechanism. You can use either or both methods to check VLAN health. If you use
both methods on a VLAN, A10 recommends that you specify an HA checking interval (timeout) that is
much longer than the heartbeat interval.
Gateway-based Failover
Gateway-based failover uses ICMP health monitors to check the availability of the gateways. If any of
the active ACOS device’s gateways fails a health check, the ACOS device changes its HA status to
Down. If the HA status of the other ACOS device is higher than Down, a failover occurs.
page 82
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Overview
Likewise, if the gateway becomes available again and all gateways pass their health checks, the ACOS
device recalculates its HA status according to the HA interface counts. If the new HA status of the
ACOS device is higher than the other ACOS device’s HA status, a failover occurs.
Route-based Failover
Route-based failover reduces the HA priority of all HA groups on the ACOS device, if a specific route is
missing from the IPv4 or IPv6 route table.
You can configure this feature for individual IP routes. When you configure this feature for a route, you
also specify the value to subtract from the HA priority of all HA groups, if the route is missing from the
route table.
You can configure this option for up to 100 IPv4 routes and up to 100 IPv6 routes. This option is valid
for all types of IP routes supported in this release (static and OSPF).
If the priority of an HA group falls below the priority for the same group on the other ACOS device in an
HA pair, a failover can be triggered.
Notes
• This feature applies only to routes in the data route table. The feature does not apply to routes in
the management route table.
• For failover to occur due to HA priority changes, the HA pre-emption option must be enabled.
You can configure this feature on individual real servers and ports. The feature is disabled by default.
To enable the feature, assign an HA weight to the server or port. If the server or port’s health status
changes to Down, the weight value is subtracted from the priority value of the HA group. You can spec-
ify a single HA group or allow the priority change to apply to all HA groups.
If the server or port’s status changes back to Up, the weight value is added back to the HA group’s pri-
ority value.
page 83
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Overview
If the HA priority of a group falls below the priority of the same group on the other ACOS device, HA
failover can be triggered.
Notes
• If HA weights for an HA group are assigned to both the server and an individual port, and both
health checks are unsuccessful, only the server weight is subtracted from the HA group’s priority.
• For failover to occur due to HA priority changes, the HA pre-emption option must be enabled.
VIP-based Failover
VIP-based failover allows service for a VIP to be transferred from one ACOS device in an HA pair to the
other ACOS device based on HA status changes of the real servers.
When you configure an HA group ID, you also specify its priority. If HA pre-emption is enabled, the HA
group’s priority can be used to determine which ACOS device in the HA pair becomes the Active ACOS
device for the HA group. In this case, the ACOS device that has a higher value for the group’s priority
becomes the Active ACOS device for the group.
page 84
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Overview
If you enable the dynamic HA option on a virtual server, the ACOS device reduces the HA priority of the
group assigned to the virtual server, if a real server becomes unavailable. (A real server is unavailable if
it is marked Down by the ACOS device because the server failed its health check.) If the priority value is
reduced to a value that is lower than the group’s priority value on the other ACOS device in the HA pair,
and HA pre-emption is enabled, service of the virtual serve is failed over to the other ACOS device.
When a real server becomes available again, the weight value that was subtracted from the HA group’s
priority is re-added. If this results in the priority value being higher than on the other ACOS device, the
virtual server is failed over again to the ACOS device with the higher priority value for the group.
page 85
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Overview
After initial selection of the Active ACOS device, that device remains the Active ACOS device unless one
of the following events occurs:
• The Standby ACOS device stops receiving HA heartbeat messages from the Active ACOS device.
• The HA interface status of the Active ACOS device becomes lower than the HA interface status of
the Standby ACOS device.
• VLAN-based failover is configured and the VLAN becomes inactive.
page 86
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Overview
• HA pre-emption is enabled, and the configured HA priority is changed to be higher on the Standby
ACOS device.
FIGURE 19 HA Failover
page 87
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Overview
HA Pre-Emption
By default, a failover occurs only in the following cases:
• The Standby ACOS device stops receiving HA heartbeat messages form the other ACOS device in
the HA pair.
• HA interface state changes give the Standby ACOS device a better HA state than the Active ACOS
device. (See “HA Interfaces” on page 79.)
• VLAN-based failover is configured and the VLAN becomes inactive. (See “VLAN-based Failover”
on page 82.)
• Gateway-based failover is configured and the gateway becomes unavailable. (See “Gateway-
based Failover” on page 82.)
• VIP-based failover is configured and the unavailability of real servers causes the Standby ACOS
device to have the greater HA priority for the VIP’s HA group. (See “VIP-based Failover” on
page 84.)
By default, failover does not occur due to HA configuration changes to the HA priority.
To enable the ACOS devices to failover in response to changes in priority, enable HA pre-emption. When
pre-emption is enabled, the ACOS device with the higher HA priority becomes the Active ACOS device. If
the HA priority is equal on both ACOS devices, then the ACOS device with the lower HA ID (1) becomes
the Active ACOS device.
page 88
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Overview
HA Sets
Optionally, you can provide even more redundancy by configuring multiple sets of HA pairs.
In this example, two HA pairs are configured. Each pair is distinguished by an HA set ID. Each HA pair
can be used to handle a different set of real servers.
You can configure up to 7 HA sets. This feature is supported for Layer 2 and Layer 3 HA configurations.
The set ID can be specified along with the HA ID. (For syntax information, see Table 3 on page 90.)
page 89
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Overview
HA Configuration Parameters
Table 3 lists the HA parameters.
TABLE 3 HA Parameters
Parameter Description and Syntax Supported Values
Global HA Parameters
HA ID HA ID of the ACOS device, and HA set to which HA ID: 1 or 2
the ACOS device belongs.
and HA set ID: 1-7
The HA ID uniquely identifies the ACOS device
HA set ID within the HA pair. Default: Neither parameter is set
page 90
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Overview
page 91
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Overview
page 92
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Overview
page 93
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Overview
page 94
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Overview
[no] ha link-event-delay
100-ms-unit
page 95
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Overview
[no] ha link-event-delay
100-ms-unit
[no] ha-conn-mirror
page 96
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Overview
Note: The current release does not support con- Default: not set
figuration of this option using the GUI.
HA Parameters for Real Ports
Priority cost Decreases the HA priority of an HA group, if the Weight: 1-255
real port’s health status changes to Down.
HA group: 1-31. If no group is speci-
[no] ha-priority-cost weight fied, the weight applies to all HA
[ha-group group-id] groups.
Note: The current release does not support con- Default: not set
figuration of this option using the GUI.
HA Parameters for Firewall Load Balancing (FWLB)
HA group ID When using the HA group ID with a DNS fire- 1-31
wall.
Default: not set
[no] ha-group group-id
[no] ha-conn-mirror
page 97
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Overview
Option with ip nat pool, ipv6 nat pool, or ip nat Default: not set
inside command: ha-group group-id
page 98
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
HA Status Indicators
HA Status Indicators
The HA status of an ACOS device is displayed in the GUI and CLI. The HA status indicators provide the
following information:
• Configuration status:
• Most recent configuration update – The system time and date when the most recent configura-
tion change was made.
• Most recent configuration save – The system time and date when the configuration was saved
to the startup-config.
• Most recent config-sync – The system time and date when the most recent configuration
change was made.
If the ACOS device is configured with multiple Role-Based Administration (RBA) partitions, sepa-
rate configuration status information is shown for each partition.
In the GUI
The current HA status is shown as one of the following:
• Active
• Standby
• Not Configured
• Sync
• Not-Sync
The GUI does not indicate when the most recent configuration update or save occurred. This informa-
tion is available in the CLI. (See below.)
ACOS 2.7.1 provides the user with the ability to configure the prompt. It allows you to add or remove
the device hostname, the aVCS chassis device ID, the aVCS status, the VRRP-A status, or the HA sta-
tus. Configuring a prompt is optional. If all the five options are configured, an example of a prompt may
say AX1030-vMaster[7/1](config)#.
page 99
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
HA Status Indicators
To display the HA or VRRP-A status in the prompt, specify the ha-status keyword. For example, this can
be Active, Standby, or ForcedStandby. When you configure ha-status, the VRRP-A or HA states of a
device will be displayed in the prompt. ForcedStandby will be displayed when you issue the terminal
prompt ha-status command and the device is in a forced standby state.
If your device is running aVCS and HA, you can configure the following commands. With each configu-
ration entry, see how the terminal prompt changes. The prompt additions appear in bold font:
If the device is in a forced standby state, you will see the following prompt:
Use the show terminal command to view the terminal prompt format. By default, all prompts are dis-
played. So, if you revert from a configured prompt to a default prompt, you will see the following results:
page 100
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Configuring Layer 3 HA
Configuring Layer 3 HA
To configure Layer 3 HA:
NOTE: Enter the real IP address of the ACOS device, not the floating IP address
that downstream devices will use as their default gateway address.
page 101
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Configuring Layer 3 HA
Configuring HA Interfaces
1. Select Config Mode > SLB > Service > Virtual Server.
2. Click on the virtual server name or click Add to add a new one.
3. In the General section, select the HA group ID from the HA Group drop-down list.
NOTE: The Dynamic Server Weight option is used for VIP-based failover. For
information, see “VIP-based Failover” on page 84.
page 102
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Configuring Layer 3 HA
NOTE: The GUI does not support enabling connection mirroring on some types
of service ports. However, you can enable connection mirroring for these
service types using the CLI.
HA Configuration of AX1
page 103
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Configuring Layer 3 HA
FIGURE 22 Config Mode > Network > Interface> LAN (Ethernet interface 1)
FIGURE 23 Config Mode > SLB > Service > Virtual Server (VIP1)
page 104
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Configuring Layer 3 HA
FIGURE 24 Config Mode > SLB > Service > Virtual Server (VIP2)
HA Configuration of AX2
page 105
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Configuring Layer 3 HA
FIGURE 26 Config Mode > SLB > Service > Virtual Server (VIP1)
FIGURE 27 Config Mode > SLB > Service > Virtual Server (VIP2)
page 106
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Configuring Layer 3 HA
ha preemption-enable
2. To add a virtual server to an HA group, use the following command at the configuration level for
the virtual server:
ha-group group-id
Use the same HA group ID for the same virtual server, on both ACOS devices.
3. If session synchronization is globally enabled, use the following command at the configuration
level for the virtual port to enable session synchronization for the port:
ha-conn-mirror
4. If IP NAT will be used, use the following option with the ip nat pool or ipv6 nat pool command when
configuring the pool.
ha-group group-id
Commands on AX1
This examples shows the CLI commands to implement the Active-Active configuration shown in
Figure 14 on page 71.
The following commands configure the HA ID and HA groups. Since this is an Active-Active configura-
tion, both HA groups are configured. The priority for group 1 is set to a low value. The same group will
be set to a higher priority value on the other ACOS device. Likewise, the priority of group 2 is set to a
high value on this ACOS device but will be set to a lower value on the other ACOS device.
Later in the configuration, each virtual server will need to be added to one or the other of the HA groups.
AX1(config)#ha id 1
AX1(config)#ha group 1 priority 1
AX1(config)#ha group 2 priority 255
The following commands configure the floating IP addresses for each HA group. The real servers and
the Layer 2 switches connected to them will need to be configured to use the floating IP addresses as
their default gateways.
The following commands configure the HA interfaces. The interface types are specified, so that the HA
state of the ACOS device can be more precisely calculated based on HA interface state. (See “HA Inter-
faces” on page 79.)
page 107
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Configuring Layer 3 HA
Heartbeat messages are disabled on all HA interfaces except the dedicated HA link between the ACOS
devices.
The following command enables session synchronization (connection mirroring). The feature also will
need to be enabled on individual virtual ports, later in the configuration. The IP address is the real
address of the other ACOS device.
The following command enables HA pre-emption, to ensure that the Active and Standby for each virtual
server are chosen based on the configuration. By default, when HA is first configured, Active and
Standby are selected based on which ACOS device comes up first.
AX1(config)#ha preemption-enable
The following commands add each of the virtual servers to an HA group, and enables session synchro-
nization on the virtual ports. (For brevity, this example does not show the complete SLB configuration,
only the HA part of the SLB configuration.)
Commands on AX2
Here are the commands for AX2. The priority values for the groups are different from the values set on
AX1, so that group 1 has higher priority on this ACOS device than on AX1. Likewise, the priority of group
2 is set so that its priority is higher on AX1.
AX2(config)#ha id 2
AX2(config)#ha group 1 priority 255
AX2(config)#ha group 2 priority 1
page 108
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Configuring Layer 2 HA (Inline Mode)
The floating IP addresses must be the same as the ones set on AX1.
The HA configuration for virtual servers and virtual ports is identical to the configuration on AX1.
page 109
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Configuring Layer 2 HA (Inline Mode)
NOTE: If source NAT is not configured for the VIP, but real servers send
responses to a gateway IP address other than the floating IP address,
CPU processing must be enabled on the interfaces connected to the real
servers. This applies to the following ACOS device models: AX 2200,
AX 2200-11, AX 3100, AX 3200, AX 3200-11, AX 3200-12, AX 3400, AX
5100,
AX 5200, and AX 5200-11. On other models, the option for CPU process-
ing is not valid and is not required.
• Identification of HA interface type: server or router – The interface types affect the ACOS device’s
summary link state for HA. (See “HA Interfaces” on page 79.)
• Session synchronization (also called “connection mirroring”) – Existing client sessions remain up
during a failover.
• Floating IP – The default gateway IP address used by the real servers is a floating IP address
shared by the ACOS devices, rather than the IP address of the Active ACOS device. Servers can
still reach clients through their default gateway after an HA failover, without the need for the gate-
way address to be changed to the Standby ACOS device’s address.
page 110
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Configuring Layer 2 HA (Inline Mode)
d. To enable connection mirroring, enter the IP address of the other ACOS device in the HA Mirror-
ing IP Address field.
NOTE: Enter the real IP address of the ACOS device, not the floating IP address
that downstream devices will use as their default gateway address.
page 111
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Configuring Layer 2 HA (Inline Mode)
This requirement applies to the following ACOS devices models: AX 2200, AX 2200-11,
AX 3100, AX 3200, AX 3200-11, AX 3200-12, AX 3400, AX 5100, AX 5200, and AX 5200-11. On
other models, the option for CPU processing is not valid and is not required.
g. Click OK.
page 112
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Configuring Layer 2 HA (Inline Mode)
FIGURE 29 Config Mode > Network > Interface > LAN (Ethernet interface 1)
page 113
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Configuring Layer 2 HA (Inline Mode)
Commands on AX1
The following commands configure the HA ID and set the HA priority. HA priority is associated with an
HA group. Since inline mode is supported only in Active-Standby configurations, only one HA group is
used. Later in the configuration, the VIP is assigned to this HA group.
AX1(config)#ha id 1
AX1(config)#ha group 1 priority 255
The following command enables inline HA mode and specifies the preferred HA port.
The following commands configure the HA interfaces. Each interface that is connected to a server, a
router, or the other ACOS device can be configured as an HA interface. Make sure to add the preferred
HA port as one of the HA interfaces.
The following command enables restart of the HA ports connected to the routers, to occur if the ACOS
device transitions to Standby.
NOTE: If source NAT is not configured for the VIP, but real servers send
responses to a gateway IP address other than the floating IP address,
enter the cpu-process command at the configuration level for each inter-
face connected to the real servers. This requirement applies to the fol-
lowing AX models: AX 2200, AX 2200-11, AX 3100, AX 3200, AX 3200-11,
AX 3200-12, AX 3400, AX 5100, AX 5200, and AX 5200-11. On other mod-
els, the option for CPU processing is not valid and is not required.
The following command enables HA pre-emption mode, which causes failover to occur in response to
administrative changes to the HA configuration. (For example, if you change the HA priority so that the
other ACOS device has higher priority, this will trigger a failover, but only if pre-emption mode is
enabled.)
AX1(config)#ha preemption-enable
The following command specifies the IP address of the other ACOS device, to use for session synchro-
nization.
page 114
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Configuring Layer 2 HA (Inline Mode)
The following command configures the floating IP address for the real servers to use as their default
gateway address.
The following commands configure a health method, real servers, a server group, and a VIP for an
HTTP service.
Commands on AX2
Here are the commands for implementing HA on the standby ACOS device, AX2. Most of the com-
mands are the same as those on AX1, with the following exceptions:
• The HA ID is 2.
• The HA priority is 1.
• The session synchronization (conn-mirror) IP address is the address of the Active ACOS device.
(On the Active ACOS device, the session synchronization IP address is the address of the
Standby ACOS device.)
AX2(config)#ha id 2
AX2(config)#ha group 1 priority 1
AX2(config)#ha interface ethernet 1 router-interface no-heartbeat
AX2(config)#ha interface ethernet 2 router-interface no-heartbeat
AX2(config)#ha interface ethernet 3 server-interface
AX2(config)#ha interface ethernet 4 server-interface
page 115
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Configuring Layer 2 HA (Inline Mode)
page 116
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Configuring Layer 3 HA (Inline Mode)
NOTE: The GUI does not support configuration of Layer 3 inline mode in the cur-
rent release.
2. To enable CPU processing on an interface, use the following command at the configuration level
for the interface:
cpu-process
If the interface is part of a trunk, use the command at the interface configuration level for the trunk.
page 117
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Configuring Layer 3 HA (Inline Mode)
Commands on AX1
The following commands configure the interfaces. Since Ethernet interfaces 3 and 4 will receive server
replies to client requests, CPU processing is enabled on those interfaces.
AX1(config)#interface ethernet 1
AX1(config-if:ethernet1)#enable
AX1(config-if:ethernet1)#interface ethernet 2
AX1(config-if:ethernet2)#enable
AX1(config-if:ethernet2)#interface ethernet 3
AX1(config-if:ethernet3)#enable
AX1(config-if:ethernet3)#cpu-process
AX1(config-if:ethernet3)#interface ethernet 4
AX1(config-if:ethernet4)#enable
AX1(config-if:ethernet4)#cpu-process
AX1(config-if:ethernet4)#interface ethernet 5
AX1(config-if:ethernet5)#enable
AX1(config-if:ethernet5)#exit
AX1(config)#vlan 100
AX1(config-vlan:100)#untagged ethernet 1 to 4
AX1(config-vlan:100)#router-interface ve 100
AX1(config-vlan:100)#exit
AX1(config)#vlan 5
AX1(config-vlan:5)#untagged ethernet 5
AX1(config-vlan:5)#router-interface ve 5
AX1(config-vlan:5)#exit
AX1(config)#interface ve 100
AX1(config-if:ve100)#ip address 172.168.10.2 /24
AX1(config-if:ve100)#interface ve 5
AX1(config-if:ve5)#ip address 172.168.20.2 /24
AX1(config-if:ve5)#exit
The following commands configure the HA ID and set the HA priority. HA priority is associated with an
HA group. Later in the configuration, the VIP is assigned to this HA group.
AX1(config)#ha id 1
AX1(config)#ha group 1 priority 255
AX1(config)#ha l3-inline-mode
page 118
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Configuring Layer 3 HA (Inline Mode)
The following commands configure the HA interfaces. Each interface that is connected to a server, a
router, or the other ACOS device can be configured as an HA interface. (Make sure to add the dedicated
HA link between the ACOS devices as one of the HA interfaces.)
The following command enables restart of the HA ports connected to the routers, to occur if the ACOS
device transitions to Standby.
The following command enables HA pre-emption mode, which causes failover to occur in response to
administrative changes to the HA configuration. (For example, if you change the HA priority so that the
other ACOS device has higher priority, this will trigger a failover, but only if pre-emption mode is
enabled.)
AX1(config)#ha preemption-enable
The following command specifies the IP address of the other ACOS device, to use for session synchro-
nization.
The following command configures the floating IP address for the real servers to use as their default
gateway address.
The following commands configure a health method, real servers, a server group, and a VIP for an
HTTP service.
page 119
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Configuring Layer 3 HA (Inline Mode)
Commands on AX2
Here are the commands for implementing HA on AX2. Most of the commands are the same as those
on AX1, with the following exceptions:
• The HA ID is 2.
• The HA priority is 1.
The session synchronization (conn-mirror) IP address is the address of AX1. (On AX1, the session syn-
chronization IP address is the address of AX2.)
AX2(config)#interface ethernet 1
AX2(config-if:ethernet1)#enable
AX2(config-if:ethernet1)#interface ethernet 2
AX2(config-if:ethernet2)#enable
AX2(config-if:ethernet2)#interface ethernet 3
AX2(config-if:ethernet3)#enable
AX2(config-if:ethernet3)#cpu-process
AX2(config-if:ethernet3)#interface ethernet 4
AX2(config-if:ethernet4)#enable
AX2(config-if:ethernet4)#cpu-process
AX2(config-if:ethernet4)#interface ethernet 5
AX2(config-if:ethernet5)#enable
AX2(config-if:ethernet5)#exit
AX2(config)#vlan 100
AX2(config-vlan:100)#untagged ethernet 1 to 4
AX2(config-vlan:100)#router-interface ve 100
AX2(config-vlan:100)#exit
AX2(config)#vlan 5
AX2(config-vlan:5)#untagged ethernet 5
AX2(config-vlan:5)#router-interface ve 5
AX2(config-vlan:5)#exit
AX2(config)#interface ve 100
AX2(config-if:ve100)#ip address 172.168.10.23 /24
AX2(config-if:ve100)#interface ve 5
AX2(config-if:ve5)#ip address 172.168.20.3 /24
AX2(config-if:ve5)#exit
AX2(config)#ha id 2
page 120
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Configuring Layer 3 HA (Inline Mode)
page 121
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Configuring Optional Failover Triggers
• VLAN-based failover
• Gateway-based failover
• VIP-based failover
Only the configuration relevant to the triggers is shown. A complete HA configuration also includes the
configuration items described in the previous sections.
To enable HA checking for a VLAN, use the following command at the global configuration level of the
CLI:
The timeout can be 2-600 seconds. You must specify the timeout. Although there is no default, A10
recommends trying 30 seconds.
page 122
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Configuring Optional Failover Triggers
The following command enables VLAN-based failover for VLAN 10 and sets the timeout to 30 seconds:
page 123
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Configuring Optional Failover Triggers
CLI Example
The following commands configure a real server for the gateway and apply the health monitor to it:
NOTE: The current release does not support this feature in the GUI.
To configure HA route awareness for an IPv4 route, use the following command at the global configu-
ration level of the CLI:
page 124
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Configuring Optional Failover Triggers
The destination-ipaddr /mask-length option specifies the destination IPv4 subnet of the route.
The priority-cost weight option specifies the value to subtract from the HA priority of each HA group, if
the IP route table does not have a route to the destination subnet.
The gateway addr option specifies the next-hop gateway for the route.
• dynamic – The route was added by a routing protocol. (This includes redistributed routes.)
The distance num option specifies the metric value (cost) of the route.
Omitting an optional parameter matches on all routes. For example, if you do not specify the next-hop
gateway, routes that match based on the other parameters can have any next-hop gateway.
To configure HA route awareness for an IPv6 route, use the following command at the global configu-
ration level of the CLI:
The destination-ipv6addr/mask-length option specifies the destination IPv6 address. The other options
are the same as those for IPv4 routes. (See above.)
CLI Examples
The following command configures HA route awareness for a default IPv4 route. If this route is not in
the IP route table, 255 is subtracted from the HA priority of all HA groups.
NOTE: The lowest possible HA priority value is 1. Deleting 255 sets the HA prior-
ity value to 1, regardless of the original priority value.
page 125
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Configuring Optional Failover Triggers
The following command configures HA route awareness for a dynamic route to subnet 10.10.10.x with
route cost 10. If the IP route table does not have a dynamic route to this destination with the specified
cost, 10 is subtracted from the HA priority value for each HA group.
The following commands configure HA route awareness for an IPv6 route to 3000::/64. Based on the
combination of these commands, if the IPv6 route table does not contain any routes to the destination,
105 is subtracted from the HA priority of each HA group.
If the IPv6 route table does contain a static route to the destination, but the next-hop gateway is not
2001::1, the ACOS device subtracts only 5 from the HA priority of each HA group.
These procedures apply specifically to the VIP-based failover parameters. You also need to configure
HA global and interface parameters. See “Configuring Global HA Parameters” on page 101 and “Config-
uring HA Interfaces” on page 102.
1. Configure HA global and interface parameters, if you have not already done so.
2. Select Config Mode > SLB > Service > Virtual Server.
3. Click on the virtual server name or click Add to create a new one.
4. Select the HA group from the HA Group drop-down list.
The Dynamic Server Weight field appears.
NOTE: If the HA Group drop-down list does not have any group IDs, you still
need to configure global HA parameters. See “Configuring Global HA
Parameters” on page 101.
5. Enter other parameters if needed (for example, the name, IP address, and virtual service ports).
6. Click OK.
page 126
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Configuring Optional Failover Triggers
Enter this command at the configuration level for a virtual server, to assign the virtual server to the HA
group. The group-id can be 1-31.
Enter this command at the configuration level for the virtual server to enable VIP-based failover. The
server-weight specifies the amount to subtract from the HA group's priority value for each real server
that becomes unavailable. The weight can be 1-255. The default is 1.
CLI Example
The following command configures HA group 6 on ACOS-1 and assigns priority 100 to the group:
The following command enables HA pre-emption. HA pre-emption must be enabled in order for failover
to occur based on HA group priority changes.
ACOS-1(config)#ha preemption-enable
The following commands assign virtual server VIP2 to HA group 6 and enable VIP-based failover for the
virtual server. (For simplicity, this example does not show configuration of the real servers or non-HA
virtual server options.)
The following commands configure the HA settings on ACOS-2. The priority for HA group 6 is set to 80.
The server weight for HA group 6 on VIP2 is set to 10, the same weight value set on ACOS-1. Up to 2
real servers bound to VIP2 can become unavailable on ACOS-1 without triggering a failover. However, if
page 127
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Forcing Active Groups to Change to Standby Status
a third real server becomes unavailable, the priority of HA group 6 is reduced to 70, which is lower than
the priority value set on ACOS-2 for the group. In this case, a failover does occur for VIP2.
If you specify a group ID, only the specified group is forced to change from Active to Standby. If you do
not specify a group ID, all Active groups are forced to change to Standby status.
CLI Example
The following command forces HA group 1 to change from Active to Standby status:
ACOS(config)#ha force-self-standby 1
• Globally enable the feature, specifying the IP address of the other ACOS device in the HA pair.
• Enable the feature on individual virtual ports. Session synchronization is supported for Layer 4
sessions.
page 128
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Enabling Session Synchronization
To globally enable session synchronization, use the following command at the global configuration
level of the CLI:
The ipaddr must be an IP address of a data interface on the other ACOS device.
To enable session synchronization on a virtual port, use the following command at the configuration
level for the port:
[no] ha-conn-mirror
CLI Example
The following command sets the session synchronization address to 10.10.10.66, the IP address of the
other ACOS device in this HA pair:
page 129
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Configuring OSPF-Related HA Parameters
The following commands access the configuration level for a virtual port and enable connection mirror-
ing on the port:
OSPF Awareness of HA
The ACOS device uses HA-aware VIPs, floating IPs, IP NAT pools, and IP range lists with route redistri-
bution to achieve HA-aware dynamic routing. However, by default, the OSPF protocol on the ACOS
device is not aware of the HA state (Active or Standby) of the ACOS device. Consequently, following HA
failover of an ACOS device, other OSPF routers might continue forwarding traffic to the Standby ACOS
device (the former Active ACOS device), instead of the new Active ACOS device.
NOTE: In Layer 3 inline mode, all VLANs on the ACOS device participate in OSPF
routing by default. (See “OSPF Support on Standby ACOS Device in Layer
3 Inline Mode” on page 131.)
You can assign an additional cost to an ACOS device’s OSPF interfaces when the HA status for any
group on the device is Standby. If failover of one or more HA groups from Active to Standby occurs, the
ACOS device does the following:
• Sends Link-State Advertisement (LSA) updates to its OSPF neighbors advertising the interface
cost change
After an OSPF neighbor receives the LSA update, the neighbor updates its OSPF link-state database
with the increased cost of the links. The increased cost biases route selection away from paths that
use the Standby ACOS device.
Similarly, if a failover results in HA status Active for all HA groups on an ACOS device, the device
removes the additional cost added for Standby status from all its OSPF interfaces and sends LSA
updates to advertise the change. The reduced cost biases route selection toward paths that use the
Active ACOS device and away from paths that use the Standby ACOS device.
page 130
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Manually Synchronizing Configuration Information
NOTE: The additional cost for Standby status is removed only if the HA status
for all HA groups on the device is Active. Otherwise, if the status of any of
the groups is Standby, the additional cost remains in effect for all OSPF
interfaces on the device.
To enable OSPF awareness of HA, use the following command at the OSPF configuration level.
The num option specifies the extra cost to add to the ACOS device’s OSPF interfaces, if the HA status of
one or more of the device’s HA groups is Standby. You can specify 1-65535. If the resulting cost value
is more than 65535, the cost is set to 65535.
To limit OSPF adjacency formation to a specific VLAN only, explicitly configure adjacency formation for
that VLAN. In this case, OSPF adjacency formation does not occur for any other VLANs. Use the follow-
ing command at the global configuration level of the CLI:
You can use config-sync options to manually synchronize some or all of the following:
page 131
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Manually Synchronizing Configuration Information
• Data files:
NOTE: Manual config-sync is not required if the ACOS device is running aVCS.
Requirements
Session synchronization (connection mirroring) is required for manual config sync. Config sync uses
the session synchronization link. To enable session synchronization, see “Enabling Session Synchroni-
zation” on page 128.
SSH management access must be enabled on both ends of the link, and the link must be on a data
interface, not on the management interface.
• AAA settings
• Floating IP addresses
• ACLs
• Health monitors
• IP limiting settings
• PBSLB settings
• SLB
• RAM caching
• FWLB
page 132
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Manually Synchronizing Configuration Information
• GSLB
• Data Files:
• aFleX files
• External health check files
• SSL certificates, private-key files, and CRLs
• Class-list files
• Black/white-list files
NOTE: For IP NAT configuration items to be backed up, you must specify an HA
group ID as part of the NAT configuration.
• Hostname
• MAC addresses
• Management IP addresses
• LACP settings
• Interface settings
In certain cases, the target ACOS device is automatically reloaded, but in other cases, reload is either
optional or is not allowed.
Table 4 lists the cases in which reload is automatic, optional, or not allowed.
page 133
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Manually Synchronizing Configuration Information
*. “Active” means the ACOS device is currently the active device for at least one HA group.
†. If the target ACOS device is not reloaded, the GUI Save button on the Standby ACOS device does not blink to
indicate unsaved changes. It is recommended to save the configuration if required to keep the running-config
before the next reboot.
An admin who is logged on with Root or Read-Write (Super Admin) privileges can synchronize for all
Role-Based Administration (RBA) partitions or for a specific partition.
An admin who is logged on with Partition Write privileges can synchronize only for the partition to
which the admin is assigned, and can only synchronize to the startup-config on the other device. The
with-reload and to-running-config options are not available to Partition Write admins.
Caveats
Before synchronizing the Active and Standby ACOS devices, verify that both are running the same soft-
ware version. HA configuration synchronization between two different software versions is not recom-
mended, since some configuration commands in the newer version might not be supported in the older
version.
The HA 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 synchroniza-
tion.
Data that is synchronized from a Standby ACOS device to an Active ACOS device is not available on the
Active ACOS device until that device is rebooted or the software is reloaded.
page 134
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Manually Synchronizing Configuration Information
Performing HA Synchronization
To synchronize the ACOS devices in an HA configuration, use the CLI commands described below.
page 135
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Manually Synchronizing Configuration Information
NOTE: In some cases, reload of the other ACOS device either is automatic or is
not allowed. See Table 4 on page 134.
8. In the Destination IP field, enter the IP address of the other ACOS device.
9. Click OK.
The ha sync commands are available at the global configuration level of the CLI.
To synchronize data files and the running-config, use the following command:
ha sync all
{to-startup-config [with-reload] |
to-running-config}
[all-partitions | partition partition-name]
ipaddr
NOTE: The ipaddr option specifies the IP address of the other ACOS device.
In some cases, reload of the other ACOS device either is automatic or is not allowed. See
Table 4 on page 134.
To synchronize the Active ACOS device’s startup-config to the Standby ACOS device’s startup-config or
running-config, without also synchronizing the data files, use the following command:
ha sync startup-config
{to-startup-config [with-reload] |
to-running-config}
[all-partitions | partition partition-name]
ipaddr
To synchronize the Active ACOS device’s running-config to the Standby ACOS device’s running-config
or startup-config, without also synchronizing the data files, use the following command:
ha sync running-config
{to-startup-config [with-reload] |
to-running-config}
[all-partitions | partition partition-name]
ipaddr
To synchronize the data files by copying the Active ACOS device’s data files to the Standby ACOS
device, use the following command:
page 136
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Tip for Ensuring Fast HA Failover
ha sync data-files
[all-partitions | partition partition-name]
ipaddr
The time it takes for traffic to reconverge following HA failover can vary based on the network environ-
ment, and depends on the following:
• How fast the ARPs (typically, ARPs of the default gateways) are learned on the newly active
ACOS device
• How fast the MAC tables in the devices along the traffic paths are updated
To help reconvergence occur faster, you can create a real server configuration for each router, and use
an ICMP health monitor for checking the health of the gateways. The health checks keep the ARP
entries for the gateway routers active, which can help to reduce reconvergence time considerably.
In a typical SLB configuration that includes a client-side router and a server-side router, configure a real
server for each router.
NOTE: The ACOS device also has an HA gateway health checking feature. This
feature also uses ICMP health monitors. However, if you use the HA
gateway health checking feature, HA failover is triggered if a gateway
fails a health check. If you use real server configurations instead, as
shown in the following examples, HA failover is not triggered by a failed
health check.
page 137
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Tip for Ensuring Fast HA Failover
To use the default ICMP health monitor instead, the configuration is even simpler:
page 138
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
HA To VRRP-A Migration
The current software allows you to automatically migrate your existing High Availability (HA) configura-
tion to Virtual Router Redundancy Protocol (VRRP-A) configuration.
VRRP-A is the A10 Thunder Series and the AX Series implementation of the High Availability protocol
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 signifi-
cantly different from VRRP. VRRP-A will not inter-operate with VRRP.
In this release, VRRP-A, a High Availability (HA) implementation, is mutually exclusive of the HA feature
and is configured separately and not as part of the HA functionality.
Manual configurations can be time consuming and tedious. This automated migration script saves you
time and effort.
In the HA scenario, one ACOS device serves as an “Active” device, while a second ACOS device serves
as a “Standby” device. Issue the vrrp-a ha-migration command on the Active and the Standby ACOS
device to automatically convert the existing HA configuration into a VRRP-A configuration. Once your
conversion is complete, VRRP-A will be operational after you reload both devices.
• Back up your current configuration. Though the script creates its own backup of the existing con-
figuration, it is prudent that you create a copy of the existing configuration. Store this file in case
you need to revert to your original configuration.
• Before you run the vrrp-a ha-migration command on the ACOS devices, review your existing HA
configuration file to address any exceptions that will cause the automatic migration script to fail.
Address these exceptions by manually upgrading your HA configuration or by deleting these con-
figuration statements from your configuration file before migrating your configuration. For a list
of conversion exceptions, review, “Migration Exceptions” on page 140. For high-level details on
HA and VRRP-A, refer to Table 5 on page 140. For details on commands migrated from HA to
VRRP-A, refer to Table 6 on page 142.
Once the conversion process from HA to VRRP-A is complete, if you wish to revert to your HA configu-
ration, use the vrrp-a ha-migration-restore command.
page 139
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Migration Exceptions
During the migration process, some conditions will cause the migration command to fail. An HA config-
uration that does not contain any of the following HA configuration exceptions will result in a success-
ful conversion to VRRP-A. Issue the migration command only after you have removed or manually
upgraded the following HA configuration statements.
NOTE: When you launch the migration script, it will pre-check your HA configu-
ration to ensure that no HA configuration exceptions exist. If it encoun-
ters exceptions, the script will quit automatically without conversion to
VRRP-A.
Assuming no Virtual Chassis (VCS) has been configured, the following exceptions will apply that will
cause the HA migration command to fail:
• Forward-L4-Packet-on-Standby is detected.
• L2 Inline Mode is detected. This includes support for HA Inline Mode (preferred port), HA restart-
time, and HA restart-port-list.
• L3 Inline Mode is detected. This includes support for HA L3 Inline Mode and HA OSPF Inline
mode.
• HA Parameters for Real Servers are detected. This includes support for HA priority cost.
NOTE: If one of the seven exceptions defined above occur, a warning message
will be displayed on your screen and you will be asked to manually
migrate your configuration.
page 140
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
ha inline-mode
ha l3-inline-mode
ha restart-port-list port-type
(available only for HA inline mode)
ha restart-time milliseconds
(available only for HA inline mode)
During the process of migration, your HA commands will be converted in the following manner:
page 141
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
vrrp-a set-id 1
vrrp-a device-id 1
ha group id num priority num vrrp-a vrid num ha group 1 priority 100
priority 100
floating-ip ip-add ha-group num vrrp-a vrid num floating-ip 1.1.1.10 ha-group 1
floating-ip 1.1.1.10
ha interface ethernet port-num vrrp-a interface ethernet port-num ha interface
[router-interface | server-interface | [router-interface | server interface |
both] [no-heartbeat | vlan vlan-id] both] [no-heartbeat | vlan vlan-id] ha interface ethernet 1 vlan 2
page 142
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
vrrp-a vrid 1
tracking-options
vrrp-a vrid 1
preempt-mode disable
ha time-interval 100-ms-units vrrp-a hello-interval 100-ms-units ha time-interval 5
vrrp-a hello-interval 5
ha timeout-retry-count num vrrp-a dead-timer num ha timeout-retry-count 10
vrrp-a dead-timer 10
ha arp-retry num vrrp-a arp-retry num ha arp-retry 5
vrrp-a arp-retry 5
ha forward-l4-packet-on-standby Not supported None
Global Parameters for L2 Inline Mode
ha inline-mode [preferred-port] Not supported None
ha restart-time 100-msec-units Not supported None
ha restart-port-list Not supported None
Global Parameters for L3 Inline Mode
ha l3-inline-mode Not supported None
ha ospf-inline vlan vlan-id Not supported None
ha link-event-delay Not supported ha link-event-delay 20
vrrp-a track-event-delay 20
Parameters for Virtual Servers (appear under slb virtual-server)
page 143
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
ha-group 1
vrid 1
ha-dynamic server-weight It will not be changed Configure a server and configure
the server weight.
Parameters for Virtual Service
ha-conn-mirror It will not be changed ha-conn-mirror
Parameters for Real Servers
ha-priority-cost weight ha-group Not supported None
group-id
Parameters for Real Ports
ha-group group-id Not supported None
Parameters for FWLB
ha-priority-cost weight ha-group Not supported None
group-id
Parameters for IP NAT
Options with ip nat pool, ipv6 nat ip nat pool pool-name starting- ip nat pool abc 1.1.1.20 1.1.1.30
pool, or ip nat ip-nat pool-address ending- netmask /24 ha-group-id 1
ip-nat pool-address netmask
pool-mask vrid vrid-num ip nat pool abc 1.1.1.20 1.1.1.30
netmask /24 vrid 1
Parameters for IP Routes
ha check route des/mask priority- This appears under track options: ha check route 1.1.1.1 /24 gateway
cost weight [gateway ip addr | ipv6 2.2.2.2 priority-cost 10
addr] [protocol route dest/mask priority-cost
weight [gateway ipaddr | ipv6addr] vrrp-a vrid 1
{static|dynamic}][distance num]
[protocol {static | dynamic}][dis-
tance num] tracking-options
To migrate your existing HA configuration into VRRP-A, follow these steps. Begin with migrating your
Standby ACOS device first before your Active ACOS device:
page 144
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
3. From the configuration mode, execute the vrrp-a ha-migration command on the ACOS device designated
as the Standby device:
vrrp-a ha-migration
In case the migration script encounters any configuration scenarios that it cannot handle, it will
quit.
Refer to “Migration Exceptions” on page 140 or Table 6 on page 142. You must remove the excep-
tions (HA configuration statements) before reissuing the vrrp-a ha-migration command.
4. From the privileged exec mode, “ACOS-Active#, reload the standby ACOS device. Issue the reload com-
mand. You cannot issue this command in configuration mode.
NOTE: Make sure that you do not issue the write-memory command. Before the
ACOS device commences the reload, be sure to say no to the question:
System configuration has been modified. Save? [yes/no]:
When it reboots successfully, this device will automatically be placed in standby state. For it to
become the active device, from the global configuration mode, issue the no vrrp-a force-self-
standby command.
Your HA configuration on the Standby device is now complete. Repeat the same steps on the
Active device.
Once both the Active and the Standby ACOS devices are reloaded, verify that you are successfully
able to use VRRP-A as opposed to HA and that everything is working as expected.
5. To check your VRRP-A configuration, issue the show vrrp-a command or the show vrrp-a config com-
mand. See if you can successfully access other VIPs.
page 145
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
Configuration Example
The following example shows successful completion of the migration command on an Active ACOS
device:
ACOS-Active(config)#vrrp-a ha-migration
ACOS boots from hard disk primary. VRRP-A migration only effects on hard disk primary.
Migrate from HA to VRRP-A therein? (y/n) y
HA Migration Starts...
89 lines of configuration are processed
Replacing old config file with new config file.
Configure file has been replaced!
HA configuration has been replaced by VRRP-A configuration! Please reload the system to
finalize the migration!
Warning: After reloading, all vrids in all partitions will be forced standby!
Please manually remove forced-standby setting with command: no vrrp-a force-self-standby
all-partitions
Before you reload the ACOS device, check your running configuration to see that no VRRP-
A configuration exists:
ACOS-Active(config)#show running | sec vrrp-a
ACOS-Active(config)#
ACOS#reload
After you reload, view your running configuration to see that VRRP-A has been configured on your
ACOS device
page 146
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
vrrp-a vrid 1
priority 100
tracking-options
interface ethernet 3 priority-cost 15
interface ethernet 2 priority-cost 15
interface ethernet 1 priority-cost 15
vrrp-a interface ethernet 1 router-interface
vrrp-a interface ethernet 2 server-interface no-heartbeat
vrrp-a interface ethernet 3 vlan 100
To replace the VRRP-A configuration with an HA configuration, use the following command:
vrrp-a ha-migration-restore
This command reboots your system to restore your HA configuration. For example:
page 147
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
page 148
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
This chapter describes the commands used to configure VRRP-A high availability.
page 149
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Global Configuration Mode Commands
• vrrp-a common
• vrrp-a fail-over-policy-template
• vrrp-a force-self-standby
• vrrp-a force-self-standby-persistent
• vrrp-a interface
• vrrp-a l2-inline-peer-ip
• vrrp-a l3-inline-mode
• vrrp-a ospf-inline
• vrrp-a peer-group
• vrrp-a restart-port-list
• vrrp-a vrid
• vrrp-a vrid-lead
vrrp-a common
Description Enter VRRP-A configuration mode, where additional VRRP-A commands are available.
For more information about these additional commands, see “VRRP-A Common
Configuration Mode Commands” on page 160.
vrrp-a fail-over-policy-template
Description Create a failover policy template for VRRP-A. The template provides a mechanism for event
tracking and can enable a policy-based failover to occur. Using a template, assign weight-
related values per event that will be reduced from the fixed total weight of an ACOS device
of 65534. The weight of a device can determine whether the device will serve as an Active or
page 150
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Global Configuration Mode Commands
Standby device. This command allows you to specify the weight value per event that may
cause a device to failover when the event occurs.
Replace template-name with the name that you are assigning for the VRRP-A failover
policy template. This template must be associated to a particular VRID to take effect.
page 151
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Global Configuration Mode Commands
This command changes the CLI to the configuration level for the specified failover-policy template,
where the following commands are available::
Command Description
[no] Specify the IP Address of an IPv4 or IPv6 default gateway that has also
gateway gateway-IP-address been configured as a real server, such as ACOS(config)#slb server GW1
weight value or ACOS(config)#cgnv6 server GW1. VRRP-A periodically tests the sta-
tus of the IP. If a gateway stops responding, VRRP-A reduces the weight
for the VRID. The weight value to subtract can be specified individually for
each gateway’s IP address that you configure in the tracking events list.
[no] interface Specify a weight for each interface that you are planning to track. If the link
interface-type goes down on an Ethernet data port, VRRP-A reduces the weight for the
interface-number VRID. The weight value to subtract can be specified individually for each
weight value Ethernet data port.
[no] route Indicate the IPv4 or IPv6 route that you wish to track. If the route matching
route-number subnet the specified options is not in the data route table, VRRP-A reduces the
weight value weight for the VRID.
[distance num]
[gateway ip]
The distance parameter specifies the route’s administrative distance; if
[protocol
not specified, any distance is matched.
{any | static | dynamic}]
Default None
Usage Use this command on any ACOS device to indicate weight values per tracked event via a
failover policy template.
Example The following commands help you to create a template called “template1” and specify
events that will reduce the weight of the VRID:
page 152
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Global Configuration Mode Commands
weight 200
ACOS(config-fail-over-policy-template:tem...)# gateway 20.20.20.20
weight 200
ACOS(config-fail-over-policy-template:tem...)# vlan 10 timeout 2
weight 200
ACOS(config-fail-over-policy-template:tem...)# route 20.20.20.0 /24
weight 200
ACOS(config-fail-over-policy-template:tem...)# trunk 1 weight 200
vrrp-a force-self-standby
Description Force the ACOS device to change from active to standby or backup.
Parameter Description
all-partitions Causes all partitions to change to standby state.
vrid num Causes only the specified VRID to change to standby state.
enable Enable the forced standby.
disable Disable the forced standby.
Default N/A
Usage This command provides a simple method to force a failover, without the need to change
VRRP-A configuration settings.
page 153
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Global Configuration Mode Commands
vrrp-a force-self-standby-persistent
Description Force a specific VRID to change from active to standby or backup, and remain in backup state
even after the device is reloaded.
Replace num with the VRID number whose state you want to change.
Default N/A
Usage This command provides a simple method to force a failover, without the need to change
VRRP-A configuration settings.
page 154
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Global Configuration Mode Commands
vrrp-a interface
Description Configure a VRRP-A interface.
Parameter Description
port-num Configures the specified interface as the VRRP-A inter-
face.
trunk-num Configures the specified trunk interface as the VRRP-A
interface.
This command places you in a configuration sub-mode where you can configure the type
and state of the interface using the following commands:
Command Description
both Configures the interface so that both real servers and
upstream routers can be reached through this interface.
Mode All up data interfaces within a partition are VRRP-A interfaces for that partition. If an interface
is a tagged member of multiple VLANs, only the VLAN that has the lowest-numbered IP
address for the interface is used as an VRRP-A interface.
Usage This command is valid only in the shared partition. However, the interface(s) specified by the
command are used by all partitions.
Example Configure ethernet interface 3 as the VRRP-A interface, and configure the interface so that
real servers can be reached:
page 155
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Global Configuration Mode Commands
vrrp-a l2-inline-peer-ip
Description Configure a peer IP address in Layer 2 inline mode HA deployments.
ACOS devices require a connection mirror IP address to be configured in Layer 2 inline mode
VRRP-A deployments. A connection mirror interface is a unicast IP address on the peer ACOS
device in the VRRP-A set. This peer IP address is optional in earlier releases but usually is
configured anyway for session synchronization purposes. Specifying a connection mirror IP
address is mandatory for proper operation of ACOS devices in Layer 2 Inline mode VRRP-A.
The connection mirror IP address is used for session synchronization (also called “connection
mirroring”). Until a connection mirror IP address is specified, the ACOS device remains in
Standby state.
If a connection mirror IP address is not configured, a log message such as the following is
generated every 5 minutes:
vrrp-a l3-inline-mode
Description Enable Layer 3 Inline mode.
page 156
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Global Configuration Mode Commands
vrrp-a ospf-inline
Description Enable OSPF inline mode.
Replace vlan-id (1-4094) with the VLAN for which you do not want to filter OSPF packets.
Example Enable OSPF inline mode and do not filter packets on VLAN 13.
vrrp-a peer-group
Description Configure a VRRP-A peer group. This allows you to configure unicast IP/IPv6 addresses
through a layer 3 link (Layer 3 inline mode). Heartbeat messages are routed to the destina-
tion.
This command places you in a sub-configuration mode, where you can configure the peer
address with the peer command:
page 157
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Global Configuration Mode Commands
Parameter Description
port-num Configure the specified ethernet port to receive sync sessions.
trunk-num Configure the specified trunk port to receive sync sessions.
vlan-id If your interface is part of a VLAN, specify the VLAN ID.
Default The default behavior is for VRRP-A (on the backup device) to automatically select the Ether-
net interface on which to receive sync sessions.
vrrp-a restart-port-list
Description Causes the ports on the standby system to be restarted after the transition from the standby
mode to active mode.
Beginning with release 4.0.1, you can configure the restart time using “restart-time” on
page 166.
This command places you in a sub-configuration mode where the following commands are
available:
Command Description
ethernet {port | Configure one or many VRRP-A interface ports to restart.
range_of_ports}
vrid num Enters a VRID sub-configuration mode where the ethernet
port or range is also available:
ACOS(config-restart-port-list)# vrid 1
ACOS(config-restart-port-list-vrid:1)#
NOTE: You must omit at least one port connecting the ACOS devices from the restart port-
list, and heartbeat messages must be enabled on the port. This is so that heartbeat
page 158
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Global Configuration Mode Commands
messages between the ACOS devices are maintained; otherwise, flapping might
occur.
Usage Use this command in inline mode configurations to cause the router connected to the ACOS
device to relearn MACs, including MACs for the real servers. Without this command, the
router might continue to try to reach the real servers through the ACOS device that becomes
the Standby ACOS device after a failover.
VRRP-A port restart toggles a specified set of ports on the formerly Active ACOS device by
disabling the ports, waiting for a specified number of milliseconds, then re-enabling the
ports. Toggling the ports causes the links to go down, which in turn causes the devices on
the other ends of the links to flush their learned MAC entries on the links. The devices then
can relearn MACs through links with the newly Active ACOS device.
vrrp-a vrid
Description Access the configuration level for a VRID.
Specify the VRID ID number. The number of VRIDs available for configuration differs in shared
versus L3V partitions.
This command changes the CLI to the configuration level for the specified VRID.
The commands available at this level are summarized in “VRRP-A VRID Configuration
Commands” on page 167.
vrrp-a vrid-lead
Description Configure a VRID as the “leader” VRID, with other VRIDs to operate as followers.
This command changes the CLI to the configuration level for the specified VRID leader,
where the following command is available:
page 159
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Common Configuration Mode Commands
This command designates this VRID as the leader for a specific partition.
Usage For the leader VRID only, you can configure all capabilities, such as configuring the failover
policy template, the preempt mode, priority, and tracking options. For follower VRIDs, you
can only configure Floating IP Addresses.
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.
Example The following command configures a VRID lead in the shared partition:
• arp-retry
• dead-timer
• device-id
• disable-default-vrid
• enable
• forward-l4-packet-on-standby
• get-ready-time
• hello-interval
• hostid-append-to-vrid
• inline-mode
• preemption-delay
• restart-time
• set-id
• track-event-delay
page 160
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Common Configuration Mode Commands
VRRP-A common configuration mode is accessed by entering the vrrp-a common command:
ACOS(config)#vrrp-a common
arp-retry
Description Change the number of additional gratuitous ARPs, in addition to the first one, an ACOS
device sends after transitioning from Standby to Active. These ARPs are sent at intervals of
500 milliseconds.
Replace num with the number of additional gratuitous ARPs to send, after sending the first
one.
Example Send 3 additional gratuitous ARPs when the system becomes active.
dead-timer
Description Change the number of hello intervals during which a standby device will wait for a hello
message from the Active VRRP-A device, before declaring the device to be down and begin-
ning failover.
Replace num with the maximum number of hello intervals to wait for a hello message.
Usage For information about the hello interval, see “hello-interval” on page 164.
page 161
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Common Configuration Mode Commands
device-id
Description Specify the VRRP-A device ID of the device.
Usage If aVCS is configured, use the same number as the aVCS device ID.
disable
Description Disable VRRP-A on the device.
Syntax disable
disable-default-vrid
Description Disable the default VRID on the shared partition.
page 162
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Common Configuration Mode Commands
enable
Description Enable VRRP-A on the device.
Syntax enable
forward-l4-packet-on-standby
Description Enable Layer 2/3 forwarding of Layer 4 traffic on the Standby ACOS device.
Syntax forward-l4-packet-on-standby
Default Disabled
get-ready-time
Description Configure a delay time interval in 100 millisecond intervals for VRRP-A starting to run after
system start-up.
page 163
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Common Configuration Mode Commands
hello-interval
Description Change the interval at which the active device sends VRRP-A hello messages out its VRRP-A
interfaces.
Replace 100-ms-units with the number of 100 ms (milliseconds) intervals between each
hello message.
hostid-append-to-vrid
Description This command enables you to identify the members of the VRRP-A set by serial number.
The show vrrp-a hostid command can be used to view the serial number of each device in
the VRRP-A set. By default, these serial numbers, which act as unique identifiers for all devices
in the VRRP-A set, are included in the VRRP-A hello packets for all VRIDs.
This command causes the device serial numbers to be sent in the VRRP-A hello packets for
the specified VRID only.
Parameter Description
default VRID 0.
vrid-num A non-0 VRID.
Example Example configuration; device serial numbers should be included in the hello packets for
VRID 3 only:
page 164
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Common Configuration Mode Commands
inline-mode
Description Enable a specified ethernet port or trunk to be in Layer 2 inline hot standby mode.
Inline deployment allows you to insert a pair of ACOS devices into an existing network
without the need to reconfigure other devices in the network.
Inline support applies specifically to network topologies where inserting a pair of ACOS
switches would cause a Layer 2 loop.
Parameter Description
port Ethernet port number.
trunk Trunk number.
Example Configure ethernet port 2 as the port to be used in the inline deployment:
preemption-delay
Description Configure a delay between VRRP-A configuration changes and the time that preemption will
take effect.
For more information about preemption delay, see “Preemption Delay” on page 17.
Replace 100-ms with the number of 100-millisecond units to wait before having
preemption take effect.
page 165
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Common Configuration Mode Commands
restart-time
Description The amount of time for ports on the standby system to be restarted after the transition from
the standby mode to active mode.
Usage This command applies only to VRRP-A interfaces in a restart port list configured by the vrrp-a
restart-port-list command.
set-id
Description Specify the VRRP-A set ID. When the set-id is “0”, the set-id is not configured. To return to the
default setting, use the no command.
track-event-delay
Description Change the delay waited by the ACOS device before beginning failover in response to prior-
ity changes.
Replace 100-ms-units with the number of milliseconds (ms) to wait before beginning
failover.
page 166
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A VRID Configuration Commands
• blade-parameters
• floating-ip
• follow
• preempt-mode
VRRP-A VRID configuration mode is accessed by entering the vrrp-a vrid command. For example:
blade-parameters
Description Enter vBlade configuration mode.
Commands available for configuring blade parameters are described in “VRRP-A Blade
Parameter Configuration Commands” on page 169.
page 167
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A VRID Configuration Commands
floating-ip
Description Specifies the IP addresses that downstream devices should use as their default IPv4 or IPv6
gateways. Regardless of which device is active for the VRID, downstream devices can reach
their default IPv4 or IPv6 gateway at the floating IP address.
Parameter Description
ipaddr The IPv4 address of the floating IP.
ipv6addr The IPv6 address of the floating IP.
Default N/A
Example The following example configures 10.10.10.8 as the floating IP address for the VRID:
follow
Description Configure a follower VRID.
Before you can use this command, you must have configured a leader VRID using the vrrp-a
vrid-lead command.
See “Configuring a Leader and Follower VRID” on page 49 for more information about leader
and follower VRIDs.
NOTE: This command only appears in an L3V partition; it does not appear in the shared
partition.
page 168
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Blade Parameter Configuration Commands
Example This example shows how to follow the lead VRID called “lead1” from the shared partition “p1”
on VRID 1:
ACOS(config)# active-partition p1
Current active partition: p1
ACOS[p1](config)# vrrp-a vrid 1
ACOS[p1](config-vrid:1)# follow vrid-lead lead1
preempt-mode
Description Disables ability for failovers to be caused by priority value changes, including manually
changed priority values, or any VRID tracking-option events.
Parameter Description
disable Disable preempt mode.
threshold num Controls whether failovers can be caused by priority value
changes.
The default is 0.
• fail-over-policy-template
page 169
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Blade Parameter Configuration Commands
• priority
• tracking-options
VRRP-A Blade parameter configuration mode is accessed by entering the blade-parameters command.
For example:
ACOS(config)#vrrp-a vrid 0
ACOS(config-vrid:0)#blade-parameters
ACOS(config-vrid:0-blade-parameters)#
fail-over-policy-template
Description Apply the specified failover policy template to the VRID.
Replace template-name with the name of the template you want to apply to this VRID.
Failover policy templates are created with the vrrp-a fail-over-policy-template command.
Default N/A
Usage This command is changed from release 4.0, where it was available under VRRP-A VRID config-
uration mode.
Example The following example applies the policy template named “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
priority
Description Specifies the preference of the device to become the active device for the VRID. The device
that has the highest priority value for the VRID becomes the active device for the VRID.
Default 150
Usage This command is changed from release 4.0, where it was available under VRRP-A VRID config-
uration mode.
page 170
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Blade Parameter Configuration Commands
ACOS(config)#vrrp-a vrid 0
ACOS(config-vrid:0)#blade-parameters
ACOS(config-vrid:0-blade-parameters)#priority 200
tracking-options
Description Accesses the configuration level for tracking options. Tracking options can dynamically
reduce the priority value used in dynamic failover.
For detailed information about event tracking, see “Events Tracked for Weight via the
Templates” on page 60.
page 171
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Show Commands
Default N/A
Usage This command is changed from release 4.0, where it was available under VRRP-A VRID config-
uration mode.
Example
ACOS(config)# vrrp-a vrid 0
ACOS(config-vrid:0)# blade-parameters
ACOS(config-vrid:0-blade-parameters)# tracking-options
• show vrrp-a
page 172
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Show Commands
show vrrp-a
Description Display VRRP-A information.
Mode All
Example The following example shows sample output for the show vrrp-a command.
Example The following example shows sample output for the show vrrp-a detail command.
page 173
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Show Commands
vrid 1
Unit State Weight Priority
1 (Local) Standby 65534 200 *
became Standby at: Aug 7 10:52:54 2014
for 1 Day, 0 Hour,15 min
2 (Peer) Active 65534 250
vrid that is running: 0 1
VRRP-A stats
Peer: 2, vrid 0
Port 1: received 234336 missed 0
Heartbeat missed: 0
Peer: 2, vrid 1
Port 1: received 234336 missed 0
Heartbeat missed: 0
Total packets received from peer: 468672
page 174
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Show Commands
The following table describes the fields in the preceding command outputs:
Field Description
vrid Virtual router ID
Unit VRRP-A device ID.
“Local” indicates this ACOS device. “Peer” indicates another ACOS device in
the same VRRP-A set.
State VRRP-A state:
• Active
• Standby
Weight Current VRRP-A weight of this device.
Priority Current VRRP-A priority of this device.
vrid that is running VRID that is currently running on the partition.
VRRP-A Stats
The received counter indicates the number of Hello packets received for
the VRID from the peer on this port.
The missed counter indicates the number of Hello packets that were
expected for the VRID but did not arrive from the peer on this port.
Heartbeat missed Number of Hello packets that were expected for the VRID from the peer but
did not arrive on any port.
Total packets received from Total number of Hello packets received from the peer.
peer
Detail Fields
NOTE: The following fields appear only if you use the detail option.
Conn Sync Pkts Number of connection (session) synchronization packets sent by this parti-
tion for the VRID.
Conn Query Pkts Number of session synchronization query packets sent by this partition for
the VRID. Query packets are sent by the standby device to request session
information.
Conn Sync Create Session Pkts Number of creation packets for synchronized connections sent by this par-
tition for the VRID.
page 175
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Show Commands
Field Description
Conn Sync Update Age Pkts Number of update packets for synchronized connections sent by this parti-
tion for the VRID.
Conn Sync Delete Session Pkts Number of delete packets for synchronized connections sent by this parti-
tion for the VRID.
Total packets sent for vrid N Total number of Hello packets sent by this partition for the VRID. Separate
counters are listed for each data port used by this partition to send the
packets.
Dup device ID Number of incoming hello packets that had the same device ID as this
device (the local device).
Set ID mismatch Number of incoming hello packets in which the VRRP-A set ID was differ-
ent from this device’s set ID.
Version mismatch Number of incoming hello packets that had a different VRRP-A software
version that the one running on this device.
Error port Number of hello messages received from a non-existent port.
Error device ID Number of hello messages received from an invalid device ID (any device
ID higher than 8).
Switch to active, switch to Number of times the partition transitioned to Active or Standby for the
standby VRID.
Peer IP IP address of the active peer for the VRID. The active peer is the device to
which this device (the local device) sends sessions for synchronization.
Parameter Description
active Show only active VRIDs in the output.
Mode All
page 176
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Show Commands
Field Description
Local device ID Device ID of the device on which this command was executed.
Partition Name of the partition.
vrid VRID configured in the partition.
Active(P,W) Device number, priority (P), and weight (W) of the active device
in the VRID. For example:
2 (150,65534)
means the active device is device 2, the priority is 150, and the
weight is 65534.
Standby(P,W) Device number, priority (P), and weight (W) of the standby
device in the VRID.
Mode All
Example The following command shows VRRP-A information for all the fail-over policy templates:
page 177
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Show Commands
If you specify the name of the template, the show vrrp-a fail-over-policy
template command displays the contents of that template only.
Mode All
Mode All
Example The following command shows the virtual MAC addresses for the default VRID (0) and VRIDs
1 and 2:
page 178
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Show Commands
Parameter Description
partition- Show a specific partition’s VRID status.
name
Mode All
Field Description
Local device ID Device ID of the device on which this command was executed.
Partition Name of the partition.
vrid VRID configured in the partition.
Active(P,W) Device number, priority (P), and weight (W) of the active device
in the VRID. For example:
2 (150,65534)
means the active device is device 2, the priority is 150, and the
weight is 65534.
Standby(P,W) Device number, priority (P), and weight (W) of the standby
device in the VRID.
page 179
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
VRRP-A Show Commands
Mode All
Mode All
Mode All
ACOS(NOLICENSE)#
This example shows that two lead VRIDs are configured; the “default-vrid-lead” on the shared
partition, and also “lead1” on the shared partition.
page 180
ACOS 4.1.1-P11 Configuring VRRP-A High Availability
page 181
CONTACT US
1 a10networks.com/contact