Technical Tip: How to power down via CLI
Description
This article describes the steps necessary to gracefully power down the appliance via CLI.
Scope
FortiNAC.
Solution
- Login to the Control Server CLI as root.
- Stop the Network Sentry Services. If a Control Server/Application Server pair, this will stop services on both appliances.
shutdownNAC
- Wait 30 seconds.
- Kill CampusMgr/NAC Processes. If a Control Server/Application Server pair, this must be done on both appliances.
shutdownNAC -kill
- Shutdown and halt the system.
shutdown -h now
- For virtual machines, select the server from the list and click the Power Off button. This process may take 30 seconds. For physical appliances, push the power button.
execute shutdown
To power the appliance(s) back up, use the power button for physical appliances or the console for the virtual machine.
Important:
For a Control Server/Application Server pair, power up the Application Server first. Otherwise, they may not sync correctly and a restart of Network Sentry services may be necessary.
Related articles:
Technical Tip: How to power down via Administration UI
Technical Tip: How to Power Down appliances in High Availability configuration