760 likes | 941 Vues
Peter Fitzsimon. Andrew Dugdell. Microsoft Global Solutions Technical Team. MVP Virtual Machine WindowsVirtualization.com. Working with SCVMM. SVR310. A little bit about us…. Andrew Dugdell. Peter Fitzsimon. MVP Virtual Machine
E N D
Peter Fitzsimon Andrew Dugdell Microsoft Global Solutions Technical Team MVP Virtual Machine WindowsVirtualization.com Working with SCVMM SVR310
A little bit about us… Andrew Dugdell Peter Fitzsimon MVP Virtual Machine WindowsVirtualization.com -- Using Virtualization before it was cool BIG – Brisbane Infrastructure Group Work with most products and Vendors that touch or extend the VHD format in some way • Microsoft • Global Solutions Technical Team (GSTT) • *Yes we’re both geeks, but were some of the cools ones :)
Shameless Session Plug Don’t forget to check out Ben Armstong’s Virtualization sessions: • SVR318: WSV Architecture, Wed @ 11:30am • SVR314: Virtualization High Availability, Fri @ 9:45 am • Ben Armstong, • Virtual Server • (Wrox) • Sample chapters:[rhc] • Larson and Carbone, • VS Resource Kit • (MSpress) • Sample chapters:[rhb]
Agenda • System Centre Suite – what does SCVMM do? • SCVMM capabilities (demos with RC0): • Virtual machine creation and placement • P2V • Powershell and V2V (vmdk to vhd) • Templating • Self service portal • VHDmount • SCVMM architecture and deployment • System Centre Roadmap • DPM demos • Hot Backup of Virtual Machine Guests • Licensing and Partners • Open Floor QA • *We’ll try to keep the session full of demos – they’re so much more exciting that screenshots; even when they fail :)
Some quick notes before we start • Level 300 Session, we left the marketing at the door • Sound Virtualization and Virtual Machine theory – Virtual Server preferred • [5pm] is short for http://shrinskter.com/5pm - this will redirect you to a much longer url, eg: http://www.microsoft.com/downloads/details.aspx?ID=23098234 • Slides with the “ducky thingy” are reference slides for those who missed the session today – we’ll skip over them • * If you have any questions, please ask away – alright, a quick show of hands, “whos using?”
Virtual Server, a 30 second history • Virtual Server 2005 R2 SP1, free download • Virtual Server is scriptable via COM (through powershell or vbscript) • Uses the open VHD format speciation (royalty free) • VHD Testdrive program • Download over ~20 available VMs from Microsoft [qvp] • VHDs from other partners, Citrix [qvs], Novell[qvt], rPath[qvu] • Official Linux additions and Linux support [qvq] • Dave Northerly’s blog post on MVSR2 SP1 scalability • 508VMs w/512 Mb RAM each; all hosted on a single host with running Windows Datacentre with 64 CPUs [qvn] • Quick Migration, aka Host Clustering [qvr] • Virtual Machines built in Virtual Server are forward compatible with Viridian (Windows Server Virtualization) • Virtualization friendly licensing with Windows Server R2 Enterprise and Datacentre licensing • *My apologies for the blat of resources, but they’re all cool stuff and required knowledge :)
Agenda • System Centre Suite – what does SCVMM do? • SCVMM capabilities (demos): • Virtual machine creation and placement • P2V • Powershell and V2V (vmdk to vhd) • Templating • Self service portal • VHDmount • SCVMM architecture and deployment • System Centre Roadmap • DPM demos • Hot Backup of Virtual Machine Guests • Licensing and Partners • Open Floor QA • *Enough of the intros, lets look at what SCVMM can do. (4 slides then a demo)
Virtualization Investments / Management Server Virtualization Desktop Virtualization Application Virtualization UI Virtualization • ** Today we’ll be focusing on System Centre Virtual Machine Manager, aka: SCVMM
What does Virtual Machine Manager do: • Manage multiple Virtual Server hosts and Virtual Machine guests from a single MMC console • ...including support for hosts in a Perimeter Network • Inbuilt P2V and V2V without the need for ADS/WDS infrastructure • Maintain a Virtual Machine library • 64 Bit Host Server support • Self provisioning from the library for Administrators, Divisional Sponsors and End users • Lots of “management friendly” reporting • Identify P2V candidates; • Host/Guest utilization enable “chargeback” for virtual machines usage; • Completely scriptable and “automatabubbble” through Powershell • *SCVMM will only manage Virtual Server R2 hosts, SCVMM R2 will manage Windows Virtualization hosts
Virtualization Management w/ SC Suite • * Each System Centre products manages a different component within the Virtual Machine Lifecycle
Agenda: SCVMM capabilities • System Centre Suite • SCVMM capabilities (demos): • Virtual machine creation and placement • P2V • Powershell and V2V (vmdk to vhd) • Templating • Self service portal • VHDmount • SCVMM architecture and deployment • System Centre Roadmap • DPM demos • Hot Backup of Virtual Machine Guests • Licensing and Partners • Open Floor QA • *On to the demos
Demo: Managing SCVMM Walk around the MMC • *New Virtual Machine, Job Windows, Library, Checkpoints, “Powershell preview” and other stuff
Walkaround the MMC What did I just see, and what was in it for me? • The new SCVMM console is all MMC 3.0 • Every capability within the console is accessible through Powershell • It’s APIs are now your APIs – write your own GUI • No more WebUI • Checkpoint – new functionality • *
Demo: SCVMM Capabilities Adding new Hosts
Adding new Hosts What did I just see, and what was in it for me? • No need to get “remotely hands on” when adding new capacity • Dynamic Farm creation • Adding a host is reboot free • Additional capacity with a minimum off fuss • *No IIS or Virtual Server Admin Web console required
Demo: SCVMM Capabilities Virtual Machine Placement
Virtual Machine Placement What did I just see, and what was in it for me? • Place your Virtual Machines where they will perform best • Flag the resources most/least important to each VM: • CPU • Disk • Memory • Network • Each attribute (disk/cpu/memory) is configurable to suit the hosts and VM types in your environment • *
VM Placement - under the covers • Host Rating = (Free CPU * CPU Weight) + (Free Memory * Memory Weight) + (Free Disk * Disk Weight) + (Free Network * Network Weight) • Host Rating equal 0 if any of the thresholds have been violated
INFO: SCVMM Capabilities Some background on how and why you would want to P2V and then the demo Screenshot removed • *It’s only 4 slides – and their pretty cool
P2V – Why would I P2V? Consider your purchase order for the physical version of this!? • 6x racks at 42RU each, 2RU per server, 20 servers per rack • 6x 20 way vertical power rails, gotta power the servers • 6x 5 way vertical power rails, power the KVM, switches and stuff • 6x 24 port KVM • 6x 24 port switches racks, hopefully managed • 6x Rackmount LCD and Keyboard • 120x Ethernet cables and cable management • ...and your weekend to put it all together :) Field Note: 120 VMs across 6 hosts(consuming only 30 RU), equates to ~$3000 a month saving in power and ~$9000 a month in rack rental (AUD) • *Yes, we can cheat and use 1RU servers or blades. The point of the exercise is imagine the process/pain you would have to go through to install this – and where would you have to “cut back and save costs”?
P2V – Where would I P2V? Scenarios: • Consolidation, reclaim racks, cabling, switches, and kvm • Mitigating, the “what if I...” on physical production boxes • Support, Send a copy of a physical server to you application vendor • Archival and Playback, Keep legal/financial/hr systems for 5+ years without the pain of keeping the physical hardware alive • Lease detachment, the life of the server role / service is no longer tied to the lease of the server • Test / Dev, just got easier to maintain a development environment that is indicative of production – and give the development admin rights to “the copy” • ^ SCVMM doesn’t provide V2P, try Platespin! • **Microsoft Operation Manager provides a nifty candidate identification report • *** Check out the WSSRA-VE whitepaper for creating virtualized test and dev environments
Demo: SCVMM Capabilities P2V • BTW: Who’s got any old P3 6RU server’s clogging up their racks?
P2V – Under the covers What happens behind the scenes: • WMI query against the target • vmmAgent.exe is installed on the target • The same version of Driver.caband SPx.cab from the target must exist in the SCVMM server P2V Patch Import directory • Target HDDs are copied over BITS to a local file BITCD.tmp • Note: the local svchost.exe PID hosting bits will have higher than normal CPU ~ 20% total CPU • The VHD copy from the target is “scrubbed” and replaced with a VM specific HAL • vmmAgent.exe is removed from the Target • The new VM will detect the new virtual hardware, and require VM additions • *by default P2V only works with domain members
P2V What did I just see, and what was in it for me? • We took an identical copy of a physical system • The host is untouched • Just remember we did not reboot the physical candidate • What we do with our VM is now up to us • Give the VM to development or the vendor (keeping it off the prod network) • Use the VM for Prod and repurpose/retire the hardware • Keep the VM on standby for some entry level DR purpose • Mix and match any combination to suit our needs • *Automate the P2V (w/ Powershell) and refresh your test labs or dev labs on a weekly basis!?
P2V – Physical to Virtual Physical servers converted to virtual machines Performance data collected to identify consolidation candidates Physical machines retired or repurposed Prioritized report of consolidation candidates Virtual Machine Manager agents deployed to virtual machine hosts Performance data collected from VM hosts for intelligent placement Intelligent placement of each VM on optimal host Physical Infrastructure Virtual Machine Hosts
PS C:\> $Get-VMMServer -ComputerName "scvmm.prod.network“ PS C:\> New-V2V -VMXPath "d:\VMware\VMwareVM.2003sp1.vmx" -VmHost $VMHost -name "MicrosoftVM.2003sp1" -Path "D:\VMWare" Demo: SCVMM Capabilities V2V with PowerShell
V2V with Powershell What did I just see, and what was in it for me? • Use any existing VMware virtual machine you may already have • GUI available in RTM PS C:\> $Get-VMMServer -ComputerName "scvmm.prod.network“ PS C:\> New-V2V -VMXPath "d:\VMware\VMwareVM.2003sp1.vmx" -VmHost $VMHost -name "MicrosoftVM.2003sp1“ -Path "D:\VMWare”
Demo: SCVMM Capabilities Templates and Library Screenshot removed
Templates and Library What did I just see, and what was in it for me? • VHDs are deployed via BITS from a Library Server to a Virtual Server Host – so all resources must be on the library server • Libraries manage the following resources/files: • ISO images (.iso) • Sysprep.exe information files (.inf) • Virtual hard disks (.vhd) • Virtual floppy disks (.vfd) • Windows PowerShell scripts (.ps1) • VMware (.vmx) • Resources can be replicated between library servers • *
Demo: SCVMM Capabilities Self Service Portal
Self Service Portal What did I just see, and what was in it for me? • Use SCVMM with your connection broker for VDI / VECD • Significant Controls for Managed Deployment • End Users only able to engage with their VMs • Limited set of templates offered to each user for deployment • Quotas set on resources by individual • Stale machines “retired” after lease expiration • Web based interface • Optionally deployed • *
Demo: SCVMM Capabilities VHDmount
VHDmount What did I just see, and what was in it for me? • Upgrade the contents of VM templates without powering on • Refresh utilities such as the SysInternals tools • Update Sysprep.inf files without resealing • Inject installation files locally • Explore offline for files – the “did I leave the iron on” feeling • Offline inspection of DLL versions • Resize and reimage VHD sizes • *
Agenda: SCVMM Architecture • System Centre Suite • SCVMM capabilities (demos): • Virtual machine creation and placement • P2V • Powershell and V2V (vmdk to vhd) • Templating • Self service portal • VHDmount • SCVMM architecture and deployment • System Centre Roadmap • DPM demos • Hot Backup of Virtual Machine Guests • Licensing and Partners • Open Floor QA • *Now we’ve seen SCVMMin action – let’s look under the hood
Components of SCVMM Windows PowerShell Administrator Console Delegated Provisioning UI Guest OS Guest OS Guest OS Guest OS SCVMM Agent Microsoft SQL Server 2005 Express Edition Centralized Library Guest OS Guest OS • *SCVMM will scale out to meet the demands of your corporate or enterprise topology
Typical SCVMM Topologies Stand Alone Corporate Enterprise • All on one server • Host headers required for self portal • Multiple Hosts • Separate Library Server (local) • Separate SQL Server • Multiple Hosts • Multiple Sites • Remote Library Servers • One way push to the Perimeter • *
Agenda: SCVMM Roadmap • System Centre Suite • SCVMM capabilities (demos): • Virtual machine creation and placement • P2V • Powershell and V2V (vmdk to vhd) • Templating • Self service portal • VHDmount • SCVMM architecture and deployment • System Centre Roadmap • DPM demos • Hot Backup of Virtual Machine Guests • Licensing and Partners • Open Floor QA • *Now we know what’s under the hood – let’s see where SCVMM is going
2008 H2 2007 Microsoft Virtualization Roadmap Windows Server Virtualization (within 180 days of the release of Server 2008) System Center Virtual Machine Manager R2 Windows Server 2008 RTM Windows Server Virtualization beta System Center Virtual Machine Manager RTM Now Virtual Server 2005 R2 SP1 System Center Virtual Machine Manager Beta • * For more Virtualization and Longhorn Virtualisation roadmap, see Ben Armstrong’s session
Agenda: Backing up Virtual Machines • System Centre Suite • SCVMM capabilities (demos): • Virtual machine creation and placement • P2V • Powershell and V2V (vmdk to vhd) • Templating • Self service portal • VHDmount • SCVMM architecture and deployment • System Centre Roadmap • DPM demos • Hot Backup of Virtual Machine Guests • Licensing and Partners • Open Floor QA • *Now we know where we are going – lets make sure we don’t have an accident on the way
System Centre Data Protection Manager (DPM) Backing up Virtual Machines Screenshot removed
Screenshot: DPM • *
Agenda: Licensing and Partners • System Centre Suite • SCVMM capabilities (demos): • Virtual machine creation and placement • P2V • Powershell and V2V (vmdk to vhd) • Templating • Self service portal • VHDmount • SCVMM architecture and deployment • System Centre Roadmap • DPM demos • Hot Backup of Virtual Machine Guests • Licensing and Partners • Open Floor QA • *So we’ve enjoyed the testdrive – what aftermarket goodies are there, and how do I get it!
Pricing and Licensing SMLEnterprise Edition Full Application and Server Management (P&V) • Virtual machine management is a key component of server management • Introducing the System Center Enterprise Server Management License • Provides comprehensive management for physical and Windows Server and storage environments and includes: • System Center Virtual Machine Manager 2007* • System Center Operations Manager 2007 Enterprise Edition • System Center Data Protection Manager 2007 Enterprise Edition • System Center Configuration Manager 2007 • Pricing and licensing will be announced approximately 30 days prior to launch Configure & Secure Monitor & Analyze Enterprise Edition Management Licenses Data Protection Manager 2007 Back Up & Restore Consolidate & Provision Available Q4 CY2007 *VMM will only be available as part of the E-SML
Agenda: Open Floor, Q & A • System Centre Suite • SCVMM capabilities (demos): • Virtual machine creation and placement • P2V • Powershell and V2V (vmdk to vhd) • Templating • Self service portal • VHDmount • SCVMM architecture and deployment • System Centre Roadmap • DPM demos • Hot Backup of Virtual Machine Guests • Licensing and Partners • Open Floor QA • *Any questions, or demos you want to see again?
Evaluation Forms Enter the draw for the XBOX 360s
Questions blog.windowsvirtualization.com blogs.techet.com/peterfi microsoft.com/scvmm