Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
S_L
Participant
Jump to solution

MDS primary status on cli

Is it possible to check the primary status of an MDS on the cli?

 

1 Solution

Accepted Solutions
HeikoAnkenbrand
MVP Diamond
MVP Diamond

Hi @S_L 

use this CLi command:

#cpprod_util FwIsPrimary

0 = secondary
1 = primary

or use

#echo -e "query mdss\n-q\n" | dbedit -local -d mdsdb | egrep 'UID|Object Name|primary

➜ CCSM Elite, CCME, CCTE ➜ www.checkpoint.tips

View solution in original post

2 Replies
HeikoAnkenbrand
MVP Diamond
MVP Diamond

Hi @S_L 

use this CLi command:

#cpprod_util FwIsPrimary

0 = secondary
1 = primary

or use

#echo -e "query mdss\n-q\n" | dbedit -local -d mdsdb | egrep 'UID|Object Name|primary

➜ CCSM Elite, CCME, CCTE ➜ www.checkpoint.tips
S_L
Participant

Thanks for the fast answer.

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    Tue 24 Feb 2026 @ 04:30 PM (EST)

    Las Vegas: MDR/XMDR

    Wed 25 Feb 2026 @ 04:30 PM (MST)

    Tempe, AZ: MDR/MXDR

    Wed 11 Mar 2026 @ 12:00 PM (MDT)

    CheckMates Live Denver!
    CheckMates Events