Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

Blue

Reinitializing Campus Manager db

In my notes, I have the following for reinitializing the Campus Manager db back to zero, applicable to both verions 3.3 and 4.0. But last night I found out DCR got wiped clean, along with CM's Data Collection and UT after I executed these steps. Where did it go wrong?

/etc/init.d/dmgtd stop

/opt/CSCOpx/bin/perl /opt/CSCOpx/bin/dbRestoreOrig.pl dsn=cmf dmprefix=Cmf

Does "cmf" stand for "campus manager framework" or "common service management framework"?

/opt/CSCOpx/bin/perl /opt/CSCOpx/campus/bin/reinitdb.pl -restore

/opt/CSCOpx/bin/dbpasswd.pl listdsn

/opt/CSCOpx/bin/dbpasswd.pl dsn=ani encryption=yes npwd=newpasswd

/opt/CSCOpx/bin/dbpasswd.pl dsn=cmf encryption=yes npwd=newpasswd

/etc/init.d/dmgtd start

3 REPLIES

Re: Reinitializing Campus Manager db

its this line that deletes the content of your cmf DB

/opt/CSCOpx/bin/perl /opt/CSCOpx/bin/dbRestoreOrig.pl dsn=cmf dmprefix=Cmf

DCR information is stored in the cmf db along with Device Selector settings and some OGS info (Object Grouping; e.g. user defined groups for CS, Campus and DFM)

Cisco Employee

Re: Reinitializing Campus Manager db

You'll probably want to clear everything again after doing this. If CMF is cleared (even if you didn't mean it) it should be done last. So you should clear all other DB's and then clear CMF and restore from backup

Blue

Re: Reinitializing Campus Manager db

Are you saying I should:

1) /opt/CSCOpx/bin/perl /opt/CSCOpx/bin/dbRestoreOrig.pl dsn=ani dmprefix=ANI

2) /opt/CSCOpx/bin/perl /opt/CSCOpx/campus/bin/reinitdb.pl -restore

3) /opt/CSCOpx/bin/perl /opt/CSCOpx/bin/dbRestoreOrig.pl dsn=cmf dmprefix=Cmf

Do I need to reinit the RME db between 2) and 3)?

/opt/CSCOpx/bin/perl /opt/CSCOpx/bin/dbRestoreOrig.pl dsn=rmeng dmprefix=RME

What potential problems would I face if I don't reinit the RME db?

130
Views
0
Helpful
3
Replies
CreatePlease login to create content