Hi All,
I am trying to automate P2V process using Converter Enterprise CLI (converter-tool.exe). Requirement is my script should perform P2V on selected volumes only (volume based cloning)
In my case converter converting all volumes even though I have added one volume details in my xml. I guess there must be something obviuos I am missing here. Can somebody help me if you have got this volume based cloning worked? or post the sample xml for disk and volume based cloning for converter-tool?
My r2m.xml looks like this,
<?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="Physicalserver" username="Physical user1"
password="password" />
</liveSpec>
</source>
<dest>
<managedSpec datastore="STORAGE-1" folder="" host="ESX server" password ="ESX Pwd" resourcePool="R3" vmName="VM1">
<!-- username and password may be omitted, in which case you will be interactively
prompted for credentials -->
<creds host="VC server" username="VC User" password="VC Pwd" />
</managedSpec>
</dest>
<importParams targetProductVersion="PRODUCT_MANAGED" DiskCreateType="MONOLITHIC_FLAT" preserveHWInfo="false" >
<VolumesToClone>
</importParams>
<postProcessingParams>
<reconfigParams />
</postProcessingParams>
</p2v>
Thanks.