1 / 29

Developing a Virtual Machine Conversion Strategy

Developing a Virtual Machine Conversion Strategy . Nicola Ferrini IT PRO Trainer info@nicolaferrini.it. What this Session is About Tips / Tricks / Best Practices / Lessons Learned from Virtual machine conversions Practical guidance for creating Dynamic Datacenter

jin
Download Presentation

Developing a Virtual Machine Conversion Strategy

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Developing a Virtual Machine Conversion Strategy Nicola Ferrini IT PRO Trainer info@nicolaferrini.it

  2. What this Session is About • Tips / Tricks / Best Practices / Lessons Learned from Virtual machine conversions • Practical guidance for creating Dynamic Datacenter • Management of Heterogeneous virtualization platform What this Session is NOT About • Intro to Hyper-V R2 or SCVMM 2008 R2 • Basic installation and configuration

  3. Server ConsolidationThe fastest way to reduce costs • Challenges: • Underutilized hardware • Excessive power consumption • Expensive space across datacenter and branch offices Server Utilization

  4. Datacenter Evolution VirtualizedDatacenter On premises dynamic Datacenter - Cloud TraditionalDatacenter Off premises dynamic Datacenter - Cloud • Utilization Increases to >50% • Management Costs Decrease • Well-known, stable, and secure • Utilization <15% • Management Costs Decrease Significantly • IT as a Service • Capacity on Demand • Global Reach

  5. Microsoft Delivers Dynamic IT Through Datacenter Systems Management Desktop Data Center Automation Integration and Centralization Knowledge Microsoft Platform Datacenter Solutions Users Physical Virtual Services Decrease Cost Improve Service Delivery

  6. Consolidate Servers Through Simplified Virtualization And Management 6% utilization 10% utilization Server utilization Number of physical servers Power usage Floor space 9% utilization 11% utilization 14% utilization 50% utilization

  7. How isyourDatacenter now??

  8. Conversion Overview • Physical to Virtual (P2V) • Convert a physical server to a virtual machine • Virtual to Virtual (V2V) • Convert an existing virtual machine from one technology to another • Virtual to Physical (V2P) • Convert a virtual machine into a physical server • Both P2V and V2V are supported scenarios using System Center VMM 2008 R2 • 3rd parties have V2P solutions

  9. P2V: Source Server Conversion Requirements • Minimum of 512 MB RAM • Must be in a workgroup environment, in the same domain as the VMM server, or a member of a domain that has a full two-way trust with the domain of the VMM server • Should contain one of the following supported operating systems: • Windows Server 2008 R2 • Windows Server 2008 (32/64-bit) • Windows Server 2003 (32/64-bit) SP2 • Windows 2000 Server SP4 Rollup Update 1 (Offline P2V only) • Windows 2000 Advanced Server SP4 RU1 (Offline P2V only) • Windows XP Professional (32/64-bit) SP2 or later • Windows Vista SP1 or later (32/64-bit)

  10. P2V: Target VM Conversion Limitations • Target virtual machine hardware cannot exceed listed items, or conversion will fail • Maximum of 64 GB RAM • Maximum of 4 processor cores • Maximum of 12 network interfaces • Maximum of 2040 GB disk if using VHD • Maximum of 256 TB per disk if using pass-through disks • Maximum total storage of 517 TB per virtual machine using VHDs • Maximum total storage of 66560 TB per virtual machine using pass-through disks

  11. P2V: Conversion Methods • Online P2V conversion - Performing a P2V conversion of a running physical server • No downtime required • Requires source server running a Windows Operating system with Volume Shadow Copy Services (VSS) • Windows 2000 Server does not support Online P2V • Copies the VSS snapshot over the network • Offline P2V conversion – Performing a P2V conversion of a powered down physical server • Downtime required • Physical server is booted into WinPE running P2V agent • Disk is copied at byte level across the network to a VHD at the target location • VSS is not utilized

  12. P2V: Conversion Considerations • Server identity is maintained during conversion • Having both machines running on the same network will result in conflicts • Online P2V conversion • VSS snapshot is a point in time • If data is changing on the server during conversion, the VM will not have them • Physical server should go offline once the conversion is complete and you are ready to keep the virtual machine online • Only one can be authoritative • Physical server should be isolated or wiped to prevent collision impacts if accidentally brought back on the production network • Some server roles should not be converted using online approach due to transactional nature • Domain Controllers • Offline P2V conversion • Can be used with any supported OS • Older OS might require additional software to be installed prior to conversion • Windows Installer 3.1 • Patches or drivers for the WinPE version are required

  13. P2V: Conversion Best Practices • Run Chkdsk and defrag the hard disks of the source server before conversion • Bad sectors won’t get transferred • Use fast network cards to reduce the time to complete a conversion • Perform the conversion to a staging server to reduce impact to production Hyper-V servers • SAN attached data volumes • If the target VM can be connected to the same SAN, can use pass-through for data disks and reattach LUNS versus converting to VHDs • iSCSI attached data volumes • If the source server has iSCSI attached data volumes, they can migrate with no changes • Develop a quick rollback process for a failed P2V conversion

  14. System Center Virtual Machine Manager 2008 R2 A centralized, heterogeneous management solution for the virtual datacenter • Maximize Resources • Centralized virtual machine deployment and management for Hyper-V and VMware ESX servers • Intelligent placement of Virtual Machines • Fast and reliable P2V and V2V conversion • Integrated Performance and Resource Optimization (PRO) of VMs • Increase Agility • Rapid provisioning of new and virtual machines with templates • Centralized library of infrastructure components • Leverage and extend existing storage infrastructure and clusters • Leverage Skills • Familiar interface • Monitor physical and virtual machines from one console • Fully scriptable using Windows PowerShell

  15. System Center Virtual Machine Manager 2008 R2

  16. Managing P2V and V2V conversions with SCVMM 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. • Efficient disk copy • Preserves network settings and MAC addresses • Automatable through PowerShell Supported platforms: • Online - Windows XP, Windows Server 2003, Windows Vista, and Windows Server 2008, Windows Server 2008 R2 and Windows 7 • Offline - Windows 2000 Server

  17. Performing a P2V Conversion using SCVMM • VMM Agent is installed on source computer. • Inventory of source computer is conducted and hardware configuration returned to VMM Server. • VMM transfers the volume data using BITS. Offline P2V conversion reboots the source computer into Windows PE at this point. • The VHD is “fixed up” i.e. Hyper-V components are added to the installation and configured. Other hardware specific drivers and software will need to be removed manually and the completion of the conversion process. • Finally the VM is created and appears in the SCVMM console. The VM can optionally be running at this point and the source computer shutdown completely.

  18. Beforestarting P2V Conversion… Windows 2003 SP2 P2V Conversion • You must copy sp2.cab from the service pack media (or dllcache) on the source server to “C:\Program Files\Microsoft System CenterVirtual Machine Manager 2008\Patch Import” folder • run the “Add-Patch” cmdlet to add the required files to the Virtual Machine Manager patch cache Windows 2000 P2V Conversion When performing a P2V conversion of Windows 2000 Server or Advanced Server, the following components must be installed on the source computer. • Service Pack 4 • Post Service Pack 4 update – KB891861-v2 • Windows Installer 3.1 Redistributable (v2) • Microsoft Visual C++ 2005 Redistributable Package • .NET Framework 2.0 • BITS 2.0 Update KB842773

  19. The LAB!!

  20. DEMOPerforming a P2V Conversion using System Center VMM

  21. SCVMM 2008 R2 Support for VMware ESX • Management of heterogeneous virtualization infrastructure • Single console • Standard management processes and procedures • Version Support • VMware VirtualCenter 2.5 • VMware ESX Server 3i • VMware ESX 3.0.2 and 3.5 • VMware vSphere 4 (VI3 features only) • Management of multiple VirtualCenters • Support for VMotion • Requires VirtualCenter administrator privilege at Host and Cluster level

  22. SCVMM 2008 R2 Support for VMware ESX • VirtualCenter Support • Existing port groups • 1 connection per ESX host up to 35 • Intelligent Placement • Used for VMware workloads • Used for VMotion • VMM Library • Imports VMware templates using a “move” • Stores VMware templates • P2V and V2V Conversion • P2V to convert guest OS running in VMware VM to Hyper-V VM • V2V to convert VMware VM on ESX host to Hyper-V VM

  23. Performing Virtual to Virtual Conversions (V2V) The source virtual machine can be in the library, in a network share or managed by a VMware ESX Server and must have one of the following operating systems installed: • Windows Server 2008 (32-bit) • Windows Server 2008 (64-bit) • Windows 2000 Server SP4 or later • Windows 2000 Advanced Server SP4 or later • Windows XP Professional (32-bit) SP2 or later • Windows XP Professional (64-bit) SP2 or later • Windows Vista Service Pack 1 (32-bit) • Windows Vista SP1 or later (64-bit) Before you convert a VMware virtual machine to a Hyper-V virtual machine, you must uninstall VMware Tools on the guest operating system of the virtual machine.

  24. DEMOPerforming a V2V Conversion using SCVMM 2008 R2

  25. Third-Party Products • Novell PlateSpinPowerConvert • Multi-platformsupport, P2V and V2V • Live test and Server Sync • QuestVizioncorevConverter • P2V, V2V and V2P • ColdCloning • DoubleTakeMove • Migrate physical or virtual workloads with real-time replication while users are online and productive • Real-Time Data Movement • Migrate any combination of Physical or Virtual Servers (X2X)

  26. Online Resources Microsoft Virtualization Home: http://www.microsoft.com/virtualization Windows Server Virtualization Blog Site: http://blogs.technet.com/virtualization/default.aspx Virtualization Solution Accelerators http://technet.microsoft.com/en-us/solutionaccelerators/cc197910.aspx Converting Physical Computers to Virtual Machines in VMM (P2V Conversions) http://technet.microsoft.com/en-us/library/cc764232.aspx http://technet.microsoft.com/en-us/library/bb963740.aspx Converting VMware Virtual Machines in VMM (V2V Conversions) http://technet.microsoft.com/en-us/library/bb963721.aspx http://technet.microsoft.com/en-us/library/cc793147.aspx Troubleshooting Virtual Machine Conversion Issues http://technet.microsoft.com/en-us/library/bb740927.aspx System Center Virtual Machine Manager 2008 R2 http://technet.microsoft.com/en-us/library/cc917964.aspx

  27. QuestionsandAnswers

  28. ThankYou!

More Related