Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Participant

MDS primary status on cli

Jump to solution

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

 

1 Solution

Accepted Solutions

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

View solution in original post

2 Replies

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

View solution in original post

Participant

Thanks for the fast answer.

0 Kudos
Reply