How do I remove inactive elements?

book

Article ID: 15856

calendar_today

Updated On:

Products

CA Infrastructure Management CA Infrastructure Management CA Performance Management - Usage and Administration CA Performance Management - Data Polling

Issue/Introduction

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? 

Environment

Release: CAIMTR99000-3.2-Infrastructure Management-Trial
Component:

Resolution

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): 

./cleanupComponents.sh -test -inactive <DA_HOST_NAME> 

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

./cleanupComponents.sh -inactive <DA_HOST_NAME>