Set Weight - Fortinet FortiGate FortiGate-1000A Administration Manual

Fortinet fortigate fortigate-1000a: user guide
Hide thumbs Also See for FortiGate FortiGate-1000A:
Table of Contents

Advertisement

HA
104
config system ha
set weight <priority-id_integer> <weight_integer>
end
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. For example,
you might want to reduce the number of connections processed by the primary cluster
unit by increasing the weight assigned to the subordinate units.
Weight values are entered as two values; the priority order of the unit in the cluster (in
the range 0 to 31) followed by its weight (also in the range 0 to 31). For example, if you
have a cluster of three units, you can enter the following commands to configure the
weight values for each unit:
Table 6: Example weights for three cluster units
Cluster unit priority
0
1
2
config system ha

set weight 0 1

set weight 1 3
set weight 2 3
end
This command has the following results:
The first connection is processed by the primary unit (priority 0, weight 1)
The next three connections are processed by the first subordinate unit (priority 1,
weight 3)
The next three connections are processed by the second subordinate unit (priority
2, weight 3)
The subordinate units process more connections than the primary unit, and both
subordinate units, on average, process the same number of connections.
To configure load balancing TCP and virus scanning traffic
By default a FortiGate HA cluster load balances virus scanning sessions among all of
the cluster units. All other traffic is processed by the primary unit. Using the CLI, you
can configure the cluster to load balance TCP traffic and virus scanning among all
cluster units. All UDP, ICMP, multicast, and broadcast traffic continues to be
processed by the primary unit.
To load balance TCP and virus scanning among all cluster units, enter the command:
config system ha
set load-balance-all enable
end
01-28011-0254-20051115
Weight
1
3
3
System Config
Fortinet Inc.

Advertisement

Table of Contents
loading

Table of Contents