Upgrade Palo Alto Firewall HA Pair (Active/Passive) - 夜莺博客

Upgrade Palo Alto Firewall HA Pair (Active/Passive)

原文:Upgrade Palo Alto Firewall HA Pair (Active/Passive) — theDXT (Daniel Keer)

Palo Alto has some great documentation about how to do basically everything. Sometimes it’s a bit buried. These are my short and long cheat sheets for upgrading a Palo Alto Networks firewall in an Active/Passive High Availability Pair.

If you want to preform the upgrade using CLI only please see my post Upgrade Palo Alto HA Pair (Active/Passive) with CLI for more details.

Quick Cheat Sheet

Long Cheat Sheet

Upgrade path and sanity checks

For my example, FW01 is the Primary firewall and currently Active firewall and FW02 is the Secondary firewall and currently Passive firewall and they are both running PAN-OS 10.1 version 10.1.6-h6 which is the current preferred release for that version. We will be upgrading them to PAN-OS 10.2 version 10.2.2-h2 which is the current preferred release for that version.

Checking Content Updates

  • Click on Device

Image 1

  • Click on Dynamic Updates

Image 2

  • Click Check Now

Image 3

  • Installthe newest Content Updates if there are any

Image 4

HA Election Settings

If the HA Election Setting is set to Preemptive we need to disable that for the upgrade. In my example FW01 is the Primary and Active firewall so we will change that setting on that firewall. (We only need to change the setting on one of the Firewalls.)

  • On the Primary firewall click on Device

Image 5

  • Click on High Availability

Image 6

  • Uncheck Preemptive(if it isn’t selected you don’t need to do anything)

Image 7

  • Committhe changes

Running Config Backup

On each firewall, we need to take a running config backup.

  • Click on Device

Image 8

  • Click on Setup

Image 9

  • Click on Operations

Image 10

  • Click on Export named configuration snapshot

Image 11

  • Select running-config.xml

Image 12

  • Repeatthe steps on the other firewall

Generate Tech Support File

On each firewall, we need to generate a tech support file.

  • Click on Device

Image 13

  • Click on Support

Image 14

  • Click on Generate Tech Support File

Image 15

  • Click Yes

Image 16

  • Wait for the file to generate. It can take a bit.

Image 17

  • Downloadthe Tech Support File

Image 18

  • Repeatthe steps on the other firewall

Download PAN-OS Software

  • Click on Device

Image 19

  • Click on Software

Image 20

Because we are going from PAN-OS 10.1.6-h6 to 10.2.2-h2 we need to download two PAN-OS versions 10.2.0 and 10.2.2-h2

  • Downloadthe version you need.

Image 21

  • Select Sync to HA Peer

Image 22

  • Wait for the software to download and sync to the HA peer. (This can take a bit.)

Image 23

  • Click Close

Image 24

  • Repeatthe steps to download the preferred release. In our example, we will download PAN-OS version 10.2.2-h2

Suspending HA on the Active Firewall

In our example, we have an Active/Passive configuration. FW01 is the Primary firewall and the Active firewall and FW02 is the Secondary firewall and the Passive firewall. We are going to suspend HA on the Primary firewall (FW01) which will cause the Secondary firewall (FW02) to take over. We will then install the PAN-OS version 10.2.2-h2 on the Primary firewall (FW01) which will now be the Passive firewall as the Secondary firewall (FW02) is now the Active firewall due to the HA suspension.

Image 25

  • Click on Device

Image 26

  • Click on High Availability

Image 27

  • Click on Operational Commands

Image 28

  • Click on Suspend local device for high availability

Image 29

  • Click OK

Image 30

We should now be failed over. FW01 the Primary firewall should now be the Passive firewall and FW02 the Secondary firewall should be the Active firewall.

  • On the Primary firewall (FW01) click on Dashboard

Image 31

  • Confirm that the local status says Suspended

Image 32

  • On the Secondary firewall (FW02) confirm that the local status says Active

Image 33

  • Confirm that traffic is still working to confirm that your failover works

Doing the install on the Passive Firewall

Now that the Primary firewall (FW01) has been suspended it is now the Passive firewall, we can begin doing the installation.

  • On the Passive firewall click on Device

Image 34

  • Click on Software

Image 35

  • Click Installfor PAN-OS version 10.2.2-h2

Image 36

  • Click OK

Image 37

  • Wait for the installation to complete

Image 38

  • Click Yes to reboot the firewall

Image 39

  • Wait for the firewall to come back up. (This can take a while depending on your firewall.)
  • Once the Passive firewall is back online login to it
  • Confirm that the Primary firewall (FW01) is Passive and not suspended

Image 40

Secondary Firewall Time

Now that the Primary firewall (FW01) is all upgraded we need to upgrade the Secondary firewall (FW02).

Suspending the HA on the Secondary firewall (FW02) will make the Primary firewall (FW01) the Active firewall again.

  • Confirm that the Primary firewall (FW01) is now the Active firewall

Image 41

  • Confirm that traffic is still working to confirm that the failover worked.
  • Now that the Secondary firewall (FW02) is the Passive firewall again follow the same steps that we did in the section Doing the install on the Passive Firewall as we will now be doing them on the Secondary firewall (FW02).
  • Once the Secondary firewall (FW02) is online again make sure High Availability is all green again.

Image 42

Final Step

  • If you had to change your HA Election Settings you can now change them back.

That’s all it takes to upgrade a Palo Alto Networks Firewall with an Active/Passive High Availability configuration.

Here is the official documentation from Palo Alto Networks on how to do everything described above. https://docs.paloaltonetworks.com/pan-os/10-2/pan-os-upgrade/upgrade-pan-os/upgrade-the-firewall-pan-os/upgrade-an-ha-firewall-pair