execute : ha manage
 
ha manage
Use this command to set the device priority of a standby appliance in the HA group.
If the HA cluster is configured to override uptime and consider the device priority first, this can cause the HA cluster to failover to a new active appliance (whichever appliance has a smaller device priority number). Triggering a failover can be useful if, for example, you need to connect to the web UI of the standby FortiWeb in order to view its log messages.
 
Unlike on FortiGate appliances, this command does not connect you to another appliance in the HA group via the HA link. To connect to the standby appliance, either use a local console, or switch the roles of the main and standby appliance so that you can connect to the former standby through the network, while it is acting as main.
To use this command, your administrator account’s access control profile must have either w or rw permission to the sysgrp area. For more information, see “Permissions”.
Syntax
execute ha manage <serial-number_str> <priority_int>
Variable
Description
Default
manage <serial-number_str>
Type the serial number of the FortiWeb appliance whose device priority you want to configure.
To display the serial number of the standby, type:
execute ha manage ?
No default.
<priority_int>
Type the device priority number. Smaller device priority numbers indicate higher priority. The appliance with the smallest number will usually become the active appliance. For details, see the FortiWeb Administration Guide.
The valid range is from 0 to 9.
No default.
Example
This example sets the device priority of the standby appliance to 4. Since the device priority of the active appliance is 5, the standby appliance now has a greater device priority (smaller number). If the device priority override is enabled, this causes a failover to occur, and FV-1KC3R11111111 becomes the new active appliance.
execute ha manage FV-1KC3R11111111 4
Related topics
execute ha disconnect
execute ha synchronize
diagnose system ha status
diagnose system ha mac
config system global