Dependent Ci management is not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2024 03:43 AM - edited 04-29-2024 03:52 AM
I'm having trouble understanding and getting to make the Dependency CI management work. I've enabled the property "cmdb.dependent.ci.cascade.op.enabled" mentioned in the documentation https://docs.servicenow.com/bundle/washingtondc-servicenow-platform/page/product/configuration-manag...
and also I have enabled the life-cycle rules . Still, whenever I retire a Linux CI using the cmdb data manager policy to retire. it is hosting a apache web server, but the web server is not getting retired, nor can I see the web server in the ledger cmdb_dependent_ci_ledger as mentioned in the documentation.
I have also ran the following scheduled jobs after retiring the Linux.
1. CMDB DependentCI Policy Processor
2. CMDB Cascade Retire Dependent CIs
There still no records in the cmdb_dependent_ci_ledger table even after the linux server is retired.
Can someone help me with this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2024 05:21 AM
My issue ended up being no active CMDB Retirement Custom Definitions. It took support about one month to assist with the issue after many emails and meetings but it is working correctly now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2024 05:39 AM
good to hear that your issue is resolved
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2024 06:34 AM
I have the same issue.. When a CI "State" is set to retired as per the policy a task is generated and upon approval the "LIfe cycle stage" and "Life cycle stage cycle" will get updated to Retired and End of life respectively but the dependent related CIs "State/ Lifecycle stage/ Life Cycle stage cycle" will not be changed to "Retired/End of life"
I can see the related records in ledger table with the "state" as Ready and "Action" as Retire (to be retire) .but there is no process document which tells how to retire dependent CI status.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2024 06:37 AM
are you able to get all the dependent CIs in the cmdb_dependent_ci_ledger table? If so, could you please explain how you achieved it?
Need to run a one time scheduled job "Cleanup Orphan CIs" so all the existing dependent CIs will get added to ledger table
But there is no process defined how to retire those records which got populated in ledger table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2024 07:14 AM
I have found the solution ( No documentation from Servicenow)
Step 1: Follow all the steps provided for CI dependent management ( refer servicenow docs)
Step 2: Execute the scheduled job : CMDB Cascade Retire Dependent CIs]
You can see a task will be generated for "Retire or Archive or Delete" based on your previous policy
Step3 : Complete the generated task
Ref Screenshot :