Creating service models in CMDB by using Dynamic Service Modeling
Use the Dynamic Service Modeling tool to automatically create relationships between CIs and business, technical, or application service CIs. This saves time and effort of manually creating relationships between CIs and the services to which they contribute.
The high level steps to create a service model by using Dynamic Service Modeling are as follows:
- Define queries for CIs that contribute to a business, technical, or application service.
- Specify the frequency with which these queries are run.
CMDB runs the queries and finds the CIs matching your criteria. CMDB then creates relationships between these CIs and the CI representing the business, technical, or application service.
The following animation shows a highly simplified example to explain the concept of Dynamic Service Modeling.
The queries that you define in the older versions of CMDB or Atrium Console are also displayed in the Dynamic Service Modeling page.
The queries that you define in the older versions of CMDB or Atrium Console are also displayed in the Dynamic Service Modeling page.
Before you begin
You must have one of the following permissions to access the Dynamic Service Modeling page in CMDB:
- Administrator
- RE Definition Author
The business service CI must match one of these criteria to be listed in the Dynamic Service Modeling page:
- The ServiceType attribute of the CI has the value as either BusinessService, TechnicalService, or Unknown.
- It is of class BMC_Application.
- It has a dynamic service model query associated with it.
To create service models in CMDB by using Dynamic Service Modeling
- Open the Dynamic Service Modeling page.
CIs > Dynamic Service Modeling - From the list, select a service you want to model.
The service CIs representing the service you select appear in the Create and schedule queries for CIs list. - In the Queries column, click the down arrow next to Show to view the details of the service CI.
If there is no query defined for this CI, the Create Query button appears. Click Create Query.
The Create Query for Dynamic Service Modeling page opens.- In the Query Name field, enter a name for the query.
If you retain the Query Type toggle key in its default position, the query is visible to other users in the query library after you save it. - Use the Class Palette option to define a new query or the Query Library option to use a pre-exisiting query.
For more information on graph queries, see Creating-a-graph-query-to-search-for-a-CI. - Click Test query to make sure the query finds the correct CIs.
- Click Save.
The Dynamic Service Modeling page opens, listing the CI and the query. - Click the down arrow under Show Queries to view the queries.
- In the Run Query Every fields, set the frequency of the search.
Defining a dynamic service model for a payroll service scenario
Result
The service model is regularly updated with CIs that match the criteria you specified. You can change the frequency of the service model updates, if required, by using the Run Query Every field in the Dynamic Service Modeling page.
Where to go from here
You can perform other activities such as impact simulation on the service model. For information on simulating impact, see Simulating-the-impact-of-changes-to-CIs.