Study guide

1.3 High Availability Architecture, Links & Failover Mechanics

Palo Alto Networks Certified Network Security Professional Exam

Track your progress as you read

Finished sections get a check mark.

1 Chapter 1: PAN-OS Architecture, Interfaces & Routing

1.1 Security Zones, Virtual Routers & Interface Types 1.2 Advanced Routing Engine, Logical Routers & Dynamic Routing 1.3 High Availability Architecture, Links & Failover Mechanics

2 Chapter 2: PAN-OS Core Policy, App-ID & NAT

2.1 App-ID Classification Engine & Application Management 2.2 User-ID Architecture, Identity Mapping & Group Enforcement 2.3 Security Policy Enforcement & NAT Architecture

3 Chapter 3: SSL/TLS Decryption Architecture & Policy

3.1 SSL Forward Proxy Architecture & Enterprise PKI 3.2 SSL Inbound Inspection, Server Certificates & TLS 1.3 3.3 Decryption Policy, Decryption Profiles & Decryption Broker 3.4 SSH Proxy, No-Decrypt Policy & Decryption Exclusions

4 Chapter 4: Cloud-Delivered Security Services (CDSS) & Threat Prevention

4.1 Advanced Threat Prevention & Security Profiles 4.2 Advanced WildFire & Inline Machine Learning Models 4.3 Advanced URL Filtering & DNS Security 4.4 Device Security (IoT), Device-ID & IoMT Visibility 4.5 Enterprise SaaS Security: Discovered Apps, Data Security & SSPM

5 Chapter 5: Prisma Access Infrastructure & Network Onboarding

5.1 Prisma Access Cloud Architecture & Multi-Tenant Fabric 5.2 Remote Networks (RN) Onboarding & Branch Routing 5.3 Mobile Users (MU) Architecture, Locations & Dedicated IPs

6 Chapter 6: ZTNA 2.0, Cloud Identity & Digital Experience

6.1 ZTNA Connector Architecture & Private Application Publishing 6.2 Cloud Identity Engine (CIE) & Modern Authentication 6.3 Autonomous Digital Experience Management (ADEM) & Enterprise DLP

7 Chapter 7: Strata Cloud Manager (SCM) & AI-Driven Management

7.1 Strata Cloud Manager (SCM) Architecture & Cloud Control Plane 7.2 Unified Policy Hierarchy, Folders & Snippets 7.3 Configuration Push Preview, Validation & Migration Pathways 7.4 Strata Copilot & AIOps for NGFW

8 Chapter 8: Prisma SD-WAN & Branch Edge Architecture

8.1 Prisma SD-WAN ION Devices & Branch Topologies 8.2 Application-Defined Fabric (AppFabric) & Path Policies 8.3 Prisma SD-WAN & Prisma Access CloudBlade Integration 8.4 PAN-OS SD-WAN Subscription, Link Tags & Path Quality

9 Chapter 9: GlobalProtect, Cloud NGFW & AI Runtime Security

9.1 GlobalProtect Remote Access Architecture & Gateways 9.2 Host Information Profile (HIP) & Dynamic Split Tunneling 9.3 Cloud NGFW & Virtual Firewall Architecture (AWS, Azure & Containers) 9.4 AI Runtime Security & Generative AI Protection 9.5 Explicit Proxy, Prisma Access Browser & Remote Browser Isolation

10 Chapter 10: Packet Processing Architecture & System Troubleshooting

10.1 PAN-OS Single-Pass Parallel Processing (SP3) Architecture & Packet Flow 10.2 Operational Troubleshooting CLI Commands & Packet Diagnostics 10.3 High Availability Troubleshooting, System Maintenance & Log Forwarding

11 Chapter 11: Panorama, Subscriptions, Digital Trust & Quantum Readiness

11.1 Panorama Architecture, Device Groups & Template Stacks 11.2 CDSS Subscriptions, Premium GlobalProtect & License Lifecycle 11.3 Next-Generation Trust Security (NGTS) & Certificate Lifecycle 11.4 Quantum Security Risks & Post-Quantum Readiness

1.3 High Availability Architecture, Links & Failover Mechanics

Key Takeaways Explain This Topic AI

In PAN-OS Active/Passive HA, the HA1 control link handles heartbeats and configuration sync (TCP 28769/28260), while HA2 synchronizes active session tables (UDP 28770 or Ethertype 0x7261).

Device priority uses an inverted metric where lower numeric values take precedence (priority 10 wins over priority 100).

Preemption is disabled by default; when enabled, configuring Preemption Delay is essential to let routing protocols and the FIB fully converge before the recovering firewall claims the Active role.

Split-brain conditions are prevented by pairing HA1 with an HA1-Backup link and enabling Heartbeat Backup over the dedicated out-of-band management (MGT) port.

Link Monitoring and Path Monitoring evaluate group failure weights against configured thresholds to initiate deterministic failover before total hardware failure occurs.

Last updated: September 2026

  • 1.3 High Availability Architecture, Links & Failover Mechanics
  • High Availability Modes: Active/Passive vs. Active/Active

High Availability (HA) on Palo Alto Networks firewalls ensures continuous network connectivity and stateful session preservation in the event of hardware, link, or path failure.

Active/Passive (A/P) Mode

Active/Passive is the recommended, deterministic architecture for the vast majority of enterprise deployments:

Active Firewall: Actively forwards network traffic, manages sessions, inspects Layer 7 content, runs dynamic routing protocols, and terminates IPsec VPN tunnels.

Passive Firewall: Sits in standby mode, actively synchronizing session state tables and configuration updates across dedicated HA links. It does not forward data plane traffic.

Capacity Preservation: 100% throughput capacity is maintained during a failover event, eliminating the risk of resource oversubscription after a peer failure.

Operational Simplicity: Troubleshooting and route telemetry remain predictable and deterministic.

Active/Active (A/A) Mode

Active/Active mode is deployed primarily in asymmetric routing topologies where external routers load-balance traffic across dual uplinks:

Both Firewalls Process Traffic: Both appliances simultaneously forward data plane packets and enforce security policies.

Session Setup vs. Session Owner:

Session Setup Peer: The firewall that receives the initial TCP SYN packet. It allocates the session ID, performs route and NAT lookups, and notifies the peer over HA2.

Session Owner Peer: The firewall responsible for ongoing Layer 7 Content-ID/App-ID inspection, client/server state tracking, and session closure.

Virtual MAC & Floating IP: Utilizes Virtual MAC (VMAC) and Floating IP addresses assigned to shared interfaces, allowing either peer to take ownership of default gateway addresses during a failover.

Asymmetric Routing Handling: Requires a dedicated HA3 link to forward non-session-owner packets directly between peers without re-encapsulation.

Dedicated High Availability Links & Port Protocols

PAN-OS clusters communicate through dedicated, point-to-point connections. Understanding the transport protocols, port numbers, and failure behaviors of each link is a core exam requirement.

HA Link Name Primary Function Layer Protocol & Port Supported Physical Media Failure Impact (Without Backup)

HA1 (Control) Heartbeats, Hellos, Config Sync, User Credentials Layer 3 TCP 28769, TCP 28260 (SSH/SSL); UDP/ICMP 28770 Dedicated HA1 port or in-band data port Potential split-brain; loss of config sync

HA1-Backup Redundant Control Link (Heartbeats & Hellos) Layer 3 TCP 28769; UDP/ICMP 28770 MGT port or separate data port Loss of control link redundancy

HA2 (Data) Real-time session state, ARP tables, IPsec SAs Layer 2 or Layer 3 Ethertype 0x7261 (L2) or UDP 28770 (L3) Dedicated HA2 port or high-speed data port Session desynchronization; dropped sessions on failover

HA2-Backup Redundant Data Link (Session State Sync) Layer 2 or Layer 3 Ethertype 0x7261 (L2) or UDP 28770 (L3) Separate high-speed data port Loss of data link redundancy

HA3 (Packet Forwarding) Asymmetric packet forwarding in Active/Active Layer 2 Raw Layer 2 frames (proprietary) Dedicated high-speed port (SFP+/QSFP+) Asymmetric session drop in Active/Active mode +---------------------------------------+

  • | Primary Firewall |
  • +---------------------------------------+
  • | | |
  • HA1 Control Link | | HA2 Data Link | HA3 Packet Link
  • (TCP 28769 / 28260) | | (Ethertype | (Active/Active
  • | | 0x7261) | Transit)
  • v v v
  • +---------------------------------------+
  • | Secondary Firewall |
  • +---------------------------------------+
  • ^
  • | Heartbeat Backup (ICMP / Port 28770)
  • |
  • [ Out-of-Band MGT Switch ]
  • Deep-Dive: HA1 Control Link

The HA1 link manages cluster control plane health:

Hello Packets: Transmitted every 8,000 ms (default) to verify that the HA process on the peer is operational. The configurable range is 8,000 to 60,000 ms.

Heartbeats: ICMP pings exchanged between peers every 1,000 ms under the Recommended profile on PA-3400, PA-5400, PA-5500, PA-7000, and PA-7500 Series firewalls, and every 2,000 ms on PA-400 Series, PA-800 Series, PA-220, and VM-Series. The configurable range is 1,000 to 60,000 ms.

Configuration Synchronization: Replicates committed configurations from the active firewall to the passive peer via TCP port 28769 and TCP port 28260 (SSH/SSL).

Encryption: HA1 communication can be encrypted using AES-256 for clusters spanning unencrypted external layer 2/3 transport.

Deep-Dive: HA2 Data Link

The HA2 link maintains real-time synchronization of stateful connection data:

Synchronized Data: Active session state tables, dynamic ARP tables, IPsec security associations (SAs), and GlobalProtect client sessions.

Zero Fragmentation Requirement: HA2 traffic must never fragment. If intermediate switches traverse the HA2 path, Jumbo Frames (MTU 9216) must be enabled end-to-end. Packet fragmentation causes severe packet drops in session sync updates.

High Availability Clustering Prerequisites

Before forming an HA pair, both firewall appliances must satisfy strict hardware and software parity rules:

Identical Hardware Platform: Both firewalls must be the exact same model (e.g., two PA-3410s). In virtualized environments (VM-Series), both VMs must have the identical license model, CPU core allocation, and RAM capacity.

Identical PAN-OS Version: Both devices must run the exact same PAN-OS maintenance release (e.g., PAN-OS 11.1.2-h3). A temporary version mismatch is supported only during an orchestrated maintenance upgrade window.

Identical Hardware Modules: Multi-slot chassis firewalls (e.g., PA-5450, PA-7000 Series) must possess matching Network Processing Cards (NPC), Data Processing Cards (DPC), and Management Processing Cards (MPC) in identical slot locations.

Matching Subscription Licenses: Both firewalls must hold active, identical subscription licenses (Threat Prevention, Advanced URL Filtering, WildFire, DNS Security). A license discrepancy triggers high-priority system alerts and may disable synchronization.

Device Priority, Preemption, and Preemption Delay

PAN-OS determines active leadership using Device Priority and Preemption settings.

1. Device Priority (Inverted Metric)

Device Priority is configured as an integer ranging from 1 to 255 :

Inverted Value Rule: A LOWER numeric value indicates a HIGHER operational priority .

Example: A firewall configured with Priority 10 will win active leadership over a peer configured with Priority 100 .

2. Preemption Mechanics

Default State: Preemption is disabled by default in PAN-OS.

Preemption Disabled (Recommended for Stability): If the primary firewall (Priority 10) reboots, the secondary firewall (Priority 100) becomes Active. When the primary firewall recovers, it remains Passive to avoid unnecessary network flapping.

Preemption Enabled: If preemption is enabled, a recovered firewall with a lower numeric priority will immediately reclaim the Active role from the currently active peer.

3. Preemption Delay (Crucial Best Practice)

When preemption is enabled, configuring a Preemption Delay timer (e.g., 60 to 180 seconds; default 0 seconds) is critical:

The Problem: Without preemption delay, a recovered firewall seizes the Active role the instant PAN-OS initializes. At that moment, dynamic routing protocols (BGP and OSPF) have not yet converged, the Forwarding Information Base (FIB) is unpopulated, and ARP tables are empty. This causes massive traffic black-holing for 30 to 90 seconds!

The Solution: Preemption Delay holds the recovered firewall in a Passive/Tentative state for the configured timer duration, allowing routing tables, BGP peerings, OSPF LSAs, and hardware FIB tables to fully synchronize before cutting over data traffic.

Link Monitoring & Path Monitoring

PAN-OS enables proactive, threshold-based health monitoring that initiates failover before a complete device failure occurs.

Link Monitoring

Monitors the physical carrier state of directly connected interfaces or Link Aggregation Groups (LAG / ae interfaces):

Interfaces are organized into Link Groups .

Failure Conditions:

Any : Failover triggers if any single interface in the group drops.

All : Failover triggers only if every interface in the group drops.

Failure Weight: Each interface can be assigned a numeric weight. If the cumulative weight of failed links exceeds the configured Group Failure Threshold , the firewall enters a Non-Functional state, triggering immediate failover.

Path Monitoring

Detects silent upstream failures where local links remain physically UP, but traffic forwarding across the network is broken:

Organizes remote IP addresses into Path Groups .

Proactively pings destinations (e.g., upstream default gateway, root DNS servers) via ICMP echo requests through designated source interfaces.

Health Parameters: Ping interval (default 200 ms), ping count (default 10). A path is declared failed after 10 consecutive missed pings (2 seconds).

Threshold Actions: Evaluates Any or All logic or accumulated failure weights against the group threshold.

Split-Brain Prevention & Heartbeat Backup

A Split-Brain condition is the most catastrophic failure mode in High Availability clustering.

The Split-Brain Disaster Scenario

The primary HA1 control link cable is severed or disconnected.

If no secondary control mechanism exists, both firewalls stop receiving heartbeat and hello packets.

Each firewall concludes that its peer has suffered a fatal hardware crash.

The passive firewall transitions to Active , resulting in a Dual-Active State .

Both firewalls assert ownership of identical IP addresses and broadcast Gratuitous ARPs (GARP) across the network. Switches experience MAC-table flapping, IP collisions occur, state tables corrupt, and enterprise network traffic completely collapses. [ HA1 Cable SEVERED ]

  • X
  • Firewall-A (Active) <---> Firewall-B (Passive)
  • \ /
  • v v
  • [ Both Firewalls Transition to ACTIVE! ]
  • |
  • [ DUAL-ACTIVE SPLIT-BRAIN DISASTER ]
  • IP Address Conflicts on Gateway Interfaces
  • Gratuitous ARP Flapping across Core Switches
  • Dropped TCP Connections & Corrupted Sessions
  • The Multi-Layer Mitigation Strategy

HA1-Backup Link: Always provision an HA1-Backup link routed across physically disparate switches or dedicated cables. Note: HA1 and HA1-Backup must reside on different, non-overlapping IP subnets .

Heartbeat Backup over the Management (MGT) Port:

Enables secondary heartbeat transmission across the existing out-of-band management network via ICMP/UDP.

If the primary HA1 link fails, the firewalls query the Heartbeat Backup mechanism over the MGT interface.

Upon confirming the peer is still operational, the firewall suppresses failover and flags an HA1 failure alarm, completely preventing a dual-active split-brain catastrophe.

Failover Triggers, State Machine & Administrative Control

An Active/Passive cluster transitions through defined lifecycle states: Initial -> Non-Functional -> Passive -> Active (with temporary operational states Tentative and Suspended ).

Automatic Failover Triggers

Missed heartbeats and hello packets on the HA1 control link leading to a peer failure declaration, after which the passive peer waits the Promotion Hold Time (default 2,000 ms ) before taking over.

Loss of keepalives on HA1-Backup and Heartbeat Backup simultaneously.

Link Monitoring failure threshold reached.

Path Monitoring failure threshold reached.

Critical software daemon crash (e.g., mgmtsrvr , routed , pan_comm , or dataplane process).

Administrative Manual Failover

To perform scheduled hardware or software maintenance, administrators can gracefully suspend the active firewall: # Gracefully transition the local active firewall into a suspended state

admin@PA-3410> request high-availability state suspend

  • # Return the suspended firewall back to functional operational status
  • admin@PA-3410> request high-availability state functional

Essential CLI Verification Commands # Display comprehensive HA cluster state, link statuses, peer priority, and mode

admin@PA-3410> show high-availability state

  • # Display real-time status of monitored physical interfaces and link groups
  • admin@PA-3410> show high-availability link-monitoring
  • # Display status of ICMP ping probes and upstream path monitoring groups
  • admin@PA-3410> show high-availability path-monitoring
  • # Inspect historical HA state transitions, timestamps, and failover reasons
  • admin@PA-3410> show high-availability transitions