Stephen Baron Sr. Program Manager Lead Microsoft Corporation 1/2/2019 11:33 PM MGT317 Overview of Microsoft System Center 2012 SP1 – Virtual Machine Manager Services Stephen Baron Sr. Program Manager Lead Microsoft Corporation © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
System Center Virtual Machine Manager 2012 Infrastructure Enhancements HA VMM Server Upgrade Custom properties Powershell Deployment Fabric Hyper-V Bare Metal Provisioning Hyper-V, VMware, Citrix XenServer Network Management Storage Management Update Management Dynamic Optimization Power Management Monitoring Integration Management Cloud Management Application Owner Usage Capacity and Capability Delegation and Quota Cloud Service Management Service Templates Application Deployment Custom Command Execution Image Based Servicing Services
Template Instance Services in VMM 2012 and SP1 Starting point for services and source of truth Specifies machine and connectivity requirements Deployed services are always linked to their templates Enables servicing of the instances Instance Groups of machines that work together Includes machine definitions as well as applications Native application types: Web Applications (WebDeploy) (2.0 and 3.0) Virtual Applications (Server App-V) (RTM and SP1) Database Applications (SQL DAC) (v1.1 and v3)
TechReady12 1/2/2019 Why Use Services? Manage multi-tier applications across multiple servers as a single unit Scale out based on demand Composibility of OS and Applications, allows users to manage fewer OS images © 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Service Lifecycle Management Create Template Customize Deployment Deploy Service Update Template and Apply to Service
Create Service Template Create Template Customize Deployment Deploy Service Update Create Service Template Template is a starting point Author the template in the new Service Designer Defines machines and their connectivity Tiers, Hardware, Logical Networks, OS, Apps, Load Balancer templates etc. Deployed services are always linked to their templates Typically information like hosts or load balancers is not available while creating template
Custom Resources Used to deliver payload to a virtual machine Create Template Customize Deployment Deploy Service Update Custom Resources Used to deliver payload to a virtual machine Add folder with .cr extension to VMM library VMM includes custom resources for application frameworks Web Deploy Server App-V Agent Sequencer
Generic Command Execution Create Template Customize Deployment Deploy Service Update Generic Command Execution Execute custom scripts within Service instance VMs Can specify run as account, script restart behavior, logging properties Script parameters can leverage configurable service settings Scripts can be marked as idempotent (SP1) Multiple entry points available Application level Pre/post install, pre/post uninstall, pre/post service, save/restore state Application Profile level Pre/post install, Pre/post uninstall Pre/post install supports multiple, ordered scripts (SP1)
SQL Profiles Used to deploy SQL Server to a virtual machine Create Template Customize Deployment Deploy Service Update SQL Profiles Used to deploy SQL Server to a virtual machine SQL 2008 R2 SQL 2012 (SP1) Requires a sysprepped SQL instance Allows for SQL Server specialization during provisioning Instance Name Security mode Protocol enablement SA account password Service account identities
Application Hosts Deploy applications to shared platform Create Template Customize Deployment Deploy Service Update Application Hosts Deploy applications to shared platform Virtual machine Standalone physical server Physical cluster/farm Application Host Types SQL Server Can only contain SQL .dacpac objects and SQL scripts Web Server (SP1) Can only contain Web Deploy objects Target server name can be a configurable service setting Allows user to specify server at deployment time
Configurable Service Settings Create Template Customize Deployment Deploy Service Update Configurable Service Settings Allows user to enter setting values during deployment Denoted by @Variable Name@ nomenclature Service setting properties Mandatory Encrypted Default value Several pre-defined service settings available such as @computerName@ - Computer Name @vmid@ - ID of the VM
Service Designer Ribbon Designer canvas Properties
Service Template and Instances Single tier service Service Instance Service Instance VM Template OS Hardware Configuration Application OS Roles/Features OS Hardware Configuration VM Template WS08 R2 Machine01 WS08 R2 Server App-V Package Machine02 .NET 3.51 Server App-V Package .NET 3.51 WS08 R2 Machine01 Deploy
Service Template Components Settings Load Balancer Template Computer Tier (1..n) Application Host Profile (1…n) VHDs VM Template Application Profile Hardware Profile Guest OS Profile SQL Profile SQL DAC Deployment Web Deploy Deployment Pre/Post Install GCEs Application Profile Roles and Features SQL Deployment Application Deployment (1..n) Pre/Post Install GCEs Existing objects New Objects Extensibility points
Create Service Template DEMO Create Service Template
Customize Deployment Prepares the template for deployment Create Template Customize Deployment Deploy Service Update Customize Deployment Prepares the template for deployment Specify OS settings Computer name, Admin password etc. Specify Application Settings e.g. SQL connection string Allows usage of same template in different environments Development, Staging, Production etc.
Deployment Preview Deploy the service Deploy to Cloud Create Template Customize Deployment Deploy Service Update Deployment Preview Deploy the service Deploy to Cloud Settings to override
Per Service Per Machine Per Guest OS Per Application TechReady12 1/2/2019 Create Template Customize Deployment Deploy Service Update Per Service Per Machine Per Guest OS Per Application Select Tier Based on Deployment Order Create New VM from Template Power On and Wait for VM Install VMM guest agent Application Profile Level Pre-Install GCE Application Pre-Install GCE Install Application Built-In Step Application Profile Level Post-Install GCE Application Post-Install GCE Done Add to Load Balancer Generic Command Executes in Guest © 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Instance Application View Service Instance Applications Application Settings
Deploy Service Template DEMO Deploy Service Template
In-Guest Agent SP1 Changes Requires .NET 4.0 Agent installation will take care of this (can sysprep as well) For Server Core guests, requires Windows Server 2008 R2 SP1 or above Deployed via ISO All service instance VMs have a guest agent installed Decoupled from VMM server Supports Service deployment to untrusted domains and workgroups Supports Service deployment to disconnected VMs
Payload Transfer: SP1 Changes Network (BITS) ISO (for VMs without network connectivity) Supported for Hyper-V hosts (excluding Server Core) Associate VM Networks with VMM Libraries to enable network transfer Upgrade will do this for existing networks
DEMO Payload Transfer
Update Service TechReady12 1/2/2019 Associated machine templates Update the machine templates 1 Apps or OS updated outside of VMM Instance ready for update 4 Updated Service Instance 2 Original Service Template Updated (New Version) Service Template Pending Service Template 3 Set the updated template Original Service Instance 5 Deploy update in Maintenance Window Original Service Instance © 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Update Types In-Place updates Image based updates Create Template Customize Deployment Deploy Service Update Update Types In-Place updates Changes in template settings are applied without replacing OS image (e.g.) Change memory, update applications Image based updates Replaces old OS image with new OS image Reinstalls the applications and restores state. e.g. moving from WS08 to WS08 R2
In-Place Updating Per Service Per Machine Per Guest OS Per Application TechReady12 1/2/2019 In-Place Updating Per Service Per Machine Per Guest OS Per Application Select Tier Based on Servicing Order Select Machine Based on Upgrade Domain Application Pre-Service GCE Application Pre-Uninstall GCE Application Pre-install GCE Remove from Load Balancer Apply Application Level Changes Uninstall Application Install Application Application Post-Service GCE Application Post-Uninstall GCE Application Post-install GCE Done Add to Load Balancer Built-In Step Generic Command Executes in Guest © 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Image Based Updating Per Service Per Machine Per Guest OS TechReady12 1/2/2019 Image Based Updating Per Service Per Machine Per Guest OS Per Application Select Tier Based on Servicing Order Select Machine Based on Upgrade Domain Remove from Load Balancer Add Data Disk to Machine Application Level Store State GCE Swap OS Disk Server App-V Backup State Application Profile Level Pre-Install GCE Customize New OS Application Level Pre-Install GCE Install Application Application Level Post-Install GCE Server App-V Restore State Built-In Step Add to Load Balancer Application Profile Level Post-Install GCE Application Level Apply State GCE Done Generic Command Executes in Guest © 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
DEMO Update Service
Service Level Refresher TechReady12 1/2/2019 Service Level Refresher Service level refresher updates all of the service information Identifies any virtual machines that have gone missing from the service Service Refresher supports 2 states OK - All the VMs are OK Needs Attention At least one VM has a problem of some type VM refresher state indicates the actual problem © 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Service / Tier / Instance Actions Service Level Actions Simple actions at the Service level cascade to the Virtual Machines Start, Pause, Resume, Stop, Shutdown, Delete Tier Level Actions Scale out New Wizard enables this functionality VM Level Actions Migrate VMs Store Virtual Machines to Library Deploy Virtual Machines from Library Clone Virtual Machines Create Checkpoints Scale in
DEMO Scale Out Service
MGT Track Resources DOWNLOAD System Center 2012 Evaluation #TEMGT317 Talk to our Experts at the TLC Hands-On Labs DOWNLOAD System Center 2012 Evaluation microsoft.com/systemcenter DOWNLOAD System Center 2012 SP1 CTP microsoft.com/systemcenter
Resources Learning TechNet http://europe.msteched.com Connect. Share. Discuss. http://europe.msteched.com Microsoft Certification & Training Resources www.microsoft.com/learning TechNet Resources for IT Professionals http://microsoft.com/technet Resources for Developers http://microsoft.com/msdn
Submit your evals online 1/2/2019 11:33 PM Evaluations Submit your evals online http://europe.msteched.com/sessions © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
1/2/2019 11:33 PM © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
1/2/2019 11:33 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.