Removing discovery cache files

Remove discovery cache files to perform a new, clean discovery.

About this task

To remove the current network discovery for a domain, you must remove all discovery cache files. You might want to do this when you need to remove all data from a previous discovery, or when directed to do so by IBM® Support.

This procedure deletes all current discovery cache files and clears the discovery database, effectively resetting discovery. After performing this procedure, you must run a new full discovery of your network.

Note: Because the network topology is stored separately in the NCIM database, this procedure does not remove your network maps. However, any changes made to your network since the last discovery are reflected in the next discovery.

Perform the following procedure to remove all discovery cache files:

Procedure

  1. Stop all Network Manager processes using the itnm_stop script.
  2. Navigate to the $NCHOME/var/precision directory and remove all files that belong to the domain you wish to remove. Files that belong to a particular domain have the domain in the file name. For example, a configuration file belonging to the domain NCOMS would be called file_name.NCOMS.cfg.
  3. Navigate to the $PRECISION_HOME/embeddedDb/sqlite directory and delete the ncp_disco.domain directory.
  4. Optional: Archive or remove existing log files to start the next discovery with fresh log files. The log files for the following processes are relevant:
    • ncp_disco
    • ncp_df_*
    • ncp_agent*
    • ncp_disco_perl_agent*
  5. Restart the Network Manager processes using the itnm_start script.

    New, empty log files are automatically created when the Network Manager processes are restarted using the itnm_start scripts.

  6. Perform a new network discovery.