1.3 Management HA Failover & Troubleshoot (Manual Failover, Sync Status, Collision Resolution)
Key Takeaways
- Active/Standby failover is performed in SmartConsole's Management High Availability view by connecting to the Standby SMS and changing it to Active so policy editing and installs resume.
- Management High Availability protects the management control plane only; Security Gateways keep inspecting traffic from locally compiled policy in $FWDIR/state/local/fwviews/ during an SMS outage.
- Promoting a Secondary SMS to Primary is a separate disaster-recovery procedure that uses $FWDIR/bin/promote_util and license/IP remediation; it is not the same action as switching Active/Standby roles.
- Resolving a Collision sync state requires connecting SmartConsole to the authoritative SMS, right-clicking the peer, and selecting Overwrite Peer to force a Full Sync.
- Primary CLI diagnostics include cpstat mgmt -f ha for role/peer/sync status and cpprod_util CPPROD_is_mgmt_active for a quick Active (1) vs Standby (0) check.
Management HA Failover Dynamics & Resiliency Scope
Management High Availability (MHA) in Check Point R82 is engineered specifically to ensure control plane availability. It guarantees that security administrators can maintain visibility, modify security policies, and deploy configuration updates even if a primary management appliance experiences a hardware failure, site outage, or maintenance downtime.
Management Plane Redundancy vs. Data Plane Inspection
A foundational concept tested on the CCSE exam is the strict separation between the management control plane (SMS) and the gateway data plane (Security Gateways):
- Gateway Data Plane Continuity: Managed Security Gateways execute compiled policy binaries stored locally in
$FWDIR/state/local/fwviews/. If the Primary SMS fails or becomes completely isolated from the network, managed Security Gateways continue inspecting network traffic without disruption. Active firewall connections, VPN tunnels, NAT translations, and IPS inspection engines operate normally. - Logging Continuity: Gateways automatically fail over security log delivery to the Secondary Log Server/SMS over TCP port 257 if the Primary Log Server fails to acknowledge TCP log ACKs.
- Administrative Failover: To regain policy editing, rule publishing, and gateway policy push capabilities, an administrator must change the Standby SMS to Active status in SmartConsole.
+---------------------------------------------------------------------------------+
| FAILOVER & RESILIENCY ARCHITECTURE |
| |
| Primary SMS (Active) [ CRASHED / ISOLATED ] |
| | |
| X (Management Control Lost) |
| v |
| Standby SMS (Secondary) ===> [ CHANGE TO ACTIVE ] ===> Active CPM Engine |
| (SmartConsole HA view) (Read-Write DB) |
| |
| ----------------------------------------------------------------------------- |
| Managed Security Gateways: |
| - Data Plane Traffic: UNINTERRUPTED (Policy runs from local compiled binaries) |
| - Log Redirection: Transmit logs to Secondary Log Server (TCP 257) |
+---------------------------------------------------------------------------------+
Active/Standby Failover Workflows (SmartConsole)
In Check Point R82, changing a Standby SMS to Active is intentionally a manual administrative action (unless automated by an external orchestrator). This design prevents split-brain scenarios caused by transient network flaps.
Active/Standby vs Primary/Secondary terminology
| Concept | Meaning | Typical action |
|---|---|---|
| Active / Standby | Which SMS currently accepts read-write SmartConsole sessions, publishes, and installs policy | Change Standby to Active in SmartConsole HA view |
| Primary / Secondary | Installation roles and ICA ownership (Primary holds master ICA) | Disaster recovery may promote Secondary to Primary with $FWDIR/bin/promote_util |
CCSE questions focus first on Active/Standby continuity of management operations. Promoting Secondary to Primary is a heavier disaster-recovery procedure used when the original Primary is permanently retired.
Workflow 1: Change Standby to Active in SmartConsole
- Connect SmartConsole to the Standby SMS: Open SmartConsole R82, enter the Standby SMS IP, and authenticate.
- Open Management High Availability: SmartConsole Menu -> Management High Availability.
- Change local server to Active: Select the local Standby SMS and change its role to Active (wording may appear as Change to Active / Set Active).
- Confirm the warning: Ensure the former Active peer is offline or unreachable before continuing, to avoid Collision.
- Verify:
cpstat mgmt -f hashould report local HA Mode as Active andcpprod_util CPPROD_is_mgmt_activeshould return1.
+---------------------------------------------------------------------------------+
| SMARTCONSOLE: CHANGE STANDBY TO ACTIVE |
| |
| Peer Object Role Sync Status Action |
| ----------------------------------------------------------------------------- |
| SMS-Primary-01 Active Unreachable [ Server Down ] |
| SMS-Secondary-01 Standby Sync In Doubt [ Change to Active ] |
| |
| [ WARNING: Making this server Active grants read-write management access. ] |
| [ Ensure the peer SMS is offline to avoid Collision. Continue? ] |
| [ Yes ] [ Cancel ] |
+---------------------------------------------------------------------------------+
Workflow 2: Promote Secondary to Primary (disaster recovery only)
If the original Primary SMS is permanently lost and you must make the surviving Secondary the new Primary (ICA owner), Check Point documents a separate promote procedure on the surviving server:
# On the Secondary that will become Primary (after it is Active)
#$FWDIR/bin/promote_util
#cpstop
# Remove $FWDIR/conf/mgha files that store prior Secondary settings
# Confirm mgmtha licenses use the promoted server IP
#cpstart
After promotion, SmartConsole object cleanup and database install steps are required so gateways and peers reference the surviving management server. Do not confuse this Primary promotion sequence with everyday Active/Standby failover.
Resolving Collision Sync Status State
A Collision status occurs when independent changes are published on both Primary and Secondary management servers while database synchronization was broken (e.g., during a network isolation event where an administrator promoted the Secondary SMS, published changes, and then restored connectivity to the original Primary SMS).
+---------------------------------------------------------------------------------+
| SPLIT-BRAIN COLLISION SCENARIO |
| |
| Primary SMS (Disconnected) ---> Admin published Rev 105 ("Objects A, B") |
| Secondary SMS (Promoted) ---> Admin published Rev 106 ("Objects C, D") |
| |
| Network Restored ===========> BOTH SERVERS DETECT CONFLICTING REVISIONS |
| SMARTCONSOLE HA STATUS: [ COLLISION (RED) ] |
+---------------------------------------------------------------------------------+
Step-by-Step Collision Resolution Procedure
- Identify the Authoritative Server: Consult administrative change tickets to determine which management server holds the valid, authoritative configuration rulebase.
- Connect SmartConsole to Authoritative Server: Open SmartConsole connected directly to the designated authoritative SMS (e.g., Primary SMS).
- Open Management HA Panel: Navigate to SmartConsole Menu -> Management High Availability.
- Execute Overwrite Peer:
- Right-click the peer SMS object (the non-authoritative server holding stale/conflicting changes).
- Select Overwrite Peer (or Force Full Sync to Peer).
- Confirm Overwrite: SmartConsole warns that all unpublished and published changes on the target peer server will be permanently destroyed and replaced.
- Full Sync Execution: The authoritative SMS initiates a mandatory Full Sync over TCP port 18190, completely overwriting the peer's database. The status transitions to Synchronized (Green).
Diagnostic & Troubleshooting CLI Toolkit
When troubleshooting HA synchronization errors, SIC trust failures, or promotion issues, CCSE administrators rely on a suite of native Check Point CLI tools.
Primary CLI Inspection Commands
1. cpstat mgmt -f ha
Displays comprehensive Management HA operational details, including local server role, peer state, synchronization mode, and last sync timestamp:
[Expert@SMS-Primary:0]# cpstat mgmt -f ha
Management High Availability Status:
------------------------------------
HA Mode: Active
HA State: OK
Peer Name: SMS-Secondary-01
Peer Mode: Standby
Peer State: OK
Sync Status: Synchronized
Last Sync Time: Wed Jul 22 14:35:10 2026
Sync Port: 18190
2. fwm srv status
Inspects the running status of core management daemons (fwm, cpm, cpca):
[Expert@SMS-Primary:0]# fwm srv status
Process Name PID State
----------------------------------
fwm 4120 Ready
cpm 4512 Ready (Active Mode)
cpca 3890 Ready
3. cpprod_util CPPROD_is_mgmt_active
Returns a quick binary boolean output indicating whether the local server is operating in Active mode (1) or Standby mode (0):
[Expert@SMS-Primary:0]# cpprod_util CPPROD_is_mgmt_active
1
4. Network Socket Verification (netstat / tcpdump)
Verify that the CPM sync listening socket is active on TCP port 18190:
[Expert@SMS-Primary:0]# netstat -anp | grep 18190
tcp 0 0 0.0.0.0:18190 0.0.0.0:* LISTEN 4512/cpm
# Monitor active sync traffic between Primary and Secondary SMS
[Expert@SMS-Primary:0]# tcpdump -n -i eth0 port 18190
Critical Diagnostic Log Files Analysis
When CLI status commands indicate errors or promotion failures occur, administrators must analyze three primary diagnostic log files:
$FWDIR/log/fwm.elg # Management server daemon log (HA status, promotion, SIC)
$FWDIR/log/cpd.elg # Check Point daemon log (SIC transport, TCP 18191 events)
$CPMDIR/logs/cpm.elg # CPM Java process log (PostgreSQL DB sync, revision diffs)
1. $FWDIR/log/fwm.elg
Tracks higher-level management process events, HA state changes, and promotion sequences. Look for errors such as:
HA: State changed from Standby to Active(Successful promotion).HA Error: Failed to acquire database write lock(Another session or process is locking PostgreSQL).SIC Error: Peer certificate validation failed(Expired or invalid SIC certificate).
2. $FWDIR/log/cpd.elg
Records low-level daemon communication and SIC transport protocol events over TCP ports 18191 and 18211. Useful for diagnosing:
- Connection timeouts during initial SIC establishment.
- SSL/TLS handshake failures between management daemons.
3. $CPMDIR/logs/cpm.elg
Captures detailed Java exceptions and PostgreSQL database operations managed by the CPM engine. Key indicators include:
CPM Sync Engine: Starting Delta Sync payload generation for revision <GUID>.PostgreSQL Exception: Unique constraint violation during sync import(Precursor to Collision status).
Technical Reference: Troubleshooting Commands & Log Files
| Command / Log File | Primary Purpose / Description | Expected Output / Key Errors |
|---|---|---|
cpstat mgmt -f ha | Master CLI status tool for Management HA | Displays Active/Standby role, Synchronized/Collision state, peer status |
cpprod_util CPPROD_is_mgmt_active | Quick scriptable check for Active status | Returns 1 for Active mode, 0 for Standby mode |
$FWDIR/bin/promote_util | Disaster-recovery utility to promote Secondary SMS to Primary | Used when retiring a permanently failed Primary; not routine Active/Standby failover |
fwm srv status | Verifies management process daemon health | Shows Ready status for fwm, cpm, and cpca |
$FWDIR/log/fwm.elg | Log file for FWM daemon and HA state changes | Logs promotion events, database lock acquisition, and HA state changes |
$FWDIR/log/cpd.elg | Log file for CPD daemon and SIC authentication | Logs TCP 18191 SIC handshake errors and certificate exchange failures |
$CPMDIR/logs/cpm.elg | Log file for CPM engine and DB sync transactions | Logs Delta/Full Sync SQL transactions, revision GUID diffs, and DB exceptions |
What is the correct SmartConsole procedure to resolve a red 'Collision' synchronization status between Primary and Secondary Security Management Servers?
Which Check Point CLI command provides the complete operational status, peer state, and synchronization condition of Management High Availability?
If the Primary Security Management Server crashes and becomes completely offline, what is the immediate impact on security traffic inspection on managed Security Gateways?
Which diagnostic log file on the Security Management Server records detailed information regarding FWM daemon operations, Management HA state transitions, and server promotion events?