Skip to main content

P2V online conversion with VMM 2008

One of the processes you will undertake in virtualizing your environment is the conversion of a physical machine to a virtual machine.  There are many considerations that you must research prior to executing a P2V conversion.  This article deals with the actual process.

We are going to use a VMM server named 2008Server to do an physical to virtual conversion of a Windows Server 2008 R2 machine called Lab1.
First off, open the System Center Virtual Machine Manager Administrator Console.

Next, click Convert physical server in the Actions pane.
image

In the Select Source window, provide the name or IP address of the server or client that you want to run the conversion on.  I find that I have more success using the IP address. Also, you need to provide local administrative credentials.  Click Next once you have entered the proper information.
image

In the Virtual Machine Identity window, provide a name for the VM to be created.  Also, provide a description if you wish.  Click Next to continue.
image

In the System Information click Scan System to gather information about the client to be converted.  This process will install the VMM agent software on the client.  This software will be removed at the end of the P2V conversion.
image

Once the scan is complete, you can review the data that it obtained. Click Next to continue.
image

In the Volume Configuration, you can configure the volumes that you want to virtualize and what types of VHD files that you want to create.  For the sake of this demonstration, I am going to uncheck everything that is not required.  Notice that the Lab2: (C:) drive and the System (Disk 0, Partition 0) are greyed out.  That means they are required.  I’m also setting the C: VHD size to 300,000. Click Next to continue.
image

The next screen is the Virtual Machine Configuration settings.  Here you specify the processor and RAM settings for the VM.  Click Next
image

On the Select Host window, you select which host you want this VM to be placed.  In the example below, there is only one host available.  Select the host that you want to use and click Next

If you do not see the host that you want to use, use the VMM console to add the host.
image

At this point, you may receive some errors based on your configuration and the available resources of the host that the VM will run on.  Two possible errors are for the amount of RAM you requested exceeds the available RAM on the host,  The other may be that there is not enough drive space available on the host.  For the RAM issue, just click the back button and set the RAM lower.  Remember, performance will drop if you do this.  As for disk space, you could go through the target client and remove old data.  The VMM server will initially copy the target hard drive and then save it to a VHD.  The best bet would be to select a different host with adequate resources if available.

The Select Path screen will allow you to choose the storage location of this VM.  Click Next.
image

The Select Networks screen will allow you to choose which virtual network you want each of the physical servers NIC cards to be connected to.  In this case, the target server has two physical NICs.  During the conversion process, the VM configuration will have 2 NICs by default.  You can add more later if you need to.  Click Next when you are finish configuring the NICs.
image

The Additional Properties window allows you to determine the start up and shut down properties of this VM. 

Your Start up options are:
  • Never automatically turn on this virtual machine
  • Always automatically turn on the virtual machine
  • Automatically turn on this virtual machine if it was running when physical server stopped.

Your shut down options are:
  • Save State
  • Turn off virtual machine
  • Shut down guest OS
I find the defaults the most useful in produce because they ensure the VM starts in the event that the physical server shut down.
image

In the Conversion Information window, correct any issues that you discover.  Click Next.
image

In the Summary window, click Next to start the conversion.
image

The Jobs window will allow you to monitor the progress of the conversion.
image
The length of time that this takes will vary depending on many factors including the number and size of hard drivers to convert and the network speed and utilization between the two servers.

When the process is completed, be sure to shut down or disconnect the source computer before starting the VM.  This is because the VM will have the same SID as the original computer.  No two objects in your domain can have the same SID.

Another consideration to be prepared for is that you may need to install the Hyper-V integration services into this VM.  Follow this link to a blog article that explains how to install the integration services.

Comments

Popular posts from this blog

How to list all the AD LDS instances on a server

AD LDS allows you to provide directory services to applications that are free of the confines of Active Directory.  To list all the AD LDS instances on a server, follow this procedure: Log into the server in question Open a command prompt. Type dsdbutil and press Enter Type List Instances and press Enter . You will receive a list of the instance name, both the LDAP and SSL port numbers, the location of the database, and its status.

How to run GPResult on a remote client with PowerShell

In the past, to run the GPResult command, you would need to either physically visit this client, have the user do it, or use and RDP connection.  In all cases, this will disrupt the user.  First, you need PowerShell remoting enabled on the target machine.  You can do this via Group Policy . Open PowerShell and type this command. Invoke-Command –ScriptBlock {GPResult /r} –ComputerName <ComputerName> Replace <ComputerName> with the name of the target.  Remember, the target needs to be online and accessible to you.

Error icon when creating a GPO Preference drive map

You may not have an error at all.  Take a look at the drive mapping below. The red triangle is what threw us off.  It is not an error.  It is simply a color representation of the Replace option of the Action field in the properties of the drive mappings. Create action This give you a green triangle. The Create action creates a new mapped drive for users. Replace Action The Replace action gives you a red triangle.  This action will delete and recreate mapped drives for users. The net result of the Replace action is to overwrite all existing settings associated with the mapped drive. If the drive mapping does not exist, then the Replace action creates a new drive mapping. Update Action The Update action will have a yellow triangle. Update will modify settings of an existing mapped drive for users. This action differs from Replace in that it only updates settings defined within the preference item. All other settings remain as configured on the ma...