Suggested relationships
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2023 07:00 AM
What is functionality of suggested relationship table? where is it used.
Any help is appreciated.
Thanks,
Sruthi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2023 07:04 AM
Hi @sruthi1 ,
The system keeps a table (Suggested Relationship [cmdb_rel_type_suggest]) of relationship types that are appropriate for a CI type, based on its class. You can manage suggested relationships by navigating to Configuration > Suggested Relationships, or in the CI Class Manager.
Suggestion model
The relationship editor has a base CI. The base CI designates the CI that a user was on before launching the editor, as the base CI in the new relationship. If you launched the relationship editor from the lnux100 CI, then lnux100 becomes the base CI. Also, every CI in the system has a type (class). For example, bond lnux100 is of the Linux server type.
Many CI types are children of other types in the hierarchy. For example, the class hierarchy for a Linux server is:
cmdb_ci
-> cmdb_ci_hardware
->cmdb_ci_computer
-> cmdb_ci_server
-> cmdb_ci_linux_server
The suggestion model works by analyzing the suggested relationship table for all relationships whose base class is the current base class of the user or any one of its parent classes. For example, looking at a Linux server, the suggestion model would retrieve any relationships whose base class was:
cmdb_ci_linux_server
, cmdb_ci_server
, cmdb_ci_computer
, cmdb_ci_hardware
, or cmdb_ci
ITOM Visibility, if available, uses enhanced discovery patterns to identify and add CI relationships to the Suggested Relationships table.
Suggested CI relationships in the relationship editor
The CI relationship editor uses the suggestion model to help users select reasonable relationships for configuration items.
For example, consider these relationship types in the system:
- Provides Power for :: Receives Power From
- Runs on :: Hosts
Typically, a user uses these relationships to define the following reasonable relationships between two items as follows:
- a database runs on a server
- a rack provides power for a server
Typically, neither of the following definitions would be appropriate:
- a rack runs on a server
- a server runs on a database
For descriptions of some key relationships, see CI relationships in the CMDB.
Add a suggested relationship for a class. The list of suggested relationships for a class is available when you create a new relationship for a CI of that class.
Before you begin
Role required: To view — itil. To create, update, or delete suggested relationships — itil_admin.
Procedure
- Use the CI Class Manager (Role required: itil_admin):
- Navigate to All > Configuration > CI Class Manager.
- Click Hierarchy to expand the CI Classes list. Then select the class to add a suggested relationship to.
- In the class navigation bar, click Suggested Relationships.
- Click New.
- In the Add Suggested Relationship dialog box, select a Relationship and a Target Class for the relationship. This Class and the Target Class become parent or child in the suggested relationship, based on your selection of the Relationship.
- Click Save.
- Or, navigate to All > Configuration > Relationships > Suggested Relationships (Role required: admin):
- Click New.
- Complete the form.
Suggested Relationship fields Field Description Base class The base class in the relationship, which depending on the relationship type, is either the parent or the child in the relationship. Relationship Relationship type. Dependent class The dependent class in the relationship, which depending on the relationship type, is either the parent or the child in the relationship.
Example: Suggested relationship you can add
Base Class | Relationship | Dependent/Target Class |
---|---|---|
Oracle | Is Hosted On | Linux Server |
Oracle | Is Hosted On | Solaris Server |
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2023 12:21 AM
Thanks for the info Sandeep,
So the suggested relationships is just for the visibility ? If I delete a suggested relationship record what would be the impact?
Regards,
Sruthi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2023 12:28 AM