Modeling services by using blueprints

You can model your services by using blueprints. BMC Helix Discovery provides default blueprints, and you can use those to create your own services. You can also create blueprints from scratch. 

Related topics

Service modeling with blueprints

Managing models

BMC Helix AIOps Open link

Regular expressions in Blueprints

Global flags in Python are meant to be placed at the start of regular expressions. Earlier versions of Python issued warnings for misplaced flags. BMC Helix Discovery now uses Python 3.11, in which misplaced flags are an error. TKU patterns have been updated for this change, and the TPL compiler now warns if flags are misplaced in your custom patterns. However, regex searches with misplaced flags fail silently. In Blueprints, the searches fail to match and, without notification, your Blueprints will be empty, or will not contain what you expect.

A simple example of a misplaced flag is: '^(?i)Linux' which can be corrected to '(?i)^Linux'

Similarly: '/Common/(?i)((FV|dl)515sy):2121' can be corrected to '(?i)/Common/((FV|dl)515sy):2121'

An example from the EMC ControlCenter StorageScope pattern is: '^(?i)EMC ControlCenter \d(?:\.\d)*' which has been corrected in the TKU to '(?i)^EMC ControlCenter \d(?:\.\d)*'

To create a service model by using a blueprint

You create a service model on the Blueprint Service Editor page.

  1. Perform the following steps to access the Blueprint Service Editor page:
    1. Click Model > Services & Applications.
    2. On the Services & Applications page, click Create/Import.
    3. Select the Create With Blueprints tab.
    4. Click Blueprint Service Editor.
      The Blueprint Service Editor page is displayed.


  2. Click New Business Service and add the following details:
    1. Specify the service name.
    2. (Version 23.3.01 and later) Assign a kind to the service.
      By default, a service is created as a business service. For more information about service kinds, see Service and application modeling.
    3. (Optional) Click Add Dynamic content to add dynamic service components such as blueprints to the service. 
    4. (Optional) Click Add Static content to add static service components such as nodes to the service.
    5. (Optional) View content. 
    6. Save and close.
  3. (Optional) Click a service in the Add Existing Service section to add an existing service to the service model. You can repeat this step to add more new services.
  4. (Optional) Click + Add Service to add a new service to the service model. You can repeat this step to add more new services.
  5. (Optional) Flip the relationship (connecting arrow) direction if required.  Right-click, and select Flip direction. The arrow represents the impact direction. 

  6. (Optional) Remove an element from the hierarchy by using one of the following options: 
    • Hover over the service for which you want to remove child or parent services, and then right-click and select Remove element from hierarchy to delete the element.

    • Hover over the arrow between two elements, and then right-click, and select Remove element from hierarchy to delete the element.

  7. Click Save and close.

To add dynamic content to a service model 

Can I use the same blueprint multiple times?

  • The same blueprint cannot be used more than once in a service model.
  • You can use the same blueprint in different service models.
  • You can use a combination of blueprints in service models.
  1. Click Add Dynamic content.
  2. Select a Blueprint from the list.
  3. Select one or more node kinds in the Blueprint Configuration section, or any other custom-configuration. For more information on using regular expressions to search, see Logical and arithmetic expressions. Open link
  4. Add the configuration and save.

For more information on service blueprints, see Managing blueprint definitions.

To add static content to a service model

  1. Click Add Static content.
  2. Click Add Nodes to Service to add nodes from the list.
  3. (Optional) Perform one of the following actions:
    • To include all related objects with the selected nodes, click Add (inc. related).
    • To add only the selected nodes without related objects, click Add.
  4. Click Close.
    The service model is displayed.
  5. (Optional) Change the display to Organic or Hierarchic view.
  6. Save the changes.

To view the service details 

Once you have saved the service model, it is available to view outside the Blueprint Service Editor page.

  1. Click Explore > Data.
  2. In the Services & Applications pane, select Business Services.
  3. Click the Business Service that you want to view.
    The Business Service is displayed in a visualization, and the Business Service details are displayed beneath the model view.

To view the service in the Blueprint Service Editor page 

From the visualization, you can return to the Blueprint Service Editor page. You might, for example want to make revisions to the blueprint.

  1. Click Explore > Data.
  2. From the Services & Applications pane, select Business Services.
  3. Click the Business Service that you want to view.
    The Business Service is displayed in the modeling window.
  4. Click Revise Model.
    The Business Service is now displayed in the Blueprint Service Editor page.

To edit a service model

Can I edit a service from BMC AIOps?

Services created in BMC Helix Discovery can be viewed and edited in BMC Helix AIOps. You can also view and edit service blueprints created in BMC Helix AIOps in BMC Helix Discovery.


  1. Select the Business Service in the Blueprint Service Editor page. For more information, see To view the service in the Blueprint Service Editor page.
    The Define Service panel is displayed.
  2. In the Define Service panel, you can modify the service name, or:
    1. (Optional) Click Add Dynamic content to add more components to the service or click Edit  to modify an existing dynamic service component
    2. (Optional) Click Add Static content to add or Edit Static content to modify the static service components such as nodes, to the service.

      Important

      Either a dynamic or static content is essential for defining a valid service model. You can define both in a model.

    3. Save and close.

  3. (Optional) Click a service in the Add Existing Service section to add an existing service to the service model. You can repeat this step to add more new services. 
    Drag from the new service to an existing service, or from an existing service to the new one to create a connection. The connection is directional, with impact flow coming from the first service to the second service. You can flip the direction of the connection.
  4. (Optional) Click + Add Service to add a new service as part of the service model and add dynamic or static content as described in step 3. You can repeat this step to add more new services.
    Drag from the new service to an existing service, or from an existing service to the new one to create a connection. The connection is directional, with impact flow coming from the first service to the second service. You can flip the direction of the connection.
  5. (Optional) Flip the relationship (connecting arrow) direction if required.  Right-click, and select Flip direction. The arrow represents the impact direction. 
  6. (Optional) Remove an element from hierarchy by using one of the following options: 
    • Hover over a service for which you want to remove child or parent services, right-click, and select Remove element from hierarchy to delete the element.

    • Hover over of the arrow between two elements, right-click, and select Remove element from hierarchy to delete the element.

  7. Save and close.

To edit the dynamic content of a service model

  1. Select the Business Service in the Blueprint Service Editor page.  For more information, see To view the service in the Blueprint Service Editor page.
    The Define Service panel is displayed.
  2. In the Define Service pane click Edit and modify an existing dynamic service component.  
    • You can change the “Blueprint Configuration” to another node kind.
    • You cannot change the blueprint type, you must delete the existing blueprint and select a new one.
  3. Click Save to add the component.
  4. (Optional) Repeat the steps to add more parent or child services to the model.

To edit the static content of a service model

  1. Select the Business Service in the Blueprint Service Editor page. For more information, see To view the service in the Blueprint Service Editor page.
  2. Click the Business Service icon in the editor.
    The Define Service panel is displayed.
  3. In the Static Composition section, click Edit Static content (n Nodes). n is the number of nodes in the static content.
  4. To add nodes from the list, click Add Nodes to Service.
  5. Click Add (incl. related) if you want to include all the related objects with the selected nodes or click Add to add only the selected nodes without related objects.
  6. Click Close to close the editor view.
    The service model displayed.
  7. (Optional) Change the display to Organic or Hierarchic view.
  8. Save the changes.
  9. (Optional) Repeat the steps to add more parent or child services to the model.

To delete a service model

Important

If you delete a service model in BMC Helix Discovery, it is also deleted in BMC Helix AIOps. 

  1. Select the model that you want to delete in the modeling window.
  2. From the Actions menu, select Delete Model.
    You are prompted for confirmation.

To delete dynamic content from a service model

  1. Select the Business Service in the Blueprint Service Editor page. For more information, see To view the service in the Blueprint Service Editor page.
  2. Click the Business Service icon in the editor.
    The Define Service panel is displayed.
  3. In the Dynamic composition section, click to delete dynamic content.
  4. (Optional) Repeat the deletion to remove additional dynamic content.
  5. Save the changes.
  6. (Optional) Repeat steps 1 to 3 to delete dynamic content from other services.

To delete nodes from static content in a service model

  1. Select the Business Service in the Blueprint Service Editor page. For more information, see To view the service in the Blueprint Service Editor page.
  2. Click the business service icon in the editor.
    The Define Service panel is displayed.
  3. In the Static composition section, click Edit Static content.
  4. Select a node from the hierarchy, right-click, and select Delete.
  5. (Optional) Repeat the deletion for any other nodes.
  6. Save the changes.

To add a child or parent service to a service model

  1. Select the Business Service in the Blueprint Service Editor page. For more information, see To view the service in the Blueprint Service Editor page.
  2. Hover over a service for which you want to add child or parent services, right-click, and select Add Child Service or Add Parent Service.
  3. (Optional) Repeat the steps for each service in the model to which you want to add a parent or child service.

To view a child or parent service of a service model

  1. Select the Business Service in the Blueprint Service Editor page. For more information, see To view the service in the Blueprint Service Editor page.
  2. Click the business service icon in the editor.
    The Define Service panel is displayed.
  3. In the Dependencies section , click one of the dependencies to view the service name and node kinds for the parent and child services.

To view the content of a service model

  1. Select the Business Service in the Blueprint Service Editor page. For more information, see To view the service in the Blueprint Service Editor page.
  2. Click the business service icon in the editor.
    The Define Service panel is displayed.
  3. At the bottom of the panel, click View Content, , and then one of the options:
    • Direct Connections – shows the service model for the selected business service.
    • All content – where you have selected multiple business services, select the parent, and click All content to view the service model for all the selected business services.
Was this page helpful? Yes No Submitting... Thank you

Comments