Fortinet white logo
Fortinet white logo

hc-settings

hc-settings

Configure the unit as a HA-Cluster mode unit.

syntax

hc-settings [-h|-l|-sc|-t|-n|-c|-p|-i|-m]

Option

Description

-h (or --help)

Display help information.

-l

Show current HA cluster configuration.

-sc

Add this unit to an HA cluster.

Option

Description

-t<N|M|P|R>

Set the role of this unit in the HA cluster as:

N

Standalone unit.

M

Primary unit.

P

Secondary unit.

R

Worker unit.

-n<name>

Set alias name of the unit.

-c<cluster-name>

When the unit is operating as the Primary node, set the HA cluster name. This name is used for validation when configuring other unit types.

-p<auth-code>

When the unit is operating as the Primary node, set the HA cluster authentication code. This code is used for validation when configuring other unit types.

-i<interface>

Specify the interface for cluster internal communication.

-m

Join the cluster as a Cluster Management unit (Primary and Secondary units only). If the unit does not have a tracer or rating engine installed, this option is mandatory, and the unit will operate in Cluster Management mode.

Example

hc-settings -sc -tM -nPrimay -cClusterTest -p123abc -iport2

hc-settings

hc-settings

Configure the unit as a HA-Cluster mode unit.

syntax

hc-settings [-h|-l|-sc|-t|-n|-c|-p|-i|-m]

Option

Description

-h (or --help)

Display help information.

-l

Show current HA cluster configuration.

-sc

Add this unit to an HA cluster.

Option

Description

-t<N|M|P|R>

Set the role of this unit in the HA cluster as:

N

Standalone unit.

M

Primary unit.

P

Secondary unit.

R

Worker unit.

-n<name>

Set alias name of the unit.

-c<cluster-name>

When the unit is operating as the Primary node, set the HA cluster name. This name is used for validation when configuring other unit types.

-p<auth-code>

When the unit is operating as the Primary node, set the HA cluster authentication code. This code is used for validation when configuring other unit types.

-i<interface>

Specify the interface for cluster internal communication.

-m

Join the cluster as a Cluster Management unit (Primary and Secondary units only). If the unit does not have a tracer or rating engine installed, this option is mandatory, and the unit will operate in Cluster Management mode.

Example

hc-settings -sc -tM -nPrimay -cClusterTest -p123abc -iport2