92 Fortinet Inc.
Advanced HA options High availability
Configuring weighted-round-robin weights
By default, in active-active HA mode the weighted round-robin schedule assigns the
same weight to each FortiGate unit in the cluster. Once the cluster is configured to use
the weighted round-robin schedule, you can use the set system ha weight
command to configure a weight value for each cluster unit. The weight value sets the
maximum number of connections that are sent to a cluster unit before a connection
can be sent to the next cluster unit. You can set weight values to control the number of
connections processed by each cluster unit. One use for this technique would be to
reduce the number of connections processed by the primary cluster unit, by
increasing the weight assigned to the subordinate cluster units.
Weight values are entered in order according to the priority of the units in the cluster.
For example, if you have a cluster of 3 FortiGate units, you can enter the following
command to configure the weight values for each unit:
set system ha weight 1 3 3
This command has the following results:
The first connection is processed by the primary unit
The next three connections are processed by the first subordinate unit
The next three connections are processed by the second subordinate unit
The subordinate units will process more connections than the primary unit, and both
subordinate units will on average process the same number of connections.