Cleanup agents properties
The cleanup agents remove the orphaned aliases and configuration items, or fix the missing rows in the tables. Most of them read properties that are defined in the collation.properties file.
AliasesCleanupAgent
The agent removes aliases from the ALIASES table that no longer match the CI naming attributes. It also removes aliases and rows in the PERSOBJ table which do not have any corresponding CIs. The agent reads the following properties from the collation.properties file:
com.ibm.cdb.topomgr.topobuilder.deleteAliasesWithoutMaster
- The default value is true.
- com.ibm.cdb.topomgr.topobuilder.max.row.fetch
- The default value is 1000.
- com.ibm.cdb.topomgr.topobuilder.max.row.delete
- The default value is 5000.
- com.ibm.cdb.topomgr.topobuilder.agents.AliasesCleanupAgent.maxNumberOfMastersToScan
- The default value is 1000.
- com.ibm.cdb.topomgr.topobuilder.cleanupOrphanedAliasesAndPersobj
- The default value is true. The agent runs the cleanup.
- com.ibm.cdb.topomgr.topobuilder.DelayToRemoveAliases
- The default value is 12 (hours). The orphaned aliases that are older than 12 hours are removed by the agent.
AliasesJnTableCleanupAgent
This agent removes old rows from the ALIASES_JN table. This table contains the history of changes to the ALIASES table. It is used to find potential over merges of configuration items in the database. The agent reads the following properties from the collation.properties file:
com.ibm.cdb.topomgr.topobuilder.agents.AliasesJnTableCleanupAgent.maxRow
- The default value is 5000. It is advised not to change the default value.
- com.ibm.cdb.topomgr.topobuilder.agents.AliasesJnTableCleanupAgent.removeOlderThanDays
- The default value is 30 (days).
- com.ibm.cdb.topomgr.topobuilder.agents.AliasesJnTableCleanupAgent.timeout
- The default value is 1800 (seconds).
DependencyCleanupAgent
- com.ibm.cdb.topomgr.topobuilder.agents.DependencyCleanupAgent.timeout
- The default value in seconds is 600. After this time, the agent stops removing the objects, even if there are still some left.
- com.ibm.cdb.topomgr.topobuilder.agents.DependencyCleanupAgent.removeOlderThanDays
- The default value in days is 90. The Relationship objects, which are older than the specified value are treated as dormant objects.
ObjectsWithoutAliasesCleanupAgent
The agent removes the CIs that do not have the aliases in the ALIASES table. The agent reads the following property from the collation.properties file:
- com.ibm.cdb.topomgr.topobuilder.agents.ObjectsWithoutAliasesCleanupAgent.maxToRemove
- The default value is 1000
PersobjCleanupAgent
2012-08-22 18:12:21,500 TopologyBuilder [TopologyBuilderEngineThread$Cleanup@4.0]
INFO agents.PersobjCleanupAgent - Fixed 10 rows in PERSOBJ table
StorageExtentCleanupAgent
- com.ibm.cdb.topomgr.topobuilder.agents.StorageExtentCleanupAgent.timeout
- The default value in seconds is 1800. After this time, the agent stops removing the objects, even if there are still some left.
- com.ibm.cdb.topomgr.topobuilder.agents.StorageExtentCleanupAgent.removeOlderThanDays
- The default value in days is 1. The StorageExtent objects, which are more than 1 day older than their parent ComputerSystems are treated as dormant objects.
VlanInterfaceCleanupAgent
- com.ibm.cdb.topomgr.topobuilder.agents.VlanInterfaceCleanupAgent.timeout
- The default value in seconds is 1800. After this time, the agent stops removing the objects, even if there are still some left.
- com.ibm.cdb.topomgr.topobuilder.agents.VlanInterfaceCleanupAgent.removeOlderThanDays
- The default value in days is 1. The VlanInterface objects which are more than 1 day older than their parent Vlans are treated as dormant objects.