Recovery
If high availability has been implemented and a failover has occurred, you must correct the reason for the failover before restarting your Primary Server.
Restart the primary server
Use the Resume Control button on the Dashboard Summary panel to start the primary again. When the Resume Control button is clicked, critical files are copied from the secondary back to the primary and control is returned to the primary. On the FortiNAC Server, FortiNAC Control Server and FortiNAC Control Manager appliances, the database is also copied.
If you are using high availability for a FortiNAC Control Server and Application Server pair and this configuration does not use a shared IP address, when failover occurs both servers failover. To return control to the primary pair, click the Resume Control button on the Dashboard Summary panel for either of the two servers in the pair. This causes both the FortiNAC Control Server and Application Server in the primary pair to start again and control is returned to both servers in the primary pair.
If for any reason the database was not replicated correctly on the secondary before failover, the recovery process gives you the option of retaining the older database located on the primary. |
- Click Bookmarks > Dashboard.
- Scroll to the Summary panel.
- Click the Resume Control button for the server that should resume control.
- The primary server restarts. Database and configuration files are copied from the secondary to the primary. Processes are started on the primary. Then the secondary server relinquishes control.
This process may take a few moments while the data is synchronized between the two servers. |
Manually restart, stop or force a failover
The scripts in the table below allow you to control High Availability from the CLI. Scripts to restart the primary servers vary depending on the configuration implemented. For configuration options see Primary and secondary configuration.
CLI scripts
Server Type |
Primary Recovery |
Shutdown Without Failover |
Shutdown With Failover |
---|---|---|---|
Shared IP address |
|||
FortiNAC Server FortiNAC Control Server FortiNAC Control Manager |
hsRestartCMMaster |
shutdownCampusMgr |
shutdownCampusMgr -kill |
FortiNAC Application Server |
hsRestartCMRCMaster |
shutdownNessus |
shutdownNessus -kill |
No shared IP address |
|||
FortiNAC Control Server |
hsRestartPair (restarts both servers in the pair) |
shutdownCampusMgr |
shutdownCampusMgr -kill |
FortiNAC Application Server |
hsRestartPair (restarts both servers in the pair) |
shutdownNessus |
shutdownNessus -kill |