Table of Contents
- 1 The Upgrade path tables
- 2 Scope of the Document
- 3 Source Information
- 4 Using the Upgrade Steps Table
- 5 Max Value Issue
- 6 Standalone vs. HA configuration upgrades
- 7 Parallel Development
- 8 Upgrade Methods
- 9 Special Builds
- 10 Why read the Release Notes?
The goal of this document is to make it easier for you to upgrade your FortiGate unit by guiding you to the most likely intermediate firmware upgrades between your current version and the latest version of the firmware. The latest version being the one with the highest patch number in your desired version branch.
Since multiple versions of firmware are often developed at the same time, there are different versions of the upgrade path document, too. There are PDF versions of this information and in those PDFs, the title of the document indicates which version of the firmware is the final destination of the recommended upgrade path options. In this web page we will be showing all of the information in one document the difference in terms of the final result will depend on the table you reference rather than the document. Be sure that you are looking at the correct table for your objective. For instance, if your goal is to upgrade to the latest build of Version 5.0 looking at the Upgrade Path table for 5.2 might give you some options that would appear confusing.
For most devices these steps will show the path in steps from your current version to the latest Version, MR, and patch. The steps shown by the Upgrade Steps Table are not the only possible path, but they are supported and have been optimized to achieve the latest version of the firmware in the fewest steps.
Scope of the Document
The scope of this document is limited to recommended upgrade practices for the firmware, FortiOS, which is used as the Operating System for the following products:
This document does not include the upgrade paths for other Fortinet products such as:
These products have their own upgrade path documentation.
Location of Upgrade Path documents for other products
Links to upgrade path documents that can also be found on the Cookbook site are listed here:
Upgrade Path documents for the following products are available from the Fortinet Customer Service & Support Site, found at https://support.fortinet.com, in the same directory as the firmware images and Release Notes.
Example links to Upgrade Guides:
The above links are examples only, as each firmware release for these products has its own document.
This document does not include any references to release compatibility between Fortinet products. This is an issue that administrators of environments where different Fortinet products are used should be aware of. For instance, a specific version of FortiManager has a range of versions of FortiGate that it will be compatible with. If the FortiGates are upgraded without verifying that the FortiManager will be compatible with them, a situation could arise where the FortiManager will not be able to manage those newly upgraded FortiGates. On the other side of the equation, it is also possible to upgrade a FortiManager beyond the compatibility range of some of the older models of FortiGate.
If you have some older models of FortiGate that cannot be upgraded to current releases of firmware, and some brand new models of FortiGate that cannot run older firmware, the situation can arise where a single FortiManager will not be able to manage all of the FortiGates in the environment. This is an issue that the administrator needs to be aware of when making decisions about which firmware to run.
The compatibility between models is listed in the Release Notes of the products. These should be read and the environment should be planned out as a whole. It is possible that there is no one best option. The administrator will have to weigh the pros and cons of all of the variables and keep in mind what the most important requirements are for the environment.
The initial source material for the development of the of the upgrade path table is the upgrade information section found in the Release Notes that are written up for each new build of the FortiOS firmware.
Each time a firmware build comes out it is tested for compatibility with some of the previous builds in both the current version and the version that preceded it. It is not, however necessarily tested with every single build in these two versions. The two, sometimes 3, versions that are supported at the time of release are developed in parallel and not in coordinated schedules so it is possible that the latest build in version 5 was developed long after a lower numbered build in version 5.2. In short, the upgrade testing is done against build that are available at the time of release. The upgrade steps may at times seem like they should be able to make larger jumps, but we will only included upgrade steps that have been tested and proven to work in those tests.
Divergence from the Release Notes
The FortiOS Upgrade path document is initially based on the contents of the Release Notes documents for the firmware, however, periodically, bugs or unexpected combinations of configurations are found that reveal situations the regular compatibility testing did not account for. These updates are incorporated into the Upgrade path document sometimes without being included into rewrites of the Release Notes. Even if these occur in a relative small portion of the cases they are incorporated into the path to make it as close to a “one path fits all” product as possible. While the paths set forth in the Release Notes will work most of the time for most configurations, the relatively small extra effort of an additional upgrade or two is considered a small price to pay for making sure that the odds of a failed upgraded are as low as possible.
The other reason that the Supported Upgrade Paths document can appear different from the Release Notes is more in the form of a change in perspective. A Release Note’s perspective is centered around the firmware version it is describing, so it reaches back to see how many builds back can be successfully upgraded to that version. The Upgrade Path document’s perspective is taken from the device’s current firmware version and attempts to find an efficient path forward.
Using the Upgrade Steps Table
We have tried to make using the tables as simple as possible.
- Locate the table that corresponds to the firmware you wish to be running.
- Determine which release is currently running on your device.
- Find that release/build in the left hand column.
- Upgrade from one release to the next based on the releases listed in that row.
Over the life of the firmware, the designation of the individual releases has changed but this document tries to make these designations as consistent and as easy to understand as possible.
Originally, the version designation was made up of a Version, possibly a major release within that version and possible a patch number within that major release. If one was trying to refer to one of the later patches in a later release of version 4 of the firmware it could be described as Version 4 MR 3 Patch 18.
To make writing the release name simpler a ‘shorthand’ developed using the pattern x.x.x. The numbers shown below are an abbreviated form of the firmware version names.
|1st Number||Version Number|
|2nd Number||Release Number|
|3rd Number||Patch Number|
Example: 3.7.10 = Version 3.0 MR7 Patch 10
Recently, the longer version of describing the release was dropped in favor of the simplified format.So it is not FortiOS Version 5 MR 2 Patch 1. It is simply FortiOS 5.2.1. Within the table, the simplified version is always used when describing the path.
In cases where there is no indication in the Web-based Manager what the version or build number is you can get the build number from the CLI by entering the command:
get system status
The value in the output of the command for “Branch point” will be the build number.
Max Value Issue
There is a range of builds where the maximum number of some of the objects was lowered, but then a few builds later was raised back up. If a configuration on a device was to have a number of these objects in excess of the lower value when doing an upgrade there could be issues and even data loss so the upgrade paths listed are designed to avoid upgrading into this lower max value range even though the Release Notes state that upgrading to these firmware builds is supported. When the release notes were written the act of increasing the values was not foreseen.
Standalone vs. HA configuration upgrades
If you read the Release Notes for the firmware upgrades you will notice a discrepancy between what the Release Notes say is possible for upgrades and what the Upgrade Steps Table shows.
In version 5 there is a difference in the steps between the patches depending on whether your FortiGate setup is in a standalone or an HA configuration. If you have a standalone setup you can upgrade from Patch 3 (5.0.3) directly to Patch 5 (5.0.5). However, if you are using an HA setup you need to add the intermediate step of going to Patch 4 (5.0.4), otherwise only the slave unit in the configuration will be upgraded to Patch 5.
In the table describing the steps in progressing through the upgrades the most cautious path is listed. This minimizes the possibility of confusion for somebody who has an HA cluster but reads the Release Notes, like everybody should, but was unaware of the known issue with the HA clusters.
Development of the firmware is usually taking place on two paths at the same time.There is development taking place on the latest path, as well as the previous stable path. For instance if the latest path was 5.0.x then the previous stable path that would still be in development would be 4.3.x. This has 2 significant ramifications as far as upgrades are concerned. The first is that patches are still being built for each of these paths. The second is that because this development is taking place in parallel the number identifiers for the builds do not correspond directly with the sequence in which the builds come out.
Occasionally it will appear as if there are some odd jumps in the upgrade sequence. This has to do with the timing of releases of different versions of the firmware. Later builds of different versions can come out close together and so have a high likelihood of compatibility. This is why 5.0.6 can only upgrade up to 5.0.9 but 4.3.18 can upgrade to 5.0.12
There are two methods of primary methods of upgrading the firmware through the GUI; either from a local file that has been previously downloaded or from the FortiGuard Network.
Upgrading from the Local Drive
When uploading the firmware from the local drive you must already have downloaded it from the Fortinet Support Site at https://support.fortinet.com/. Once you have logged in with the account ID and password that was created when registering the FortiGate, go to the Download section and select the icon for Firmware images. From there it is only a matter of selecting a product, such as a FortiGate and then selecting either HTTPS or FTP download. The layout of the firmware listing in both methods is a hierarchical tree. For instance if you wanted firmware 5.0.7 you would select the v5.00 directory, then the 5.0 directory, then the 5.0.7 directory. Once in the directory scroll down until find the correct firmware file name for your specific model. Then select the file you wish to download.
The file names are intended to be helpful in determining the correct firmware for the model you need. Here are some of the conventions found in the file names.
- FGT_ = FortiGate
- FWF_ = FortiWiFi
- POE = Power over Ethernet
- VM32/VM64 = Virtual Machine versions of the firmware. The 32 and 64 referring to the bit architecture of the OS.
Firmware going directly on a Fortinet Device will have the
Upgrading from the FortiGuard Network
The practice of strategically skipping some firmware versions to optimize the time and efficiency that it takes to get to the latest version is based on using the Upgrade from: Local Hard Drive option. If you try to use the Upgrade from: FortiGuard Network option you will notice that there are a limited number of firmware builds to which you may upgrade, or downgrade. This is because only options that are always going to be safe are available. The logic being that because there are no intermediate options possible, the next consecutive build will always be a safe option.
Because of this limitation in options, it means that you will not be able to use the Upgrade from: FortiGuard Network option to see all of the safe upgrade options. You will either have to use the included upgrade path table or study the Release Notes.
The builds that will be shown will most like be as follows:
- The next build in the current version track
- The previous build in the current version track.
- The latest build in the previous version track.
Every now and then a “Special Build” is created for some specific purpose and some companies will put these into production. These special builds are not part of the normal upgrade path QA process and therefore have a greater risk of variance from what is normally expected in an upgrade. The table of the upgrade path is based on the Release Notes of the regular builds and may not have included testing against every special build as well. If you are running a special build, be even more cautious in upgrading than you would normally be.
Why read the Release Notes?
Previously in this document, it was recommended that before upgrading from one version of the firmware to a more recent one that the Release Notes be read. To give an indication of how important it is to read the Release Notes, we have provided a sampling on the next page of some of the possible issues that may have to be dealt with upon upgrading.
To offer some clarification on the contents of this sampling, some of these issues were and are unavoidable because of the nature of the configurations of the FortiGate devices and the networks they were in. The reason for reading the Release Notes is to make sure that users are prepared for changes or potential outages that may occur so that the affected parties can be forewarned and the issues can be dealt with in a timely manner.