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
07-31-2024 07:51 AM - edited 07-31-2024 07:52 AM
When did you execute the dependent CI task ? and how many CIs were there in the dependent ci task ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2024 07:58 AM
I ran Scheduled Jobs in the order I posted a few minutes ago verifying that they did what they were supposed to do. cmdb_dependent_ci_ledger would correctly show the dependent CIs in a Ready State with Retire for Action.
The CMDB Data Management Task gets correctly generated. I tried both with and without approval needed. The number of dependent CIs is only 19 for this one device. Once Approved, the task changes to Closed Complete. The dependent CIs will clear from cmdb_dependent_ci_ledger after the CMDB Data Management Task is Approved as expected.
I have run this numerous times on difference devices this morning but all with the same result and am just not sure what I am missing at this point. I have opened a Case with ServiceNow as well to see if they can point me in the right direction.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2024 08:16 AM
It is working in my case but im curious in your case what could be the issue.. Please let me know the solution provided by ServiceNow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2024 08:17 AM
Thank you, I will let you know. I am sure it is something I have done wrong along the way but I have no idea what it could be.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2024 08:21 AM - edited 07-31-2024 08:21 AM
Good luck Eric..Happy Learning