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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

dbvalid command

I know you can use the dbvalid command to verify the integrity of the databases. Is it recommended that you bring down the daemon before running the dbvalid command on the databases. Also, if it find any errors, will it repair them automatically?

1 REPLY
Cisco Employee

Re: dbvalid command

You should not use dbvalid directly. Instead, use the configureDb.pl wrapper. For example, to validate the integrity of the ANI database:

NMSROOT/bin/perl NMSROOT/objects/db/conf/configureDb.pl action=validate dsn=ani

You must have Daemon Manager shutdown to use this tool. This tool does not repair errors. True errors in the database cannot be fixed. If you encounter any, you will need to either reinitialize the database or restore from a known good backup.

304
Views
0
Helpful
1
Replies