ACOS 4.1.1-P11 Configuring Scaleout: For A10 Thunder Series and AX™ Series 29 May 2019
ACOS 4.1.1-P11 Configuring Scaleout: For A10 Thunder Series and AX™ Series 29 May 2019
1-P11
Configuring Scaleout
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 Scaleout
Contents
page 4
ACOS 4.1.1-P11 Configuring Scaleout
Configuring Scaleout
• Scaleout Overview
Scaleout Overview
This section contains the following:
• What is Scaleout?
• Scaleout Benefits
• Scaleout Topology
What is Scaleout?
Scaleout is a solution where multiple ACOS devices form a cluster to provide the same set of services.
The Scaleout technology enables ADC services to be provided across multiple devices for load distribu-
tion. The services provided by a virtual IP or virtual port can be spanned across multiple devices that
form a Scaleout cluster.
It also provides an option to dynamically add or remove devices to the cluster. When the number of
devices in the cluster changes the traffic gets rebalanced. This may cause traffic to be serviced by a
different device in the cluster.
page 5
ACOS 4.1.1-P11 Configuring Scaleout
Scaleout Overview
Scaleout Benefits
This section describes some use cases where Scaleout can be successfully implemented.
• Surge Relief
Scaleout allows new devices to be provisioned in or out of the cluster (see ““Graceful Addition and
Removal of Devices” on page 17) seamlessly to accommodate peak utilization scenarios.
Surge Relief
In situations where an ACOS device is suddenly presented with a flow of traffic that causes it to work
near full capacity, the load of other traffic can be temporarily distributed across other ACOS devices in
the Scaleout cluster. When the load reduces, the service can easily be rolled back to the devices origi-
nally handling that service.
Scaleout Topology
Figure 1 illustrates a sample basic Scaleout topology.
page 6
ACOS 4.1.1-P11 Configuring Scaleout
Scaleout Overview
To configure the devices that belong to the cluster, use the cluster-devices com-
mand.
Cluster Service The cluster service relates to a specific type of service provided by a VIP or virtual port
being scaled out across multiple devices (cluster nodes).
Each cluster service can be provided by different sets of devices in the cluster. For
example, in the example above, HTTP traffic to a single VIP is scaled out across Device
1 and Device 2, and TCP traffic to a single virtual port is scaled out across Device 2 and
Device 3.
Use the template scaleout command to identify the services that you want to scale
out. For more information, see the Command Line Interface Reference, or “Scaleout Con-
figuration Example” on page 10.
page 7
ACOS 4.1.1-P11 Configuring Scaleout
Scaleout Overview
This traffic map is updated and synced across the ACOS devices whenever there is any
change to the cluster (device gets added/removed).
The incoming traffic streams are classified and distributed to the devices within a clus-
ter for processing. Incoming traffic is distributed based on a hash of the source IP. See
“Understanding Traffic Distribution” on page 9 for more information.
A traffic map shows how the incoming traffic is distributed across devices. You can use
the show scaleout trafifc-map command to view information about the traffic
maps on each device. For more information, see show scaleout.
Cluster Master A single device in the cluster that keeps track of all other devices in that cluster.
The cluster master is responsible for programming the various network elements to
classify and re-distribute traffic as required among the various devices in the cluster. It
also keeps track of service nodes leaving and joining the cluster and takes appropriate
actions. See Election of the Cluster Masterfor more information.
Service Nodes Each device in the Scaleout cluster is a service node. All service nodes process incom-
ing traffic and each node acts as a traffic classification and distribution engine. The
upstream router or switch may forward traffic to one of the devices in the cluster based
on routing or ARP responses. The devices inspect the packet and may redirect it to
other nodes within the cluster if the state for handling that packet is on another node.
The devices also serve (provide) the corresponding virtual service for the packet’s desti-
nation. The mapping of traffic segments and their owners is created by the cluster mas-
ter and pushed to all service nodes.
The Cluster Master and the Service Nodes are also more generically referred to as Clus-
ter nodes.
Device Group A group of devices in the cluster that provide a particular cluster service.
Each VIP, for example, does not need to be scaled out to all the service nodes in a clus-
ter. A subset of cluster nodes can be defined as a “device group,” which can then be
bound to a VIP being scaled. The service nodes in the device group will handle traffic
related to that VIP.
For example, Device 1 and Device 2 form a device group for HTTP traffic on the VIP.
Similarly, Device 2 and Device 3 form another device group for TCP traffic on the VIP.
page 8
ACOS 4.1.1-P11 Configuring Scaleout
Understanding Traffic Distribution
The entire set of traffic destined for a cluster service is classified into multiple subsets, or buckets:
• Different buckets from different cluster services may be assigned to a single ACOS device. This is
useful for properly distributing traffic destined for a particular cluster service across service
nodes.
page 9
ACOS 4.1.1-P11 Configuring Scaleout
Election of the Cluster Master
The cluster devices may be connected to the rest of the network via an upstream router or a switch.
Based on how that device forwards the traffic (for example, a router might have a default route for a
VIP in a different subnet or ARP entry for a VIP in the same subnet), it will reach one of the cluster
nodes. The cluster node may need to redirect the incoming packet based on a hash of the client IP if
that node is not the owner of the set of traffic for the client IP.
All cluster nodes must be Layer-2 connected with high throughput links so that any redirection of pack-
ets can be done efficiently.
To configure NAT pools for Scaleout, all NAT pools must be configured on all devices. The example in
“Configure Scaleout IP NAT Pool Group on the vMaster describes this configuration.
If you have VCS configured, you can also use the follow-vcs command to use the priorities and device
IDs already configured for VCS.
Figure 3 illustrates a sample topology that will serve as the basis for the configuration example in this
section.
page 10
ACOS 4.1.1-P11 Configuring Scaleout
Scaleout Configuration Example
NOTE: This example makes the assumption that basic network configuration
for your device is already in place; this aspect of the configuration is not
covered in this example.
page 11
ACOS 4.1.1-P11 Configuring Scaleout
Scaleout Configuration Example
3. Set up the Scaleout NAT Pool Group on the vMaster. (See Configure Scaleout IP NAT Pool Group
on the vMaster.)
4. Set up the SLB configuration on the vMaster. (See Configure SLB on the vMaster.)
1. Specify the VRRP-A device ID and set ID using the following commands:
ACOS(config)# hostname ACOS1
ACOS1(config)# vrrp-a common
ACOS1(config-common)# set-id 8
ACOS1(config-common)# device-id 1
ACOS1(config-common)# enable
ACOS1(config-common)# exit
2. Enable VCS:
ACOS1(config)# vcs enable
page 12
ACOS 4.1.1-P11 Configuring Scaleout
Scaleout Configuration Example
1. Specify the VRRP-A device ID and set ID using the following commands:
ACOS(config)# hostname ACOS2
ACOS2(config)# vrrp-a common
ACOS2(config-common)# set-id 8
ACOS2(config-common)# device-id 2
ACOS2(config-common)# enable
ACOS2(config-common)# exit
2. Enable VCS:
ACOS2(config)# vcs enable
1. Specify the VRRP-A device ID and set ID using the following commands:
ACOS(config)# hostname ACOS3
ACOS3(config)# vrrp-a common
ACOS3(config-common)# set-id 8
ACOS3(config-common)# device-id 3
ACOS3(config-common)# enable
ACOS3(config-common)# exit
2. Enable VCS:
ACOS3(config)# vcs enable
page 13
ACOS 4.1.1-P11 Configuring Scaleout
Configure Scaleout on the vMaster
The changed configuration of aVCS will take effect only after 'vcs reload'
Configure the Scaleout cluster. In a VCS environment, you can use the follow-vcs command to use the
device ID and priority settings from your VCS configuration.
ACOS1-vMaster[8/1](config:3)# scaleout 1
ACOS1-vMaster[8/1](config:3-scaleout:1)# follow-vcs
ACOS1-vMaster[8/1](config:3-scaleout:1)#
If you are using VCS and do not necessarily want the vMaster device to be the same as the cluster
master, do not use the follow-vcs command.
Without VCS, you must manually specify the Scaleout device ID and priority settings. For example, in
Device 3:
ACOS3(config)# scaleout 1
ACOS3(config-scaleout:3)# local-device
ACOS3(config-scaleout:3-local-device)# priority 120
ACOS3(config-scaleout:3-local-device)# id 3
ACOS3(config-scaleout:3-local-device)# exit
page 14
ACOS 4.1.1-P11 Configuring Scaleout
Configure Scaleout on the vMaster
ACOS3(config-scaleout:3)# exit
ACOS3(config)#
This section shows how to configure each node in the cluster. On the vMaster, enter the following con-
figuration:
ACOS1-vMaster[8/1](config:3)# scaleout 1
ACOS1-vMaster[8/1](config:3-scaleout:1)# cluster-devices
ACOS1-vMaster[8/1](config:3-scaleout:1-cluster-devices)# device-id 1
ACOS1-vMaster[8/1](config:3-scaleout:1-cluster-devices-de...)# ip 192.168.230.56
ACOS1-vMaster[8/1](config:3-scaleout:1-cluster-devices-de...)# exit
ACOS1-vMaster[8/1](config:3-scaleout:1-cluster-devices)# device-id 2
ACOS1-vMaster[8/1](config:3-scaleout:1-cluster-devices-de...)# ip 192.168.230.57
ACOS1-vMaster[8/1](config:3-scaleout:1-cluster-devices-de...)# exit
ACOS1-vMaster[8/1](config:3-scaleout:1-cluster-devices)# device-id 3
ACOS1-vMaster[8/1](config:3-scaleout:1-cluster-devices-de...)# ip 192.168.230.58
ACOS1-vMaster[8/1](config:3-scaleout:1-cluster-devices-de...)# exit
ACOS1-vMaster[8/1](config:3-scaleout:1-cluster-devices)# exit
ACOS1-vMaster[8/1](config:3-scaleout:1)#
In non-VCS environments, this configuration must be manually duplicated on all devices in the cluster.
This section shows how to configure the device groups; in our example, we have only one device group,
with all three devices in the cluster serving a single VIP. On the vMaster, enter the following configura-
tion:
ACOS1-vMaster[8/1](config:3)# scaleout 1
ACOS1-vMaster[8/1](config:3-scaleout:1)# device-groups
ACOS1-vMaster[8/1](config:3-scaleout:1-device-groups)# device-group 1
ACOS1-vMaster[8/1](config:3-scaleout:1-device-groups-devi...)# device-id 1 to 3
ACOS1-vMaster[8/1](config:3-scaleout:1-device-groups-devi...)# exit
ACOS1-vMaster[8/1](config:3-scaleout:1-device-groups)# exit
ACOS1-vMaster[8/1](config:3-scaleout:1)# exit
ACOS1-vMaster[8/1](config:3)#
page 15
ACOS 4.1.1-P11 Configuring Scaleout
Configure Scaleout on the vMaster
In non-VCS environments, this configuration must be manually duplicated on all devices in the cluster.
ACOS1-vMaster[8/1](config:3)# scaleout 1
ACOS1-vMaster[8/1](config:3-scaleout:1)# service-config
ACOS1-vMaster[8/1](config:3-scaleout:1-service-config)# template adc1
ACOS1-vMaster[8/1](config:3-scaleout:1-service-config-tem...)# device-group 1
ACOS1-vMaster[8/1](config:3-scaleout:1-service-config-tem...)# exit
ACOS1-vMaster[8/1](config:3-scaleout:1-service-config)# exit
ACOS1-vMaster[8/1](config:3-scaleout:1)#
After configuring a Scaleout service template, apply it to the service. In our example, the template
“adc1” will be applied to the VIP and it’s service. Specify “pg” for the NAT pool group that was config-
ured in “Configure Scaleout IP NAT Pool Group on the vMaster.
page 16
ACOS 4.1.1-P11 Configuring Scaleout
Graceful Addition and Removal of Devices
In both cases:
1. The device notifies the cluster master that it wants to join the cluster.
2. The cluster master generates a new potential bucket map with the new device as part of the map-
pings.
If any of the existing devices in the cluster have open sessions for which this new device will be the
new active device, the sessions are synced to this device.
3. Finally, after a short delay, the new device takes over the sessions and starts processing the traffic
actively.
Suppose we want to add a device to the Scaleout cluster defined in Figure 3. To accomplish this:
1. Add the device-specific configuration for device 4 (the device being added to the cluster) to each
device in the cluster:
ACOS4(config)# scaleout 1
ACOS4(config-scaleout:4)# device-context 4
ACOS4(config-scaleout:4)# local-device
ACOS4(config-scaleout:4-local-device)# priority 4
ACOS4(config-scaleout:4-local-device)# id 4
ACOS4(config)# scaleout 1
ACOS4(config-scaleout:4)# cluster-devices
ACOS(config-scaleout:4-cluster-devices)# device-id 4
page 17
ACOS 4.1.1-P11 Configuring Scaleout
Graceful Addition and Removal of Devices
ACOS(config-scaleout:4-cluster-devices-de...)# ip 10.6.14.14
2. Add the IP NAT pool for device 4 and make it a member of the NAT pool group pg. The updated
NAT pool group should look like this on all devices:
ACOS4(config:1)# ip nat pool p1 20.0.0.11 20.0.0.11 netmask /24 scaleout-device-id 1
ACOS4(config:1)# ip nat pool p2 20.0.0.12 20.0.0.12 netmask /24 scaleout-device-id 2
ACOS4(config:1)# ip nat pool p3 20.0.0.13 20.0.0.13 netmask /24 scaleout-device-id 3
ACOS4(config:1)# ip nat pool p4 20.0.0.14 20.0.0.14 netmask /24 scaleout-device-id 4
3. Configure device 4 so that its configuration contains the same cluster information as the other
devices in the cluster. You will need to add the configuration for device 3, device 2, and device 1 on
device 4.
1. The device notifies the cluster master that it will be shut down. This triggers the cluster master to
assign a new owner for each bucket.
2. The old owner (device going to be shut down) performs a session sync to the new owner for all
Layer 4 connections.
3. The cluster master updates the bucket mappings and pushes the configuration to all active
devices in the cluster.
4. The admin should wait for all layer 7 sessions on the device to close, at which point it is safe to
shut down the device.
ACOS(config)# scaleout 64
ACOS(config-scaleout:64)# cluster-devices
ACOS(config-scaleout:64-cluster-devices)# device-id 3
ACOS(config-scaleout:64-cluster-devices-d...)# disable
page 18
ACOS 4.1.1-P11 Configuring Scaleout
Scaleout Configuration Notes
• The devices providing the services in the Scaleout feature must be configured together in a clus-
ter. Up to eight devices can be configured in the cluster, and all devices must be Layer 2 adjacent.
• Each device in the cluster must have unique IP and MAC addresses.
• Support for Layer 2 redirection, Layer 4, Fast-HTTP, and basic Layer 7 functionality is provided.
Network SNMP is not supported.
• Support for per-device NAT is available.
• Support for Scaleout control plane connectivity is available through the management port or data
ports.
page 19
ACOS 4.1.1-P11 Configuring Scaleout
Scaleout Configuration Notes
page 20
ACOS 4.1.1-P11 Configuring Scaleout
page 21
ACOS 4.1.1-P11 Configuring Scaleout
scaleout
Description Enter Scaleout configuration mode.
Replace cluster-id with the ID of the cluster you are creating or configuring.
Each ACOS device can only be a member of one cluster.
ACOS(config)# scaleout 3
ACOS(config-scaleout:3)#
ACOS(config)# scaleout 3
ACOS(config-scaleout:3)#
• cluster-devices
• device-groups
• follow-vcs
• local-device
• service-config
page 22
ACOS 4.1.1-P11 Configuring Scaleout
cluster-devices
Description Enter Scaleout cluster configuration mode to configure devices in a cluster.
Syntax cluster-devices
Example The following example shows how to enter cluster configuration mode for
cluster 3, then add three devices to the cluster. The IP addresses of the
devices represent each device’s management IP address. In a VCS environ-
ment, you can also use the floating IP of the virtual chassis:
ACOS(config)# scaleout 3
ACOS(config-scaleout:3)# cluster-devices
ACOS(config-scaleout:3-cluster-devices)# device-id 1
ACOS(config-scaleout:3-cluster-devices-de...)# ip 192.168.230.56
ACOS(config-scaleout:3-cluster-devices-de...)# device-id 2
ACOS(config-scaleout:3-cluster-devices-de...)# ip 192.168.230.57
ACOS(config-scaleout:3-cluster-devices-de...)# device-id 3
ACOS(config-scaleout:3-cluster-devices-de...)# ip 192.168.230.58
device-groups
Description Enter device groups configuration mode to configure Scaleout device
groups.
After this command, use the device-id command to add devices to the
device group:
[no] device-id device-id [to device-id]
You can specify a single device or a range of devices using the to option.
Example The following example shows how to enter device groups configuration
mode for cluster 3, then creates a device group and adds a range of devices
(1 to 3) to the group:
page 23
ACOS 4.1.1-P11 Configuring Scaleout
ACOS(config)# scaleout 3
ACOS(config-scaleout:3)# device-groups
ACOS(config-scaleout:3-device-groups)# device-group 1
ACOS(config-scaleout:3-device-groups-devi...)# device-id 1 to 3
follow-vcs
Description Follow VCS priority and device ID configuration settings.
Example The following example shows how to disable the follow VCS priority.
ACOS(config)# scaleout 3
ACOS(config-scaleout:3)# no follow-vcs
local-device
Description Enter Scaleout local device configuration mode to configure the local device
in a cluster.
Syntax [no] local-device
Usage After using this command, the commands in “Scaleout Local Device Config-
uration Commands” on page 25 are available.
Example The following example shows how to enter local device configuration mode
for cluster 3 and set the priority of the local device:
ACOS(config)# scaleout 3
ACOS(config-scaleout:3)# local-device
ACOS(config-scaleout:3-local-device)# pripority 1
service-config
Description Enter service configuration mode to configure Scaleout templates.
Syntax service-config
page 24
ACOS 4.1.1-P11 Configuring Scaleout
Example The following example shows how to enter service configuration mode for
cluster 3, and then create a template called “so_template” with a bucket
count of 128:
ACOS(config)# scaleout 3
ACOS(config-scaleout:3)# service-config
ACOS(config-scaleout:3-service-config)# template so_template
ACOS(config-scaleout:3-service-config-tem...)# bucket-count 128
ACOS(config)# scaleout 3
ACOS(config-scaleout:3)# local-device
ACOS(config-scaleout:3-local-device)#
• id
• priority
id
Description Assign an ID to the local device.
Example The following example shows how to assign an ID of 4 to the local device.
ACOS(config)# scaleout 3
page 25
ACOS 4.1.1-P11 Configuring Scaleout
ACOS(config-scaleout:3)# local-device
ACOS(config-scaleout:3-local-device)# id 4
priority
Description Assign a priority to the local device.
Example The following example shows how to assign a priority of 150 to the local
device.
ACOS(config)# scaleout 3
ACOS(config-scaleout:3)# local-device
ACOS(config-scaleout:3-local-device)# priority 150
show scaleout
Description View Scaleout information.
page 26
ACOS 4.1.1-P11 Configuring Scaleout
[src-ip ipv4-addr/mask-length]
]
Parameter Description
fixed-nat Show Scaleout fixed NAT mapping:
Mode All
Example The following example shows sample output for the show scaleout com-
mand:
Device 6 - Active
Device 7 - Active
Device 8 - Active (Local)
page 27
ACOS 4.1.1-P11 Configuring Scaleout
Field Description
Role Shows the role of the local device (the device on which you are
executing the show scaleout command:
• Cluster Master - the local device has the highest priority of all
devices in the cluster.
• Standby Node - the local device does not have the highest pri-
ority of the devices in the cluster.
Example The following example shows sample output for show scaleout traffic-map
with a specific service s1_vs:
Bucket Active Device Standby Device New Act Device New Stby Device
0 8 6 - -
1 8 6 - -
2 6 8 - -
3 6 8 - -
4 6 7 - -
5 6 7 - -
6 6 7 - -
For bucket 0, the active device is device 8, and the standby device is device
6.
Example The following example shows sample output for show scaleout traffic-map
with a specific source IP address:
Example The following example shows sample output for show scaleout traffic-map
with a specific service s1_vs:
page 28
ACOS 4.1.1-P11 Configuring Scaleout
Example The following example shows sample output for show scaleout nat-pool.
Example The following example shows sample output for show scaleout fixed-nat
inside-user.
Example The following example shows sample output for show scaleout fixed-nat
nat-address.
page 29
ACOS 4.1.1-P11 Configuring Scaleout
page 30
ACOS 4.1.1-P11 Configuring Scaleout
page 31
CONTACT US
3 a10networks.com/contact