chris wolf senior analyst burton group vir303 agenda hyper-v and microsoft system center management...

Post on 25-Dec-2015

222 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Hyper-V and Microsoft System Center: Practical Orchestration and IT Process Automation Recipes

Chris WolfSenior AnalystBurton GroupVIR303

AgendaHyper-V and Microsoft System Center

Management frameworkWhat is orchestration? Getting started with PROOrchestration recipesFuture developmentsRecommendations

Management Framework

Management Framework

Management FrameworkEnterprise Management

Management FrameworkVirtual Infrastructure Operational Management

Management FrameworkNetwork and Storage Management

Management FrameworkPhysical Infrastructure Operational Management

What is Orchestration?

What is Orchestration?Definition

Use of integrated policies to automate IT processes in response to business needsLofty goals

Data center does everything itself…Provision systemsTurn off unneeded serversCorrect performance anomaliesRestart hung applicationsWalk the dog

What is Orchestration?Infrastructure responds to change

Alert-driven orchestrationAdministrative staff responds to alertsYou’re already doing this

Automated responseSoftware automatically responds to alertsNew system provisioningRestart hung applicationsPower down systemsInitiate DR failoverStreamline change control processes

What is Orchestration?Enablers – Shrink wrapped solutions

Microsoft System CenterVirtual Machine Manager 2008

User Self-Service PortalOperations Manager 2007 SP1

SCVMM Management Packs

Third PartyCitrixBMCOpalisHP

What is Orchestration?SCVMM Self-Service Portal

Users provision their own VMsQuota Points enforce limits, prevent sprawl

What is Orchestration?Automate Hyper-V deployment using WDS

Simplifies new Hyper-V server deployment and disaster recoveryMore info: http://technet.microsoft.com/en-us/magazine/2009.02.hyperv.aspxSCVMM adds role automatically

Getting Started with PRO

Getting Started with PROWhat is it?

Performance and Resource OptimizationEnabled via SCVMM management packs in System Center Operations Manager 2007Role in virtual infrastructure orchestration:

Collect data about applications, VMs, physical hosts, and hardwareIdentify or automate optimization opportunities

Foundation for automated or manual virtual infrastructure alert-driven orchestration

Remediates physical infrastructure issues too

Getting Started with PRO PRO Tip Types

HostMonitors Hyper-V server performanceRecommends actions such VM rebalancing

VMMonitors VM resource usage and performanceRecommends configuration changes based on VM resource needs

VMMLooks for performance issues that impact entire virtual infrastructure (e.g., storage bottlenecks)

Getting Started with PRO Default PRO Management Pack Files

Microsoft.SystemCenter.VirtualMachineManager.PRO.2008.LibraryMicrosoft.SystemCenter.VirtualMachineManager.PRO.2008.HyperV.HostPerformance

Monitors Hyper-V and Virtual Server hostsMicrosoft.SystemCenter.VirtualMachineManager.PRO.2008.VMware.HostPerformance

Monitors VMware ESX Server hostsMicrosoft.SystemCenter.VirtualMachineManager.PRO.2008.VMRightSize

Monitors VM performance, recommends sizing

Getting Started with PRO Default Management Pack Thresholds

Default VMM Management Pack ThresholdsManagement Pack Monitor Threshold Sampling

Interval Calculation

PRO.2008.HyperV.HostPerformance

orPRO.2008.VMware.HostPerfor

mance

Memory Utilization 90% 60 seconds Average of last 3

samples

CPU Utilization 75% 60 seconds Average of last 3 samples

PRO.2008.VMRightSize

Memory Utilization 90% 60 seconds Average of last 3

samples

CPU Utilization 90% 60 seconds Average of last 3 samples

Getting Started with PRO Third Party Management Packs

Provide PRO integration via Operations Manager management packsParticipating partners:

Brocade, Citrix, Dell, Emulex, HP, Quest Software, SecureVantage, Tripwire

http://www.microsoft.com/systemcenter/virtualmachinemanager/en/us/pro-partners.aspx

Getting Started with PRO Integrating SCVMM and OpsMgr

Requirements:VMM 2008 OpsMgr 2007 SP1Management Packs:

SQL Server Core LibraryWindows Server IIS 2003Windows Server IIS 2008Windows Server IIS Library

Uninstall the VMM Administrator Console

Run SCVMM Setup

Getting Started with PRO Post-install Configuration

Delete SCVMM management packsDownload and install updated SCVMM MPs http://go.microsoft.com/fwlink/?LinkId=82105

Getting Started with PRO Specifying the Ops Manager Server

SCVMMAdministration -> System Center -> Operations Manager Server

Getting Started with PRO Enabling PRO Tips

SCVMMAdministration -> General -> PRO Settings

Getting Started with PRO Enabling PRO Tips – Host Group

Settings enabled at Host Group or sub Host Group level

Getting Started with PRO Viewing Monitor Thresholds

Getting Started with PRO Viewing Monitor Thresholds - MP Files

Getting Started with PRO Viewing PRO Tips

SCVMM Console

Getting Started with PRO Deployment – More Info

“Enabling PRO in VMM 2008”http://technet.microsoft.com/en-us/library/cc764271.aspx

Integrating SCVMM and Ops ManagerChris WolfSenior AnalystBurton Group

demo

Orchestration Recipes

Orchestration RecipesVM-Aware application monitor

Monitor application state with Ops ManagerResponse to hung application

Restart applicationRestart guest OSMove VM to alternate physical host

Declaring an app "hung" is like rocking a rhymeRequires prolonged sampling period

Sample every 60 secondsAlert after 5 samples shows no responseStart automated remediation after 10 consecutive samples with no response

Orchestration RecipesVM-Aware application monitor - ingredients

Custom Ops Manager MPExcellent sample: www.opsmanjam.com StoreApp sample MP

Architecture and overview: http://www.opsmanjam.com/OpsManJam%20Library/Management%20Packs/StoreApp%20Sample%20Management%20Pack.docx XML sample MP: http://www.opsmanjam.com/OpsManJam%20Library/Management%20Packs/Demo.StoreApp.xml

Additional scripts to restart VM or move VM

vbscript – Reboot VM Guest OS

Set OpSysSet = GetObject("winmgmts:{(Shutdown)}!\\.\root\cimv2").ExecQuery _("select * from Win32_OperatingSystem where Primary=true")

for each OpSys in OpSysSet OpSys.Reboot()next

Ops Manager OrchestrationChris WolfSenior AnalystBurton Group

demo

Orchestration RecipesAutomating Storage Provisioning – Citrix StorageLink

Included in Citrix Essentials for Hyper-VAutomates LUN creation/allocation to new VMsProvisions VMs from snapshots1.0 release only supports passthrough disksSupported arrays: Dell EqualLogic, HP, NetAppMore info:

http://www.chriswolf.com/?p=268 http://www.citrix.com/English/ps2/products/feature.asp?contentID=1686941

Orchestration RecipesCitrix Virtual Storage Manager UI

Orchestration RecipesCitrix StorageLink - Creating new storage repository

Orchestration RecipesCitrix StorageLink – Creating a storage profile

Orchestration RecipesCitrix StorageLink – Creating a VM Template

Orchestration RecipesCitrix StorageLink – Provisioning VMs from Template

Orchestration RecipesCitrix StorageLink – Provisioned VMs in SCVMM

Orchestration RecipesAdditional Operations Manager Resources

System Center Authoring Consolehttp://www.microsoft.com/downloads/details.aspx?FamilyId=6C8911C3-C495-4A03-96DF-9731C37AA6D7&displaylang=en VMM 2008 MP Guidehttp://www.microsoft.com/downloads/details.aspx?FamilyID=d6d5cddd-4ec8-4e3c-8ab1-102ec99c257f

Management Pack Authoring Guidehttp://download.microsoft.com/download/7/4/d/74deff5e-449f-4a6b-91dd-ffbc117869a2/OM2007_AuthGuide.doc

Operations Manager 2007 Cataloghttp://technet.microsoft.com/en-us/opsmgr/cc539535.aspx

Future Developments

Future DevelopmentsBurst or migrate to cloud

More feasible once regulatory /security compliance concernsare settled

“Internal Cloud”

“External Cloud”

Future Developments

IHV supported dynamic power managementParking unneeded CPU coresPowering down unneeded physical hosts

Virtual hardware hot-addDisk, CPU, Memory, NetworkHot-add is mostly useful if applications can take advantage of new resources without a restart

Tighter integration between orchestration and securityDynamic VM placement requires awareness of security zoning restrictions

Recommendations

Recommendations

Fully orchestrate provisioning tasks todayDevelopment, test, training systems

3rd party lab management tools simplify lifecycle management for lab systems

Automated storage provisioning and array snapshot integration speeds new VM provisioningAutomate Hyper-V host provisioning

Use automated remediation for:Growing/shrinking load balanced clustersRestarting hung/failed applications (caution here)

Recommendations(Continued)

Expand orchestration/automation plans to leverage Hyper-V R2 and SCVMM 2008 R2 planned features

Use live migration to dynamically balance VM loadPower down unneeded servers, return to service when needed

IHV support for dynamic power management is not too far off

Hot-add VM resources

Recommendations(Continued)

Begin planning for burst-to-cloudDynamically repurpose servers to maximize utilization and reduce hardware requirements

Example: Hyper-V host by day, backup media server by night

It’s the ecosystemThird party products complete the picture

question & answer

www.microsoft.com/teched

Sessions On-Demand & Community

http://microsoft.com/technet

Resources for IT Professionals

http://microsoft.com/msdn

Resources for Developers

www.microsoft.com/learningMicrosoft Certification and Training Resources

www.microsoft.com/learning

Microsoft Certification & Training Resources

Resources

Related Content

MGT310 Microsoft System Center Virtual Machine Manager 2008: Performance and Resource Optimization (PRO) and Management Integration

VIR302 Hyper-V and Microsoft System Center Virtual Machine Manager 2008: Real World Tips, Tricks, and Best Practices

VIR312 Microsoft System Center Virtual Machine Manager 2008: Advanced Featuresd titles)

MGT01-HOL Authoring Management Packs: An Introduction

MGT402 Advanced Management Pack Authoring

Complete an evaluation on CommNet and enter to win!

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

top related