How to Deploy a Service 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
Use the following procedures to deploy a service to a private cloud or to a host group in Virtual Machine Manager (VMM). You can initiate service deployment from the Library workspace, from the Service Template Designer, or from the VMs and Services workspace.
To deploy a service from the Library workspace
In the Library workspace, expand the Templates node, and then click Service Templates.
In the Templates pane that lists the available service templates, select the service template that you want to use to deploy the service.
Note
For information about service templates, see Creating Service Templates in VMM.
On the Service Template tab, in the Actions group, click Configure Deployment.
In the Select name and destination dialog box, do the following:
In Name box, enter a name for the service instance. For example, enter Corporate Finance Application.
In Destination, select the host group or private cloud where you want to deploy the service.
After you have made your selections, click OK.
VMM performs a placement check to determine the best location on which to deploy the service and then opens the Deploy Service window.
The Deploy Service window contains the following areas:
In the left pane, the Service Components tab lists the tiers of the service and each instance of a tier that will be deployed.
In the left pane, the Settings tab displays the global settings that will be used during application deployment. The contents of the Settings tab varies depending on the scripts that are configured for the service.
In the center pane, a deployment map shows the recommended deployment location for each tier and each instance of a tier that will be deployed as part of the service. If you are deploying the service to a host group, the recommended host for each virtual machine to be deployed will be shown. If you are deploying the service to a private cloud, the host information is not shown.
In the right pane, the Minimap tab allows you to adjust the size of the contents in the deployment map. This is intended to help you navigate the deployment map for a service that is made up multiple tiers.
Review the deployment configuration settings. For more information about making changes, see How to Configure Deployment Settings for a Service in VMM.
If the placement process encounters an issue, an icon (error, warning or informational) will appear on the element of the service that needs attention and a message will appear in the details pane. Resolve any errors that are identified in the deployment configuration, and review warnings to resolve any conditions that need attention. You cannot deploy a service until all errors are resolved.
To deploy the service, on the Home tab, in the Service group, click Deploy Service. Then, in the Deploy service dialog box, click Deploy to begin the deployment of the service.
Note
If you close the Deploy Service window before you deploy the service, you will be prompted whether you want to save your deployment configuration settings for the service. If you click Save, you can deploy the service at a later time with the deployment configuration settings that you have already specified. To deploy the service at a later time, go to the Library workspace, expand the Templates node, and then click Service Deployment Configurations. Select the service that you saved, and then click Configure Deployment. The Deploy Service window will open.
You can track the progress of the service deployment in the Jobs window. A Create service instance job is created for a service deployment. For information about viewing a service after the service has been deployed, see How to View and Manage a Deployed Service.
Tip
Service deployment is a complex process that can take 15 minutes or longer. You can perform other tasks in the VMM console while you monitor the job.
To deploy a service from the Service Template Designer
In the Library workspace, expand the Templates node, and then click Service Templates.
In the Templates pane that lists the available service templates, select the service template that you want to use to deploy the service.
On the Service Template tab, in the Actions group, click Open Designer.
In the Service Template Designer, on the Home tab, in the Service Template group, click Configure Deployment.
Follow the steps described above for making selections in the Select name and destination dialog box, reviewing the deployment configuration settings, resolving any errors and warnings, and then deploying the service.
To deploy a service from the VMs and Services workspace
In the VMs and Services workspace, select the private cloud or host group to which you want to deploy the service.
On the Home tab, in the Create group, click Create Service.
In the Create Service dialog box, ensure Use an existing service template is selected, and then click Browse.
In the Select Service Template dialog box, select the service template that you want to use, and then click OK.
In the Create Service dialog box, enter the name for the service in the Name box, ensure that the correct location is specified in the Destination list, and then click OK.
VMM performs a placement check to determine the best location on which to deploy the service and then opens the Deploy Service window.
Follow the steps described above for reviewing the deployment configuration settings, resolving any errors and warnings, and then deploying the service.