Hot!Fortigate Firewall M-S Cluster Failover

Author
jsr
New Member
  • Total Posts : 6
  • Scores: 0
  • Reward points: 0
  • Joined: 2020/03/11 00:37:01
  • Status: offline
2020/09/25 05:57:45 (permalink)
0

Fortigate Firewall M-S Cluster Failover

Hi All, 
 
Can anyone share good and easy document for Firmware upgradation step for master-slave firewall cluster.
 
Would also like to clear a confusion related to priority/failover and reboot of unit. 
 
We have active-passive cluster , Master unit priority is 120 and Slave priority is 119. In coming days we have a plan for Failover testing of these units. So, What is the recommended steps for failover and fallback.
 
As I know we can do it by reducing the Priority of Master , In our case we can reduce Master priority to 118 so that Slave unit (119) can takes over and become Master ,  and for fallback Increase the the priority of currently slave (Which was master earlier) from 118 priority to 120.
 
Will changing the priority of Master ... instantly trigger failover  OR devices need reboot to make the changes effective.
 
What is the CLI command to reboot the Slave unit ..
 
Rgs
 
 
 
 
 
 
#1

3 Replies Related Threads

    Toshi Esumi
    Expert Member
    • Total Posts : 2284
    • Scores: 219
    • Reward points: 0
    • Joined: 2014/11/06 09:56:42
    • Status: offline
    Re: Fortigate Firewall M-S Cluster Failover 2020/09/25 16:28:18 (permalink)
    0
    To me, newer version of Cookbooks are still not good enough to provide the key info like primary election flow, etc. So still come back to 6.0 Handbook HA section:
    https://docs.fortinet.com/document/fortigate/6.0.0/handbook/643919/high-availability
     
    I'm not sure if changing priority value for override would trigger an election process immediately because we never used priority/override since it would cause one more outage when the cause of the original outage was resolved (switch back). But I would assume it would trigger it immediately. 
    However, it would not be a good way to test HA because a priority change wouldn't happen in real fail-over situations. And the switch-back I mentioned wouldn't happen if you change the priorities.
     
    Either the primary unit fails, or an interface/a path to destinations fails for the primary unit in reality. You should simulate those real case scenarios against how you configured HA.
    #2
    TecnetRuss
    Bronze Member
    • Total Posts : 40
    • Scores: 12
    • Reward points: 0
    • Joined: 2017/02/27 13:14:44
    • Status: offline
    Re: Fortigate Firewall M-S Cluster Failover 2020/09/25 17:38:38 (permalink)
    0
    Upgrading the firmware on an HA cluster is as easy as upgrading the firmware on a single unit.  You simply upgrade the firmware on the primary unit as you normally would and it takes care of upgrading the secondary unit automatically, failing over between the units automatically as each one is rebooted in turn so you have virtually no downtime:
     
    https://docs.fortinet.com/document/fortigate/6.0.0/cookbook/51458/optional-upgrading-the-firmware-for-the-ha-cluster
     
    This is the process we've always followed with our customers' A/P HA clusters and we've found it to work well.  The only thing different really vs. a single unit firmware upgrade is that it does take a little longer because both units are upgraded and rebooted in sequence, and if you're following a multi-step upgrade path you do have to wait for the cluster to re-form before doing the next firmware upgrade.
     
    Tip: run "diag debug config-error-log read" after every firmware upgrade as a safety check to see if any part of your configuration has been dropped by the new firmware.
     
    Russ
    NSE7
    #3
    AdiMizil
    New Member
    • Total Posts : 20
    • Scores: 1
    • Reward points: 0
    • Joined: 2019/12/28 13:01:17
    • Status: offline
    Re: Fortigate Firewall M-S Cluster Failover 2020/09/26 09:05:27 (permalink)
    0
    For failover you can follow the next steps:

    Be sure to be connected to a Lan which is directly connected to the management network and you open ssh connections to both fw.

    1. Run 'Execute reboot' on FW2 to reload the FW.
    2. Once fw has rebooted, On FW1 run 'diagnose sys ha reset-uptime' (This will failover the traffic to slave FW2 and slave becomes master).
    3. Run 'Execute reboot' on FW1 to reload the FW.
    4. On FW2 run 'diagnose sys ha reset-uptime' (This will failover the traffic to slave FW1. FW1 retains the previous role of Master).

    I hope that it helps.

    my full hereto here https://community.spicewo...rewall-in-a-ha-cluster
    #4
    Jump to:
    © 2020 APG vNext Commercial Version 5.5