The community will be in read-only from Tuesday 11:59pm (PST) to Wednesday 7:30am (PST)
The community will be in read-only from Tuesday 11:59pm (PST) to Wednesday 7:30am (PST)
Network Management / (OpenView-NNM) Practitioners Forum
Showing results for 
Search instead for 
Did you mean: 

Using ovtopofix

Go to solution
Lane Frazier
Regular Collector

Using ovtopofix

Hello all,

I'm pretty new to Openview so forgive the rather simple question. I have HP-UX 11.0 and NNM 6.1

I'm trying to understand the proper way to use ovtopofix to keep my map and ovwdb in sync.

I'm very concerned about "messing up" the maps that I've worked so hard to create.

When I ran ovtopofix -n I got numerous messages. I would like to keep these "cleaned up".

I'm wondering if the periodic use of ovtopofix is a smart thing to do.

Here's the real question: Is a plain ovtopofix all that is needed to accomplish this? or are other options needed?... I know that netmon must be stopped before running the command.

Thanks for your help and your time.
Maybe one day I'll understand Openview?!
Berlene Herren
Honored Contributor

Re: Using ovtopofix

ovtopofix is a great command to run on a regular basis. The ovtopofix command is used to detect and correct inconsistencies that may have developed between the IP topology database maintained by ovtopmd and the database maintained by ovwdb for the ovw command.

here are the steps I use to routinely cleanup the database.

1. ovstop netmon
2. ovw -mapcount -ruvD
3. ovtopofix -chs
4. ovstart netmon

Take a look at the man page for each of the arguments. ovw -mapcount is under #man ovw.

Albert E. Whale
Honored Contributor

Re: Using ovtopofix


What Berlene said is true, these are great commands for maintenance. Sometimes it is important to run Steps 2 &3 two or more times and then insure that you reopen the maps that still present errors or warnings.

I have found that this is the most effective way to reduce the problems with both NNM and ITO residing on the same server, as well as maintaining a happy database for the Enterprise.

Hope this information is helpful as well.
Sr. Systems Consultant @ ABS Computer Technology, Inc. &
David Stevens_2
Occasional Contributor

Re: Using ovtopofix


I totally agree with the steps given. However, if you want to run a week maintence, I would suggest using the commands in the following manner:

1. ovstop netmon
2. Close all maps (if left open they will have to be restarted for any changes to take affect).
3. ovw -mapcount -u (if you have errors returned from this command then run with -ruvD options).
4. ovtopofix -chs
5. xnmsnmpconf -clearC
6. ovstart netmon

Hope this helps,
Ignorance is an opportunity
//Add this to "OnDomLoad" event