Skip to main content
FortiKoala
Staff
Staff
September 28, 2018

Technical Tip: How to power down via CLI

  • September 28, 2018
  • 0 replies
  • 3143 views

Description

 

This article describes the steps necessary to gracefully power down the appliance via CLI.

 

Scope

 

FortiNAC.

Solution

 

The following procedure gracefully stops all processes before powering down the appliances.
  1. Login to the Control Server CLI as root.
  2. Stop the Network Sentry Services.  If a Control Server/Application Server pair, this will stop services on both appliances.


shutdownNAC

 

  1. Wait 30 seconds.
  2. Kill CampusMgr/NAC Processes. If a Control Server/Application Server pair, this must be done on both appliances.


shutdownNAC -kill

 

  1. Shutdown and halt the system.


shutdown -h now

 

  1. 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.

 

For FortiNAC-F legacy, do the following on CLI:
 
execute service stop nac
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