Creating or editing a federated relationship class
To establish relationships between Configuration Items (CIs) stored within BMC Atrium Configuration Management Database (BMC Atrium CMDB) and external data, you must configure a federated relationship class in the data model. Federated relationship classes that you create are subclasses of the
BMC_FederatedBaseRelationship class. The source class of the relationship must be in the
BMC_BaseElement hierarchy of classes, and the destination class of the relationship must be a federated data class. For more information about relationships between CIs, see Relationships among CIs in a CMDB.
The following topics provide information about creating or editing a federated relationship class:
Create a federated relationship that links the CI class to your federated data class. Define a qualification that specifies which instances from the source class are related to data in the destination class. This qualification requires matching an attribute in the federated data class to an attribute in the CI class (for example, matching IDs between two sets of CIs).
For best performance with your production system, remember that the more federated data that you pull in with your qualification, the more likely you will experience poor performance from the BMC Remedy AR System server. Your qualification should return only a limited result set from the federated repository.
Creating a federated relationship class
The following procedure includes examples for a Calbro Services administrator who wants to create a new federated relationship class that enables users to see federated data that is related to computer system CIs stored in BMC Atrium CMDB. You have already created a plugin and data store for this database, and has created a federated data class for the incident information.
After you have created a federated relationship class, you must verify the new federated relationship class and its attributes
To create a federated relationship class
- In Federation Manager, open the Federated Relationship Class dialog box by using one of the following methods:
- As part of the procedure to create a new data store and federated data class, as described in Managing federated data stores and Creating or editing a federated data class.
- On the Retrieval Definitions tab, select an existing federated data class to be the destination class, and then click New next to the Federated Relationship Classes table.
- In the Namespace field, select a namespace for the new federated data class.
By default, new federated data classes are in the BMC.FED namespace. For more information, see Namespaces and partitioning the data model.
- In the Name field, enter a name for the class.
For example, the Calbro Services administrator would name the class CAL_FederatedBankingServersData.
If your organization follows particular naming conventions when extending the data model, apply those conventions to this class.
- (optional) Enter the following information, and then click Next:
The person or provider that created this class.
The purpose of the class, such as the CI and federated data classes that it relates.
- In the Source and Destination Classes page, select a source CI class for the relationship.
By default, the current federated data class appears as the destination class.
For example, the Calbro Services administrator would select a source class of
- Click Qualification Builder to create the qualification.
Create a qualification for the relationship to specify which instances of the source class are related to the data in the destination class. Creating a valid qualification is necessary to create the link between the CI instance and the external data in the federated class.
- Select an attribute from the source class. Attributes for the source class are automatically enclosed in single quotation marks.
- Select an operator.
- Select an attribute from the destination class. Attributes for the destination class are automatically enclosed in dollar signs.
For example, the Calbro Services administrator would build the following qualification to relate computer systems to external information about the banking servers:
- Click OK.
- Click Next.
- Assign Hidden and Visible permissions for the new class, and then click Next.
For more information about BMC Atrium CMDB permissions, see Class permissions on BMC Atrium CMDB data.
- Review the details for the federated relationship class.
- If you are satisfied with the details, click Finish.
- If the federated relationship class is successfully created, click OK to close the SUCCESS dialog box.
If you created a successful match between records from the CI class and the federated class, you can view them in BMC Atrium Explorer. For example, see Viewing federated data in BMC Atrium Explorer.
To verify the new federated relationship class and its attributes
- Open Class Manager.
- Select the
Your new federated relationship class is displayed as a subclass next to it.
- Double-click the federated relationship class to open the Relationship Class dialog box.
- Review the general properties of the federated relationship class.
- Click the Attributes tab and review the source and destination attributes.
- Click OK.
To edit a federated relationship class
As you change the amount and type of data that you store in BMC Atrium CMDB and external sources of data, you might need to modify the federated relationship class that relates CIs to federated data. For example, if you increase the number of fields stored as attributes of a federated data class, you should alter the qualification in the federated relationship class.
- In Federation Manager, select the data store containing the federated relationship class that you want to edit.
- In the Federated Data Classes table of the Retrieval Definitions tab, select the federated data class associated with the federated relationship class that you want to edit.
- In the Federated Relationship Classes table, select a class, and then click Edit.
- In the Edit Federated Relationship Class dialog box, modify the qualification that relates instances of this class to instances of a CI in the BMC Atrium CMDB.
- If necessary, change the Visible and Hidden permissions for the class.
- Click OK.