Creating service models
Example
Susan is a service designer at Apex Global and is responsible for creating a service model for the order processing service required for her organization.
This service consists of the following business applications: Packaging, Storage, Order Request, Shipping, and Billing & Payment. The Billing & Payment service can be subdivided into following services such as Database, Network, Mainframe, and Retail-AWS.
Because Billing & Payment is an important service for the business, any impact to it must be analyzed and resolved immediately. Therefore, Susan decides to define this service in a way that the slightest of impact is given the utmost importance. Susan learns that she can use the BMC Helix AIOps capabilities to customize the health score for critical events and create rules to filter specific events for the Billing & Payment service. She must also define a higher health score number for every critical event generated. She defines an event rule and updates the health status configuration values for the critical events. Now, when this service gets impacted, a low health score indicates that she should act on it immediately and restore the health of the service.
Next, Susan wants to monitor the network utilization for the Network service and also get predictions for an impending impact on the service in the next couple of hours. She defines the Network Utilization metric as a health indicator for this service. Every time the metric value exceeds the threshold, an event is generated, and Susan sees the impact on the service. For other insignificant metrics, even if they are causing an impact, the service remains unimpacted, and Susan can ignore those events.
All these service modeling capabilities help Susan achieve the following objectives:
- Service health score and status is computed based on her organization's requirements.
- Service impact is shown only for the selected events and metrics, thus giving her control over how the service health is computed.
Before you begin
Before you create a service model, perform the following tasks:
- Identify the source of configuration item (CI) data and topology for the services in the service model. BMC Helix AIOps interacts with the following BMC and third-party products to gather configuration item (CI) data for services:
- BMC Helix Discovery
- Determine whether you want to use service blueprints in the service model that you can use while adding dynamic content to the services. If yes, verify whether the out-of-the-box service blueprints meet your business requirements. If not, create your own blueprints. For more information, see Understanding-service-blueprints.
- Identify the metrics (for example, Network Utilization or CPU usage) for each service that indicate the service availability. You might want to add these metrics as health indicators. For more information, see Health indicators.
- Determine whether you need to use balancing profiles. These profiles provide the capability to set a threshold for the resources that are part of a cluster, thus ensuring optimal service performance. For more information, see Balancing profiles.
- Make sure the services you plan to include in the service model accurately reflect the application and supporting infrastructure such that the services are monitorable.
To create a service model
You can use existing services that are created in BMC Helix AIOps or BMC Helix Discovery or create a new service for a service model.
- Click Services and then click Create Service.
By default, New Business Serviceis displayed.
- To add an existing service, click the service in the Add Existing Service pane.
- Click the existing service or click New Business Service and specify the following details in the Define Service pane:
- Specify the service name.
- Select the kind of service that you want to create.
By default, a business service is created. For more information about service kinds, see Business services, technical services, and business applications. - (Optional) Select service criticality from the list to mark the importance of the business service.
By default, no default criticality is assigned to a service. Click Add Dynamic content to add dynamic components such as blueprints to a service.
For more information, see To add dynamic content to a service.- Click Add Static content to add static components such as configuration items (CIs) to the service.
For more information, see To add static content to a service. - Click Show Labels and select from the list or create one or more labels and assign the key-value pairs to the service.
Labels act as filters to cater to multiple purposes ranging from monitoring a specific group of services to understanding the system-wide impact of some services, and so on. For example, services can be labeled by the regions they are located in or the departments they belong to.
You can add a maximum of 10 labels. These labels are added to the Advanced filter list on the Services page. - Click Save and Close.
(Optional) Click Health Indicators, click the service, and then click Add Health Indicator to add the metrics that you want to consider for the service health computation. Also, define alarm policies for those metrics.
For more information, see Adding-health-indicators.- (Optional) Click Events, and then click the service to define the rules according to which events are considered for the service health computation.
If you do not add event rules, BMC Helix AIOps considers all events to compute the service health. For more information, see Adding-event-rules.
You can define both health indicators and event rules for a service to consider them for the service health computation. For information about how service health is computed when you define both of them, see Understanding-service-health-score.
- (Optional) Click Health Profile, and then click the service and perform the following tasks:
- Specify whether you want to propagate the health score from the child services to the current service.
For more information, see To stop propagating the health score. - Add balancing profiles.
For more information, see Adding-balancing-profiles. - Customize the health score and health status.
If you don't define the health score and health status, BMC Helix AIOps displays the service health based on the default values. For more information, see To customize health score for a service. - (Optional) View content.
- Save and close.
- Specify whether you want to propagate the health score from the child services to the current service.
- (Optional) Click + Add Service to add more services as part of the service model and repeat step 2 to step 6.
- Establish the parent and child relationship between services:
Do one of the following:
- Use drag and drop (Use this method when you have a small number of services):
- Click and hold the service node that you want to indicate as a parent service.
An arrow appears. - Drag and drop the arrow on the service node that you want to indicate as a child service.
- Click and hold the service node that you want to indicate as a parent service.
- Use pop-up menu options (Use this method when you have multiple levels of service hierarchy)
- Right-click a service and select Connect to parent Service to add the service as a child to an existing service.
- From the list of existing services, select the service that you want to assign as a parent service.
Or - Right-click a service and select Connect to child Service to add the service as a parent to an existing service.
- From the list of existing services, select the service that you want to assign as a child service.
The relationship between the parent and child service is indicated by a dotted arrow line with the Add icon.
You can also change the relationship later while editing the service.- Use drag and drop (Use this method when you have a small number of services):
- Click Save.
The service is added to the hierarchy.
- Hide or unhide a service from the service hierarchy view.
- To hide a service, right-click it and select Hide from view.
The hidden service name appears in Advanced filter and its child services appear as a separate hierarchy. - To unhide a service, perform the follow steps:
- In Advanced filter, expand Hidden from view.
- Clear the check box for the service.
Click Apply filters.
You can also unhide the services later while editing the service.
- To hide a service, right-click it and select Hide from view.
The following image shows the service model at Apex Global that Susan has created to represent different business services in her organization:
To add a child or parent service to a service model
From the Services page, search and select a service you want to edit.
- From the action menu
, select Edit Service.
The Edit Service page shows the service model. - 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.
The relationship between the parent and child service is indicated by a dotted arrow line with the Add icon. - Click Save.
The service is added to the hierarchy.
To view the service details
- Click Services.
- In the search field, type the name of the service you want to view and click Search.
- Click the service tile to view the following details:
- Service name and severity level
- Health score
- Total events
- Impacting events
- Impacting sub-services
- Health timeline
- CI topology
- Service hierarchy
- Health indicators
- Situations
- Root cause
- Service insights
For information about the displayed service details, see Monitoring service health.
To view child or parent services of a service
- From the Services page, search and select a service for which you want to see the child or parent services.
The service details are displayed. - From the action menu
, select Edit Service.
- Click the service.
The Dependencies section in the Define Service pane shows all the parent services and child services of the selected service. - Click one of the dependencies to view the service name and CI kinds for the parent and child services.
To edit a service
From the Services page, search and select a service you want to edit.
From the action menu
, select Edit Service.
On the Edit Service page, all other services except the service being edited are grouped under the Additional Services node. Use Disable grouping by Service Hierarchyto ungroup the services and view the entire hierarchy.
Change the relationship between services.
- Right-click the arrow that represents the relationship between two services.
Click Flip Direction.
- Hide or unhide a service from the service hierarchy view.
- To hide a service, right-click it and select Hide from view.
The hidden service name appears in Advanced filter and its child services appear as a separate hierarchy. - To unhide a service, perform the follow steps:
- In Advanced filter, expand Hidden from view.
- Clear the check box for the service.
Click Apply filters.
- To hide a service, right-click it and select Hide from view.
- Edit the other service details such as its kind, dynamic content, or static content as required.
- Save and close.
To remove a service and its child services from a service hierarchy
- From the Services page, search and select a service that you want to remove from the service hierarchy.
The service details are displayed. - From the action menu
, select Edit Service.
- Perform one of the following actions:
- Right-click the service that you want to delete along with its child services and select Remove element from hierarchy.
Right-click the arrow above the service that you want to delete along with its child services and select Remove child element and structure from hierarchy.
The relationship between the parent and child service is indicated by a dotted arrow line with the Delete icon.
Click Save.
The service is removed from the hierarchy.
To delete a service
- On the Services page, search and select a service you want to delete.
- From the action menu
, select Delete Service.
- Click Proceed to delete.