VMware Cloud Community
VCPGuru
Contributor
Contributor
Jump to solution

p2vtool / p2v.xml doesnt work??!!!

hi folks

I used the p2v.xml template with the p2vtool.exe from the Converter manual ()

But I got the following error:

"Check dest available in progress...."

"....failed with error P2VError IMPORT_DEST_HOST_NOT_UNIQUE()"

What should i modify in the template .XML from VMware? Or have I to add something?

Could anybody post his working .xml input file?

I want to import a physical machine into my vCenter!

Any help would be appreciated!

Importing a Live Physical Machine Source to a Managed Destination

<?xml version="1.0" encoding="UTF-8" ?>

<p2v version="2.1" xmlns="http://www.vmware.com/v2/sysimage/p2v"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:schemaLocation="http://www.vmware.com/v2/sysimage/p2v p2v.xsd"

uninstallAgentOnSuccess="0">

<source>

<liveSpec>

<creds host="a-running-machine.company.com" username="Administrator"

password="adminPassword" />

</liveSpec>

</source>

<dest>

<managedSpec vmName="a-new-virtual-machine">

<!-- username and password may be omitted, in which case you will be interactively

prompted for credentials -->

<creds host="vc-server" username="Administrator" password="adminPassword" />

</managedSpec>

</dest>

<importParams targetProductVersion="PRODUCT_MANAGED" />

<postProcessingParams>

<reconfigParams />

</postProcessingParams>

</p2v>

Best Regards Simon Ciglia
0 Kudos
1 Solution

Accepted Solutions
Khue
Enthusiast
Enthusiast
Jump to solution

I too am curious about this. I originally went about trying to generate the p2v file using vcb2p2vXml.exe however I am not sure that is the right method. From what I have pieced together you feed p2vtool.exe some parameters along with an xml file and the end result is that the physical machine gets copied and registered with a VMware host. Is this correct? Is there an easier way to generate the xml file? Apparently me and "Guru" are completely missing the point of this toolset.

View solution in original post

0 Kudos
1 Reply
Khue
Enthusiast
Enthusiast
Jump to solution

I too am curious about this. I originally went about trying to generate the p2v file using vcb2p2vXml.exe however I am not sure that is the right method. From what I have pieced together you feed p2vtool.exe some parameters along with an xml file and the end result is that the physical machine gets copied and registered with a VMware host. Is this correct? Is there an easier way to generate the xml file? Apparently me and "Guru" are completely missing the point of this toolset.

0 Kudos