CMDB Data Manager: Retirement definition correspondence to Retire policy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2024 12:20 PM
In the CMDB Data Manager, I'm wondering what, if any, connection there is between the table listed on a retirement definition and the table listed on a Retire policy.
Let's say I have the OOTB retirement definition for cmdb_ci that sets Life Cycle Stage = End of Life and Life Cycle Stage Status = Retired.
And let's say I want a different retirement definition for another class that doesn't have an OOTB definition, like cmdb_ci_printer, and sets Life Cycle Stage = End of Life but Life Cycle Stage Status = Obsolete.
How do I make sure the Retire policy for Printer uses the definition I created for cmdb_ci_printer, and not the definition for cmdb_ci? Is that by setting the table in the policy to cmdb_ci_printer instead of using table cmdb_ci and adding a condition of Class is Printer?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2024 02:43 PM
A retirement definition configured for a parent class will be inherited by child classes. If a different retirement definition is configured for a child class, it will override the parent class' retirement definition.
In your example, the definition for cmdb_ci_printer overrides the definition for cmdb_ci. Any child classes of cmdb_ci_printer will inherit its definition - not that of cmdb_ci.
Retire/Archive/Delete policies use the definition that applies to the CI class selected in the Data Filter. Referring to the example above, if a Retire policy used cmdb_ci_printer in the Data Filter, the retirement definition for cmdb_ci_printer would be automatically selected and the Life Cycle Stage and Life Cycle Stage Status fields updated with the values specified in the definition.
Similarly, using the example above if cmdb_ci_win_server was used in a Retire policy, the retirement definition for cmdb_ci would be automatically selected since there's no other definition for its class.
When setting a retirement defintion, be sure to make it Active otherwise it will be ignored when Data Manager executes policies.