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

Reinitdb.pl on Campus Mgr 3.3 -

I have 6 Solaris boxes running Campus Mgr 3.3 and nothing else (RME is not installed on these boxes).

I would like to run a reinitdb.pl to re-initialize the databases on these boxes. Will the /opt/CSCOpx/campus/etc/cwsi/ANIServer.properties be zeroed out or re-initialized?

I?m just trying to plan this out and ?am not too clear on what all will be erased and need to be rediscovered?

The way I envision this is I will simply, as root, run the /opt/CSCOpx/campus/bin/reinitdb.pl command and the database and be reinitialized and will start rediscovering using the discovery settings and seeds present in the existing ANIServer.properties file.

Does this sound right?

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: Reinitdb.pl on Campus Mgr 3.3 -

You might also want to use the reinitdb.pl command with the -restore option. You will have to shut down the daemon manager prior to doing this.

Another file you can back up is the anisnmp.conf which contains the community strings for devices.

2 REPLIES
Cisco Employee

Re: Reinitdb.pl on Campus Mgr 3.3 -

reinitdb.pl should not wipe out your properties files. It will essentially wipe out the .db files so that discovered devices and end hosts are cleared out. (it should clear out ani.db and ani.log)

You can always take a backup of the ANIServer.properties if you would like.

Cisco Employee

Re: Reinitdb.pl on Campus Mgr 3.3 -

You might also want to use the reinitdb.pl command with the -restore option. You will have to shut down the daemon manager prior to doing this.

Another file you can back up is the anisnmp.conf which contains the community strings for devices.

110
Views
5
Helpful
2
Replies