High Availability

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.

 

To configure HA for Thunder instances, perform the following steps:

  1. Download A10-vThunder_ADC-CONFIGURATION > HIGH-AVAILABILITY template from GitHub.
  2. From Start menu, open command prompt and navigate to this downloaded folder.
  3. Navigate to this downloaded folder and 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.
  4. Configure the following parameters:

    Table 7 : JSON Parameters

    Resource Name

    Description

    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.2.1 as this is the first IP address of the data subnet 1 configuration.

            "rib-list": [
                 {
                 "ip-dest-addr":"0.0.0.0",
                 "ip-mask":"/0",
                 "ip-nexthop-ipv4": [
                     {
                     "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 vThunder-1 is 100, and for vThunder-2 is 99 (100-1). The floating ip address value is generated dynamically after deploying the template. Therefore, its default value under vrid-list should be replaced, see Get FIP address .

            "vrid-list": [
                 {
                 "vrid-val":0,
                 "blade-parameters": {
                     "priority": 100
                 },
                 "floating-ip": {
                     "ip-address-cfg": [
                         {
                           "ip-address":"10.0.3.23"
                         }
                       ]
                     }
                 }
             ],     

    vThunder Host IP

    Specify the Public IP address of one or more vThunder instance/s depending on the deployed template.

            "privateIpList": ["X.X.X.X", "X.X.X.X"]
  5. NOTE: ha-conn-mirror does not work on port 80 and 443.
  6. Verify if all the configurations in the HA_CONFIG_PARAM.json file are correct and save the changes.
  7. From Start menu, open cmd and navigate to this downloaded folder to run the following command to configure HA:

    C:\Users\TestUser\A10-VMware_ADC-CONFIGURATION\HIGH-AVAILABILITY>python HA_CONFIG.py
  8. 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 configured Primary DNS.
    Successfully configured IP Route.
    Successfully configured Vrrp-A Common.
    Successfully configured Idle Timeout. Successfully configured Vrrd 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 configured Primary DNS.
    Successfully configured IP Route.
    Successfully configured Vrrp-A Common.
    Successfully configured Idle Timeout. Successfully configured Vrrd Rid.
    Successfully configured Peer Group. Configurations are saved on partition: shared
    Successfully logged out from vThunder.
    ------------------------------------------------------

COMPANY INFORMATION: Copyright © 2024 A10 Networks, Inc. All Rights Reserved. Legal Notice