FortiSIEM
FortiSIEM provides Security Information and Event Management (SIEM) and User and Entity Behavior Analytics (UEBA)
RuiChang
Staff
Staff
Article Id 408618
Description

 

This article provides methods to failover the DB leader manually via Patroni.

 

Scope

 

FortiSIEM v7.3.0 and above.

 

Solution

 

If users notice the DB leader is not configured as expected, users may execute the following commands to failover to the desired node:

 

  1. Get the patroni table and node name:

 

patronictl -c /etc/patroni/patroni.yml list

 

 

  1. Use the failover command, inputting the node name to set as new DB Leader:


patronictl -c /etc/patroni/patroni.yml failover

 

Contributors