modeling and maintaining virtualized services microsoft system center virtual machine manager 2012...

24
Modeling and Maintaining Virtualized Services Microsoft System Center Virtual Machine Manager 2012 Ervin Nallbani Premier Field Engineer (c) 2011 Microsoft. All rights reserved. Microsoft Day Tiranë, 1 Dhjetor 2011

Upload: darrin-hurley

Post on 11-Dec-2015

213 views

Category:

Documents


0 download

TRANSCRIPT

Modeling and Maintaining Virtualized ServicesMicrosoft System Center Virtual Machine Manager 2012

Ervin NallbaniPremier Field Engineer

(c) 2011 Microsoft. All rights reserved.

Microsoft DayTiranë, 1 Dhjetor 2011

Session ObjectivesSession Objective(s)

Understand the benefits of Services in VMM

Provide a detailed overview of Service lifecycle

Enable easy deployment of Services to the Private Cloud

Enable repeatable and predictable updating of a Service

Service Managem

ent

Service Templat

esApplicat

ion DeploymentCustom

Command

ExecutionImage

Based Servicin

g

ServicesCloud

Managemen

tApplication

Owner

UsageCap

acity and Capabilit

yDelegation

and Quota

CloudInfrastru

cture Enhancements

HA VMM Server

Upgrade

Custom properti

es

Powershell

Deployment Fabric

Hyper-V Bare Metal

Provisioning

Hyper-V, VMware,

Citrix XenServer

Network Manageme

nt

Storage Manageme

nt

Update Manageme

nt

Dynamic Optimizatio

n

Power Manageme

nt

Monitoring Integration

Fabric Management

System Center Virtual Machine Manager 2012

Services in VMM 2012

Starting point for services and source of truthSpecifies machine and connectivity requirementsDeployed services are always linked to their templatesEnables servicing of the instances

Template

Groups of machines that work togetherIncludes machine definitions as well as applicationsNative application types:

Web Applications (WebDeploy)Virtual Applications (Server App-V Package)Database Applications (SQL DAC)

Instance

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

Service Lifecycle Management

Create Template

CustomizeDeployment

DeployService

Update Template and Apply to Service

Create Service Template

Template is a starting pointAuthor the template in the new Service Designer

Defines machines and their connectivityTiers, 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

Create Template

CustomizeDeployment

DeployService

UpdateService

New! Service Designer

Designer canvas

Properties

Ribbon

Service Template and InstanceSingle Tier Service

Service Template

Service Instance

Deploy

VM Template

OS

Hardware Configuratio

n

ApplicationOS

Roles/Features

OS

Hardware Configuration

VM Template

Service Instance

WS08 R2

Server App-V Package

Machine02

.NET 3.51WS08 R2

Machine01

Server App-V Package

.NET 3.51

WS08 R2

Machine01

Service Template ComponentsService Template

Computer Tier (1..n)

Application Host Profile (1…n)

Load Balancer Template

VM TemplateVHDs

Application Profile

Hardware Profile

Guest OS Profile

SQL Profile

Application

Deployment (1..n)

SQL Deployme

nt

Pre/Post Install GCEs

Pre/Post Install GCEs

Application Profile

SQL DAC Deployme

nt

Existing objects

New Objects

Extensibility points

Roles and Features

Settings

Customize Deployment

Prepares the template for deploymentSpecify 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.

Create Template

CustomizeDeployment

DeployService

UpdateService

Deployment Preview

Deploy to Cloud

Settings to override

Deploy the service

Create Template

CustomizeDeployment

DeployService

UpdateService

Application Profile Level Pre-

Install GCE

Application Profile Level

Post-Install GCE

Application Pre-Install GCE

Application Post-Install GCE

Select Tier Based on Deployment

Order

Create New VM from Template

Add to Load Balancer

Install Application

Per Machine Per Guest OS Per Application

Built-In Step

Generic Command Executes in

Guest

Per Service

Power On and Wait for VM

Install VMM guest agent

Done

Create Template

CustomizeDeployment

DeployService

UpdateService

Update Process

Original Service Instance

Original Service Template

Associated machine templates

Apps or OS updated

outside of VMM

Update the machine templates

Updated (New Version)

Service Template

1

2

3

Updated Service Instance

Instance ready for update

4

Original Service Instance

Set the updated template

5 Deploy update inMaintenance

Window

Pending Service Template

Update Types

Regular updatesChanges in template settings are applied without replacing OS image(e.g.) Change memory, update applications

Image based updatesReplaces old OS image with new OS imageReinstalls the applications and restores state. e.g. moving from WS08 to WS08 R2

Create Template

CustomizeDeployment

DeployService

UpdateService

Application Pre-Service GCE

Application Post-Service GCE

Application Post-Uninstall GCE

Select Tier Based on Servicing

Order

Select Machine Based on

Upgrade Domain

Remove from Load Balancer

Add to Load Balancer

Apply Application Level Changes

Uninstall Application

Per Machine Per Guest OS Per Application

Built-In Step

Generic Command Executes in

Guest

Per ServiceRegular Updating

Done

Application Pre-Uninstall GCE

Application Post-install GCE

Install Application

Application Pre-install GCE

Application Profile Level Pre-

Install GCE

Application Profile Level

Post-Install GCE

Application Level Pre-Install GCE

Application Level Post-Install GCE

Select Tier Based on Servicing

Order

Select Machine Based on

Upgrade Domain

Remove from Load Balancer

Add to Load Balancer

Install Application

Per Machine Per Guest OS Per Application

Built-In Step

Generic Command Executes in

Guest

Per Service

Customize New OS

Application Level Store State GCE

Add Data Disk to Machine

Server App-V Backup State

Swap OS Disk

Application Level Apply State GCE

Image Based Updating

Done

Server App-V Restore State

Service Level RefresherService level refresher updates all of the service information

Identifies any virtual machines that have gone missing from the service

Service Refresher supports 2 statesOK - All the VMs are OKNeeds Attention

At least one VM has a problem of some typeVM refresher state indicates the actual problem

Service/Tier Level ActionsService Level Actions

Simple actions at the Service level cascade to the Virtual Machines

Start, Pause, Resume, Stop, Shutdown, DeleteTier Level Actions

Scale outNew Wizard enables this functionality

VM Level ActionsMigrate VMsStore Virtual Machines to LibraryDeploy Virtual Machines from LibraryClone Virtual MachinesCreate CheckpointsScale in

New! Deployed Service (OpsMgr Diagram)

Service

Computer Tiers

VM instance

VM Details

Service Template Import and Export

Benefits Share templates between different environmentsBackup Service templates/VM templatesVMM server synchronization in multi VMM installations

Template meta-data exported to XML file Secured settings are encrypted and stored

Allows for resources to be mapped during the import process

Track ResourcesYou can also find the latest information about our products at the following links:

Windows Azure - http://www.microsoft.com/windowsazure/

Microsoft System Center - http://www.microsoft.com/systemcenter/

Microsoft Forefront - http://www.microsoft.com/forefront/

Windows Server - http://www.microsoft.com/windowsserver/

Cloud Power - http://www.microsoft.com/cloud/

Private Cloud - http://www.microsoft.com/privatecloud/

Enrol in Microsoft Virtual Academy Today

Why Enroll, other than it being free?The MVA helps improve your IT skill set and advance your career with a free, easy to access training portal that allows you to learn at your own pace, focusing on Microsoft technologies.

What Do I get for enrolment?► Free training to make you become the Cloud-Hero in my Organization► Help mastering your Training Path and get the recognition► Connect with other IT Pros and discuss The Cloud

Where do I Enrol?

www.microsoftvirtualacademy.com

© 2010 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.

(c) 2011 Microsoft. All rights reserved.