: Upgrade Firewalls Using Panorama
Focus
Focus

Upgrade Firewalls Using Panorama

Table of Contents

Upgrade Firewalls Using Panorama

Follow these steps to upgrade your Panorama-managed firewalls to PAN-OS 10.2.
Review the PAN-OS 10.2 Release Notes and then use the following procedure to upgrade firewalls that you manage with Panorama. This procedure applies to standalone firewalls and firewalls deployed in a high availability (HA) configuration.
When upgrading HA firewalls across multiple feature PAN-OS releases, you must upgrade each HA peer to the same feature PAN-OS release on your upgrade path before continuing. For example, you are upgrading HA peers from PAN-OS 10.0 to PAN-OS 10.2. You must upgrade both HA peers to PAN-OS 10.1 before you can continue upgrading to the target PAN-OS 10.2 release. When HA peers are two or more feature releases apart, the firewall with the older release installed enters a suspended state with the message Peer version too old.
If Panorama is unable to connect directly to the update server, follow the procedure for deploying updates to firewalls when Panorama is not internet-connected so that you can manually download images to Panorama and then distribute the images to firewalls.
Before you can upgrade firewalls from Panorama, you must:
  • Make sure Panorama is running the same or a later PAN-OS version than you are upgrading to. You must upgrade Panorama and its Log Collectors to 10.2 before upgrading the managed firewalls to this version. In addition, when upgrading Log Collectors to 10.2, you must upgrade all Log Collectors at the same time due to changes in the logging infrastructure.
  • Make sure plugin versions on Panorama are equal to or higher than the plugin versions on managed firewalls.
  • Ensure that firewalls are connected to a reliable power source. A loss of power during an upgrade can make a firewall unusable.
  • Decide whether to stay in Legacy mode if the Panorama virtual appliance is in Legacy mode on upgrade to PAN-OS 10.2. Legacy mode is not supported for a new Panorama virtual appliance deployment running PAN-OS 9.1 or later release. If you upgrade the Panorama virtual appliance from PAN-OS 9.0 or earlier release to PAN-OS 10.2, Palo Alto Networks recommends reviewing the Setup Prerequisites for the Panorama Virtual Appliance and changing to Panorama mode or Management Only mode based on your needs.
    If you want to keep the Panorama virtual appliance in Legacy mode, increase CPUs and memory allocated to the Panorama virtual appliance to a minimum 16 CPUs and 32GB memory to successfully upgrade to PAN-OS 10.2. See the Setup Prerequisites for the Panorama Virtual Appliance for more information.
  1. After upgrading Panorama, commit and push the configuration to the firewalls you are planning to upgrade.
  2. Save a backup of the current configuration file on each managed firewall you plan to upgrade.
    Although the firewall automatically creates a configuration backup, it is a best practice to create and externally store a backup before you upgrade.
    1. From the Panorama web interface, select PanoramaSetupOperations and click Export Panorama and devices config bundle to generate and export the latest configuration backup of Panorama and of each managed appliance.
    2. Save the exported file to a location external to the firewall. You can use this backup to restore the configuration if you have problems with the upgrade.
  3. Update the content release version on the firewalls you plan to upgrade.
    Refer to the Release Notes for the minimum content release version required for PAN-OS 10.2. Make sure to follow the Best Practices for Applications and Threats Content Updates when deploying content updates to Panorama and managed firewalls.
    1. Select PanoramaDevice DeploymentDynamic Updates and Check Now for the latest updates. If an update is available, the Action column displays a Download link.
    2. If not already installed, Download the latest content release version.
    3. Click Install, select the firewalls on which you want to install the update, and click OK. If you are upgrading HA firewalls, you must update content on both peers.
      By default, you can upload a maximum of two software or content updates of each type to a Panorama appliance and if you download a third update of the same type, Panorama will delete the update for the earliest version of that type. If you need to upload more than two software updates or content updates of a single type, use the setmax-num-images count <number> CLI command to increase the maximum.
  4. Determine the Upgrade Path to PAN-OS 10.2
    You cannot skip the installation of any feature release versions in the path from the currently running PAN-OS version to PAN-OS 10.2.
    Review PAN-OS Upgrade Checklist, the known issues and changes to default behavior in the Release Notes and Upgrade/Downgrade Considerations for each release through which you pass as part of your upgrade path.
    If upgrading more than one firewall, streamline the process by determining upgrade paths for all firewalls before you start downloading images.
  5. (Best Practices) If you are leveraging Strata Logging Service, install the device certificate.
    The firewall automatically switches to using the device certificate for authentication with Strata Logging Service ingestion and query endpoints on upgrade to PAN-OS 10.2.
    If you do not install the device certificate prior to upgrade to PAN-OS 10.2, the firewall continues to use the existing logging service certificates for authentication.
  6. (HA firewall upgrades only) If you will be upgrading firewalls that are part of an HA pair, disable preemption. You need only disable this setting on one firewall in each HA pair.
    1. Log in to the firewall web interface of one of the firewall HA peers.
    2. Select DeviceHigh Availability and edit the Election Settings.
    3. If enabled, disable (clear) the Preemptive setting and click OK.
    4. Commit your change. Make sure the commit is successful before you proceed with the upgrade.
  7. (HA firewall upgrades only) Suspend the primary HA peer to force a failover.
    (Active/passive firewalls) For firewalls in an active/passive HA configuration, suspend and upgrade the active HA peer first.
    (Active/active firewalls) For firewalls in an active/active HA configuration, suspend and upgrade the active-primary HA peer first.
    1. Log in to the firewall web interface of active primary firewall HA peer.
    2. Select DeviceHigh AvailabilityOperational Commands and Suspend local device for high availability.
    3. In the bottom-right corner, verify that the state is suspended.
      The resulting failover should cause the secondary passive HA peer to transition to active state.
      The resulting failover verifies that HA failover is functioning properly before you upgrade.
  8. Download the target PAN-OS 10.2 release image.
    1. Select PanoramaDevice DeploymentSoftware and Check Now for the latest release versions.
    2. Download the firewall-specific file (or files) for the release version to which you are upgrading. You must download a separate installation file for each firewall model (or firewall series) that you intend to upgrade.
      For example, to upgrade your PA-3200 firewalls to PAN-OS 10.2.0, download the PanOS_3200-10.2.0 image. After you successfully download an image, the Action column changes to Install for that image.
  9. Install the PAN-OS 10.2 software update on the firewalls.
    (SD-WAN only) to preserve an accurate status of your SD-WAN links, you must upgrade your hub firewalls to PAN-OS 10.2.0 before you upgrade your branch firewalls. Upgrading branch firewalls before hub firewalls may result in incorrect monitoring data (PanoramaSD-WANMonitoring) and for SD-WAN links to erroneously display as down.
    1. Click Install in the Action column that corresponds to the firewall models you want to upgrade. For example, if you want to upgrade your PA-3200 firewalls, click Install in the row that corresponds to PanOS_3200-10.2.0.
    2. In the Deploy Software file dialog, select all firewalls that you want to upgrade.
      (HA firewall upgrades only) To reduce downtime, select only one peer in each HA pair. For active/passive pairs, select the passive peer; for active/active pairs, select the active-secondary peer.
    3. (HA firewall upgrades only) Make sure Group HA Peers is not selected.
    4. Select Reboot device after install.
    5. To begin the upgrade, click OK.
    6. After the installation completes successfully, reboot using one of the following methods:
      • If you are prompted to reboot, click Yes.
      • If you are not prompted to reboot, select DeviceSetupOperations and Reboot Device.
    7. After the firewalls finish rebooting, select PanoramaManaged Devices and verify the Software Version is 10.2.0 for the firewalls you upgraded. Also verify that the HA status of any passive firewalls you upgraded is still passive.
  10. (HA firewall upgrades only) Restore HA functionality to the primary HA peer.
    1. Log in to the firewall web interface of suspended primary firewall HA peer.
    2. Select DeviceHigh AvailabilityOperational Commands and Make local device functional for high availability.
    3. In the bottom-right corner, verify that the state is Passive. For firewalls in an active/active configuration, verify that the state is Active.
    4. Wait for the HA peer running configuration to synchronize.
      In the Dashboard, monitor the Running Config status in the High Availability widget.
  11. (HA firewall upgrades only) Suspend the secondary HA peer to force a failover back to the primary HA peer.
    1. Log in to the firewall web interface of active secondary firewall HA peer.
    2. Select DeviceHigh AvailabilityOperational Commands and Suspend local device for high availability.
    3. In the bottom-right corner, verify that the state is suspended.
      The resulting failover should cause the primary passive HA peer to transition to active state.
      The resulting failover verifies that HA failover is functioning properly before you upgrade.
  12. (HA firewall upgrades only) Upgrade the second HA peer in each HA pair.
    1. In the Panorama web interface, select PanoramaDevice DeploymentSoftware.
    2. Click Install in the Action column that corresponds to the firewall models of the HA pairs you are upgrading.
    3. In the Deploy Software file dialog, select all firewalls that you want to upgrade. This time, select only the peers of the HA firewalls you just upgraded.
    4. Make sure Group HA Peers is not selected.
    5. Select Reboot device after install.
    6. To begin the upgrade, click OK.
    7. After the installation completes successfully, reboot using one of the following methods:
      • If you are prompted to reboot, click Yes.
      • If you are not prompted to reboot, select DeviceSetupOperations and Reboot Device.
  13. (HA firewall upgrades only) Restore HA functionality to the secondary HA peer.
    1. Log in to the firewall web interface of suspended secondary firewall HA peer.
    2. Select DeviceHigh AvailabilityOperational Commands and Make local device functional for high availability.
    3. In the bottom-right corner, verify that the state is Passive. For firewalls in an active/active configuration, verify that the state is Active.
    4. Wait for the HA peer running configuration to synchronize.
      In the Dashboard, monitor the Running Config status in the High Availability widget.
  14. Verify the software and content release version running on each managed firewall.
    1. On Panorama, select PanoramaManaged Devices.
    2. Locate the firewalls and review the content and software versions in the table.
      For HA firewalls, you can also verify that the HA Status of each peer is as expected.
  15. (HA firewall upgrades only) If you disabled preemption on one of your HA firewalls before you upgraded, then edit the Election Settings (DeviceHigh Availability) and re-enable the Preemptive setting for that firewall and then Commit the change.
  16. Regenerate or re-import all certificates to adhere to OpenSSL Security Level 2.
    On upgrade to PAN-OS 10.2, it is required that all certificates meet the following minimum requirements:
    • RSA 2048 bits or greater, or ECDSA 256 bits or greater
    • Digest of SHA256 or greater
    See the PAN-OS Administrator's Guide or Panorama Administrator's Guide for more information on regenerating or re-importing your certificates.