Skip to main content
FortiKoala
Staff
Staff
October 1, 2018

Technical Tip: How to restart processes via CLI in High Availability (HA) Environment

  • October 1, 2018
  • 0 replies
  • 3672 views

Description

 

This article describes how to restart control processes via CLI in a HA environment. 

 

Scope

 
FortiNAC.


Solution

 

The following steps restart the NAC processes in a HA Environment:

  1. SSH as root to the Primary Control Server or Primary Control/Application Server.
  2. Shut down the processes. Enter the following command:  
 
shutdownNAC
 
  1. Enter the following command:    
 
jps    --->(use the jps command until you no longer see any 'Yams' process running, this could take 5 - 20 seconds)

 

  1. Shut down the control process. Enter the following command:  
 
shutdownNAC -kill

 

  1. If this is a Control/Application Server then proceed to step 10. If the Control & Application Servers are separate appliances, SSH is the root of the Primary Application Server and continues to step 6.
  2. Shut down the processes. Enter the following command:  
 
shutdownNAC 

 

  1. Enter the following command:    
 
jps  <----- Use the jps command to validate there are no 'Yams' process running.
 
  1. Shut down the control process. Enter the following command:  
 
shutdownNAC -kill
 
  1. SSH as root to the Primary Control Server.
  2. Start back up the processes. Enter the following command:  
 
startupNAC  

The message 'Master Process is Running' should appear. 
 
Note: 
  • The startup could take anywhere between roughly 5-10 minutes. Suggest waiting that long before attempting to access the Administrative UI.
  • This does not reboot the appliance.
  • This does not trigger a failover in a High Availability (HA) environment.
  • NAC will not switch VLANs, serve Captive Portal pages or respond to RADIUS requests until processes are back up.

 

Related articles

Technical Note: Reboot Control and Application Servers Configured for High Availability

Technical Note: How to restart processes via CLI