Technical Tip: Reboot control and application servers configured for High Availability
Description
Â
This article describes a procedure to reboot appliances in a Control Server/Application Server pair configured for High Availability (HA) without triggering a failover.
Â
Note the following:
The steps outlined are for accessing appliances via CLI. If CLI access is not available, contact support for assistance.Â
To reboot using the Administration UI, refer to the Power management section of the Administration Guide in this document: FortiNAC.
During this process, all management functionality is stopped:
VLAN switching.
Captive Portal pages.
RADIUS processing.
Registration of endpoints.
Scope
Â
FortiNAC.
Solution
Â
Important: If using an L2 HA configuration, do not access the CLI using the Virtual IP (VIP). The VIP becomes inaccessible once the control process is stopped.
Gracefully shut down processes on all servers.
Â
Shut down the control process in Primary Servers. In the Primary Control Server CLI, type:
shutdownNACWait 30 seconds. This shuts down control processes for both Primary Control and Application Servers.
To verify that Control Process 'Yams' is no longer running, run the following command in the Control Server and Application Server CLI:
jpsShut down the management process. In each server CLI, type:
shutdownNAC -killReboot appliances.
In Primary Application Server CLI, type:
rebootWait 30 seconds.
In Primary Control Server CLI, type:
rebootWait until the Primary Control and Application Servers are up and running (by confirming SSH access and Administration UI access). The startup could take anywhere between roughly 5–10 minutes. Suggest waiting that long before attempting to access the UI.
In the Secondary Application Server CLI, type:
rebootIn the Secondary Control Server CLI, type:
rebootAfter 4-5 minutes, confirm that the Administration UI dashboard shows all servers up. The Primary Server(s) should be in control and display the following status:
Primary Servers: Running - In Control.
Secondary Servers: Running - Not In Control.
On FortiNAC-F, the above commands need to be executed in the shell using the following command:
execute enter-shell
$shutdownNAC
$shutdownNAC -kill
$rebootÂ
Related article:
Technical Tip: How to Power Down appliances in High Availability configuration
Guide: CLI reference manualÂ
