230 likes | 375 Views
Study of P2V and V2P Using UltimateP2V. By Saroj Patil CS522 : Semester project presentation Professor : Dr. C. Edward Chow. Virtualization Technology. What is virtualization? Virtualization is an abstraction layer that decouples the physical hardware from the operating system thereby
E N D
Study of P2V and V2PUsing UltimateP2V By Saroj Patil CS522 : Semester project presentation Professor : Dr. C. Edward Chow Saroj/P2V
Virtualization Technology What is virtualization? Virtualization is an abstraction layer that decouples the physical hardware from the operating system thereby • allowing multiple virtual machines, with heterogeneous operating systems to run in isolation, side-by-side on the same physical machine. • Consolidating multiple physical servers to run in single platform (easy to manage). • More reliableEasy to restart a system by bringing another fresh copy of VM files Current solutions : • VMware virtual server / ESX server • Microsoft virtual server Saroj/P2V
What is virtual server Saroj/P2V
Using VM A virtual machine is same as a physical box without software. Thus to use a virtual machine, it needs to run an operating system to support its applications. Saroj/P2V
Using VM First, in old-fashioned way, we install operating system, configure it, install application, install other tools, configure them, and then the application is ready to use. Another approach is to somehow capture the existing software including the operating system and all configuration details, and then transfer it to the virtual machine This is called P2V in short. Usages: • It can be used to a copy of prototype as a set of files (compact storage.) • Allow the actual hardware to be used by other projects Saroj/P2V
UltimateP2V One of many available P2V solutions.<what are they> Created by Qui Hong, Chris Huss and Mike Laverick. It uses "BartPE" (Bart Preinstalled Environment) to boot the physical and virtual machine, and then uses Symantec’s ghost software to clone hard disk. Saroj/P2V
P2V transfer…. Here are the steps, how I migrated physical linux machine (eca) to the virtual machine (starget1) on walrus.uccs.edu. • Create UltimateP2V bootable CD/iso image. • Create virtual machine (specify ….) • Boot both virtual as well as physical machines with UltimateP2V CD • Clone the hard disk from physical machine. It utilizes the Norton ghost server software to transfer disk images. • Boot virtual machine and configure OS for the hardware components present. Saroj/P2V
Creation of UltimateP2V • Download UltimateP2V software from RTFM Education’s website. • The boot CD uses windows 2003 software. • In addition, it needs VMware VMXnet network driver, LSILogic driver, VMware SCSI “Buslogic” driver, Qui Hong’s “Fix-VMSCSI” FreeP2V plug-in, VMware tools and SVGA Graphics driver. Saroj/P2V
Creation of UltimateP2V Step1: Preparation…. It uses Symantec Ghost software to clone hard disk. Since “eca” contained NIC card from 3COM, we needed 3COM NIC driver to be added into UltimateP2V image. Using pebuilder.exe, I created the iso image file and then burnt it on a CD. Saroj/P2V
Creation of UltimateP2VStep2:… Saroj/P2V
Creation of UltimateP2VStep 3: Include plugins/drivers Saroj/P2V
Creation of virtual machine On walrus machine, VMware’s virtual server is available. I created a virtual machine named “starget1” in it, with one CPU, 384 MB of RAM and 32 GB of virtual hard disk. Saroj/P2V
P2V process Booted physical and virtual machines with UltimateP2V disk. Started network support and configured network details like IP address, default gateway address and subnet mask. Started Ghost8 and set virtual machine in slave mode (as receiver to receive disk image) , and physical machine in master mode (as sender to send its disk content). Saroj/P2V
P2V continued…. The master mode gives option to select source disk drive and destination drive. This transfers the details from physical machine to virtual machine. After the completion of cloning, the virtual machine is up and ready for use. Saroj/P2V
V2P process The UltimateP2V CD created is also capable of transferring virtual machines to physical machine, Virtual-to-Physical. I reversed the master and slave modes. The ghost8 on virtual machine is started in master mode and physical machine was started in slave mode. I performed V2P from starget1 to frodo machine successfully. Saroj/P2V
Lessons Learnt Saroj/P2V
References : • http://www.vmware.com/pdf/virtualization.pdf • http://www.rtfm-ed.co.uk/?page_id=174 • http://www.nu2.nu/pebuilder/ • http://support.3com.com/infodeli/tools/nic/index.htm Saroj/P2V