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

# sk148112 - How to check the Management High Availability status from the CLI

| Property | Value |
|----------|-------|
| Solution ID | sk148112 |
| Date Created | 2019-02-27 |
| Last Modified | 2021-08-22 |
| Technical Level | General |
| Products | Security Management Server |
| Versions | R82.10, R82, R81.20, R82.20 |
| OS | Gaia |

## Solution

To see the current Management High Availability status, run these commands:

`cpstat mg`

`Product Name: Check Point Security Management Server`

`Major version: 6`

`Minor version: 0`

`Build number: 991140036`

`Is started: 1`

**`Active status: `standby**

`Status: OK`

To check if the local machine is the primary or the secondary Security Management Server, run:

`grep Primary $CPDIR//registry/HKLM_registry.data`

`:Primary ("[4]1") means this is the primary`

`:Primary ("[4]0") means this is the secondary`

---

# 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
