Skip to main content

FORTIGATE ACTIVE PASSIVE UPGRADE

FORTIGATE ACTIVE PASSIVE UPGRADE :

This blog post shows the detailed procedures to follow and to upgrade the firmware in the Fortigate Firewall. This Post was supports for any platform or the Version you are going to upgrade in the Fortigate Firewall

This Post was divided into three parts : Pre-Upgrade Process Upgrade Process Post-Upgrade Process

PRE UPGRADE STEPS:


1   1)   Go to the below website and check the Upgrade Path
https://docs.fortinet.com/upgrade-tool



2)      Next Login to the Fortigate Console and check the HA Status ( it is to be In sync and higher Priority enabled for the required primary device)


3)      Login to the Console and give the command
Config global – get sys ha status

Also check session pickup is in enable to avoid session interruptions in failover.


4)      Download all the Firmware’s and the md5 files in the list and check with the software MD5sum.exe to avoid the download errors.
NOTE: Must and should configuration backup have to take for every version in the above steps because During an upgrade, there is a background process that takes the existing configuration file and changes any commands and settings to comply with the syntax of the new firmware. Skipping a firmware version that should have been part of the upgrade path means that the syntax of one or more commands didn’t get updated to work with the current firmware

5)      Get ready with the Console access for the Disaster recovery plan, ensure you are able to login through console before upgrade.

UPGRADE PROCESS: 

And click the Upgrade, Fortigate will upgrade the slave device first and make the slave reboot.
So there is no impact because the slave device is in the standby mode.
Once the slave device come up with the new firmware then the slave send an heartbeat message to make it as a primary and the old primary device upgrade itself and will automatically reboot.
Now the Primary is the Slave device
And the Secondary is the Old Primary device

We have enabled override and given the priority to the higher value for the old primary device(which is in the slave) so it automatically negotiates and become primary.

Check the get sys ha status command and check the sync status is in sync
Once it is in sync
Repeat the same process for all the versions until you get the required version 6.0.8 

     POST UPGRADE PROCESS: 

              1)  Check both the devices are in the sync and the required device is in the active state
        2)  Check both the devices are in the sync and the required device is in the active state                


            Backup once and  Check the traffic flow


REVERT BACK PROCESS IF ANY ISSUES:


Follow the Path the same in the reverse order to downgrade to the 5.4.7 as shown below
6.0.8 –  5.6.11 – 5.6.9– 5.4.9-5.4.7
Once you are in the 5.4.7 then upload the backup configuration file taken from the old 5.4.7 version

Or else install the 5.4.7 directly and perform factory reset then upload the configuration backup file of 5.4.7



NOTE: Must and should configuration backup have to take for every version in the above steps because During an upgrade, there is a background process that takes the existing configuration file and changes any commands and settings to comply with the syntax of the new firmware. Skipping a firmware version that should have been part of the upgrade path means that the syntax of one or more commands didn’t get updated to work with the current firmware



                                                                                                                                      Written By
                                                                                                                                     G Sudhakar
                                                                                                                                  Network Engineer

Popular posts from this blog

UPGRADING EOS in the ARISTA Switches

UPGRADING EOS in the ARISTA Switches: EOS is the Firmware for Arista Switches whereas IOS for Cisco. This blog post shows the detailed procedures to follow and to upgrade the EOS in the Arista Switches. This Post was supports for any platform or the Version you are going to upgrade in the Arista Switches. This Post was divided into three parts : Pre-Upgrade Process Upgrade Process Post-Upgrade Process PRE-UPGRADING-PROCESS: 1       1)        Check the Upgrade Path tool by clicking the below link. https://www.arista.com/en/support/mlag-portal/mlaglist and confirm it is in mlag issu compatible 2)       Check if the  STP agent is restartable by giving the command switch-1# show spanning-tree bridge detail | grep agent Stp agent restartable                      :      ...

Destination IP Address of DHCP

When DHCP starts the client has no idea about the network it’s currently on. Some clients may store the IP address they were previously on and send this out with the Discovery and Request packets, but the network is not truly set up until after the server has sent it’s final Ack message. Because of this the server does not know the network’s true broadcast address, however there is an address mapped for this very purpose. 255.255.255.255 If you run arp -a you will see that every interface has the following mapping 255.255.255.255 ff-ff-ff-ff-ff-ff static This means that just like a networks broadcast IP this message will be transmitted to all network adapters on the local network segment. The DHCP server listens for messages heading for port 67 UDP while the DHCP client listens for messages on port 68 UDP Lets lake a look at a DORA sequence in Wireshark 148 16.564069 0.0.0.0 255.255.255.255 DHCP 342 DHCP Discover - Transaction ID 0xaccba128 149 16.5...

Loadbalancing on Static Routes

If you have two routers / two Layer3 switches connected with two L3 links (two paths) you can route with two equal static routes towards the same prefix and the router will load balance traffic across both links. The idea is to make two same static routes on the same router but with different next-hops. The question was: Which link or which route will be used? And if the traffic will be load balanced, which mechanism will be used to share the traffic across both of links. ip route 10.0.0.0 255.0.0.0 192.168.10.2 ip route 10.0.0.0 255.0.0.0 192.168.11.2 If both routes have the same destination prefix and no different Administrative Distance is configured, both routes will get installed in the routing table. Routing table will then leave to the switching process the job of load-sharing. That is, route-cache mechanisms, CEF in case of Cisco device will do load-share per session using source-destination IP. MORE ABOUT THAT CEF Load-Balancing Overview CEF – Cisco E...