140 likes | 275 Views
Module 12. Managing Services with VMM and App Controller . Module Overview. Understanding Services in Virtual Machine Manager Creating and Managing Services in VMM Using System Center 2012 R2 App Controller. Lesson 1: Understanding Services in System Center 2012 R2 Virtual Machine Manager.
E N D
Module 12 Managing Services with VMM and App Controller
Module Overview • Understanding Services in Virtual Machine Manager Creating and Managing Services in VMM Using System Center 2012 R2 App Controller
Lesson 1: Understanding Services in System Center 2012 R2 Virtual Machine Manager • What Is a Service? What Is a Service Template? Service Template • Service Template Updates
What Is a Service? • A service is a set of one or more virtual machines that are deployed together and managed as a single entity • Service: • Is deployed by an administrator or end-user • Can contain several different components • Can be deployed to a private cloud or to a host group • Can have preinstalled roles, features and applications • Can contain multiple virtual machines working together on an application, such as a web application
What Is a Service Template? • Encapsulates all necessary components that are required to deploy and run a new instance of an application • Service template considerations: • Administrator creates service template in VMM • Application owner deploys a service based on the service template • App Controller or VMM console can be used to deploy service based on service template
Service Template Service template (multi-tier .NET applications) Web (IIS) App (App-V) Data (SQL) Application tier Web tier Data tier Scale out and health policy Scale out and health policy Scale out and health policy Application server SQL Server Internet Information Services (IIS) HW profile HW profile HW profile OS profile OS profile OS profile App profile App profile App profile Compute Storage Network
Service Template Updates • Template-driven • Provide a single source of truth for service deployments • Use Upgrade Domains to limit disruption of service during updates • In-place updates • Change application or template settings without replacing OS image • Change memory, update application package • Image-based updates • Replace old OS image with new OS image • Reinstall the application and restore the state
Lesson 2: Creating and Managing Services in VMM • Creating a Service Template Creating Deployment Configuration for Services Updating a Service • Exporting and Importing Service Templates
Creating a Service Template Important considerations about creating service templates: • End users cannot create service templates • Service templates can include one or more tiers • Each tier can contain one or more virtual machines and applications • Add network components such as load balancers and logical networks to service templates • Use library resources to build service templates
Creating Deployment Configuration for Services When deploying a service, you must create a service deployment configuration • Considerations for creating a service deployment configuration • Deployment configuration validates a service template and chooses a host • Deploy process is initiated from VMM console or App Controller • You can monitor the service deployment process from Jobs view and Event Viewer
Updating a Service Two ways to update services: • Apply updates to an existing virtual machine • Known as an in-place update • Quicker way to apply an update • Good for application updates and VM configuration • Deploy new VMs with updated settings • Used to update operating system, apply service packs Use upgrade domains to enhance service availability • Groups of VMs that are updated one at a time • Only one group taken down, updated, brought up, then repeats process on next group
Lesson 3: Using System Center 2012 R2 App Controller • What Is an App Controller? Connecting an App Controller to Clouds
What Is an App Controller? • A self-service tool for end users that allows them to manage, deploy and view resources in clouds • Web-based, uses Internet Explorer to connect • Server requires IIS installation • Can manage Windows Azure subscriptions • Allows end users to manage, deploy and view resources in Windows Azure • Allows administrators to delegate authority to application administrators for certain cloud resources
Connecting an App Controller to Clouds • App Controller must be connected to VMM or Windows Azure or both • For VMM, you should provide the FQDN of the server • For Windows Azure, you need a subscription ID and password • Consider importing certificates from VMM • Administrator privileges are required to establish a connection