- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Can anyone help me on this
How to create a report for Orphan Server (Server without Application Service)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @PRADEEPREDDY GU ,
You can use CMDB Query Builder to get the data, but if you wanna show it in report you may Need to create Database View..
Step 1: Using CMDB Query Builder
Open Configuration > CMDB Query Builder.
Create a New query.
Drag the Server class onto the canvas.
Drag the Application Service class onto the canvas.
Connect them with a line.
Click on the connection line and check the box for No Relations (this creates a "Left Join" where the right side(relation to a server) is null).
Run the query.
- There you can see the data for Orphan Servers.
Alternative Step : Creating Database View
You Need to create a database view which combines both the tables server and rel_ci and from these database view.. you need to create the report.. If you wanna go for this database view.. Let me know , will give you the steps..
If this helps, Please Mark it as helpful and please Accept My Solution...
Best Regards,
SIVASANKARI S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @PRADEEPREDDY GU ,
You can use CMDB Query Builder to get the data, but if you wanna show it in report you may Need to create Database View..
Step 1: Using CMDB Query Builder
Open Configuration > CMDB Query Builder.
Create a New query.
Drag the Server class onto the canvas.
Drag the Application Service class onto the canvas.
Connect them with a line.
Click on the connection line and check the box for No Relations (this creates a "Left Join" where the right side(relation to a server) is null).
Run the query.
- There you can see the data for Orphan Servers.
Alternative Step : Creating Database View
You Need to create a database view which combines both the tables server and rel_ci and from these database view.. you need to create the report.. If you wanna go for this database view.. Let me know , will give you the steps..
If this helps, Please Mark it as helpful and please Accept My Solution...
Best Regards,
SIVASANKARI S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @sivasankaris ,
1.I checked the query builder i found few servers but in those some are mapped with application service but some are not mapped.
PFA....
how do i get the exact list Server without Application Service.
2.
Alternative Step : Creating Database View
send me the steps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @PRADEEPREDDY GU ,
Can you share the screenshots of the query builder which you created and also the rel_ci records of the server which are mapped with application server(wrongly came in the query builder..)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Hi, Did you get this resolved?
Even I am getting the servers which have relationship with service instance.
