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

# sk66069 - How to retrieve CMA synchronization status from the CLI

| Property | Value |
|----------|-------|
| Solution ID | sk66069 |
| Date Created | 2011-12-07 |
| Last Modified | 2022-12-21 |
| Technical Level | General |
| Products | Multi-Domain Security Management Server |
| Versions | R82.10, R81.20, R82, R82.20 |
| OS | Gaia |

## Solution

1. Log in to the Primary MDS  

2. Run the *mdsenv \<Primary-CMA\>* command.  

3. Run the command with the Secondary CMA as the parameter:   
   *cpmistat -o schema -r mg \<Secondary-CMA\>*   

Example of synchronized state:

*:mgStatusDescription (OK)*   
*:mgStatusOK (1)*   
*:mgSyncStatus (Synchronized)*

Example of non-synchronized state:

*:mgStatusDescription ("Not synchronized")*   
*:mgStatusOK (0)*   
*:mgSyncStatus (Collision)*

---

# 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
