Skip to main content
fgallardo1
Staff
Staff
Aug 21, 2025 2:13 PM UTC

Technical Tip: How to gracefully stop and start a FortiSIEM cluster for snapshots

  • Jul 13, 2026 5:56 AM UTC
  • 0 replies
  • 3223 views
  • Translate All

Description

This article describes how to gracefully stop and start a FortiSIEM cluster.

Scope

FortiSIEM.

Solution

There is no option to shut down or reboot the system through the Web interface, so this process must be done through the FortiSIEM Command Line.


When preparing a migration project or an upgrade with clean snapshots, it is important to gracefully stop the nodes and do it in the proper order, and the same for restarting them.

 

Sequence to power off:

  1. ClickHouse Data workers.

  2. ClickHouse Keeper workers.

  3. Super follower.

  4. Super leader.


  • Commands to gracefully stop:

phtools --stop all
service crond stop
killall -9 phMonitor
phxctl stop


This should complete within 5 minutes. If any process fails to stop, press Ctrl+C and follow the below:

systemctl stop ClickHouseKeeper
systemctl stop phClickHouseMonitor
systemctl stop clickhouse-server
service httpd stop


Additional for Super:

service $(systemctl list-units --type=service | grep postgres | awk '{print $1}') stop 


su admin
/opt/glassfish/bin/asadmin stop-domain
exit


phstatus 
Every 1.0s: /opt/phoenix/bin/phstatus.py                                                                                                                                                                       fsm1: Wed Aug 20 19:49:47 2025
System uptime:  19:13:46 up 50:50,  1 user,  load average: 0.57, 1.76, 1.91
Tasks: 34 total, 0 running, 5 sleeping, 29 stopped, 0 zombie
Cpu(s): 8 cores, 0.2%us, 0.2%sy, 0.0%ni, 99.4%id, 0.0%wa, 0.1%hi, 0.0%si, 0.0%st
Mem: 31946952k total, 2993260k used, 25829068k free, 12540k buffers
Swap: 26058744k total, 0k used, 26058744k free, 4260748k cached

PROCESS                  UPTIME         CPU%           VIRT_MEM       RES_MEM
phParser                 DOWN
phQueryMaster            DOWN
phRuleMaster             DOWN
phRuleWorker             DOWN
phQueryWorker            DOWN
phDataManager            DOWN
phDiscover               DOWN
phReportWorker           DOWN
phReportMaster           DOWN
phIpIdentityWorker       DOWN
phIpIdentityMaster       DOWN
phAgentManager           DOWN
phCheckpoint             DOWN
phPerfMonitor            DOWN
phDataPurger             DOWN
phEventForwarder         DOWN
phMonitor                DOWN
Apache                   DOWN
Rsyslogd                 36:08       0              192m           6124k
Node.js-charting         DOWN
Node.js-pm2              DOWN
Node.js-exporter         DOWN
Node.js-jsreport         DOWN
phFortiInsightAI         DOWN
phAnomalyWorker          DOWN
AppSvr                   DOWN
DBSvr                    DOWN
phAnomalyMaster          DOWN
phGenerativeAI           36:08          0              587m           111m
SVNLite                  36:09          0              11822m         453m
phClickHouseMonitor      DOWN
ClickHouseServer         36:32          0              4419m          835m
ClickHouseKeeper         37:42          0              1236m          145m
Redis                    DOWN 


Finally, run the following commands to shut down or reboot. This will close all remaining running applications and processes.

 

shutdown -h now


Once the all the nodes are shut down, snapshot can be performed.


  • Sequence to power on:

  1. Super leader.

  2. Super follower.

  3. ClickHouse Keeper workers.

  4. ClickHouse Data workers.

    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024