VMware

This Question is Answered

2 "helpful" answers available (6 pts)
1 Replies Last post: Dec 17, 2008 1:03 PM by Khue  

p2vtool / p2v.xml doesnt work??!!! posted: Dec 10, 2008 5:38 AM

Click to view VCPGuru's profile Enthusiast 78 posts since
Dec 1, 2008

hi folks

I used the p2v.xml template with the p2vtool.exe from the Converter manual (http://www.vmware.com/pdf/VMware_Converter_manual303.pdf)

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>


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

1. Dec 17, 2008 1:03 PM in response to: VCPGuru
Click to view Khue's profile Hot Shot 131 posts since
Mar 8, 2006
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.

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities