get a grip on your virtual world: advanced virtualization management dan stolts “itproguru”...

25
Get A Grip On Your Virtual World: Advanced Virtualization Management Dan Stolts “ITProGuru” Chief Technology Strategist Microsoft Corporation Blog: http://ITProGuru.com Twitter: @ITProGuru Level: 300

Upload: deborah-bryan

Post on 11-Jan-2016

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Get A Grip On Your Virtual World: Advanced Virtualization Management Dan Stolts “ITProGuru” Chief Technology Strategist Microsoft Corporation Blog: ://ITProGuru.com

Get A Grip On Your Virtual World: Advanced Virtualization ManagementDan Stolts “ITProGuru”Chief Technology StrategistMicrosoft CorporationBlog: http://ITProGuru.com Twitter: @ITProGuru

Level: 300

Page 2: Get A Grip On Your Virtual World: Advanced Virtualization Management Dan Stolts “ITProGuru” Chief Technology Strategist Microsoft Corporation Blog: ://ITProGuru.com

2

Get A Grip On Your Virtual World: Advanced Virtualization ManagementYou have heard about System Center Virtual Manager (SCVMM) and its incredible view of the entire virtualized world.  You have seen the basics but now you want more in depth coverage.  In this session, learn about and understand how the advanced management capabilities of SCVMM 2008 R2 effectively and efficiently manage your virtual infrastructures. We will cover Automated VM deployment, Physical to Virtual conversion, PRO TIPS and integration with Microsoft Operations Manager, and so much more!

Page 3: Get A Grip On Your Virtual World: Advanced Virtualization Management Dan Stolts “ITProGuru” Chief Technology Strategist Microsoft Corporation Blog: ://ITProGuru.com

Agenda• Best Practices at Leveraging Virtual

Machine Manager 2008 R2 for Hyper-V Management

• Tips and Tricks at Configuring Operations Manager 2007 for Better Hyper-V/OpsMgr Integration

• Automating OpsMgr Integration of Hyper-V with Opalis

• Accelerating Guest Session Creation using ConfigMgr 2007 R2

Page 4: Get A Grip On Your Virtual World: Advanced Virtualization Management Dan Stolts “ITProGuru” Chief Technology Strategist Microsoft Corporation Blog: ://ITProGuru.com

Basics of VMM2008 R2• Heterogeneous

Virtualization Management• Physical to Virtual Conversion

(P2V)• Virtual to Virtual Conversion

(V2V)• Virtual Server to Hyper-V• VMware to Hyper-V

• Virtual Machine Library• PowerShell Scripting• Delegated Administration• Virtual Machine Authoring• VM Templates/Cloning• Failover Cluster Integration

Page 5: Get A Grip On Your Virtual World: Advanced Virtualization Management Dan Stolts “ITProGuru” Chief Technology Strategist Microsoft Corporation Blog: ://ITProGuru.com

Conversions: P2V and V2VIntuitive and easy to use tools provide:

Core feature of VMM, no additional infrastructure or costs per conversion Wizard based experienceReconfigure storage, memory, CPU, etc.Preserves network settings and MAC addressesAutomatable through PowerShell and Opalis

Supported platforms:Live - Windows XP, Windows Server 2003, Windows Vista, and Windows Server 2008, Windows Server 2008 R2 and Windows 7Offline - Windows 2000 Server

Page 6: Get A Grip On Your Virtual World: Advanced Virtualization Management Dan Stolts “ITProGuru” Chief Technology Strategist Microsoft Corporation Blog: ://ITProGuru.com

Netbook => VM?

Demo

6

Page 7: Get A Grip On Your Virtual World: Advanced Virtualization Management Dan Stolts “ITProGuru” Chief Technology Strategist Microsoft Corporation Blog: ://ITProGuru.com

Live Migration in Hyper-V R2 (in the box functionality)1. Create VM on target server2. Copy memory pages from the source to the target via Ethernet3. Final state transfer

a. Pause virtual machineb. Move storage connectivity from source host to target host via

Ethernet4. Run new VM on target; Delete VM on source

Host 1 Host 2Orange = StorageYellow = Networking

Shared Storage

Page 8: Get A Grip On Your Virtual World: Advanced Virtualization Management Dan Stolts “ITProGuru” Chief Technology Strategist Microsoft Corporation Blog: ://ITProGuru.com

Storage Migrations in VMM 2008 R2

• VMM supports− Quick Storage Migration (VMM 2008 R2 feature)− VMware Storage VMotion (VMware feature)

• Useful when− Consolidating existing VMs in a Clustered Shared Storage

(CSV)− Upgrading your SAN − Migrating from old to new SAN− Low disk space− Site to site migration

Storage Management Enhancement in VMM 2008 R2

Page 9: Get A Grip On Your Virtual World: Advanced Virtualization Management Dan Stolts “ITProGuru” Chief Technology Strategist Microsoft Corporation Blog: ://ITProGuru.com

Source Disk Destination Disk

Quick Storage Migration behind the scene1. Create Checkpoint – Now R/W to Diff Disk2. Copy VHD to Disk 23. Pause VM and Transfer Diff Disk to Disk 24. Apply Diff Disk5. Start VM, Clean up Original

Page 10: Get A Grip On Your Virtual World: Advanced Virtualization Management Dan Stolts “ITProGuru” Chief Technology Strategist Microsoft Corporation Blog: ://ITProGuru.com

Support for CSV

FailoverCluster

ClusteredStorage

VMM 2008 R2

VHD VHD VHD

LUN 1Vol. 1

VHD VHD VHD

LUN 2Vol. 2

Multiple VMs Sharing a LUNCSV provides a single consistent file name space

Files have the same name and path when viewed from any node in the clusterCSV volumes are exposed as directories and subdirectories under the “ClusterStorage” root directory

C:\ClusterStorage\Volume1\<root>C:\ClusterStorage\Volume2\<root>C:\ClusterStorage\Volume3\<root>

Page 11: Get A Grip On Your Virtual World: Advanced Virtualization Management Dan Stolts “ITProGuru” Chief Technology Strategist Microsoft Corporation Blog: ://ITProGuru.com

CSV brings Cluster Fault Tolerances

SAN

VHD

SAN Connectivit

y Failure

I/O Redirected via network

Volume mounted on

Node 1

VM running on Node 2

is unaffected

Node Failure

Brief queuing of I/O while volume

ownership is changed

Volume relocates to a healthy

node

VM running on Node 2

is unaffected

Routed to Redundant Network

Network Path

Connectivity Failure

Page 12: Get A Grip On Your Virtual World: Advanced Virtualization Management Dan Stolts “ITProGuru” Chief Technology Strategist Microsoft Corporation Blog: ://ITProGuru.com

Best Practices on Migrations (for HA, DR, and Management)

Migration Type When Service Outage

Live Migration VM is HA and both source and target nodes are on Windows Server 2008 R2 Failover Cluster

None

Quick Migration VM is HA and Live Migration is not possible <1min

SAN Meets SAN migration requirements and it can’t be migrated Live or Quick

<2mins

Quick Storage Migration (VM storage is changed)

When none of the above is possible and hosts are Hyper-V Server 2008 R2

<2mins

LAN (VM storage is changed)

When none of the above is possible <1hour

VMM chooses the best VM migration type for each host

Page 13: Get A Grip On Your Virtual World: Advanced Virtualization Management Dan Stolts “ITProGuru” Chief Technology Strategist Microsoft Corporation Blog: ://ITProGuru.com

Using System Center Operations Manager to Monitor the Health of Hyper-V Host Servers and Guest Sessions

• Monitor Host Servers− Live Migrate before host fails− Perform maintenance realtime− Retune and optimize

configuration

• Monitor Guest Sessions− Perform guest OS management− Manage guest apps

automatically

• Confirm system settings are allowing systems to be running at their optimal performance

Page 14: Get A Grip On Your Virtual World: Advanced Virtualization Management Dan Stolts “ITProGuru” Chief Technology Strategist Microsoft Corporation Blog: ://ITProGuru.com

Operations Mgr for Proactive Monitoring of Hyper-V Hosts

and Guest Sessions

DEMO?

Page 15: Get A Grip On Your Virtual World: Advanced Virtualization Management Dan Stolts “ITProGuru” Chief Technology Strategist Microsoft Corporation Blog: ://ITProGuru.com

Performance and Resource Optimization

Page 16: Get A Grip On Your Virtual World: Advanced Virtualization Management Dan Stolts “ITProGuru” Chief Technology Strategist Microsoft Corporation Blog: ://ITProGuru.com

Improving Automation with Performance and Resource Optimization (PRO)

Hardware PRO Tips

Networking PRO Tips

Server Health/Performance Monitoring / Dynamically Configure

Add’l Hyper-V Workloads

Page 17: Get A Grip On Your Virtual World: Advanced Virtualization Management Dan Stolts “ITProGuru” Chief Technology Strategist Microsoft Corporation Blog: ://ITProGuru.com

Using Config Mgr to Efficiently Provision Hyper-V Guest Sessions

User & Data Layer• New / Clean Guest Session, or Replacement of Existing

System (data needs to be migrated)

Application Layer

• Core Applications installed• User/Role/Location specific Apps, physical, virtual or Terminal services

OS Layer

• Operating System Image imported, captured, built from script

Hardware Layer

• Configuration, Drivers and OEM Tools

Page 18: Get A Grip On Your Virtual World: Advanced Virtualization Management Dan Stolts “ITProGuru” Chief Technology Strategist Microsoft Corporation Blog: ://ITProGuru.com

Server Deployment Packs• Adds additional custom Task

Sequence Steps into the ConfigMgr Task Sequence process to handle BIOS, RAID, etc.

• Based on common framework.− Dell (http://bit.ly/dgmirQ)− HP (http://bit.ly/cDq5OH)− IBM (http://bit.ly/b3vpVe)− Sun (http://bit.ly/bWlc53)

Page 19: Get A Grip On Your Virtual World: Advanced Virtualization Management Dan Stolts “ITProGuru” Chief Technology Strategist Microsoft Corporation Blog: ://ITProGuru.com

Delegation & Self Service PortalAdministrators

Full access to all actions Full access to all objectsCan use the Admin console or PowerShell interface

Delegated AdministratorsFull access to most actions Scope can be limited by host groups and Library serversCan use the Admin console or PowerShell interface

Self-Service UsersLimited access to a subset of actions Scope can be limited by host groups, library shares and VM ownershipLimited by utilization quotas and template costsCan use the Self-Service Portal or PowerShell interface

Page 20: Get A Grip On Your Virtual World: Advanced Virtualization Management Dan Stolts “ITProGuru” Chief Technology Strategist Microsoft Corporation Blog: ://ITProGuru.com

Maintenance Mode usage scenarios

Shared Storage

Host is now offline for servicing

Enable Maintenance

Mode

Page 21: Get A Grip On Your Virtual World: Advanced Virtualization Management Dan Stolts “ITProGuru” Chief Technology Strategist Microsoft Corporation Blog: ://ITProGuru.com

Speedup VM provisioning using Templates• Consist of Hardware and

Guest OS Profile• Consistent hardware and

guest OS configuration across all VMs• Reduce Provisioning time• Enables provisioning using

Self Service Portal

Page 22: Get A Grip On Your Virtual World: Advanced Virtualization Management Dan Stolts “ITProGuru” Chief Technology Strategist Microsoft Corporation Blog: ://ITProGuru.com

Thank you

Q&A

Page 23: Get A Grip On Your Virtual World: Advanced Virtualization Management Dan Stolts “ITProGuru” Chief Technology Strategist Microsoft Corporation Blog: ://ITProGuru.com

Resources

www.microsoft.com/techedSessions On-Demand & Community Microsoft Certification & Training Resources

Resources for IT Professionals Resources for Developers

www.microsoft.com/learning

http://microsoft.com/technet http://microsoft.com/msdn

Learning

Slides location: http://ITProGuru.com/p/resources.aspx Dan’s Blog: http://ITProGuru.com Twitter: @ITProGuru

Page 24: Get A Grip On Your Virtual World: Advanced Virtualization Management Dan Stolts “ITProGuru” Chief Technology Strategist Microsoft Corporation Blog: ://ITProGuru.com

Evaluations Are VERY IMPORTANT!• Please fill out your evaluations … Same scale

as “grade school” (drop the one’s)

− 10=100% Does not exist because there is no Such thing as “perfect”

− 9=90% Good = Report card of “A”− 8=80% OK = Report card of “B”

− Less than 8, Please give feedback so we can improve− 7=70% Not So Good = Report card of “C”− Less than 7… You get the picture

• Slides location: http://ITProGuru.com/p/resources.aspx

• Dan’s Blog: http://ITProGuru.com • Twitter: @ITProGuru

Page 25: Get A Grip On Your Virtual World: Advanced Virtualization Management Dan Stolts “ITProGuru” Chief Technology Strategist Microsoft Corporation Blog: ://ITProGuru.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.