Fortinet white logo
Fortinet white logo

hc-primary

hc-primary

Configure the unit as a HA-Cluster primary unit.

syntax

hc-primary [-h|-l|-r|-sg|-u|-s|-e|-d|-si|-i|-a|-r|-so|-a|-p|-m]

Option Description

-h (or --help)

Help information.

-l

Show current configuration.

-r <unit sn>

Remove a secondary or worker unit from the cluster by its serial number.

-sg

General settings.

Option Description

-u

Turn off file scans on the primary unit.

-s<10–100>

Turn on file scans on the primary unit with 10%–100% processing capacity.

-e

Enable encrypted traffic between HA cluster members.

-d

Disable encrypted traffic between HA cluster members.

-si

Configure external IP addresses for the cluster.

Option Description

-i <interface>

Specify the interface used for external communication.

-a <IP/netmask>

Add an external IP address to the specified interface. The IP will be configured as an alias IP and must be in the same subnet as the interface IP.

-r <IP/netmask>

Remove an external IP address from the specified interface.

-so

Set/Unset HA mode of the cluster (Available on Primary only).

Option Description

-a

Set Primary and Secondary units to Active-Active mode.

-p

Set Primary and Secondary units to Active-Passive mode.

-m

Set Primary and Secondary units to Cluster Management mode

hc-primary

hc-primary

Configure the unit as a HA-Cluster primary unit.

syntax

hc-primary [-h|-l|-r|-sg|-u|-s|-e|-d|-si|-i|-a|-r|-so|-a|-p|-m]

Option Description

-h (or --help)

Help information.

-l

Show current configuration.

-r <unit sn>

Remove a secondary or worker unit from the cluster by its serial number.

-sg

General settings.

Option Description

-u

Turn off file scans on the primary unit.

-s<10–100>

Turn on file scans on the primary unit with 10%–100% processing capacity.

-e

Enable encrypted traffic between HA cluster members.

-d

Disable encrypted traffic between HA cluster members.

-si

Configure external IP addresses for the cluster.

Option Description

-i <interface>

Specify the interface used for external communication.

-a <IP/netmask>

Add an external IP address to the specified interface. The IP will be configured as an alias IP and must be in the same subnet as the interface IP.

-r <IP/netmask>

Remove an external IP address from the specified interface.

-so

Set/Unset HA mode of the cluster (Available on Primary only).

Option Description

-a

Set Primary and Secondary units to Active-Active mode.

-p

Set Primary and Secondary units to Active-Passive mode.

-m

Set Primary and Secondary units to Cluster Management mode