F5 BIG-IP High Availability Failover Playbook
Active unit failed, config sync issues, floating IP problems, and split-brain scenarios. F5 HA failovers should be transparent but often cause 10-30 seconds of connection drops. When failover fails, you're running on a single unit with no redundancy - or worse, both units think they're active.
Operator's Field Notes
Jeremy Martinez · Incident Commander | Principal Site Reliability Engineer
"F5 HA failovers are one of those things that work perfectly in testing and then cause a 15-minute outage in production. The most common issue: config sync is out of date. The standby unit takes over with stale configuration - missing pools, wrong iRules, expired certificates. Always verify config sync status before you need to fail over."
"The scariest scenario is split-brain: both units think they're active and both are answering ARP requests for the floating IPs. Traffic bounces between them randomly. You'll see intermittent failures that look like a network issue. Check tmsh show cm failover-statuson BOTH units - if both say 'active', you have a split-brain and you need to force one standby immediately."
First 5 Minutes - Triage
1. Check HA Status on Both Units
# On BOTH units - compare results tmsh show cm failover-status # Should show: "active" on one, "standby" on the other # Check device trust tmsh show cm device-group tmsh show cm sync-status # Check if config sync is current tmsh show cm sync-status detail # "In Sync" = good # "Changes Pending" = standby has stale config # "Disconnected" = HA communication broken # Check failover state history tmsh show sys failover cat /var/log/ltm | grep -i "failover"
2. Check HA Communication
# Check failover unicast addresses tmsh list cm device | grep unicast # Check network failover connectivity tmsh show net interface | grep HA # Check failover cable (if using serial failover) tmsh show sys failover | grep serial # Ping the peer's management and HA addresses ping PEER_MGMT_IP ping PEER_HA_IP # Check for network issues between units tmsh run util traceroute PEER_HA_IP
3. Check Floating IPs (Traffic Groups)
# Check which unit owns the floating IPs tmsh show cm traffic-group traffic-group-1 # Verify floating IPs are responding tmsh show net self tmsh show net arp # Check if ARP is correct for floating IPs # From a connected switch or router, verify MAC address # matches the currently active unit
Recovery Procedures
Force Failover to Standby
# Force failover (run on the CURRENTLY ACTIVE unit) tmsh run sys failover standby # Force a specific unit to be active # (run on the unit you want to be active) tmsh run sys failover active # If GUI is available: # System → High Availability → Force to Standby State # CRITICAL: Before forcing failover, verify config sync! tmsh show cm sync-status # If not in sync, sync first: tmsh run cm config-sync to-group my-device-group
Fix Split-Brain
# SPLIT-BRAIN: Both units think they're active # This is URGENT - causes intermittent traffic failures # 1. Choose which unit should be active (usually the one with newer config) # 2. Force the OTHER unit to standby: tmsh run sys failover standby # Run on the unit that should be STANDBY # 3. Verify HA communication is restored tmsh show cm failover-status # Run on both # 4. If HA communication is broken: # - Check failover network (cable, VLAN, IPs) # - Restart failoverd daemon tmsh restart sys service failoverd # 5. Resync configuration tmsh run cm config-sync to-group my-device-group
Sync Configuration
# Push config from active to device group tmsh run cm config-sync to-group my-device-group # If sync fails, check for conflicts tmsh show cm sync-status detail # Force overwrite standby config (destructive to standby changes) tmsh run cm config-sync force-full-load-push to-group my-device-group # If all else fails, export UCS from active and import on standby # On active: tmsh save sys ucs /var/tmp/backup.ucs # Copy to standby # On standby: tmsh load sys ucs /var/tmp/backup.ucs no-license
Connection Mirroring
Connection mirroring replicates connection table to standby. Without it, all active connections are dropped on failover.
# Check mirroring status tmsh show sys connection mirror # Enable mirroring on virtual server tmsh modify ltm virtual my-app-vs mirror enabled # Check mirror port configuration tmsh list cm device | grep mirror # Note: Mirroring adds overhead - only enable for long-lived connections # (WebSockets, database proxies, etc.) # Short-lived HTTP requests typically don't need mirroring
Prevention
HA Maintenance
- • Verify config sync after every change
- • Test failover quarterly (planned)
- • Monitor sync status via SNMP
- • Keep firmware versions matched
- • Separate HA VLAN from production traffic
Monitoring
- • Alert on failover events (syslog/SNMP)
- • Monitor config sync drift
- • Track connection count on both units
- • Certificate expiration monitoring
- • Regular UCS backup schedule