This documentation applies to the 8.0 version of BMC Atrium Core, which is in "End of Version Support." You will not be able to leave comments.

To view the latest version, select the version from the Product version menu.

Using a CI query to create dynamic service models

You no longer need to manually create relationships between configuration items (CIs) if you have a business rule that you can apply in your IT infrastructure--for example, servers should automatically be linked to an application or to a cluster. The dynamic service model lets you map a query to any CI to automate the maintenance of service models supporting that CI.

In your service model, you can dynamically link or unlink a technical service to the CIs delivering that service. You can create and associate one or more queries with a technical service from the Atrium Explorer toolbar. You can then define a scheduled interval when the dynamic service model server runs those queries. The CIs returned by these queries are automatically linked to the technical service attached to the queries. Any existing links to components that are no longer returned by these queries are unlinked from the service.

For example, Allen Allbrook, the Calbro Services administrator, does not want to manually examine all the computer CIs that have changed in his IT infrastructure to see how they affect a technical service CI. Instead, he can create an automated query that runs every 30 hours. This query returns all computer CIs related to that technical service.

To associate queries with a technical service (when creating a dynamic service model)

  1. In BMC Atrium Explorer, open the BMC.ASSET dataset.
  2. Search for a technical service CI and drag it into the display pane.
  3. Select the technical service CI.
  4. From the BMC Atrium Explorer toolbar, click Map IT Resources.

    Note

    Map IT Resources in BMC Atrium Explorer is enabled when you select any CI from the BMC.ASSET dataset and you have administrative privileges.

    The Map IT Resources dialog box appears. The Available Queries list shows the queries available for the selected service.
    Map IT Resources dialog box
  5. Perform the following actions with CI queries:



    Associating queries with a technical service

    Task

    Steps

    To use an existing query

    1. Select a query from the Available Queries list
    2. Click the arrow to add it to the Selected Queries list.

    To create a new query

    1. Click New.
    2. In the Query - New dialog box, create a query that returns CIs that you want related to the technical service.
      For example, you might create a query of the BMC_ComputerSystem class for computer names that start with "Calbro". The qualification for that query is Name LIKE Calbro%.
    3. Click Save.
      For more information about creating queries, see Atrium Explorer and building queries.

  6. In the Run queries every field, specify the time (by minutes, hours, or days) to run the automated query.
    The default is 30 hours.
  7. Click Apply.
  8. Click Close.
  9. Wait for the queries to run in their specified time (for example, 30 hours).
  10. Reopen the technical service and then expand its children.
    The related CIs returned by the queries appear under the technical service in BMC Atrium Explorer.

    Note

    If the query does not return the expected CIs linked to the technical service, review the <atriumInstallDirectory>/logs/dsm.log file for errors. Make sure the DSM engine and the plugin filters are properly running.

To delete a query

  1. Select a query from the list.
  2. Click Delete.
  3. Click Yes when prompted.

To edit a query associated with a technical service

To edit a query associated with a technical service, search for a technical service instance in the BMC.ASSET production dataset, and click Map IT Resources in the toolbar.

  1. Search for a technical service CI and drag it into the display pane.
  2. Select the technical service CI.
  3. From the BMC Atrium Explorer toolbar, click Map IT Resources.
  4. In the Map Technical Services dialog box, select a query.
  5. Click Edit.
    The Query - Edit dialog opens.
  6. Edit the query to match your current needs for the technical service.
    For more information about queries, see Finding BMC Atrium CMDB data.
  7. Click Save.

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Comments