Fortinet black logo

CLI Reference

system manager-mode

system manager-mode

The autoscaling options on FortiWeb are automatically configured after initial deployment. You can use this command to change the default configurations.

Syntax

config system manager

set mode {server | client | standalone}

set server-type {physical}

set server-ip <server_ip_address>

set server-port <integer>

set config-sync-port <integer>

set connection-interval <integer>

set connection-lost-threshold <integer>

set callback-url <string>

set callback-interval <integer>

set server-public-ip <server_public_ip_address>

next

end

Variable Description Default

mode {server | client | standalone}

After the VMs in auto-scaling cluster are deployed, the function APP elects a server VM. You can use this command to change the role of the VM. No default.

server-type {physical}

Currently we only support physical server. More types will be supported in future releases. physical

server-ip <server_ip_address>

Enter port1's IP address of the server. port1's IP address.

server-port

Enter a TCP port number. The clients use server-ip: server-port to communicate with the server, for example, register with the server to join, leave, etc. 996

config-sync-port <integer>

Enter the port that is used for configuration synchronization. The configurations of the server will be synchronized to all the clients in the cluster. 997
connection-interval <integer> Enter the number of seconds between each server-client connection. The valid range is from 1–10. 10
connection-lost-threshold <integer> Enter the number of seconds which must pass after the server confirmed that the client's connection is lost. The valid range is 1–10 . 3
callback-url <string> The URL of the function APP. The VMs in the auto-scaling cluster uses this URL to communicate with the function APP.
This URL is broadcasted to all the VMs in the cluster when they are deployed, so that they can communicate with the function APP. The function APP will then elect a server VM among all the available VMs.
function APP's IP address

callback-interval <integer>

Specify the interval time for FortiWeb-VM to send heartbeat request to callback URL. The valid range is 10-600 seconds.

30

server-public-ip The public IP address of the Server. You can use this address to access the server's GUI and CLI. server VM's IP address

system manager-mode

The autoscaling options on FortiWeb are automatically configured after initial deployment. You can use this command to change the default configurations.

Syntax

config system manager

set mode {server | client | standalone}

set server-type {physical}

set server-ip <server_ip_address>

set server-port <integer>

set config-sync-port <integer>

set connection-interval <integer>

set connection-lost-threshold <integer>

set callback-url <string>

set callback-interval <integer>

set server-public-ip <server_public_ip_address>

next

end

Variable Description Default

mode {server | client | standalone}

After the VMs in auto-scaling cluster are deployed, the function APP elects a server VM. You can use this command to change the role of the VM. No default.

server-type {physical}

Currently we only support physical server. More types will be supported in future releases. physical

server-ip <server_ip_address>

Enter port1's IP address of the server. port1's IP address.

server-port

Enter a TCP port number. The clients use server-ip: server-port to communicate with the server, for example, register with the server to join, leave, etc. 996

config-sync-port <integer>

Enter the port that is used for configuration synchronization. The configurations of the server will be synchronized to all the clients in the cluster. 997
connection-interval <integer> Enter the number of seconds between each server-client connection. The valid range is from 1–10. 10
connection-lost-threshold <integer> Enter the number of seconds which must pass after the server confirmed that the client's connection is lost. The valid range is 1–10 . 3
callback-url <string> The URL of the function APP. The VMs in the auto-scaling cluster uses this URL to communicate with the function APP.
This URL is broadcasted to all the VMs in the cluster when they are deployed, so that they can communicate with the function APP. The function APP will then elect a server VM among all the available VMs.
function APP's IP address

callback-interval <integer>

Specify the interval time for FortiWeb-VM to send heartbeat request to callback URL. The valid range is 10-600 seconds.

30

server-public-ip The public IP address of the Server. You can use this address to access the server's GUI and CLI. server VM's IP address