Expired computer systems are not being deleted from UMP (USM)

Document ID : KB000034378
Last Modified Date : 14/02/2018
Show Technical Document Details

Problem:


Expired Computer Systems were not being deleted from UMP (USM) in the last few versions of discovery_server but this is now fixed in CA UIM 8.31. Computer systems are considered expired, and should be published for deletion, when they meet the following criteria:

  • The computer system alive time is older than the expire_time value specified in the discovery_server probe configuration. The default expire_time is 30 days. The computer system alive time value can be found in the CM_COMPUTER_SYSTEM table. 
  • No QoS (Quality of Service) data exists, which implies that there are no rows in the R and H QoS data tables associated with the expired computer system. The raw and historic QoS data is deleted based on the corresponding Raw Age and History Age settings specified in the Quality of Service section of the Data Engine probe configuration for the QoS metrics associated with the expired computer system. By default, raw data is deleted after 180 days, and historic data is deleted after 720 days.

Cause:


For discovery_server probe version 8.2 and earlier, the expire computer systems task is not running as scheduled. The problem is fixed in Discovery Server version 8.3 and later.
 
Workaround:


For Discovery Server version 8.2 and earlier, add an expire_task_start_time key to the ‘setup’ section of the probe configuration.

  1. Login to Admin Console or Infrastructure Manager.
  2. In Admin Console, go to the primary robot hosting the Discovery Server probe, click on the probe, and select Raw Configure. In Infrastructure Manager, go to the primary robot hosting the Discovery Server probe, hold down the Ctrl key, right click on the probe, and select Raw Configure.
  3. In the setup section, add a key named expire_task_start_time with a value of 2015-03-25T12:00:00Z. The specific date-time value does not matter as long as it is in the past and is in the correct format.
  4. Click Apply and click Yes when asked to restart the probe.
  5. After the probe restarts, you will see the following messages in the Discovery Server log file showing the results of the expire computer systems task.
    1. At log level 5, you will see a message saying: Beginning to expire computer systems older than 30d.
    2. At log level 4 or above, you will see a message with the number of computer systems that were deleted: Published 4 computer systems to delete.
  6. Moving forward, the expire computer systems task will run every 24 hours based on the time when the Discovery Server was restarted in step 5.

 
discovery_server probe configuration setup section example:

<setup>
loglevel = 5
expire_time = 30d
expire_task_start_time = 2015-03-25T12:00:00Z
</setup>

 
Additional Links:


https://wiki.ca.com/display/UIMPGA/discovery_server+Release+Notes
 
Other:
Note also that in CA Nimsoft (UIM) v7.0, development changed the handling of expired systems to only delete systems that have NO QOS data.