Updating 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

In Virtual Machine Manager (VMM), updating a service is the process of making changes to a deployed service. Because VMM keeps track of which service template was used to deploy a service, you can make updates to the service template, and then use that updated service template to make changes to the deployed service.

VMM supports two different methods for making the updates to a deployed service:

  • Applying updates to the existing (in-place) virtual machines

  • Deploying new virtual machines with the updated settings

Applying updates to the existing virtual machines takes less time. Most configuration changes to virtual machines and application updates can be applied in this manner.

To minimize service interruptions when a tier is updated in-place, you can specify more than one upgrade domain in the tier properties. When the tier is updated, VMM updates the virtual machines in the tier according to the upgrade domain to which they belong. VMM upgrades one upgrade domain at a time, shutting down the virtual machines running within the upgrade domain, updating them, bringing them back online, and then moving on to the next upgrade domain. By shutting down only the virtual machines running within the current upgrade domain, VMM ensures that an upgrade takes place with the least possible impact to the running service. For more information about configuring an upgrade domain, see How to Configure the Properties of a Service Template.

System_CAPS_ICON_note.jpg Note

Upgrade domains have no connection to Active Directory domains. You can specify the number of upgrade domains you want to use, and then VMM arbitrarily assigns the virtual machines to an upgrade domain.

Deploying new virtual machines with the updated settings is a more time-consuming process, because you are replacing the existing virtual machines of the service with new virtual machines. Typically, this is how you would deploy operating system updates, such as deploying a service pack for the guest operating system on the virtual machine. If you have applications installed on these virtual machines, and your application has a method for saving and restoring application state, you can use a script in the application profile to save the application state before the existing virtual machines are removed and use a script to restore the application state after the new virtual machines have been deployed. Microsoft Server Application Virtualization (Server App-V) applications automatically support the saving and restoring of application state so no scripts are needed.

To update a deployed service in VMM, see the following topics: