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
Champion Champion
Champion

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

View solution in original post

2 Replies
HeikoAnkenbrand
Champion Champion
Champion

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
S_L
Participant

Thanks for the fast answer.

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events