High Availability and Redundancy
High Availability and Redundancy
Availability and
Redundancy
Interview Q&A
with Explanations
45 Interview Q&A for High Availability and Redundancy | [email protected] | +91 9739521088
Contents
1. What is High Availability (HA) in Palo Alto Firewalls, and why is it important? ............ 4
2. What are the different HA modes in Palo Alto Firewalls? ........................................... 4
3. What are HA1 and HA2 links, and what role do they play in HA? ............................... 4
4. How do you configure HA in Palo Alto Firewalls? ....................................................... 4
5. What is the difference between path monitoring and link monitoring in HA? ............... 5
6. What happens during a failover in an Active-Passive setup? ..................................... 5
7. How do you check HA status in Palo Alto?................................................................. 5
8. What is stateful failover, and how does it work in HA? ............................................... 6
9. How does session synchronization work in HA? ........................................................ 6
10. What is preemption in HA, and should it be enabled? .............................................. 6
11. What is the role of Device-ID in Active-Active HA? ................................................... 7
12. How do you troubleshoot an HA failure in Palo Alto? ............................................... 7
13. What is a split-brain scenario in HA, and how can you prevent it?............................ 7
14. How do virtual firewalls work in an HA environment? ............................................... 8
15. How do you test a failover in an HA setup? .............................................................. 8
16. What are HA timers in Palo Alto, and how do they affect failover? ........................... 8
17. What happens if the HA1 link fails but HA2 is still active? ........................................ 9
18. How can you configure a backup HA1 interface? ..................................................... 9
19. What is the purpose of HA3 in Active-Active HA? .................................................... 9
20. Can HA failover cause traffic loss? ......................................................................... 10
21. How does a firewall determine which HA peer becomes Active?............................ 10
22. What is the significance of ‘tentative’ state in HA?.................................................. 10
23. What role does the heartbeat backup play in HA? .................................................. 11
24. How can you force a firewall to become Active in an HA pair? ............................... 11
25. What are the licensing considerations for HA in Palo Alto Firewalls? ..................... 11
26. What is ‘suspended’ state in HA, and how can you recover from it? ....................... 11
27. How does HA impact VPN tunnels? ....................................................................... 12
28. How do you troubleshoot asymmetric routing in an Active-Active HA setup? ......... 12
29. What is device priority in HA, and how does it affect failover? ................................ 12
30. How do you simulate a failover test in Palo Alto HA? ............................................. 13
31. How do you configure preemption in Palo Alto HA? ............................................... 13
32. What are the different HA link states in Palo Alto? ................................................. 13
33. How can you configure link and path monitoring in HA? ......................................... 14
34. How does the firewall decide when to trigger a failover? ........................................ 14
45 Interview Q&A for High Availability and Redundancy| [email protected] | +91 9739521088
45 Interview Q&A for High Availability and Redundancy | [email protected] | +91 9739521088
35. How do you troubleshoot an HA failover that did not occur? .................................. 14
36. What is the purpose of session owner and session setup in Active-Active HA? ..... 15
37. How do you verify HA status using CLI? ................................................................ 15
38. What is graceful failover, and why is it important? .................................................. 15
39. How do you ensure that HA failover does not disrupt routing? ............................... 16
40. What are some best practices for HA configuration in Palo Alto? ........................... 16
41. Can both HA peers share the same management IP? ........................................... 16
42. How does HA work in a multi-VSYS environment?................................................. 16
43. What impact does a firmware upgrade have on HA?.............................................. 17
44. How can you check if session synchronization is working? .................................... 17
45. What happens if the HA2 link is down? .................................................................. 17
46. How do you change HA configuration without causing failover? ..... Error! Bookmark
not defined.
45 Interview Q&A for High Availability and Redundancy| [email protected] | +91 9739521088
45 Interview Q&A for High Availability and Redundancy | [email protected] | +91 9739521088
Answer:
HA allows two firewalls to operate together to ensure redundancy and failover. If one
firewall fails, the other takes over without disrupting traffic, ensuring network uptime.
Example:
A company with mission-critical applications deploys HA so that in case of a primary
firewall failure, the secondary firewall seamlessly takes over.
Answer:
Palo Alto supports:
Example:
A financial institution may use Active-Active HA for load balancing across multiple ISPs.
3. What are HA1 and HA2 links, and what role do they play in HA?
Answer:
HA1 (Control Link): Used for state synchronization, heartbeat, and failover
decisions.
HA2 (Data Link): Synchronizes sessions, VPN tunnels, NAT tables, etc.
Example:
If HA1 fails, both firewalls may assume active roles (split-brain). If HA2 fails, session
synchronization is lost, affecting stateful failover.
Answer:
45 Interview Q&A for High Availability and Redundancy| [email protected] | +91 9739521088
45 Interview Q&A for High Availability and Redundancy | [email protected] | +91 9739521088
Answer:
Example:
If an interface connected to an ISP goes down, Link Monitoring triggers failover. If a
remote gateway becomes unreachable, Path Monitoring initiates failover.
Answer:
1. The primary firewall detects a failure (e.g., power loss, link failure).
2. The secondary firewall becomes active.
3. The HA2 link ensures stateful session synchronization (if configured).
4. Traffic resumes with minimal disruption.
Example:
A failover occurs when a power outage affects the active firewall. The passive firewall takes
over, ensuring no loss of internet connectivity.
Answer:
GUI:
Device → High Availability → General → State
CLI:
show high-availability state
45 Interview Q&A for High Availability and Redundancy| [email protected] | +91 9739521088
45 Interview Q&A for High Availability and Redundancy | [email protected] | +91 9739521088
Example Output:
State: Active
Peer State: Passive
Connection: Up
Answer:
Stateful failover ensures active connections are maintained during a failover event. The HA2
link synchronizes session details so that ongoing sessions (e.g., SSH, VoIP calls) continue
uninterrupted.
Example:
During failover, an active SSL VPN session remains connected because session details were
synchronized over the HA2 link.
Answer:
Session synchronization allows firewalls to share active session states over the HA2 link.
If the active firewall fails, the passive firewall retains all active session details.
Session sync covers NAT tables, VPN tunnels, and active connections.
Example:
An ongoing FTP file transfer remains active after failover because session details were
synchronized.
Answer:
Preemption allows a firewall to reclaim its active role after recovering from a failure.
Example:
A firewall with preemption enabled resumes as the active device after recovering from a
reboot.
45 Interview Q&A for High Availability and Redundancy| [email protected] | +91 9739521088
45 Interview Q&A for High Availability and Redundancy | [email protected] | +91 9739521088
Answer:
Example:
In Active-Active mode, Device 0 handles VPN traffic while Device 1 manages general
internet traffic.
Answer:
1. Check HA state:
2. show high-availability state
3. Check HA logs:
4. less mp-log ha_agent.log
5. Verify HA1 and HA2 link status
6. Check if both devices have identical configurations
13. What is a split-brain scenario in HA, and how can you prevent it?
Answer:
A split-brain scenario occurs when HA communication fails, causing both firewalls to
assume the Active role.
Prevention:
Example:
If HA1 fails due to a cable issue, both firewalls may become active, leading to network
disruptions.
45 Interview Q&A for High Availability and Redundancy| [email protected] | +91 9739521088
45 Interview Q&A for High Availability and Redundancy | [email protected] | +91 9739521088
Answer:
Virtual firewalls in an HA environment share the same redundancy and failover capabilities.
They sync configurations, policies, and session states between HA peers.
Example:
A service provider using multiple virtual firewalls (VSYS) ensures that failover occurs
without affecting customer traffic.
Answer:
Method 1: Manually suspend the active firewall:
Example:
An HA test confirms that when the primary firewall is powered off, the secondary firewall
becomes active within milliseconds, ensuring seamless failover.
16. What are HA timers in Palo Alto, and how do they affect failover?
Answer:
HA timers define the detection and failover time intervals. Important timers include:
Example:
Lowering the Monitor Hold Time from 3s to 1s speeds up failover but may increase false
positives.
45 Interview Q&A for High Availability and Redundancy| [email protected] | +91 9739521088
45 Interview Q&A for High Availability and Redundancy | [email protected] | +91 9739521088
17. What happens if the HA1 link fails but HA2 is still active?
Answer:
Example:
If HA1 is on a faulty cable and no backup HA1 is configured, both firewalls might process
traffic simultaneously, causing duplicate packets and routing issues.
Answer:
Example:
Using the management interface as an HA1 Backup ensures HA communication even if the
main HA1 interface fails.
Answer:
Example:
In Active-Active mode, firewall A might receive traffic and forward it to firewall B via the
HA3 link to ensure correct packet flow.
45 Interview Q&A for High Availability and Redundancy| [email protected] | +91 9739521088
45 Interview Q&A for High Availability and Redundancy | [email protected] | +91 9739521088
Answer:
Failover in Active-Passive mode is stateful, meaning sessions are retained. However, brief
packet loss may occur due to:
Example:
A VoIP call may drop for 1-2 seconds if the failover process takes too long, especially if
session synchronization is not configured correctly.
Answer:
Palo Alto uses the following election process:
Example:
If firewall A has a priority of 50 and firewall B has 100, firewall A becomes active.
Answer:
The tentative state occurs when a firewall is not ready to become Active or Passive due to:
Incomplete HA configuration.
Configuration mismatch between peers.
Hardware issues.
Example:
After a firewall reboot, it may enter a tentative state until it fully syncs with the Active peer.
45 Interview Q&A for High Availability and Redundancy| [email protected] | +91 9739521088
45 Interview Q&A for High Availability and Redundancy | [email protected] | +91 9739521088
Answer:
Example:
If the primary HA1 link fails, the heartbeat backup ensures that the secondary firewall
remains Passive instead of becoming Active unexpectedly.
Answer:
Use the CLI command:
Example:
After maintenance on the primary firewall, an admin forces it back to Active once it is
stable.
25. What are the licensing considerations for HA in Palo Alto Firewalls?
Answer:
Both firewalls in an HA pair must have the same licenses (Threat Prevention, URL
Filtering, etc.).
The passive firewall does not require a license unless it becomes active.
Example:
If the secondary firewall lacks a Threat Prevention license, IPS/IDS features may not
function correctly after failover.
26. What is ‘suspended’ state in HA, and how can you recover from it?
Answer:
A firewall enters suspended state when:
45 Interview Q&A for High Availability and Redundancy| [email protected] | +91 9739521088
45 Interview Q&A for High Availability and Redundancy | [email protected] | +91 9739521088
Recovery:
Run:
Example:
A firewall was put into suspended mode for troubleshooting. Once resolved, the admin
resumes HA operations.
Answer:
Example:
A GlobalProtect VPN user stays connected even if the primary firewall fails, because
session details were synced.
Answer:
Example:
A VoIP call drops intermittently because return traffic is handled by a different firewall
without session sync. Enabling HA3 fixes the issue.
29. What is device priority in HA, and how does it affect failover?
Answer:
45 Interview Q&A for High Availability and Redundancy| [email protected] | +91 9739521088
45 Interview Q&A for High Availability and Redundancy | [email protected] | +91 9739521088
Example:
If firewall A has a priority of 50 and firewall B has 100, firewall A becomes active by
default.
Answer:
Example:
A network admin tests failover by shutting down the primary firewall to confirm that the
Passive firewall takes over without impacting services.
Answer:
Preemption ensures that the original Active firewall automatically resumes control once it
recovers.
Example:
If the primary firewall fails and recovers, preemption ensures it resumes control after
stabilization.
Answer:
Init: HA initialization.
Passive: Standby state, monitoring the Active firewall.
Active: Processing traffic.
Tentative: Temporary state after boot-up or configuration changes.
Non-Functional: Critical error detected.
45 Interview Q&A for High Availability and Redundancy| [email protected] | +91 9739521088
45 Interview Q&A for High Availability and Redundancy | [email protected] | +91 9739521088
Example:
If a firewall boots up and enters tentative state, it may have a configuration mismatch with
its HA peer.
33. How can you configure link and path monitoring in HA?
Answer:
Example:
If a WAN link goes down, link monitoring triggers a failover to ensure connectivity.
Answer:
Failover occurs if:
Example:
If path monitoring is set for 8.8.8.8, and it stops responding, failover occurs even if the
interfaces are up.
Answer:
45 Interview Q&A for High Availability and Redundancy| [email protected] | +91 9739521088
45 Interview Q&A for High Availability and Redundancy | [email protected] | +91 9739521088
Example:
A firewall failed, but no failover occurred because interface monitoring was disabled.
36. What is the purpose of session owner and session setup in Active-
Active HA?
Answer:
Example:
If firewall A owns the session, but firewall B sets up the session, HA3 synchronization is
needed to prevent asymmetric routing.
Answer:
Run:
This command displays HA state, link status, session sync, and priority.
Example:
If a firewall is in non-functional state, logs will show the cause (e.g., hardware failure).
Answer:
Graceful failover ensures minimal disruption when switching between firewalls.
Example:
Without graceful failover, VoIP calls and SSH sessions may disconnect during a failover.
45 Interview Q&A for High Availability and Redundancy| [email protected] | +91 9739521088
45 Interview Q&A for High Availability and Redundancy | [email protected] | +91 9739521088
39. How do you ensure that HA failover does not disrupt routing?
Answer:
Example:
If a firewall in Active-Passive HA fails, the new Active firewall should have pre-learned
OSPF/BGP routes to prevent blackholing traffic.
40. What are some best practices for HA configuration in Palo Alto?
Answer:
Example:
A customer experienced split-brain because they did not configure HA1 Backup.
Answer:
No, each firewall needs its own management IP.
Example:
If 192.168.1.10 is the Active firewall’s management IP, the Passive firewall might use
192.168.1.11.
Answer:
45 Interview Q&A for High Availability and Redundancy| [email protected] | +91 9739521088
45 Interview Q&A for High Availability and Redundancy | [email protected] | +91 9739521088
Example:
A firewall with 3 VSYS instances will failover completely, ensuring that all virtual firewalls
remain available.
Answer:
Example:
If an admin upgrades both firewalls at the same time, it may cause a brief outage.
Answer:
Run:
Check for:
Example:
If session sync is broken, long-lived TCP sessions (e.g., SSH, VPN) may drop during
failover.
Answer:
45 Interview Q&A for High Availability and Redundancy| [email protected] | +91 9739521088
45 Interview Q&A for High Availability and Redundancy | [email protected] | +91 9739521088
Example:
A user reported that VoIP calls dropped after failover. The issue was a broken HA2 cable,
preventing session sync.
45 Interview Q&A for High Availability and Redundancy| [email protected] | +91 9739521088