FortiSIEM Discussions
Jesisidabuliu
New Contributor

Would like to know the process to shutdown and bootup FortiSIEM

I would like to do some upgrades on the server. I need to know which components I should shut down first and which should be shut down last, as well as the order for booting them up. This includes the supervisor, worker, collectors, and NFS.
Thanks.

1 Solution
sioannou
Contributor

Ok, that is easy then.

If the upgrade will take more than 2 - 3 hours and you have a cluster architecture, start by shutting down the collectors first and then workers and finally the Supervisor. 

If the upgrade will take less than 2 - 3 hours you can leave the collectors on. 

 

From there upgrade any RAM or CPUs required and boot the infrastructure, Supervisor first, then workers and then collectors. 

 

Check services with phstatus and the logs on the supervisor and workers for any errors. 

 

The systems should be able to pick up any changes in RAM and CPU without any intervention. 

 

Hope it helps. 

 

S

 

View solution in original post

9 REPLIES 9
sioannou
Contributor

Hi @Jesisidabuliu ,

 

The document at https://docs.fortinet.com/document/fortisiem/7.1.4/upgrade-guide/505373/upgrading-to-fortisiem-7-1-x provides all necessary information you have requested above. 

 

S

Jesisidabuliu

Hi Sioannou,

I'm not going to upgrade the version; I just want to upgrade my server hardware. I'd like to know the steps for switching off and switching back on, specifically which to switch off first and which to switch back on first.

sioannou
Contributor

Hi @Jesisidabuliu ,

 

Is the environment virtualised?

If not, will you be migrating the disks across, are you upgrading your NFS storage hardware as well? 

 

S

Jesisidabuliu

Hi @sioannou ,
Supervisor, worker, and collector are deployed in a VM ESXi. I'm just going to upgrade the memory of the server.

sioannou
Contributor

Ok, that is easy then.

If the upgrade will take more than 2 - 3 hours and you have a cluster architecture, start by shutting down the collectors first and then workers and finally the Supervisor. 

If the upgrade will take less than 2 - 3 hours you can leave the collectors on. 

 

From there upgrade any RAM or CPUs required and boot the infrastructure, Supervisor first, then workers and then collectors. 

 

Check services with phstatus and the logs on the supervisor and workers for any errors. 

 

The systems should be able to pick up any changes in RAM and CPU without any intervention. 

 

Hope it helps. 

 

S

 

Jesisidabuliu

Thank you so much @sioannou.
After everything is up, is there any command to check if the NFS is connected properly?

mnovelli

Hi, you don't need to shutdown Collectors first. Collectors are able to ingest and buffering logs if there are no connection with Workers or Supervisor. Therefore, the rigth procedure is: 

  1. Stop the backend processes on Workers:

    phtools --STOP ALL

  2. Upgrade the Supervisor. Make sure the Supervisor is running the version you have upgraded to and that all processes are up and running.
    # phshowVersion.sh
    # phstatus
  3. Upgrade each Worker one by one
  4. Upgrade Collectors 

 

 

sioannou
Contributor

Yes, 

 

Commands as follows: 

1) first check the mounting point "cat /etc/fstab" check your nfs mounting points. 

2) Execute command "watch -n 1 nfsiostat" 

The command above will show you your Read/Write and error count to the NFS storage. 

 

Make sure no errors are present and that the read and write times are within acceptable limits. 

 

S

Jesisidabuliu

I appreciate your answer. Thank you so much! @sioannou