Highly-available setup
You can set up a cluster of Stick Table Aggregators configured for high-availability.
As an example, we will consider the following setup:

Configure the high-availability cluster Stick Table Aggregators
In a cluster of highly available Stick Table Aggregator, you have two levels of aggregators.
The top-level should have the same configuration files at /etc/hapee-extras/hapee-stktagg.cfg as those we created in the Multi-level setup section.
We will implement the following sandbox configuration:
Top-level Stick Table Aggregator aggr3 |
|
---|---|
Top-level Stick Table Aggregator aggr4 |
|
The high-availability cluster Stick Table Aggregators' configuration files are the same on both nodes, except for the local
, self-referencing peer
directive in the aggregations
section.
Top-level Stick Table Aggregators do not communicate.
Configure the intermediate Stick Table Aggregators
We will edit the intermediate Stick Table Aggregator configuration files we created in the Multi-level setup section. We will implement the following sandbox configuration:
Intermediate Stick Table Aggregator aggr1 |
|
---|---|
Intermediate Stick Table Aggregator aggr2 |
|
-
Declare the new top-level aggr4 Stick Table Aggregator on the aggr1 and aggr2 intermediate Stick Table Aggregators configuration file.
aggregations myaggr peer
aggr1192.168.56.111:11111 local peerhapee1192.168.56.101:44444 peerhapee2192.168.56.102:44444 peeraggr3192.168.56.113:11111 up peeraggr4192.168.56.114:11111 up from .uncombined to .aggr forward .l2 -
Define a cluster of Stick Table Aggregators through the
group
directive.aggregations myaggr peer
aggr1192.168.56.111:11111 local peerhapee1192.168.56.101:44444 peerhapee2192.168.56.102:44444 peeraggr3192.168.56.113:11111 up group 1 peeraggr4192.168.56.114:11111 up group 1 from .uncombined to .aggr forward .l2
As for the multi-level setup, the intermediate Stick Table Aggregators' configuration files are the same, except for the peer
directives in the aggregations
section, but the ones containing the up
keyword.
There are now two peer
directives with the up
keyword. Intermediate Stick Table Aggregators are aware of two top-level Stick Table Aggregators seen as a single cluster.
Configure the HAProxy Enterprise nodes
The HAProxy Enterprise configuration files are the same as for the multi-level setup.
Next up
Display aggregated data