Dependent Ci management is not working

Deepak61
Tera Contributor

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? 

25 REPLIES 25

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.

good to hear that your issue is resolved

bkprasanna
Tera Expert

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.

bkprasanna
Tera Expert

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

bkprasanna
Tera Expert

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 :

bkprasanna_0-1720016074028.png