A service template is a representation of the resource footprint of a service, and is similar to system templates that represent the footprint of a single physical or virtual server. A service template contains one or more system templates that represent the systems required to run a service in BMC TrueSight Capacity Optimization.
You can use service templates to run what-if analyses on Time Forecasting Models, and can answer critical questions related to SOIs. You can also use them to simulate the deployment of new service instances and the decommissioning of already deployed service instances. For example, you can use service templates to assess the effects of provisioning 10 additional instances of Service A on a Cloud Pod C.
There are special kinds of templates that specify the demand of a hypothetical service implemented on one or more systems. There are three types of service templates in BMC TrueSight Capacity Optimization:
You can use these templates in what-if events in a time forecasting model.
Service templates allow you to easily evaluate the impact of a forecast, which is determined by adding a service instance based on a service template.
For information on system templates, see Working with system templates.
For more information, refer to the following sections:
You can create service templates in the following ways:
To use service templates in Time Forecasting Models and What-If events, see Using service templates in Time Forecasting Models and What-If events.
Perform the following task to create a service template from a service instance by using the Save as service template button:
Navigate to Workspace > All Domains > Domain and select the service instance under the domain you want to create a service template from. The service instance must either be a Business Service, Technical Service or a Service Offering Instance (SOI). For example, Workspace > All Domains > Business Services > VSAT Services.
The service tree (hierarchy) can be built using different sources, such as CLM, CMDB or manually.
In the SOI details page displayed on the right, click Save as service template, and enter the following information:
|Service template name||Name of the service template.|
|Description||A brief description.|
|Analysis time range to extract the profile||Select a time range for the analysis. This can be a time period that is important for the service, and is used to extract the profile of each system belonging to this service template.|
|Save in||Click the(Open selector) control and select a location in the hierarchy to save and store your service template.|
The following image shows an example of a service instance under a domain in a demo environment, and also shows the Save as service template option.
The following image shows an example of the service template details page post Save, and displays the original domain and the new template that was copied over (saved as a new template).
Example of the service template details page
To create a new service template manually, that is, by selecting system templates from a user-defined catalog using the Add service template button, perform the following task.
In the domain details page displayed on the right, click Add > Add service template and enter the following information:
|Name||Name of the service template.|
|(Optional) Description||A brief description.|
|Select system templates|
Select System templates by clicking on them, and add them to Selected system templates by clicking the button.
|Specify number of instances||The System templates you added to Selected system templates in the preceding step are auto-populated in this section as System template Instances.|
To add additional instances of a system template, click Add instance and enter the following:
The following image is an example of the details page for a selected domain, displaying the Add > Add service template option.
The following image shows an example of the Add service template page.
In the Workspace console, the service template page displays the capacity footprint of the service. A service template is composed of multiple service templates, and this page shows aggregated data that is derived from all the system templates it contains.
The following image shows an example of the service template visualization page in the console Workspace.
Example: Service template visualization
Use the Add what-if event option available in the Time Forecasting model scenario page to simulate the addition of a certain number of service instances based on the given service template. For example, Commission/decommission 5 Service Offering Instances together.
The following image shows an example of the scenario page.
Example: Adding service instances on a given service template
Follow the steps given below, to forecast the series of events that will occur, when you add numerous defined services to a cluster, at a certain point in the future:
To refresh a service template based on current data of an existing service, click the Refresh on current data link displayed as part of the information box in the service template details page.
The Refresh link and the information box is displayed only when you create a service template by using the Save as service template button. The link is not available while creating a service template from scratch by using thebutton.
The following image shows an illustration of the Refresh link.
Example of a Refresh link