- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2019 08:25 AM
How can i extract the Downstream Relationship details and Upstream relationship details from cmdb_ci_server table for each server.
basically i am trying to know the relationship between cmdb_ci_server,cmdb_ci_cluster and cmdb_ci_service_discovery
If i go to the cmdb_ci_server table there is tab called Relations and under that i have two heading like below Downstream relationships and Upstream relationships i need to have those details(Depends On) and used By for each servers
I can't upload the exact screenshot but this one is similar
Solved! Go to Solution.
- Labels:
-
Change Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2019 11:54 AM
In the navigation filter type cmdb_rel_ci.list - this will pull up all relationships. Then add a filter where Parent class - is Windows Server. That will give you all relationships and type of relationships:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2019 11:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2019 03:21 AM
Thanks Michael
That was just awesome , you are my hero and i consider you as my snow guru from now, struggling from last few days .
One more help this gives me the Upstream Relationship , how can i get the Downstream Relationship?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2019 04:52 AM
If you use Child.Class - is - Windows Server - that should give you the upstream ones.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2019 06:23 AM
Child or Parent . class = Windows Server returns nothing.
What ihave done is
Created a filter with Child = SERVERNAME which returns me all 4 upstream relation details corresponding that server like Name/Custodian/Steward
Similarly i am looking for Downstream details which has relation with CMDB_ci_cluster table
The relation tab in cmdb_ci_server shows as below,with the help of CMDB_ci_Rel table i cannow walk to Upstream relationships details like Name/Custodian/Steward.
Similarly i need the details of [Depends on] CL_XX_XX_XX_XX] which displayed under Downstream relationships
Downstream relationships
ADMXXXXXXX
[Depends on] CL_XX_XX_XX_XX
Upstream relationships
ADMXXXXXXX
[Used by] Active Directory XXXXXXX
[Used by] Intermediary XXXXXXXX
[Used by] Intermediary XXXXXXXX
[Used by] Online XXXXXXXXX