Fortinet white logo
Fortinet white logo

CLI Reference

execute ha

execute ha

ha

This topic includes the following commands:

execute ha disconnect

Disconnect from HA cluster.

execute ha disconnect <string>

Parameter

Description

Type

Size

<string>

Serial number.

string

execute ha failover set

Set the given virtual cluster as secondary and trigger failover. Argument optional; if argument omitted, all virtual clusters are affected.

execute ha failover set [integer]

Parameter

Description

Type

Size

[integer]

Virtual cluster ID. Optional; if not given, all virtual clusters are affected.

string

execute ha failover status

Display whether the given virtual cluster has been set as secondary for failover. Argument optional; if no argument given, display statuses of all virtual clusters.

execute ha failover status [integer]

Parameter

Description

Type

Size

[integer]

Virtual cluster ID. Optional; if not given, all virtual clusters are affected.

string

execute ha failover unset

If the given virtual cluster has been set as secondary before, unset it so HA will use normal criteria to decide the primary. May trigger a failover. Argument optional; if argument not given, all virtual clusters are affected.

execute ha failover unset [integer]

Parameter

Description

Type

Size

[integer]

Virtual cluster ID. Optional; if not given, all virtual clusters are affected.

string

execute ha manage

HA cluster index.

execute ha manage <string>

Parameter

Description

Type

Size

<string>

HA cluster index.

string

execute ha synchronize

HA synchronize commands.

execute ha synchronize <string>

Parameter

Description

Type

Size

<string>

File type.

string

execute ha

execute ha

ha

This topic includes the following commands:

execute ha disconnect

Disconnect from HA cluster.

execute ha disconnect <string>

Parameter

Description

Type

Size

<string>

Serial number.

string

execute ha failover set

Set the given virtual cluster as secondary and trigger failover. Argument optional; if argument omitted, all virtual clusters are affected.

execute ha failover set [integer]

Parameter

Description

Type

Size

[integer]

Virtual cluster ID. Optional; if not given, all virtual clusters are affected.

string

execute ha failover status

Display whether the given virtual cluster has been set as secondary for failover. Argument optional; if no argument given, display statuses of all virtual clusters.

execute ha failover status [integer]

Parameter

Description

Type

Size

[integer]

Virtual cluster ID. Optional; if not given, all virtual clusters are affected.

string

execute ha failover unset

If the given virtual cluster has been set as secondary before, unset it so HA will use normal criteria to decide the primary. May trigger a failover. Argument optional; if argument not given, all virtual clusters are affected.

execute ha failover unset [integer]

Parameter

Description

Type

Size

[integer]

Virtual cluster ID. Optional; if not given, all virtual clusters are affected.

string

execute ha manage

HA cluster index.

execute ha manage <string>

Parameter

Description

Type

Size

<string>

HA cluster index.

string

execute ha synchronize

HA synchronize commands.

execute ha synchronize <string>

Parameter

Description

Type

Size

<string>

File type.

string