How do I remove inactive elements?

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

When adding and removing monitoring profiles from collections you can end up with large amounts of inactive components/elements.


How do I remove inactive elements and components? 


There is  a script to remove inactive elements and components from the database shipped with CA Performance Management 3.2.

Instructions to run the script.

1. cd /opt/IMDataAggregator/scripts

2. Run the sctipt in test modeto see what will be removed(example): 

./ -test -inactive <DA_HOST_NAME> 

3. Run script without test flag to remove components(example).

./ -inactive <DA_HOST_NAME>