Palo Alto HA (Active/Passive or Active/Active)
High Availability configuration for Palo Alto PAN-OS firewalls: HA1 control link, HA2 data link, passive link state, preemption, and session synchronization.
What is it?
Palo Alto HA (High Availability) pairs two firewalls so that if one fails, the other takes over with no impact to active sessions. HA uses two links: HA1 (control link) synchronizes configuration, state, and routing tables between peers. HA2 (data link) synchronizes session tables — so TCP sessions survive a failover without clients noticing. Active/Passive mode is most common: one firewall processes all traffic, the other is in standby. Active/Active mode both firewalls process traffic but requires more complex routing.
When to use
- ·Any production internet-facing deployment — a single firewall is a single point of failure
- ·Environments requiring near-zero downtime for firewall software upgrades
- ·Compliance environments (PCI-DSS, HIPAA) that require redundant security controls
- ·Data centers where stateful failover (keeping TCP sessions alive) is required
When NOT to use
- ·Lab or development environments — HA adds configuration complexity
- ·Active/Active mode when you don't need the additional throughput — it's harder to configure and troubleshoot
How it compares
Prerequisites
- →Both firewalls must be identical hardware models running the same PAN-OS version
- →HA1 link: dedicated point-to-point network (use management port or dedicated HA port)
- →HA2 link: dedicated high-bandwidth link for session synchronization (use data plane interface)
- →The secondary firewall should have initial base config (management IP) before enabling HA
- →All data plane interfaces must be connected on both firewalls before enabling HA
Config Generator
Verification commands
show high-availability stateShow HA pair status, role, and sync state
ExpectedPrimary: 'active', Secondary: 'passive'. Config sync: 'synchronized'. Running sync: 'synchronized'.
show high-availability allShow comprehensive HA status including link states
ExpectedHA1 and HA2 links should be up. Shows peer IP, group ID, and failover trigger conditions.
show high-availability control-link statisticsShow HA1 link packet statistics
ExpectedNon-zero heartbeat packets sent/received. Zero received means HA1 connectivity is broken.
Debug commands
request high-availability sync-to-remote running-configForce configuration sync from active to passive peer
Common mistakes & fixes
Further learning
Recommended books to go deeper on this topic.
Palo Alto Networks Firewall Deployment and Administration
Tom Piens · Packt · PAN-OS HA — active/passive, active/active, session sync, preemption
Cisco ASA: All-in-One Next-Gen Firewall, IPS, and VPN Services
Jazib Frahim, Omar Santos, Andrew Ossipov · Cisco Press · HA fundamentals — stateful failover concepts apply across vendors