Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deleted a node and trying to re add it 1

Status
Not open for further replies.

NetEng631

Technical User
Dec 16, 2003
113
US
To all,

I am running HP OV 6.2 on Windows.

I deleted a node from HP OV and now I am trying to add it back.

It verifies the information. When I click OK I get a pop up warning saying.

"When setting object attributes, you entered a non-unique value in a text field that requires a unique value. The text fields that requires unique values are identified by an asterisk in front of the label.

The database name for the text field in error is "IP Hostname"

Etc. "

How can I get this out of the database?

I'm a novice with HP OV and I am hoping someone can give me a hand.

Thanks
NetEng631
 
You could delete the databases and let OV recreate them. Of course I'm in a prototyping environment so it may not be as acceptable for you to do that.

Brian
 
Deleting your databases might be a little drastic to start out with.

I am running NNM on a Solaris platform, but most of the commands should be the same. Look for the following commands: ovtopofix, ovtopodump and ovw.

I would execute the following in order. Keep in mind that the commands and options might be different on the Windows version.

1.) Stop netmon, "ovstop -c netmon".

2.) To find the topology database object ID you want to remove, execute "ovtopodump". This will display a list of all the object IDs and their attributes.

3.) Mark the object for deletion by executing &quot;ovtopofix -r <object ID>&quot;.

4.) Clean up the topology database and remove any objects marked for removal by executing &quot;ovtopofix -chs&quot;.

5.) Clean up and synchronize the map databases by executing &quot;ovw -mapcount -ruvRD&quot;. You might have to kill off all of the running ovw maps.

6.) Execute &quot;ovtopofix -chs&quot; just to make sure everything is clean, because we are paranoid.

7.) Restart netmon.

You should probably have a daily scheduled job to run the topology and map database cleanup commands. It will keep your databases in better shape.

Matt
 
The above post sounds good, if I want to delete then readd a node (NNM6.4 W2k) I do this:
ovstop netmon
ovtopofix -a
ovstart netmon

then use the loadhost command:
loadhost 255.255.255.0 ip.ip.ip.ip hostname

the node should pop up in a holding tank on in the correct location on the map.

- I like the ovtopofix -a (all) and run it once a week.

P
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top