How to Create a Service Template in VMM

 

Updated: May 13, 2016

Applies To: System Center 2012 SP1 - Virtual Machine Manager, System Center 2012 R2 Virtual Machine Manager, System Center 2012 - Virtual Machine Manager

In Virtual Machine Manager (VMM), a service is a set of virtual machines that are configured and deployed together and are managed as a single entity—for example, a deployment of a multi-tier line-of-business application. In VMM, you use the Service Template Designer to create a service template, which defines the configuration of the service. After you create the service template, you can add tiers and networking components to the service template. For more information, see Creating and Deploying Services in VMM Overview.

Create a new service template

Use the following procedure to create and save a new service template.

Account requirements: Services templates can be created by administrators, by delegated administrators, and by members of self-service user roles that have the Author action in their scope.

Note

You cannot use shielded VM templates to create a service template.

To create a new service template by using the Service Template Designer

  1. In the VMM console, open the Library workspace.

  2. On the Home tab, in the Create group, click Create Service Template.

  3. In the New Service Template dialog box, do the following:

    • In the Name text box, provide a name for the service template. For example, type Finance Application.

    • In the Release text box, provide a value to indicate the version of the service template. For example, type 1.0 or type Beta.

      The release value is important for when you update a service. The release value helps you to identify the version of the service template. For more information about updating a service, see Updating a Service in VMM.

    • Under Patterns, select the pattern on which you want to base your service template. For example, if you select Two Tier Application, your service template will begin with two tiers.

    After you complete your selections, click OK.

    Depending on the pattern that you selected, the canvas area of the Service Template Designer may be empty or may contain some default tiers. For information about adding tiers and networking components to the service template, see the following topics:

  4. On the Home tab, in the Service Template group, click Save and Validate to save the service template.

    If there are any validation errors, a warning icon will appear on the element of the service template that caused the validation error and a message that describes the issue will appear in the properties pane in the Service Template Designer window.

    After you save the service template, it is added to the Service Templates node in the Library workspace. To open an existing service template in the Service Template Designer, select the service template in the Library workspace, and then on the Service Template tab, in the Actions group, click Open Designer.

    Important

    If you try to save changes to a service template that is used as the basis for a deployed service, you need to save the service template with a new release value. The name of the service template will remain the same. In the Service Templates node in the Library workspace, you will see separate entries for the two versions of the service template.

After you create the service template and add the necessary tiers and network components, you can configure the properties of the elements of the service template. For more information, see How to Configure the Properties of a Service Template.

See Also

How to Configure the Properties of a Service Template
Creating Service Templates in VMM