> Source: [sk101226](https://support.checkpoint.com/results/sk/sk101226)

# sk101226 - Policy installation flow 

| Property | Value |
|----------|-------|
| Solution ID | sk101226 |
| Date Created | 2014-06-10 |
| Last Modified | 2026-05-08 |
| Technical Level | General |
| Products | Security Gateway, Security Management Server |
| Versions | R82.10, R82, R81.20, R81.10 (EOS), R82.10, R82, R81.20, R81 (EOS), R81.10 (EOS), R81 (EOS) |

## Solution

**Policy installation flow:**

1. Assuming the initiation was made by the SmartDashboard, as opposed to using command line options, such as ***`fwm load`*** (on Management Server) or ***`fw fetch`*** (on Security Gateway), the Web Service policy installation command is sent to the Check Point Management (CPM) on the Management Server, which then sends the command to the FWM process where the verification and compilation take place. (In case of failure, debug messages of *cpm* can be found in *$MDS_FWDIR/log/install_policy.elg* file.)  

2. FWM process is responsible for code generation and compilation.   

3. FWM process invokes the Check Point Policy Transfer Agent (CPTA) command that sends the policy to all applicable Security Gateways.   

4. CPD process on the Security Gateway receives the policy and verifies its integrity.   

5. FWD process on the Security Gateway updates all of the user-mode processes responsible for enforcement aspects. These include VPND process for VPN issues, FWSSD processes for Security Server issues, and so on. Once complete, the CPD process then initiates the update for Check Point kernel.   

6. The new policy is prepared, and the Check Point kernel holds the current traffic and starts queuing all incoming traffic.   

7. The Atomic Load takes place. This process should take a fraction of a second.  
   Note: During Atomic Load, SecureXL is disabled and re-enabled afterwards.   

8. The traffic queue is released, and all of the packets are handled by the new security policy.  

   ![](https://sc1.checkpoint.com/sc/SolutionsStatics/sk101226/sk101226_21708220018.png)

**For R80.10:**

**When Policy Installation is initiated from SmartConsole:**

1. The cpmi policy installation command is sent to fwm on the Management server.  
   **Clarification:** The CPMI connection is internal to the Management Server, from CPM to FWM. The install command is sent to the CPM server via web service.
2. fwm performs verification and conversion of the database information for the installation targets for which policy installation is requested.
3. After conversion, fwm invokes fw_loader to perform code generation, compilation, transfer to all applicable gateways and commit.
4. cpd on the Security Gateway listens for install policy connections and receives the files.
5. cpd invokes fw_fetchlocal to load the new policy into the kernel.
6. cpd waits for fw_fetchlocal to complete the process and then informs the Management server of the command's status (installation succeeded or failed).

![](https://sc1.checkpoint.com/sc//SolutionsStatics/sk101226/sk1012261712310144.png)

**To debug policy installation issues, refer to these solutions:**

* [sk86186 (How to debug FWM daemon)](http://supportcontent.checkpoint.com/solutions?id=sk86186)
* [sk33208 (How to debug FWM daemon on Provider-1 / Multi-Domain MDS)](http://supportcontent.checkpoint.com/solutions?id=sk33208)
* [sk33207 (How to debug FWM daemon on Provider-1 CMA / Domain Management Server)](http://supportcontent.checkpoint.com/solutions?id=sk33207)
* [sk86321 (How to debug FWD daemon)](http://supportcontent.checkpoint.com/solutions?id=sk86321)
* [sk86320 (How to debug CPD daemon)](http://supportcontent.checkpoint.com/solutions?id=sk86320)
* [sk60745 (How to debug policy installation on Security Management Server for Edge devices)](http://supportcontent.checkpoint.com/solutions?id=sk60745)

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
