How do I rediscover drive objects that have been deleted when the 'do not rediscover object' option has been selected? (NETIQKB14459)

  • 7714459
  • 02-Feb-2007
  • 04-Nov-2010

Environment

NetIQ AppManager 6.x
NetIQ AppManager 7.0.x

Situation

How do I rediscover drive objects that have been deleted when the 'do not rediscover object' option is selected?

Resolution

In the operator console select the agent with the object that you cannot discover and press ALT+F8.

In the window that appears there will be text that states objid=x  This is the object ID of the system.

Open SQL query analyzer, connect to the Repository server and select the AppManager database.

Run this query:

SELECT objid FROM Object WHERE  RootMachineObjID = <the object ID of the system> and TypeID =43 and Status != 0

This will give you the object ID of the drive object you want to change.

Next run this query:

UPDATE object set status = 0 where Objid = <the number you got back from the previous query>

After this you should be able to rediscover the drive object by dropping the appropriate Discovery knowledge script (Discovery_NT, Discovery_CIM, etc).

Additional Information

Formerly known as NETIQKB14459

CAUTION: This SQL Query directly accesses your database and updates/deletes data. If the query is performed incorrectly it can cause irreparable harm to the database and may result in loss of data. If you are unfamiliar with SQL or how to run a SQL Query please contact NetIQ Technical Support directly.