Session 2: Management Made Easy for Small and Medium

Download Report

Transcript Session 2: Management Made Easy for Small and Medium

Level: 300
Get A Grip On Your Virtual World:
Advanced Virtualization Management
Dan Stolts “ITProGuru”
Chief Technology Strategist
Microsoft Corporation
Blog: http://ITProGuru.com
Twitter: @ITProGuru
Get A Grip On Your Virtual World:
Advanced Virtualization Management
You 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!
2
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
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
Conversions: P2V and V2V
Intuitive and easy to use tools provide:
Core feature of VMM, no additional
infrastructure or costs per conversion
Wizard based experience
Reconfigure storage, memory, CPU, etc.
Preserves network settings and MAC
addresses
Automatable through PowerShell and Opalis
Supported platforms:
Live - Windows XP, Windows Server 2003,
Windows Vista, and Windows Server 2008,
Windows Server 2008 R2 and Windows 7
Offline - Windows 2000 Server
6
Live Migration in Hyper-V R2 (in the box functionality)
1.
2.
3.
4.
Create VM on target server
Copy memory pages from the source to the target via Ethernet
Final state transfer
a. Pause virtual machine
b. Move storage connectivity from source host to target host via Ethernet
Run new VM on target; Delete VM on source
Orange = Storage
Yellow = Networking
Host 1
Host 2
Shared Storage
Storage Migrations in VMM 2008 R2
•
VMM supports
•
Useful when
− Quick Storage Migration (VMM 2008 R2 feature)
− VMware Storage VMotion (VMware feature)
−
−
−
−
−
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
Quick Storage Migration behind the scene
1.
2.
3.
4.
5.
Create Checkpoint – Now R/W to Diff Disk
Copy VHD to Disk 2
Pause VM and Transfer Diff Disk to Disk 2
Apply Diff Disk
Start VM, Clean up Original
Source Disk
Destination Disk
Support for CSV
VMM
2008 R2
CSV provides a single
consistent file name space
Files have the same name
and path when viewed
from any node in the
cluster
CSV volumes are exposed
as directories and
subdirectories under the
“ClusterStorage” root
directory
C:\ClusterStorage\Volume1\
<root>
C:\ClusterStorage\Volume2\
<root>
C:\ClusterStorage\Volume3\
<root>
Failover
Cluster
Clustered
Storage
Vol. 1
LUN 1
VHD VHD VHD
Vol. 2
LUN 2
VHD VHD VHD
CSV brings Cluster Fault
Tolerances
I/O
Redirected
via network
Routed to
Redundant
Node
Failure
Network
Volume
Volume
mounted
on
relocates
Node 1 to a
healthy node
VM
VMrunning
running
on
Node
on Node2 2isis
unaffected
unaffected
SAN
VHD
Brief queuing
ofSAN
I/OPath
while
Network
volume
Connectivity
Connectivity
ownership
Failure is
Failure
changed
Best Practices on Migrations (for HA, DR, and Management)
VMM chooses the best VM migration type for each host
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 When none of the above is possible and hosts are
(VM storage is changed) Hyper-V Server 2008 R2
<2mins
LAN
When none of the above is possible
(VM storage is changed)
<1hour
Using System Center Operations Manager to Monitor the
Health of Hyper-V Host Servers and Guest Sessions
•
Monitor Host Servers
•
Monitor Guest Sessions
•
Confirm system settings are
allowing systems to be running
at their optimal performance
−
−
−
−
−
Live Migrate before host fails
Perform maintenance realtime
Retune and optimize
configuration
Perform guest OS management
Manage guest apps
automatically
Performance and Resource Optimization
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
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
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)
Delegation & Self Service Portal
Full access to all actions
Full access to all objects
Can use the Admin console or PowerShell interface
Full access to most actions
Scope can be limited by host groups and Library servers
Can use the Admin console or PowerShell interface
Limited access to a subset of actions
Scope can be limited by host groups, library shares and
VM ownership
Limited by utilization quotas and template costs
Can use the Self-Service Portal or PowerShell interface
Maintenance Mode usage scenarios
Enable
Maintenance Mode
Host is now offline
for servicing
Shared Storage
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
Resources
www.microsoft.com/teched
www.microsoft.com/learning
http://microsoft.com/technet
http://microsoft.com/msdn
Slides location: http://ITProGuru.com/p/resources.aspx
Dan’s Blog: http://ITProGuru.com
Twitter: @ITProGuru
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
© 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.