This template applies high availability configuration to the Thunder instances. It automatically synchronizes Thunder configurations between the active and standby Thunder instances. In the event of a failover, it designates the other Thunder instance as active to ensure uninterrupted traffic routing. For this functionality, it is essential for both Thunder instances to have identical resources and configurations.
High availability can be configured only within same availability zone in the same region.
Thunder instances should have the same ACOS versions; otherwise, traffic flow will be disrupted.
To configure HA for Thunder instances, perform the following steps:
Download A10-vThunder_ADC-CONFIGURATION > HIGH-AVAILABILITY template from GitHub.
Open the HA_CONFIG_PARAM.json with a text editor.
NOTE: | Each parameter has a default value mentioned in the parameter file which can be modified as required. |
Configure the following parameters:
Resource Name |
Description |
---|---|
Public IP addresses |
Specify the Public IP address of one or more vThunder instance/s depending on the deployed template. "publicIpList": ["X.X.X.X","X.X.X.X"], |
Instance IDs |
Specify the EC2 instance ID list in the same order as the Public IP addresses. "instanceIdList":["XXXXXXXXXX","XXXXXXXXXX"], To get the EC2 Instance ID, go to AWS > <region_name> > EC2 > Instances > <instance_id>. |
ftpServerName |
Specify the name of the FTP server to upload keys. "ftpServerName":"ftp-server", |
DNS |
Specify a domain namespace. "dns": { "value": "8.8.8.8" }, |
Network Gateway IP |
Specify a Network Gateway IP. The default value of network gateway IP address is 10.0.1.1 as this is the first IP address of the default management subnet configuration. The default value of next network gateway IP address is 10.0.2.1 as this is the first IP address of the datain subnet configuration. "rib-list": [ { "ip-dest-addr":"0.0.0.0", "ip-mask":"/0", "ip-nexthop-ipv4": [ { "ip-next-hop": "10.0.1.1" }, { "ip-next-hop": "10.0.2.1" } ] } ], |
VRRP-A |
Specify the value as 1 to enable VRRP-A. "vrrp-a": { "set-id":1 }, |
Terminal Idle Timeout |
Specify the interval in minutes for closing connection when there is no input detected. The value '0' means never timeout. "terminal": { "idle-timeout":0 }, |
VRID details |
Specify the VRID details. The default value of vrid is 0. The default priority for the first vThunder instance is 100, and for second the vThunder is 99 (100-1). "vrid-list": [ { "vrid-val": 0, "blade-parameters": { "priority": 100 } } ] |
Run the following command to configure HA:
PS C:\Users\TestUser\A10-vThunder_ADC-CONFIGURATION\HIGH-AVAILABILITY> python ./HA_CONFIG.py
Provide password for the vThunder instances/s whose IP address is mentioned in the HA_CONFIG_PARAM.json file.
If HA is configured successfully, the following message is displayed:
Configuring vThunder with ip x.x.x.x
Enter vThunder password: *********
Successfully uploaded AWS access keys to vThunder
Successfully configured Primary DNS.
Successfully configured IP Route.
Successfully configured Vrrp-A Common. Successfully configured Idle Timeout. Successfully configured Vrrp Rid. Successfully configured Peer Group. Configurations are saved on partition: shared Successfully logged out from vThunder.
------------------------------------------------------------------ Configuring vThunder with ip x.x.x.x
Enter vThunder password: *********
Successfully uploaded AWS access keys to vThunder
Successfully configured Primary DNS.
Successfully configured IP Route.
Successfully configured Vrrp-A Common. Successfully configured Idle Timeout. Successfully configured Vrrp Rid. Successfully configured Peer Group. Configurations are saved on partition: shared Successfully logged out from vThunder. ------------------------------------------------------------------