20409jumpstartday2_final_b62d1500407545e6be20fef316fbb3b8_15de97e91da24adb806de764e134f474

126
JumpStart: Server Virtualization with Windows Server Hyper-V and System Center Symon Perriman Senior Technical Evangelist Microsoft | @SymonPerriman Corey Hynes Lead Architect & President holSystems | @holSystems

Upload: alexsandro-cardoso-lima

Post on 29-Dec-2015

13 views

Category:

Documents


1 download

TRANSCRIPT

JumpStart: Server Virtualization

with Windows Server Hyper-V and System Center

Symon Perriman

Senior Technical Evangelist

Microsoft | @SymonPerriman

Corey Hynes

Lead Architect & President

holSystems | @holSystems

Course Topics – Day 1

Windows Server 2012 R2

01 | Evaluating the Environment for Virtualization

02 | Installing and Configuring the Hyper-V Server Role

03 | Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints

04 | Creating and Configuring Virtual Machine Networks

05 | Virtual Machine Movement and Hyper-V Replica

06 | Implementing Failover Clustering with Hyper-V

Course Topics – Day 2

System Center 2012 R2

07 | Installing and Configuring System Center 2012 R2 Virtual Machine Manager

08 | Managing the Infrastructure with VMM

09 | Configuring and Managing the VMM Library

10 | Creating and Managing VMs with VMM

11 | Managing Clouds with VMM

12 | Managing Services with VMM and App Controller

13 | Protecting and Monitoring the Virtualization Infrastructure

Background

As Microsoft’s corporate Senior Technical Evangelist covering Private Cloud, Virtualization & System Center, Symon is a recognized industry expert in datacenter management, cloud, virtualization, high-availability, and others. Previously he spent four years as a Program Manager on the Server Clustering & High-Availability engineering team and has been working in the technology industry since 2002. Symon holds several patents and industry certifications, including Microsoft Certified Trainer (MCT), MCSE Private Cloud, and VMware Certified Professional (VCP). In 2013 he co-authored the book, “Introduction to System Center 2012 R2 for IT Professionals” (O’Reilly) and is a graduate from Duke University with degrees in Computer Science, Economics and Film & Digital Studies.

Contact• @SymonPerriman

Meet the PresentersSymon Perriman

Senior Technical Evangelist, Microsoft

Meet the Presenters

Background

Corey has been a core infrastructure architect and consultant in the field for over 15 years. His primary focus is operating system virtualization, management and deployment. Corey has been working with Hyper-V, XenDesktop and VMware extensively since they were introduced and he is currently a member of the Windows 8 TAP program. He is the author of over 100 labs across multiple product lines, and is the lead author of the Windows Server 2012 hands-on labs currently available on TechNet. Corey is also the owner and lead technical architect for holSystems, an online VM hosting engine for training and demo providers which hosts thousands of VM instances in a custom, thin-provisioning engine, and is the platform used for hands-on labs, instructor-led labs, and on-demand virtual labs worldwide.

Contact• @holsystems

Corey Hynes

Lead Architect & President, HOLSystems

• Target Audience• This course is intended for IT professionals who are responsible for designing,

implementing, managing, and maintaining a virtualization infrastructure or are interested in learning about current Microsoft Virtualization technologies. The secondary audience for this course includes IT decision makers who will determine which virtualization product to implement in their data centers.

• Suggested Prerequisites/Supporting Material• 5-day Course: 20409A: Server Virtualization with

Windows Server Hyper-V and System Center

• Exam: 74-409: Server Virtualization with Windows Server Hyper-V and System Center

Course Expectations

Microsoft Virtual Academy

Module 7

Installing and Configuring System Center 2012 R2 Virtual Machine Manager

Module Overview

• Integrating System Center and Server Virtualization

•Overview of System Center 2012 Virtual Machine Manager

• Installing System Center 2012 R2 Virtual Machine Manager

•Adding Hosts and Managing Host Groups

Lesson 1: Integrating System Center and Server Virtualization

• Provisioning Server Virtualization with VMM

•Managing Server Virtualization by Using App Controller

•Monitoring Server Virtualization by Using Operations Manager

• Integrating Service Manager

•Automating Tasks with Orchestrator

•Using Data Protection Manager to Protect VMs

•Using the Windows Azure Pack for Self-Service Capabilities

Provisioning Server Virtualization with VMM

VMM features include:

• Multihost support – Hyper-V, Citrix Xenserver, VMware

• Intelligent placement

• Dynamic optimization

• App-V support

• Live migration

• Delegated administration

• Cloud, infrastructure, and services management

Enhanced in System Center 2012 R2 VMM:

• Networking, virtual machines in the cloud environment,

storage, infrastructure, and support for Windows Server

2012 R2 and Windows 8.1

Managing Server Virtualization by Using System Center App Controller

App Controller:

• Replaces the now deprecated VMM self-service portal

• Provides delegated access to private and public cloud

resources, such as:

• Virtual machines

• Services

• Templates, images

• Allows administrators to migrate between VMM,

Windows Azure, and service provider data centers

Monitoring Server Virtualization by Using System Center Operations Manager

•Operations Manager provides:

• Application monitoring in both the private and public

clouds

• Dashboards

• Health monitoring

• Alerts

• Agent and agentless monitoring

• Fabric monitoring

• By integrating Operations Manager and VMM, you

can monitor an entire virtualized environment

Integrating System Center Service Manager

With Service Manager, you can:

• Implement service management, as defined in the ITIL and

the Microsoft Operations Framework

• Use the built-in process management packs to provide

processes for:

• Defining templates and workflows

• Implementing change requests and change request templates

• Manually designing activity templates

• Enforcing compliance

Automating Tasks with System Center Orchestrator

Orchestrator provides the ability to:

• Automate processes across systems, platforms, and cloud

services

• Automate best practices

• Connect different systems from different vendors

• Implement built-in integration packs

• Implement end-to-end automation across multiple System

Center products

Enhancements in System Center 2012 R2:• Increases multiple runbook workers that combine with Windows

Azure Pack for Windows Server

• Use runbooks to automate tasks with Windows PowerShell

Using System Center Data Protection Manager to Protect a Server Virtualization Deployment

DPM provides:

• Disk and tape-based data protection and recovery

• Recover bare-metal servers and desktops running

Windows operating systems

• Central management from the DPM Administrator Console

• Role-based access permissions to distribute backup and

restore management

• Enhancements in System Center 2012 R2:

• Windows Azure Backup

• SQL Server cluster support

• Virtualized deployment

• Linux virtual machine backup

Using the Windows Azure Pack for Self-Service Capabilities

Provides the following capabilities:

•Management portal for tenants

•Management portal for administrators

• Service management API

•Windows Azure Web site and virtual machine

access to private cloud

• Service bus communication between applications

•Automate and extend custom services

Lesson 2: Overview of System Center 2012 Virtual Machine Manager

• Introducing System Center 2012 R2 VMM

• Fabric Management

•VMM Architecture

•Determining Topology for a VMM Deployment

Introducing System Center 2012 R2 VMM

Significant enhancements in the following areas:

• Enterprise-class performance

• Support for up to 1,000 host and 25,000 virtual

machines

• Dynamic VHDX resize

• Automatic upgrade Hyper-V clusters with Live Migration

• Enhanced support for Citrix and VMware hosts

• Simplified provisioning and migration

• Storage improvements

• Bare-metal provisioning

•Multitenant cloud infrastructure

• Provisioning Windows Azure infrastructure

Fabric Management

• Fabric includes network and

storage infrastructure, host

computers and groups, and

WDS and WSUS servers

• Aggregates and abstracts

everything into resources

that can be consumed and

deployed

• Accessed by administrator

and designated user roles in

private cloud resource

allocation

19

Network

management

Power

management

Storage

management

Hyper-V bare

metal

provisioning

Dynamic

Optimization

Monitoring

Integration

Update

management

Hyper-V,

Citrix,

VMware

Fabric Management

VMM Architecture

VMM Architecture

Determining Topology for a VMM Deployment

VMM Server SQL database Server

VMM Console

Library Server

WSUS Server

WDS Server

Hyper-V Host

Citrix XenServerHost

ESX Host

VMware vCenterServer

Windows Azure

App Controller

Branch Office VMM Servers

Lesson 3: Adding Hosts and Managing Host Groups

•What Are Host Groups?

•Deploying Hyper-V Hosts to Bare-Metal Computers

What Are Host Groups?

• Allows collective management of physical hosts

• Can nest host groups: Parent-Child inheritance applies

• Configurable properties include:

• Naming & moving group, allow unencrypted file transfers

• Placement rules: Virtual machine must, should, must not or

should not match the host

• Host reserves: Can reserve various resources for host alone

• Includes CPU, Memory, Disk I/O and space, Network I/O

• Dynamic optimization – for determining vm load

• Resource default: CPU 30%, RAM 512MB, Disk I/O 0%

• Power optimization included

• Network: Can assign varied network resources: IP pools, load

balancers, logical networks & MAC pools

• Storage: Can assign storage pools and logical units resources

Deploying Hyper-V Hosts to Bare-Metal Computers

• Physical computer without an operating system

installed is installed AND deployed as physical

host

• Requirements:

• Network adapter PXE-enabled; PXE server in domain

• BIOS set to PXE-boot first

• BMCs have proper credentials

• Host profile must already exist

• MAC address discovered for static IP assignment; VMM SP1

and R2 offer Deep Discovery – automates IP assignment

• Uses Fabric workspace, Add Resource Wizard, to

launch deployment

Microsoft Virtual Academy

Module 8

Managing the Infrastructure with VMM

Module Overview

•Managing Networking Infrastructure

•Managing Storage Infrastructure

•Managing Infrastructure Updates

•Hyper-V Clustering

Lesson 1: Managing Networking Infrastructure

•Working with Virtualization Infrastructure

•What Is Networking Infrastructure?

•Configuring Ports and Logical Switches in Virtual Machine Manager

•Using Virtual Machine Networks for Isolating Networking

Working with Virtualization Infrastructure

•VMM infrastructure contains the

components that make the

virtualization environment, which are:

• VMM infrastructure servers (any with a

VMM agent)

• Library servers, Hosts servers (and host groups),

PXE servers, WSUS servers, vCenter servers and

VMM servers

• Networking

• Logical networks, MAC address pools, load

balancers, VIP templates, logical switches, port

profiles port classifications, network service

• Storage

• Classifications and pools, providers, arrays, file

servers, Fibre channel fabrics

What Is Networking Infrastructure?

• Top of rack switch management and

integration

• Logical network: named networks

that serve particular functions

• IP address pool management and

integration with IPAM

•Host and VM network switch

management

• Load balancer integration and

automated deployment

•Network virtualization deployment

and management

Configuring Ports and Logical Switches in Virtual Machine Manager

Hyper-V host #1

Virtual switch

Logical switch

Switch settings

Port

profiles

(uplink)

Port

profiles

(virtual)

Management

Management

Corporate

Cluster

Hyper-V host #2

Virtual switch

Management

Using Virtual Machine Networks for Isolating Networking

•Virtual machine network features:

• Built on top of logical networks

• Allows you to use several virtualization networks on one

logical network

• Without isolation there can only be one virtual machine

network per logical network. This kind of virtual machine

network uses the logical network to communicate.

• VLANs and PVLANS are configured at the logical

network

Virtual machine networks work well for many situations,

not just for hosts

Lesson 2: Managing Storage Infrastructure

• Storage Options for Server Virtualization

• Implementing Block Storage

• Implementing File Storage

•Deploying Storage in Virtual Machine Manager

Storage Options for Server Virtualization

When you do storage planning for virtualization

hosts, you should:

•Use high performance connectivity to storage

• Implement redundant storage

•Analyze the current storage usage, and determine

the storage performance

• Plan for adequate space for existing virtualization

needs, and plan future storage growth

• Ensure you include data protection, such as

backups or offsite replication

Implementing Block Storage

• Implementing Fibre Storage

•Virtual Fibre Channel Adapters

• Implementing iSCSI Storage

Implementing File Storage

• SMB 3.0:

• Enables virtual machine storage on SMB 3.0 file shares

• Requires Windows Server 2012 file servers

• Requires fast network connectivity

• Provide redundancy and performance benefits

•NFS:

• Enables you can use NFS Shares to deploy VMware to

virtual machines

Deploying Storage in Virtual Machine Manager

After adding storage to VMM, you can deploy

logical units using two SAN methods:

• Snapshots. With this method, the SAN creates a

writable snapshot of an existing logical unit

• Cloning. With this method, the SAN creates an

independent copy of an existent logical unit

The method used must be supported by the SAN

vendor

After integration, you can deploy logical units and

storage pools by using the VMM Console or

Windows PowerShell cmdlets

Lesson 3: Managing Infrastructure Updates

•What Are Infrastructure Updates?

•Configuring a Fabric Update in Virtual Machine Manager

• Planning an Update Baseline

•Update Server Considerations

What Are Infrastructure Updates?

Infrastructure updates:

• You can integrate VMM and Windows Server

Update Server (WSUS) to provide scanning and

compliance of your virtualization infrastructure

Configuring a Fabric Update in Virtual Machine Manager

Process for implementing update management in

VMM:

1. Enable update management

2. Configure and manage update baselines

3. Start a scan to determine compliance status

4. Perform an update remediation

5. Specify update exemptions

Planning an Update Baseline

•An update baseline is a set of required updates

assigned to a scope of infrastructure servers within

the private cloud

• If you move a host or host cluster to a new host

group, the object will inherit the baseline

associated with the target host group

• If you assign a baseline specifically to a standalone

host or host cluster, the baseline will stay with the

object when it moves from one host group to

another

Update Server Considerations

When integrating WSUS and VMM:

• You must have WSUS 3.0 SP2 x64 or newer

• You should limit languages, products, and classifications

in WSUS

• Integration with Configuration Manager is

possible, if WSUS server is managed by

Configuration Manager

• Also use reporting capabilities for compliance

information

Lesson 4: Hyper-V Clustering

•Clustering Review

•Dynamic Optimization

• Power Optimization

Overview of Failover Cluster

•Up to 64 physical servers

and 6,000 VMs

• Built-n hardware and

software validation

• Shared storage using

SMB, iSCSI, Fibre

Channel, Fibre Channel

over Ethernet (FCoE) or

Serial-Attached SCSI

(SAS)

Compares withVMware HA

Dynamic OptimizationCompares with

vSphere DRS

Power OptimizationCompares with

vSphere DPM

Microsoft Virtual Academy

Module 9

Configuring and Managing theVMM Library

Module Overview

•Overview of the Virtual Machine Manager Library

•Working With Profiles and Templates

Lesson 1: Overview of the Virtual Machine Manager Library

•What Is the Virtual Machine Manager Library?

•Virtual Machine Manager Library Resources

• Library Server and Host Group Association

•Considerations for Highly Available Library Servers

What Is the Virtual Machine Manager Library?

• Hosted on Library servers

• Stores resources used to create virtual machines

• Catalog of stored resources

• Some resources stored in VMM database

• Contains templates and profiles

• Contains library shares • Shared folders on the Library servers

• Can be organized into subfolders

• Indexed for quick retrieval

• Data deduplication

• Variable chunking

• Compression of primary data to other storage areas

Virtual Machine Manager Library Resources

Library stored resources include:• File-based resources – answer and driver files, virtual

floppy and hard drives, ISO images, Windows

PowerShell and SQL Server scripts, web deployment,

and SQL DAC files

• Virtual machines templates and profiles

• Equivalent objects

• Cloud library

• Self-service user content

• Orphaned resources

• Updated catalogs and baselines

• Stored virtual machines and services

Library Server and Host Group Association

• Library servers can be associated with particular

host groups

• Enhances ability to work on several libraries at a time

• Grouped according to bandwidth, location

• Library servers in each host group share resources within

host group:

Host group South

HQ Host group

Host group London

A Library server

Considerations for Highly Available Library Servers

•VMM management servers cannot be on the same

cluster as library servers

•When a cluster fails over, library shares on it go

offline until the cluster comes back up

• The SQL Server running the VMM database should

also be clustered

•As an alternative to failover clustering, you can

add more library servers

•VMM library servers do not replicate files

• Manually copy files using robocopy or another similar

utility

Lesson 2: Working With Profiles and Templates

• What Is a Hardware Profile?

• What Is a Guest OS Profile?

• What is Server App-V

• What Is an Application Profile?

• What Is an SQL Server Profile?

• Configuring Virtual Machine Templates

• What Are Service Templates and Service Deployment Configurations?

What Is a Hardware Profile?• Contains specifications for:

• CPU

• Memory

• Network and Fibre

Channel adapters

• Floppy, IDE, SCSI and

DVD drives

• COM ports

• Memory weight

• Virtual NUMA

• CPU priority

• Ensures consistent hardware

settings over virtual

machines made with the

profile

• Imported into VM templates

What Is a Guest OS Profile?

•Contains specifications for:

• Operating System

• Identity Information

• Admin Password

• Product key

• Time zones

• Roles

• Features

• Domain/Workgroup

• Answer file

• GUIRunOnce Commands

What is Server App-V

Application B Application CApplication A

Data System Services Configurations

App-V Server sequenced package in Library Server

Virtual MachineVirtual MachineVirtual Machine

Isolated Virtual

Application

Mode

Application packages sequenced to derive from different sources; run on same virtual machine

What Is an Application Profile?

Application profiles provide the instructions for

installing applications to support a VNN-managed

service

Application profiles support the following

application types:

• SQL Server DACs

• Server App-V applications

•Web applications

• Scripts

What Is an SQL Server Profile?

•A SQL Server profile is a building block for

deploying a SQL Server instance onto a virtual

machine.

•The process for installing and configuring a

SQL Server Instance includes:

1. Prepare a SQL Server image using Sysprep

2. Create a SQL Server profile

3. Create a VM template

4. Create a service template

5. Deploy the service

Configuring Virtual Machine Templates

A virtual machine template provides an efficient

way to deploy new virtual machines and services

Virtual machine templates provide:

•A means to configure hardware, operating

systems, applications and SQL Server

specifications and to create new templates

•A consistent method for self-service users to

deploy new virtual machines and services

Service Templates and Service Deployment Configurations

Service templates

• Encapsulate requirements to deploy and run an

instance of an application

•Use machine tiers to specify settings of virtual

machine types

Service Deployment Configuration

•Configures deployment of service template

settings

•Makes use of the deployment diagram and selects

virtual machines to be deployed as part of the

service

Microsoft Virtual Academy

Module 10

Creating and Managing VMs with VMM

Module Overview

•Creating Virtual Machines

•Cloning & Converting Virtual Machines

Lesson 1: Creating VMs

•Create a VM

•Create a VM with PowerShell

What Is a Virtual Machine Checkpoint?• A non-checkpointed .vhd/.vhdx

• Checkpoint creates .avhd/.avhdx file

• All subsequent changes are written to the

.avhd/.avhdx file

• When reverted, the and .avhd/.avhdx file is deleted

.vhd .avhdCheckpoint

.vhd .avhdCheckpoint

Lesson 2: Cloning and Converting Virtual Machines

•What Is Virtual Machine Cloning?

•Considerations for Virtual Machine Cloning

•Converting a Virtual Machine

Creating Virtual Machines in VMM• Use the Create

Virtual Machine

Wizard

• Can use existing

resources such as

virtual machines,

templates, .vhds

• Create a brand new

virtual machine

• Configure Hardware

page provides many

options

• Intelligent placement

on host

Configuring Virtual Machine Placement in VMM

• Virtual Machine Manager evaluates a host’s capacity

and performance

• Automatically places a virtual machine on the most

suitable host

• Makes star rating recommendations through

intelligent placement

What Is Virtual Machine Cloning?•Rapid way to deploy a virtual machine

•Makes copy of the .vhd/.vhdx, configuration files,

and memory contents

•Original can be online if using System Center

2012 R2 Virtual Machine Manager

•Cloned virtual machine is an exact copy with the

same identity

Virtual Machine 1 Virtual Machine 1

Considerations for Virtual Machine Cloning

• The cloned virtual machine has the same name

and domain SID of the original virtual machine

• After cloning, run Sysprep, or manually change

to unique settings and values

• Ensure sufficient disk space exists on host

Converting a Virtual Machine

•Convert Citrix XenServer virtual machines to Hyper-V

via a P2V conversion

•Virtual-to-virtual machine conversion supports

converting:

• In System Center 2012 VMM

• ESX/ESXi 3.5 Update 5

• ESX/ESXi 4.0

• ESX/ESXi 4.1

• ESXi 5.1

• In System Center 2012 SP1 VMM and System Center 2012

R2 VMM

• ESX/ESXi 4.1

• ESXi 5.1

Microsoft Virtual Academy

Module 11

Managing Clouds with VMM

Module Overview

• Introduction to Clouds

•Creating and Managing a Cloud

•Working With User Roles in Virtual Machine Manager

Lesson 1: Introduction to Clouds

•What Is a Cloud?

•What Are Public, Private, and Hybrid Clouds?

•Virtualization and the Cloud

•Clouds in System Center 2012 R2 Virtual Machine Manager

• Example of a Virtual Machine Manager 2012 R2 Cloud

What Is a Cloud?

• Is also known as cloud

computing

• Enables sharing of resources to

achieve coherence and

economies of scale

• Uses the Internet, Internet

standards, and protocols

• Can provide various resources

such as virtual machines,

storage, apps, services

including databases, programs,

and systems

What Are Public, Private, and Hybrid Clouds?

Public • On-demand computing delivered through the Internet

with Internet standards and protocols

• Makes resources available to users anywhere

• Users do not need their own infrastructure

• Users run apps, services, or virtual machines remotely,

running on the cloud vendor’s infrastructure

Private • Organizations use their own infrastructure but integrate

with certain resources of the cloud vendor

Hybrid • On-demand computing delivered through the Internet

with Internet standards and protocols

• Makes resources available to only its users

• Users run apps, services, or virtual machines remotely,

running on the organization’s infrastructure

Virtualization and the Cloud

• Private cloud is more than just virtualization

• Critical components of virtualization:

• Server consolidation

• Easy deployment

• Elasticity and scalability

• Multiple tenets

• High availability and mobility

• Private cloud requires more:

• Automated management

• Pools of compute resources

• Self-service provisioning

• Usage-based chargeback

Clouds in System Center 2012 R2 VMM

•Details of fabric are

hidden

• Easy to define

quota limits

•New Tenant

Administrator role

•On-premises can

be within the

organization or

somewhere else

Example of a Cloud• Enhanced storage

• Automate SAN

• iSCSI or Fibre

• Enhanced networking

• Switch zoning

• IPAM

• Site-to-site network

connections using private

IP address

• RBA

• Live cloning

AdatumCloud

DevGroup ResearchGroup

Lesson 2: Creating and Managing a Cloud

•Configuring Cloud Resources

•Configuring Cloud Capacity

•Configuring Cloud Capability

•Managing a Cloud

Configuring Cloud Resources

•Hardware

• Storage: SAN, Fibre, disk, libraries, .iso

files

• Networking, Logical LANs, load

balancers, vIP

• Memory

• CPUs

• Software

• Databases, apps, large applications

• Physical hosts

•Virtual machines

Configuring Cloud Capacity

•Uses quotas

• Specifies maximum usage allowed by default

•Can be throttled back by a lesser amount

•Applies to:

• Virtual CPUs

• Memory

• Storage

• Custom quota points

• Virtual machines

•Can add more capacity

Configuring Cloud Capability

•Capability built on capacity profiles

• Provides built-in fabric capability

•Assignment based on the hypervisor platform

•Can use one, any, or all three

•Can also make custom capacity profiles

VMware ESX

ServerMicrosoft

Hyper-V

XenServer, Citrix

Xen Hosts

Managing a Cloud

•Chargeback and governance of resource usage

• Private cloud application performance monitoring

•GSM ensures applications are always up and

always on

• SLA-based

Lesson 3: Working With User Roles in VMM

•What Are User Roles in Virtual Machine Manager?

•Objects and Actions that Can Be Delegated

•User Role Profiles

•Creating a User Role

•Connecting to Virtual Machine Manager by Using Different User Roles

What Are User Roles in Virtual Machine Manager?

User roles contain:

• Profiles

•Members

• Scope

•Network

•Cloud quotas

• Resources

• Permissions

• Run-As accounts

Depending on profile selected

Objects and Actions that Can Be DelegatedThe resources (objects) available in a private cloud are:Virtual CPUs MemoryStorageCustom Quota (Points)Virtual MachinesData paths

The actions you can allow for these

resources are:

• Author

• Checkpoint (snapshots)

• Checkpoint (Restore Only)

• Deploy

• Deploy (From Template only)

• Local Administrator

• Pause and Resume

• Receive

• Remote Connection

• Remove

• Save

• Share

• Shut down

• Start

• Stop

• Store

User Role Profiles

• Preexisting Administrator role

• Fabric administrator:

• Formerly, Delegated Administrator

• May still show up in technical references

• Read-only administrator

• Tenant administrator:

• New user role in VMM 2012 SP1

• Application administrator:

• Formerly known as Self-Service User

• May still show up in technical references

Microsoft Virtual Academy

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 Updates

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

Microsoft Virtual Academy

Module 13

Protecting and Monitoring the Virtualization Infrastructure

Module Overview

• Protecting Virtualization Infrastructure using Data Protection Manager

•Using Operations Manager for Monitoring and Reporting

• Integrating VMM with Operations Manager

Lesson 1: Protecting Virtualization Infrastructure by Using Data Protection Manager

• Benefits of Using DPM

•DPM Components and the Protection Process

•Considerations for Using DPM to Back Up Virtual Machines

•Deploying DPM Protection Agents

•Configuring Protection Groups

•Options for Protecting Virtualization Infrastructure

• Performing Virtual Machine Recovery

•Deploying Windows Azure Online Backup for DPM

Benefits of Using DPM

DPM provides the following features:

• Backing up of multiple Hyper-V hosts and virtual

machines from a single application

• Disaster recovery by replicating protected data to

secondary offsite locations

• Protection of workloads such as SharePoint, AD DS, SQL

Server, Exchange Server, Windows 7, and Windows 8.

• Backups to cloud services with Window Azure Online

Backup

• Enhanced reporting

• Scriptable through Windows PowerShell

• Support for CSV clusters and virtual machines stored in

SMB 3.0 file shares

DPM Components and the Protection Process

DPM

(Database)

DPM Protection Agent =

DPM components

DPM serverVirtual Machines

DPM agents

Hyper-V hosts

DPM agents

DPM Components and the Protection Process

DPM server DPM server DPM server

Central Console

DPM component

DPM Components and the Protection Process

Secondary DPM server

DPM

(Database)

DPM server

Disaster recovery – Secondary DPM server

DPM Protection Agent =

DPM component

DPM Components and the Protection Process

Windows Azure Backup

Windows Azure Backup

DPM

(Database)

DPM server

DPM component

Deploying DPM Protection Agents

•Deploying protection agents:

• Choose the installation method, manual, automatic

• Configure firewall rules

• Deploy agent via DPM console

• Deploy agent manually

Configuring Protection Groups

Protection groups are collection of data sources

(members) that group together the following

configuration settings:

•Data protection methods such as disk, tape, and

or cloud

•Data retention

• Synchronization frequency

•Consistency checks

•Recovery Points

•Compression

Options for Protecting Virtualization Infrastructure

Backup options for a server virtualization

infrastructure include:

•Host-level backups that may include item-level

recovery

•Can be online or offline, subject to in-guest

operating system versions

Performing Virtual Machine Recovery

•Virtual machine recovery considerations:

• Consider the virtual machine recovery location, and

make sure there is adequate space

• Ensure that the performance of any systems during a

restore does not impact end users

• Ensure recovered virtual machines maintain desired

security level

• Do not recover and leave virtual machine hard disks in insecure

locations

Lesson 2: Using Operations Manager for Monitoring and Reporting

• Key Features and Components of Operations Manager

•Overview of Management Packs

Key Features and Components of Operations Manager

Overview of Management Packs

Management packs contain settings used to

monitor a specific application or device

Management packs can include:

•Monitors

•Rules

•Views

• Knowledge

• Tasks

•Reports

•Run As profiles

Lesson 4: Integrating VMM with Operations Manager

•Operations Manager Integration with VMM

•What Are PRO Tips?

•Configuring Advanced Monitoring for Virtualization Components

Operations Manager Integration with VMM

Integrating VMM and Operations Manager

provides:

•Advanced monitoring and reporting

• PRO tips

•Diagram views of the virtualization environment

What are PRO Tips?

Management packs with monitors that can react to

events and remediate against them in VMM

• For example, you can configure a hardware PRO tip to

migrate virtual machines from a host when a disk fails

Configuring Advanced Monitoring for Virtualization Components.

• Import management packs for hardware and

software components

•Use the Fabric Health Dashboard and Diagram

views

Microsoft Virtual Academy

End of Day 2

Course Summary

Summary

What have we learned about Hyper-V? Host & Virtual Machine Configuration with inbox tools

Resilient Hyper-V Infrastructure with Failover Clustering

Virtual Machine Migration, Backup & Replication

What have we learned about System Center?

Resources

Hyper-V Overview - http://technet.microsoft.com/library/hh831531

Competitive Advantages of Hyper-V - http://download.microsoft.com/download/E/8/E/E8ECBD78-F07A-4A6F-

9401-AA1760ED6985/Competitive-Advantages-of-Windows-Server-Hyper-V-over-VMware-vSphere.pdf

Technical Documentation | Virtual Machine Manager: http://www.microsoft.com/en-

us/download/details.aspx?id=6346

Technical Documentation | App Controller: http://www.microsoft.com/en-us/download/details.aspx?id=29694

Technical Documentation | Operations Manager: http://www.microsoft.com/en-

us/download/details.aspx?id=29256

Technical Documentation | Data Protection Manager: http://www.microsoft.com/en-

us/download/details.aspx?id=29698

Technical Documentation | Service Manager: http://www.microsoft.com/en-us/download/details.aspx?id=27850

Technical Documentation | Orchestrator: http://www.microsoft.com/en-us/download/details.aspx?id=29258

Cloud Services Process Pack Download: http://www.microsoft.com/en-us/download/details.aspx?id=36497

Microsoft Virtual Machine Converter Download: http://www.microsoft.com/en-

us/download/details.aspx?id=34591

System Center PowerShell Deployment Toolkit: http://gallery.technet.microsoft.com/PowerShell-Deployment-

797b3c6d

Next Steps

Download evaluation software http://aka.ms/CampEval

Learn more http://aka.ms/CampMVAWS

http://aka.ms/CampMVASC

http://www.microsoft.com/learning/en-us/course.aspx?ID=20409A&Locale=en-us

Get certified http://www.microsoft.com/learning/en-us/exam.aspx?id=74-409