physical to virtual (p2v)

8
This guide demonstrate s how to virtualize a physical machine running . It requir es a VMM  managing at least one Hyper-V host available for placement. The physical machine must be connected to the same network as the Hyper-V host and the VMM server for successful conversion. Additionally, local or domain administrative credentials are required. The process is initiated from the VMM console and is completed using the wizard. Powershell script included. Select Convert Physic al Machine from the Create Virtual Machine dropdo wn in VMM. Specify the computer you wish to virtualize, providing valid credentials with appropriate privilege. Windows server menu TECHNOLOGY  T O (P 2V) GUIDE USING  MACHINE MANAGER 2012 SP1 MARCH 26, 2013 | MI KE | LEAVE A COMMENT PHYSICAL VIRTUAL SYSTEM CENTER VIRTU AL Mike's Blog Gem Grab Ad Phy sical to Virtual (P2V) Gu ide Using S yste m Cen ter V irtual Mach ine Ma... htt p://mik e.anobile.inf o/2013/03/phy sical-to-virtual-p2v-gu ide-using -syst... 1 of 8 8/23/2015 11:30 PM

Upload: mohinuddin-mustaq

Post on 16-Feb-2018

231 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Physical to Virtual (P2V)

7232019 Physical to Virtual (P2V)

httpslidepdfcomreaderfullphysical-to-virtual-p2v 18

This guide demonstrates how to virtualize a physical machine running It requires a VMM

managing at least one Hyper-V host available for placement The physical machine must be

connected to the same network as the Hyper-V host and the VMM server for successful conversion

Additionally local or domain administrative credentials are required The process is initiated from the

VMM console and is completed using the wizard Powershell script included

Select Convert Physical Machine from the Create Virtual Machine dropdown in VMM

Specify the computer you wish to virtualize providing valid credentials with appropriate privilege

Windows

server

menu

TECHNOLOGY

TO (P2V) GUIDE USING MACHINE

MANAGER 2012 SP1MARCH 26 2013 | MIKE | LEAVE A COMMENT

PHYSICAL VIRTUALSYSTEM CENTER VIRTUAL

Mikes Blog

Gem Grab Ad

cal to Virtual (P2V) Guide Using System Center Virtual Machine Ma httpmikeanobileinfo201303physical-to-virtual-p2v-guide-us

8232015

7232019 Physical to Virtual (P2V)

httpslidepdfcomreaderfullphysical-to-virtual-p2v 28

Name the virtual machine that will be created as the container of the virtualized physical machine

This does not have to match the hostname of the computer Provide a description if desired

Scan the system (by clicking Scan System)

Review the scan results and proceed if details appear as expected Take note of network adapters for

setting up VM networks later in the wizard

cal to Virtual (P2V) Guide Using System Center Virtual Machine Ma httpmikeanobileinfo201303physical-to-virtual-p2v-guide-us

8232015

7232019 Physical to Virtual (P2V)

httpslidepdfcomreaderfullphysical-to-virtual-p2v 38

Configure the volumes to be converted to VHDs Note that system volumes are mandatory

Verify the VM Configuration ndash Number of processors and Memory These default values will reflect

the physical systemrsquos configuration and may be changed based on current needs For example if a sys-

tem is under P2V as a cheaper alternative to a memory upgrade you may increase the memory here

if it is available It would not be advised to choose a lower value here to ensure functionality of the vir-

tualized system as to the original physical machine as possible

Choose a server for placement with at least a 1-star rating A zero-star rating indicates an incompati-

ble system configuration such as invalid network configuration insufficient memory host not re-

sponding or other similar problems

close

cal to Virtual (P2V) Guide Using System Center Virtual Machine Ma httpmikeanobileinfo201303physical-to-virtual-p2v-guide-us

8232015

7232019 Physical to Virtual (P2V)

httpslidepdfcomreaderfullphysical-to-virtual-p2v 48

Choose the placement location This is the path on the target server where the VM will reside

Configure the network configuration to match the existing machine If you are performing P2V for

testing or backup it may be advisable to leave the connections as Not connected to prevent acciden-

tal access to the newly created VM in place of the existing physical machine

Choose the Automatic actions for this VM Generally ldquoAutomatically turn on the virtual machine if it

was running when the physical server stoppedrdquo should be chosen here It is not the default option

cal to Virtual (P2V) Guide Using System Center Virtual Machine Ma httpmikeanobileinfo201303physical-to-virtual-p2v-guide-us

8232015

7232019 Physical to Virtual (P2V)

httpslidepdfcomreaderfullphysical-to-virtual-p2v 58

Correct any issues detected by the wizard if any and click Check Again until ldquoNo issues detectedrdquo In-

formation is shown in the window

Review the summary and click Create to start the conversion process It may not be wise to start the

virtual machine after deploying it since your physical machine will continue to run

Check the Jobs section of VMM for detailed progress information

cal to Virtual (P2V) Guide Using System Center Virtual Machine Ma httpmikeanobileinfo201303physical-to-virtual-p2v-guide-us

8232015

7232019 Physical to Virtual (P2V)

httpslidepdfcomreaderfullphysical-to-virtual-p2v 68

Read on to see how to do the same thing in Powershell

ltndashndashnextpagendashndashgt

This entire process can also be completed using the following Powershell template

$Credential = get-credential

New-SCComputerConfiguration -VMMServer localhost -SourceComputerName ldquoIIS1Prime -Credential

$Credential

$VMHost = Get-SCVMHost -VMMServer localhost | where $_Name -eq ldquoHY-

PERV2012DALARISLOCALrdquo

$ComputerConfiguration = Get-SCComputerConfiguration -VMMServer localhost | where $_Name

-eq ldquoIIS1Prime

New-SCP2V -VMMServer localhost -VMHost $VMHost -RunAsynchronously -JobGroup 7801807d-

deee-4cc1-9354-3f06af46a5f7 -SourceNetworkConnectionID ldquo001143DFDA2Frdquo -MACAddress

ldquo001143DFDA2Frdquo -MACAddressType Static -NoConnection -ComputerConfiguration $Comput-erConfiguration

$VMHost = Get-SCVMHost -VMMServer localhost | where $_Name -eq ldquoHY-

PERV2012DALARISLOCALrdquo

$ComputerConfiguration = Get-SCComputerConfiguration -VMMServer localhost | where $_Name

-eq ldquoIIS1Prime

New-SCP2V -VMMServer localhost -VMHost $VMHost -RunAsynchronously -JobGroup 7801807d-

deee-4cc1-9354-3f06af46a5f7 -SourceNetworkConnectionID ldquo001143DFDA30Prime -MACAddress

ldquo001143DFDA30Prime -MACAddressType Static -NoConnection -ComputerConfiguration $Comput-

erConfiguration

$VMHost = Get-SCVMHost -VMMServer localhost | where $_Name -eq ldquoHY-

PERV2012DALARISLOCALrdquo

cal to Virtual (P2V) Guide Using System Center Virtual Machine Ma httpmikeanobileinfo201303physical-to-virtual-p2v-guide-us

8232015

7232019 Physical to Virtual (P2V)

httpslidepdfcomreaderfullphysical-to-virtual-p2v 78

$ComputerConfiguration = Get-SCComputerConfiguration -VMMServer localhost | where $_Name

-eq ldquoIIS1Prime

New-SCP2V -VMMServer localhost -VMHost $VMHost -RunAsynchronously -JobGroup 7801807d-

deee-4cc1-9354-3f06af46a5f7 -VolumeDeviceID ldquoVolumeb3f04939-0c4d-

11df-8f18-806e6f6e6963rdquo -Dynamic -IDE -Bus 0 -LUN 0 -ComputerConfiguration $ComputerCon-

figuration

$VMHost = Get-SCVMHost -VMMServer localhost | where $_Name -eq ldquoHY-

PERV2012DALARISLOCALrdquo

$ComputerConfiguration = Get-SCComputerConfiguration -VMMServer localhost | where $_Name

-eq ldquoIIS1Prime

New-SCP2V -VMMServer localhost -VMHost $VMHost -RunAsynchronously -JobGroup 7801807d-

deee-4cc1-9354-3f06af46a5f7 -VolumeDeviceID ldquoCrdquo -Dynamic -IDE -Bus 0 -LUN 1 -ComputerCon-

figuration $ComputerConfiguration

$VMHost = Get-SCVMHost -VMMServer localhost | where $_Name -eq ldquoHY-

PERV2012DALARISLOCALrdquo

$ComputerConfiguration = Get-SCComputerConfiguration -VMMServer localhost | where $_Name

-eq ldquoIIS1Prime

New-SCP2V -VMMServer localhost -VMHost $VMHost -RunAsynchronously -JobGroup 7801807d-

deee-4cc1-9354-3f06af46a5f7 -VolumeDeviceID ldquoDrdquo -Dynamic -IDE -Bus 1 -LUN 0 -ComputerCon-

figuration $ComputerConfiguration

$Credential = get-credential

$VMHost = Get-SCVMHost -VMMServer localhost | where $_Name -eq ldquoHY-

PERV2012DALARISLOCALrdquo

$ComputerConfiguration = Get-SCComputerConfiguration -VMMServer localhost | where $_Name

-eq ldquoIIS1Prime

New-SCP2V -Credential $Credential -VMMServer localhost -VMHost $VMHost -Path ldquoDVMrdquo

-RunAsynchronously -JobGroup 7801807d-deee-4cc1-9354-3f06af46a5f7 -Trigger -Name ldquoIIS1Prime

-Description ldquoWeb Serverrdquo -ComputerConfiguration $ComputerConfiguration -CPUCount 4 -Memo-

ryMB 4096 -StartAction TurnOnVMIfRunningWhenVSStopped -DelayStartSeconds 0 -StopAction

cal to Virtual (P2V) Guide Using System Center Virtual Machine Ma httpmikeanobileinfo201303physical-to-virtual-p2v-guide-us

8232015

7232019 Physical to Virtual (P2V)

httpslidepdfcomreaderfullphysical-to-virtual-p2v 88

983088 0LikeLike Tweet 0

SaveVM

If youd like to share this click below

Related

Migrate a virtual machine using

System Center Virtual Machine

Manager 2012

Adding a Hyper-V host to a VMM

Server

Performing Live Migration with

Hyper-V Manager

P2V SYSTEM CENTER VIRTUALIZATION

cal to Virtual (P2V) Guide Using System Center Virtual Machine Ma httpmikeanobileinfo201303physical-to-virtual-p2v-guide-us

Page 2: Physical to Virtual (P2V)

7232019 Physical to Virtual (P2V)

httpslidepdfcomreaderfullphysical-to-virtual-p2v 28

Name the virtual machine that will be created as the container of the virtualized physical machine

This does not have to match the hostname of the computer Provide a description if desired

Scan the system (by clicking Scan System)

Review the scan results and proceed if details appear as expected Take note of network adapters for

setting up VM networks later in the wizard

cal to Virtual (P2V) Guide Using System Center Virtual Machine Ma httpmikeanobileinfo201303physical-to-virtual-p2v-guide-us

8232015

7232019 Physical to Virtual (P2V)

httpslidepdfcomreaderfullphysical-to-virtual-p2v 38

Configure the volumes to be converted to VHDs Note that system volumes are mandatory

Verify the VM Configuration ndash Number of processors and Memory These default values will reflect

the physical systemrsquos configuration and may be changed based on current needs For example if a sys-

tem is under P2V as a cheaper alternative to a memory upgrade you may increase the memory here

if it is available It would not be advised to choose a lower value here to ensure functionality of the vir-

tualized system as to the original physical machine as possible

Choose a server for placement with at least a 1-star rating A zero-star rating indicates an incompati-

ble system configuration such as invalid network configuration insufficient memory host not re-

sponding or other similar problems

close

cal to Virtual (P2V) Guide Using System Center Virtual Machine Ma httpmikeanobileinfo201303physical-to-virtual-p2v-guide-us

8232015

7232019 Physical to Virtual (P2V)

httpslidepdfcomreaderfullphysical-to-virtual-p2v 48

Choose the placement location This is the path on the target server where the VM will reside

Configure the network configuration to match the existing machine If you are performing P2V for

testing or backup it may be advisable to leave the connections as Not connected to prevent acciden-

tal access to the newly created VM in place of the existing physical machine

Choose the Automatic actions for this VM Generally ldquoAutomatically turn on the virtual machine if it

was running when the physical server stoppedrdquo should be chosen here It is not the default option

cal to Virtual (P2V) Guide Using System Center Virtual Machine Ma httpmikeanobileinfo201303physical-to-virtual-p2v-guide-us

8232015

7232019 Physical to Virtual (P2V)

httpslidepdfcomreaderfullphysical-to-virtual-p2v 58

Correct any issues detected by the wizard if any and click Check Again until ldquoNo issues detectedrdquo In-

formation is shown in the window

Review the summary and click Create to start the conversion process It may not be wise to start the

virtual machine after deploying it since your physical machine will continue to run

Check the Jobs section of VMM for detailed progress information

cal to Virtual (P2V) Guide Using System Center Virtual Machine Ma httpmikeanobileinfo201303physical-to-virtual-p2v-guide-us

8232015

7232019 Physical to Virtual (P2V)

httpslidepdfcomreaderfullphysical-to-virtual-p2v 68

Read on to see how to do the same thing in Powershell

ltndashndashnextpagendashndashgt

This entire process can also be completed using the following Powershell template

$Credential = get-credential

New-SCComputerConfiguration -VMMServer localhost -SourceComputerName ldquoIIS1Prime -Credential

$Credential

$VMHost = Get-SCVMHost -VMMServer localhost | where $_Name -eq ldquoHY-

PERV2012DALARISLOCALrdquo

$ComputerConfiguration = Get-SCComputerConfiguration -VMMServer localhost | where $_Name

-eq ldquoIIS1Prime

New-SCP2V -VMMServer localhost -VMHost $VMHost -RunAsynchronously -JobGroup 7801807d-

deee-4cc1-9354-3f06af46a5f7 -SourceNetworkConnectionID ldquo001143DFDA2Frdquo -MACAddress

ldquo001143DFDA2Frdquo -MACAddressType Static -NoConnection -ComputerConfiguration $Comput-erConfiguration

$VMHost = Get-SCVMHost -VMMServer localhost | where $_Name -eq ldquoHY-

PERV2012DALARISLOCALrdquo

$ComputerConfiguration = Get-SCComputerConfiguration -VMMServer localhost | where $_Name

-eq ldquoIIS1Prime

New-SCP2V -VMMServer localhost -VMHost $VMHost -RunAsynchronously -JobGroup 7801807d-

deee-4cc1-9354-3f06af46a5f7 -SourceNetworkConnectionID ldquo001143DFDA30Prime -MACAddress

ldquo001143DFDA30Prime -MACAddressType Static -NoConnection -ComputerConfiguration $Comput-

erConfiguration

$VMHost = Get-SCVMHost -VMMServer localhost | where $_Name -eq ldquoHY-

PERV2012DALARISLOCALrdquo

cal to Virtual (P2V) Guide Using System Center Virtual Machine Ma httpmikeanobileinfo201303physical-to-virtual-p2v-guide-us

8232015

7232019 Physical to Virtual (P2V)

httpslidepdfcomreaderfullphysical-to-virtual-p2v 78

$ComputerConfiguration = Get-SCComputerConfiguration -VMMServer localhost | where $_Name

-eq ldquoIIS1Prime

New-SCP2V -VMMServer localhost -VMHost $VMHost -RunAsynchronously -JobGroup 7801807d-

deee-4cc1-9354-3f06af46a5f7 -VolumeDeviceID ldquoVolumeb3f04939-0c4d-

11df-8f18-806e6f6e6963rdquo -Dynamic -IDE -Bus 0 -LUN 0 -ComputerConfiguration $ComputerCon-

figuration

$VMHost = Get-SCVMHost -VMMServer localhost | where $_Name -eq ldquoHY-

PERV2012DALARISLOCALrdquo

$ComputerConfiguration = Get-SCComputerConfiguration -VMMServer localhost | where $_Name

-eq ldquoIIS1Prime

New-SCP2V -VMMServer localhost -VMHost $VMHost -RunAsynchronously -JobGroup 7801807d-

deee-4cc1-9354-3f06af46a5f7 -VolumeDeviceID ldquoCrdquo -Dynamic -IDE -Bus 0 -LUN 1 -ComputerCon-

figuration $ComputerConfiguration

$VMHost = Get-SCVMHost -VMMServer localhost | where $_Name -eq ldquoHY-

PERV2012DALARISLOCALrdquo

$ComputerConfiguration = Get-SCComputerConfiguration -VMMServer localhost | where $_Name

-eq ldquoIIS1Prime

New-SCP2V -VMMServer localhost -VMHost $VMHost -RunAsynchronously -JobGroup 7801807d-

deee-4cc1-9354-3f06af46a5f7 -VolumeDeviceID ldquoDrdquo -Dynamic -IDE -Bus 1 -LUN 0 -ComputerCon-

figuration $ComputerConfiguration

$Credential = get-credential

$VMHost = Get-SCVMHost -VMMServer localhost | where $_Name -eq ldquoHY-

PERV2012DALARISLOCALrdquo

$ComputerConfiguration = Get-SCComputerConfiguration -VMMServer localhost | where $_Name

-eq ldquoIIS1Prime

New-SCP2V -Credential $Credential -VMMServer localhost -VMHost $VMHost -Path ldquoDVMrdquo

-RunAsynchronously -JobGroup 7801807d-deee-4cc1-9354-3f06af46a5f7 -Trigger -Name ldquoIIS1Prime

-Description ldquoWeb Serverrdquo -ComputerConfiguration $ComputerConfiguration -CPUCount 4 -Memo-

ryMB 4096 -StartAction TurnOnVMIfRunningWhenVSStopped -DelayStartSeconds 0 -StopAction

cal to Virtual (P2V) Guide Using System Center Virtual Machine Ma httpmikeanobileinfo201303physical-to-virtual-p2v-guide-us

8232015

7232019 Physical to Virtual (P2V)

httpslidepdfcomreaderfullphysical-to-virtual-p2v 88

983088 0LikeLike Tweet 0

SaveVM

If youd like to share this click below

Related

Migrate a virtual machine using

System Center Virtual Machine

Manager 2012

Adding a Hyper-V host to a VMM

Server

Performing Live Migration with

Hyper-V Manager

P2V SYSTEM CENTER VIRTUALIZATION

cal to Virtual (P2V) Guide Using System Center Virtual Machine Ma httpmikeanobileinfo201303physical-to-virtual-p2v-guide-us

Page 3: Physical to Virtual (P2V)

7232019 Physical to Virtual (P2V)

httpslidepdfcomreaderfullphysical-to-virtual-p2v 38

Configure the volumes to be converted to VHDs Note that system volumes are mandatory

Verify the VM Configuration ndash Number of processors and Memory These default values will reflect

the physical systemrsquos configuration and may be changed based on current needs For example if a sys-

tem is under P2V as a cheaper alternative to a memory upgrade you may increase the memory here

if it is available It would not be advised to choose a lower value here to ensure functionality of the vir-

tualized system as to the original physical machine as possible

Choose a server for placement with at least a 1-star rating A zero-star rating indicates an incompati-

ble system configuration such as invalid network configuration insufficient memory host not re-

sponding or other similar problems

close

cal to Virtual (P2V) Guide Using System Center Virtual Machine Ma httpmikeanobileinfo201303physical-to-virtual-p2v-guide-us

8232015

7232019 Physical to Virtual (P2V)

httpslidepdfcomreaderfullphysical-to-virtual-p2v 48

Choose the placement location This is the path on the target server where the VM will reside

Configure the network configuration to match the existing machine If you are performing P2V for

testing or backup it may be advisable to leave the connections as Not connected to prevent acciden-

tal access to the newly created VM in place of the existing physical machine

Choose the Automatic actions for this VM Generally ldquoAutomatically turn on the virtual machine if it

was running when the physical server stoppedrdquo should be chosen here It is not the default option

cal to Virtual (P2V) Guide Using System Center Virtual Machine Ma httpmikeanobileinfo201303physical-to-virtual-p2v-guide-us

8232015

7232019 Physical to Virtual (P2V)

httpslidepdfcomreaderfullphysical-to-virtual-p2v 58

Correct any issues detected by the wizard if any and click Check Again until ldquoNo issues detectedrdquo In-

formation is shown in the window

Review the summary and click Create to start the conversion process It may not be wise to start the

virtual machine after deploying it since your physical machine will continue to run

Check the Jobs section of VMM for detailed progress information

cal to Virtual (P2V) Guide Using System Center Virtual Machine Ma httpmikeanobileinfo201303physical-to-virtual-p2v-guide-us

8232015

7232019 Physical to Virtual (P2V)

httpslidepdfcomreaderfullphysical-to-virtual-p2v 68

Read on to see how to do the same thing in Powershell

ltndashndashnextpagendashndashgt

This entire process can also be completed using the following Powershell template

$Credential = get-credential

New-SCComputerConfiguration -VMMServer localhost -SourceComputerName ldquoIIS1Prime -Credential

$Credential

$VMHost = Get-SCVMHost -VMMServer localhost | where $_Name -eq ldquoHY-

PERV2012DALARISLOCALrdquo

$ComputerConfiguration = Get-SCComputerConfiguration -VMMServer localhost | where $_Name

-eq ldquoIIS1Prime

New-SCP2V -VMMServer localhost -VMHost $VMHost -RunAsynchronously -JobGroup 7801807d-

deee-4cc1-9354-3f06af46a5f7 -SourceNetworkConnectionID ldquo001143DFDA2Frdquo -MACAddress

ldquo001143DFDA2Frdquo -MACAddressType Static -NoConnection -ComputerConfiguration $Comput-erConfiguration

$VMHost = Get-SCVMHost -VMMServer localhost | where $_Name -eq ldquoHY-

PERV2012DALARISLOCALrdquo

$ComputerConfiguration = Get-SCComputerConfiguration -VMMServer localhost | where $_Name

-eq ldquoIIS1Prime

New-SCP2V -VMMServer localhost -VMHost $VMHost -RunAsynchronously -JobGroup 7801807d-

deee-4cc1-9354-3f06af46a5f7 -SourceNetworkConnectionID ldquo001143DFDA30Prime -MACAddress

ldquo001143DFDA30Prime -MACAddressType Static -NoConnection -ComputerConfiguration $Comput-

erConfiguration

$VMHost = Get-SCVMHost -VMMServer localhost | where $_Name -eq ldquoHY-

PERV2012DALARISLOCALrdquo

cal to Virtual (P2V) Guide Using System Center Virtual Machine Ma httpmikeanobileinfo201303physical-to-virtual-p2v-guide-us

8232015

7232019 Physical to Virtual (P2V)

httpslidepdfcomreaderfullphysical-to-virtual-p2v 78

$ComputerConfiguration = Get-SCComputerConfiguration -VMMServer localhost | where $_Name

-eq ldquoIIS1Prime

New-SCP2V -VMMServer localhost -VMHost $VMHost -RunAsynchronously -JobGroup 7801807d-

deee-4cc1-9354-3f06af46a5f7 -VolumeDeviceID ldquoVolumeb3f04939-0c4d-

11df-8f18-806e6f6e6963rdquo -Dynamic -IDE -Bus 0 -LUN 0 -ComputerConfiguration $ComputerCon-

figuration

$VMHost = Get-SCVMHost -VMMServer localhost | where $_Name -eq ldquoHY-

PERV2012DALARISLOCALrdquo

$ComputerConfiguration = Get-SCComputerConfiguration -VMMServer localhost | where $_Name

-eq ldquoIIS1Prime

New-SCP2V -VMMServer localhost -VMHost $VMHost -RunAsynchronously -JobGroup 7801807d-

deee-4cc1-9354-3f06af46a5f7 -VolumeDeviceID ldquoCrdquo -Dynamic -IDE -Bus 0 -LUN 1 -ComputerCon-

figuration $ComputerConfiguration

$VMHost = Get-SCVMHost -VMMServer localhost | where $_Name -eq ldquoHY-

PERV2012DALARISLOCALrdquo

$ComputerConfiguration = Get-SCComputerConfiguration -VMMServer localhost | where $_Name

-eq ldquoIIS1Prime

New-SCP2V -VMMServer localhost -VMHost $VMHost -RunAsynchronously -JobGroup 7801807d-

deee-4cc1-9354-3f06af46a5f7 -VolumeDeviceID ldquoDrdquo -Dynamic -IDE -Bus 1 -LUN 0 -ComputerCon-

figuration $ComputerConfiguration

$Credential = get-credential

$VMHost = Get-SCVMHost -VMMServer localhost | where $_Name -eq ldquoHY-

PERV2012DALARISLOCALrdquo

$ComputerConfiguration = Get-SCComputerConfiguration -VMMServer localhost | where $_Name

-eq ldquoIIS1Prime

New-SCP2V -Credential $Credential -VMMServer localhost -VMHost $VMHost -Path ldquoDVMrdquo

-RunAsynchronously -JobGroup 7801807d-deee-4cc1-9354-3f06af46a5f7 -Trigger -Name ldquoIIS1Prime

-Description ldquoWeb Serverrdquo -ComputerConfiguration $ComputerConfiguration -CPUCount 4 -Memo-

ryMB 4096 -StartAction TurnOnVMIfRunningWhenVSStopped -DelayStartSeconds 0 -StopAction

cal to Virtual (P2V) Guide Using System Center Virtual Machine Ma httpmikeanobileinfo201303physical-to-virtual-p2v-guide-us

8232015

7232019 Physical to Virtual (P2V)

httpslidepdfcomreaderfullphysical-to-virtual-p2v 88

983088 0LikeLike Tweet 0

SaveVM

If youd like to share this click below

Related

Migrate a virtual machine using

System Center Virtual Machine

Manager 2012

Adding a Hyper-V host to a VMM

Server

Performing Live Migration with

Hyper-V Manager

P2V SYSTEM CENTER VIRTUALIZATION

cal to Virtual (P2V) Guide Using System Center Virtual Machine Ma httpmikeanobileinfo201303physical-to-virtual-p2v-guide-us

Page 4: Physical to Virtual (P2V)

7232019 Physical to Virtual (P2V)

httpslidepdfcomreaderfullphysical-to-virtual-p2v 48

Choose the placement location This is the path on the target server where the VM will reside

Configure the network configuration to match the existing machine If you are performing P2V for

testing or backup it may be advisable to leave the connections as Not connected to prevent acciden-

tal access to the newly created VM in place of the existing physical machine

Choose the Automatic actions for this VM Generally ldquoAutomatically turn on the virtual machine if it

was running when the physical server stoppedrdquo should be chosen here It is not the default option

cal to Virtual (P2V) Guide Using System Center Virtual Machine Ma httpmikeanobileinfo201303physical-to-virtual-p2v-guide-us

8232015

7232019 Physical to Virtual (P2V)

httpslidepdfcomreaderfullphysical-to-virtual-p2v 58

Correct any issues detected by the wizard if any and click Check Again until ldquoNo issues detectedrdquo In-

formation is shown in the window

Review the summary and click Create to start the conversion process It may not be wise to start the

virtual machine after deploying it since your physical machine will continue to run

Check the Jobs section of VMM for detailed progress information

cal to Virtual (P2V) Guide Using System Center Virtual Machine Ma httpmikeanobileinfo201303physical-to-virtual-p2v-guide-us

8232015

7232019 Physical to Virtual (P2V)

httpslidepdfcomreaderfullphysical-to-virtual-p2v 68

Read on to see how to do the same thing in Powershell

ltndashndashnextpagendashndashgt

This entire process can also be completed using the following Powershell template

$Credential = get-credential

New-SCComputerConfiguration -VMMServer localhost -SourceComputerName ldquoIIS1Prime -Credential

$Credential

$VMHost = Get-SCVMHost -VMMServer localhost | where $_Name -eq ldquoHY-

PERV2012DALARISLOCALrdquo

$ComputerConfiguration = Get-SCComputerConfiguration -VMMServer localhost | where $_Name

-eq ldquoIIS1Prime

New-SCP2V -VMMServer localhost -VMHost $VMHost -RunAsynchronously -JobGroup 7801807d-

deee-4cc1-9354-3f06af46a5f7 -SourceNetworkConnectionID ldquo001143DFDA2Frdquo -MACAddress

ldquo001143DFDA2Frdquo -MACAddressType Static -NoConnection -ComputerConfiguration $Comput-erConfiguration

$VMHost = Get-SCVMHost -VMMServer localhost | where $_Name -eq ldquoHY-

PERV2012DALARISLOCALrdquo

$ComputerConfiguration = Get-SCComputerConfiguration -VMMServer localhost | where $_Name

-eq ldquoIIS1Prime

New-SCP2V -VMMServer localhost -VMHost $VMHost -RunAsynchronously -JobGroup 7801807d-

deee-4cc1-9354-3f06af46a5f7 -SourceNetworkConnectionID ldquo001143DFDA30Prime -MACAddress

ldquo001143DFDA30Prime -MACAddressType Static -NoConnection -ComputerConfiguration $Comput-

erConfiguration

$VMHost = Get-SCVMHost -VMMServer localhost | where $_Name -eq ldquoHY-

PERV2012DALARISLOCALrdquo

cal to Virtual (P2V) Guide Using System Center Virtual Machine Ma httpmikeanobileinfo201303physical-to-virtual-p2v-guide-us

8232015

7232019 Physical to Virtual (P2V)

httpslidepdfcomreaderfullphysical-to-virtual-p2v 78

$ComputerConfiguration = Get-SCComputerConfiguration -VMMServer localhost | where $_Name

-eq ldquoIIS1Prime

New-SCP2V -VMMServer localhost -VMHost $VMHost -RunAsynchronously -JobGroup 7801807d-

deee-4cc1-9354-3f06af46a5f7 -VolumeDeviceID ldquoVolumeb3f04939-0c4d-

11df-8f18-806e6f6e6963rdquo -Dynamic -IDE -Bus 0 -LUN 0 -ComputerConfiguration $ComputerCon-

figuration

$VMHost = Get-SCVMHost -VMMServer localhost | where $_Name -eq ldquoHY-

PERV2012DALARISLOCALrdquo

$ComputerConfiguration = Get-SCComputerConfiguration -VMMServer localhost | where $_Name

-eq ldquoIIS1Prime

New-SCP2V -VMMServer localhost -VMHost $VMHost -RunAsynchronously -JobGroup 7801807d-

deee-4cc1-9354-3f06af46a5f7 -VolumeDeviceID ldquoCrdquo -Dynamic -IDE -Bus 0 -LUN 1 -ComputerCon-

figuration $ComputerConfiguration

$VMHost = Get-SCVMHost -VMMServer localhost | where $_Name -eq ldquoHY-

PERV2012DALARISLOCALrdquo

$ComputerConfiguration = Get-SCComputerConfiguration -VMMServer localhost | where $_Name

-eq ldquoIIS1Prime

New-SCP2V -VMMServer localhost -VMHost $VMHost -RunAsynchronously -JobGroup 7801807d-

deee-4cc1-9354-3f06af46a5f7 -VolumeDeviceID ldquoDrdquo -Dynamic -IDE -Bus 1 -LUN 0 -ComputerCon-

figuration $ComputerConfiguration

$Credential = get-credential

$VMHost = Get-SCVMHost -VMMServer localhost | where $_Name -eq ldquoHY-

PERV2012DALARISLOCALrdquo

$ComputerConfiguration = Get-SCComputerConfiguration -VMMServer localhost | where $_Name

-eq ldquoIIS1Prime

New-SCP2V -Credential $Credential -VMMServer localhost -VMHost $VMHost -Path ldquoDVMrdquo

-RunAsynchronously -JobGroup 7801807d-deee-4cc1-9354-3f06af46a5f7 -Trigger -Name ldquoIIS1Prime

-Description ldquoWeb Serverrdquo -ComputerConfiguration $ComputerConfiguration -CPUCount 4 -Memo-

ryMB 4096 -StartAction TurnOnVMIfRunningWhenVSStopped -DelayStartSeconds 0 -StopAction

cal to Virtual (P2V) Guide Using System Center Virtual Machine Ma httpmikeanobileinfo201303physical-to-virtual-p2v-guide-us

8232015

7232019 Physical to Virtual (P2V)

httpslidepdfcomreaderfullphysical-to-virtual-p2v 88

983088 0LikeLike Tweet 0

SaveVM

If youd like to share this click below

Related

Migrate a virtual machine using

System Center Virtual Machine

Manager 2012

Adding a Hyper-V host to a VMM

Server

Performing Live Migration with

Hyper-V Manager

P2V SYSTEM CENTER VIRTUALIZATION

cal to Virtual (P2V) Guide Using System Center Virtual Machine Ma httpmikeanobileinfo201303physical-to-virtual-p2v-guide-us

Page 5: Physical to Virtual (P2V)

7232019 Physical to Virtual (P2V)

httpslidepdfcomreaderfullphysical-to-virtual-p2v 58

Correct any issues detected by the wizard if any and click Check Again until ldquoNo issues detectedrdquo In-

formation is shown in the window

Review the summary and click Create to start the conversion process It may not be wise to start the

virtual machine after deploying it since your physical machine will continue to run

Check the Jobs section of VMM for detailed progress information

cal to Virtual (P2V) Guide Using System Center Virtual Machine Ma httpmikeanobileinfo201303physical-to-virtual-p2v-guide-us

8232015

7232019 Physical to Virtual (P2V)

httpslidepdfcomreaderfullphysical-to-virtual-p2v 68

Read on to see how to do the same thing in Powershell

ltndashndashnextpagendashndashgt

This entire process can also be completed using the following Powershell template

$Credential = get-credential

New-SCComputerConfiguration -VMMServer localhost -SourceComputerName ldquoIIS1Prime -Credential

$Credential

$VMHost = Get-SCVMHost -VMMServer localhost | where $_Name -eq ldquoHY-

PERV2012DALARISLOCALrdquo

$ComputerConfiguration = Get-SCComputerConfiguration -VMMServer localhost | where $_Name

-eq ldquoIIS1Prime

New-SCP2V -VMMServer localhost -VMHost $VMHost -RunAsynchronously -JobGroup 7801807d-

deee-4cc1-9354-3f06af46a5f7 -SourceNetworkConnectionID ldquo001143DFDA2Frdquo -MACAddress

ldquo001143DFDA2Frdquo -MACAddressType Static -NoConnection -ComputerConfiguration $Comput-erConfiguration

$VMHost = Get-SCVMHost -VMMServer localhost | where $_Name -eq ldquoHY-

PERV2012DALARISLOCALrdquo

$ComputerConfiguration = Get-SCComputerConfiguration -VMMServer localhost | where $_Name

-eq ldquoIIS1Prime

New-SCP2V -VMMServer localhost -VMHost $VMHost -RunAsynchronously -JobGroup 7801807d-

deee-4cc1-9354-3f06af46a5f7 -SourceNetworkConnectionID ldquo001143DFDA30Prime -MACAddress

ldquo001143DFDA30Prime -MACAddressType Static -NoConnection -ComputerConfiguration $Comput-

erConfiguration

$VMHost = Get-SCVMHost -VMMServer localhost | where $_Name -eq ldquoHY-

PERV2012DALARISLOCALrdquo

cal to Virtual (P2V) Guide Using System Center Virtual Machine Ma httpmikeanobileinfo201303physical-to-virtual-p2v-guide-us

8232015

7232019 Physical to Virtual (P2V)

httpslidepdfcomreaderfullphysical-to-virtual-p2v 78

$ComputerConfiguration = Get-SCComputerConfiguration -VMMServer localhost | where $_Name

-eq ldquoIIS1Prime

New-SCP2V -VMMServer localhost -VMHost $VMHost -RunAsynchronously -JobGroup 7801807d-

deee-4cc1-9354-3f06af46a5f7 -VolumeDeviceID ldquoVolumeb3f04939-0c4d-

11df-8f18-806e6f6e6963rdquo -Dynamic -IDE -Bus 0 -LUN 0 -ComputerConfiguration $ComputerCon-

figuration

$VMHost = Get-SCVMHost -VMMServer localhost | where $_Name -eq ldquoHY-

PERV2012DALARISLOCALrdquo

$ComputerConfiguration = Get-SCComputerConfiguration -VMMServer localhost | where $_Name

-eq ldquoIIS1Prime

New-SCP2V -VMMServer localhost -VMHost $VMHost -RunAsynchronously -JobGroup 7801807d-

deee-4cc1-9354-3f06af46a5f7 -VolumeDeviceID ldquoCrdquo -Dynamic -IDE -Bus 0 -LUN 1 -ComputerCon-

figuration $ComputerConfiguration

$VMHost = Get-SCVMHost -VMMServer localhost | where $_Name -eq ldquoHY-

PERV2012DALARISLOCALrdquo

$ComputerConfiguration = Get-SCComputerConfiguration -VMMServer localhost | where $_Name

-eq ldquoIIS1Prime

New-SCP2V -VMMServer localhost -VMHost $VMHost -RunAsynchronously -JobGroup 7801807d-

deee-4cc1-9354-3f06af46a5f7 -VolumeDeviceID ldquoDrdquo -Dynamic -IDE -Bus 1 -LUN 0 -ComputerCon-

figuration $ComputerConfiguration

$Credential = get-credential

$VMHost = Get-SCVMHost -VMMServer localhost | where $_Name -eq ldquoHY-

PERV2012DALARISLOCALrdquo

$ComputerConfiguration = Get-SCComputerConfiguration -VMMServer localhost | where $_Name

-eq ldquoIIS1Prime

New-SCP2V -Credential $Credential -VMMServer localhost -VMHost $VMHost -Path ldquoDVMrdquo

-RunAsynchronously -JobGroup 7801807d-deee-4cc1-9354-3f06af46a5f7 -Trigger -Name ldquoIIS1Prime

-Description ldquoWeb Serverrdquo -ComputerConfiguration $ComputerConfiguration -CPUCount 4 -Memo-

ryMB 4096 -StartAction TurnOnVMIfRunningWhenVSStopped -DelayStartSeconds 0 -StopAction

cal to Virtual (P2V) Guide Using System Center Virtual Machine Ma httpmikeanobileinfo201303physical-to-virtual-p2v-guide-us

8232015

7232019 Physical to Virtual (P2V)

httpslidepdfcomreaderfullphysical-to-virtual-p2v 88

983088 0LikeLike Tweet 0

SaveVM

If youd like to share this click below

Related

Migrate a virtual machine using

System Center Virtual Machine

Manager 2012

Adding a Hyper-V host to a VMM

Server

Performing Live Migration with

Hyper-V Manager

P2V SYSTEM CENTER VIRTUALIZATION

cal to Virtual (P2V) Guide Using System Center Virtual Machine Ma httpmikeanobileinfo201303physical-to-virtual-p2v-guide-us

Page 6: Physical to Virtual (P2V)

7232019 Physical to Virtual (P2V)

httpslidepdfcomreaderfullphysical-to-virtual-p2v 68

Read on to see how to do the same thing in Powershell

ltndashndashnextpagendashndashgt

This entire process can also be completed using the following Powershell template

$Credential = get-credential

New-SCComputerConfiguration -VMMServer localhost -SourceComputerName ldquoIIS1Prime -Credential

$Credential

$VMHost = Get-SCVMHost -VMMServer localhost | where $_Name -eq ldquoHY-

PERV2012DALARISLOCALrdquo

$ComputerConfiguration = Get-SCComputerConfiguration -VMMServer localhost | where $_Name

-eq ldquoIIS1Prime

New-SCP2V -VMMServer localhost -VMHost $VMHost -RunAsynchronously -JobGroup 7801807d-

deee-4cc1-9354-3f06af46a5f7 -SourceNetworkConnectionID ldquo001143DFDA2Frdquo -MACAddress

ldquo001143DFDA2Frdquo -MACAddressType Static -NoConnection -ComputerConfiguration $Comput-erConfiguration

$VMHost = Get-SCVMHost -VMMServer localhost | where $_Name -eq ldquoHY-

PERV2012DALARISLOCALrdquo

$ComputerConfiguration = Get-SCComputerConfiguration -VMMServer localhost | where $_Name

-eq ldquoIIS1Prime

New-SCP2V -VMMServer localhost -VMHost $VMHost -RunAsynchronously -JobGroup 7801807d-

deee-4cc1-9354-3f06af46a5f7 -SourceNetworkConnectionID ldquo001143DFDA30Prime -MACAddress

ldquo001143DFDA30Prime -MACAddressType Static -NoConnection -ComputerConfiguration $Comput-

erConfiguration

$VMHost = Get-SCVMHost -VMMServer localhost | where $_Name -eq ldquoHY-

PERV2012DALARISLOCALrdquo

cal to Virtual (P2V) Guide Using System Center Virtual Machine Ma httpmikeanobileinfo201303physical-to-virtual-p2v-guide-us

8232015

7232019 Physical to Virtual (P2V)

httpslidepdfcomreaderfullphysical-to-virtual-p2v 78

$ComputerConfiguration = Get-SCComputerConfiguration -VMMServer localhost | where $_Name

-eq ldquoIIS1Prime

New-SCP2V -VMMServer localhost -VMHost $VMHost -RunAsynchronously -JobGroup 7801807d-

deee-4cc1-9354-3f06af46a5f7 -VolumeDeviceID ldquoVolumeb3f04939-0c4d-

11df-8f18-806e6f6e6963rdquo -Dynamic -IDE -Bus 0 -LUN 0 -ComputerConfiguration $ComputerCon-

figuration

$VMHost = Get-SCVMHost -VMMServer localhost | where $_Name -eq ldquoHY-

PERV2012DALARISLOCALrdquo

$ComputerConfiguration = Get-SCComputerConfiguration -VMMServer localhost | where $_Name

-eq ldquoIIS1Prime

New-SCP2V -VMMServer localhost -VMHost $VMHost -RunAsynchronously -JobGroup 7801807d-

deee-4cc1-9354-3f06af46a5f7 -VolumeDeviceID ldquoCrdquo -Dynamic -IDE -Bus 0 -LUN 1 -ComputerCon-

figuration $ComputerConfiguration

$VMHost = Get-SCVMHost -VMMServer localhost | where $_Name -eq ldquoHY-

PERV2012DALARISLOCALrdquo

$ComputerConfiguration = Get-SCComputerConfiguration -VMMServer localhost | where $_Name

-eq ldquoIIS1Prime

New-SCP2V -VMMServer localhost -VMHost $VMHost -RunAsynchronously -JobGroup 7801807d-

deee-4cc1-9354-3f06af46a5f7 -VolumeDeviceID ldquoDrdquo -Dynamic -IDE -Bus 1 -LUN 0 -ComputerCon-

figuration $ComputerConfiguration

$Credential = get-credential

$VMHost = Get-SCVMHost -VMMServer localhost | where $_Name -eq ldquoHY-

PERV2012DALARISLOCALrdquo

$ComputerConfiguration = Get-SCComputerConfiguration -VMMServer localhost | where $_Name

-eq ldquoIIS1Prime

New-SCP2V -Credential $Credential -VMMServer localhost -VMHost $VMHost -Path ldquoDVMrdquo

-RunAsynchronously -JobGroup 7801807d-deee-4cc1-9354-3f06af46a5f7 -Trigger -Name ldquoIIS1Prime

-Description ldquoWeb Serverrdquo -ComputerConfiguration $ComputerConfiguration -CPUCount 4 -Memo-

ryMB 4096 -StartAction TurnOnVMIfRunningWhenVSStopped -DelayStartSeconds 0 -StopAction

cal to Virtual (P2V) Guide Using System Center Virtual Machine Ma httpmikeanobileinfo201303physical-to-virtual-p2v-guide-us

8232015

7232019 Physical to Virtual (P2V)

httpslidepdfcomreaderfullphysical-to-virtual-p2v 88

983088 0LikeLike Tweet 0

SaveVM

If youd like to share this click below

Related

Migrate a virtual machine using

System Center Virtual Machine

Manager 2012

Adding a Hyper-V host to a VMM

Server

Performing Live Migration with

Hyper-V Manager

P2V SYSTEM CENTER VIRTUALIZATION

cal to Virtual (P2V) Guide Using System Center Virtual Machine Ma httpmikeanobileinfo201303physical-to-virtual-p2v-guide-us

Page 7: Physical to Virtual (P2V)

7232019 Physical to Virtual (P2V)

httpslidepdfcomreaderfullphysical-to-virtual-p2v 78

$ComputerConfiguration = Get-SCComputerConfiguration -VMMServer localhost | where $_Name

-eq ldquoIIS1Prime

New-SCP2V -VMMServer localhost -VMHost $VMHost -RunAsynchronously -JobGroup 7801807d-

deee-4cc1-9354-3f06af46a5f7 -VolumeDeviceID ldquoVolumeb3f04939-0c4d-

11df-8f18-806e6f6e6963rdquo -Dynamic -IDE -Bus 0 -LUN 0 -ComputerConfiguration $ComputerCon-

figuration

$VMHost = Get-SCVMHost -VMMServer localhost | where $_Name -eq ldquoHY-

PERV2012DALARISLOCALrdquo

$ComputerConfiguration = Get-SCComputerConfiguration -VMMServer localhost | where $_Name

-eq ldquoIIS1Prime

New-SCP2V -VMMServer localhost -VMHost $VMHost -RunAsynchronously -JobGroup 7801807d-

deee-4cc1-9354-3f06af46a5f7 -VolumeDeviceID ldquoCrdquo -Dynamic -IDE -Bus 0 -LUN 1 -ComputerCon-

figuration $ComputerConfiguration

$VMHost = Get-SCVMHost -VMMServer localhost | where $_Name -eq ldquoHY-

PERV2012DALARISLOCALrdquo

$ComputerConfiguration = Get-SCComputerConfiguration -VMMServer localhost | where $_Name

-eq ldquoIIS1Prime

New-SCP2V -VMMServer localhost -VMHost $VMHost -RunAsynchronously -JobGroup 7801807d-

deee-4cc1-9354-3f06af46a5f7 -VolumeDeviceID ldquoDrdquo -Dynamic -IDE -Bus 1 -LUN 0 -ComputerCon-

figuration $ComputerConfiguration

$Credential = get-credential

$VMHost = Get-SCVMHost -VMMServer localhost | where $_Name -eq ldquoHY-

PERV2012DALARISLOCALrdquo

$ComputerConfiguration = Get-SCComputerConfiguration -VMMServer localhost | where $_Name

-eq ldquoIIS1Prime

New-SCP2V -Credential $Credential -VMMServer localhost -VMHost $VMHost -Path ldquoDVMrdquo

-RunAsynchronously -JobGroup 7801807d-deee-4cc1-9354-3f06af46a5f7 -Trigger -Name ldquoIIS1Prime

-Description ldquoWeb Serverrdquo -ComputerConfiguration $ComputerConfiguration -CPUCount 4 -Memo-

ryMB 4096 -StartAction TurnOnVMIfRunningWhenVSStopped -DelayStartSeconds 0 -StopAction

cal to Virtual (P2V) Guide Using System Center Virtual Machine Ma httpmikeanobileinfo201303physical-to-virtual-p2v-guide-us

8232015

7232019 Physical to Virtual (P2V)

httpslidepdfcomreaderfullphysical-to-virtual-p2v 88

983088 0LikeLike Tweet 0

SaveVM

If youd like to share this click below

Related

Migrate a virtual machine using

System Center Virtual Machine

Manager 2012

Adding a Hyper-V host to a VMM

Server

Performing Live Migration with

Hyper-V Manager

P2V SYSTEM CENTER VIRTUALIZATION

cal to Virtual (P2V) Guide Using System Center Virtual Machine Ma httpmikeanobileinfo201303physical-to-virtual-p2v-guide-us

Page 8: Physical to Virtual (P2V)

7232019 Physical to Virtual (P2V)

httpslidepdfcomreaderfullphysical-to-virtual-p2v 88

983088 0LikeLike Tweet 0

SaveVM

If youd like to share this click below

Related

Migrate a virtual machine using

System Center Virtual Machine

Manager 2012

Adding a Hyper-V host to a VMM

Server

Performing Live Migration with

Hyper-V Manager

P2V SYSTEM CENTER VIRTUALIZATION

cal to Virtual (P2V) Guide Using System Center Virtual Machine Ma httpmikeanobileinfo201303physical-to-virtual-p2v-guide-us