3.0
Table Of Contents
- User’s Manual
- Contents
- About This Book
- Introduction
- System Requirements
- Application Requirements
- Memory Requirements for Cold Cloning
- Virtual Machine and System Image Requirements
- Restoring VCB Images in Converter
- Supported Destinations
- Configuring Permissions for VirtualCenter Users
- Level of Internationalization Support
- How Converting Affects Settings
- Changes to Virtual Hardware
- TCP/IP Port Requirements
- Remote Hot Cloning Troubleshooting Tips
- Installing and Uninstalling
- Converting Machines
- Using the Converter Boot CD for Local Cold Cloning
- Configuring VMware Virtual Machines
- Managing Tasks
- Appendix: Migration with p2vTool Command-Line Interface
- Glossary
- Index
VMware Converter User’s Manual
76 VMware, Inc.
OVF XML Output File Examples
HereareexamplesofXMLoutputfilesforap2vToolimportofanOVFvirtualappliancetoaWorkstation
destinationandancreationofanOVFpackagetoaWorkstationsource.
Example A-11. Restoring a VCB Image to an ESX Server 3.x Host Directly
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Restore a VCB image to an ESX 3.x machine directly -->
<p2v version="1.0" 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">
<source>
<!-- the "password" attribute is only used for encrypted sources such as the SV2I format
and can be omitted or other types of sources -->
<hostedSpec password="" path="F:\VirtualMachine\vbcwin2k3\win2k3ent.vmx" />
</source>
<dest>
<managedSpec datastore="MYVMFS3" folder="" host="" resourcePool="" vmName="vcbrestore">
<creds host="my_esx3_host" password="" port="" username="root" />
</managedSpec>
</dest>
<!-- The "keepIdentity" optional attribute is used to indicate whether an "identity restore"
is attempted. The attribute must be set to true if the VM is to be re-imported
after it has been lost (deleted). If the VM is to be re-imported for cloning
purpose, the flag must be set to false. The default is false. This attribute
only applies to managed destination -->
<!-- If the "preserveDeviceBackingInfo" optional attribute is set to true, all the device
backing information for the VM is restored. This includes reconnecting CDROMs,
serial port, parallel port if devices exist. The default is set to false. This
attribute only applies to managed destination -->
<importParams clonePagefile="false" diskType="VMFS" keepIdentity="true"
preserveDeviceBackingInfo="false" targetProductVersion="PRODUCT_MANAGED">
<!-- If the "preserveNicsInfo" attribute is set to true, all network interfaces will be
preserved and get reconnected to the original virtual switches if exist.
Manually assigned ethernet MAC addresses will be preserved as well. If it
is set to false and nicmappings node is empty, all the VM's network
interfaces will be stripped off. The default value is false.-->
<nicMappings preserveNicsInfo="true" />
</importParams>
<postProcessingParams installTools="false" powerOnVM="true" />
</p2v>
Example A-12. Importing an OVF Virtual Appliance to a Workstation Destination
<?xml version="1.0" encoding="UTF-8"?>
<p2v version="1.0"
xmlns="http://www.vmware.com/v3/sysimage/p2v"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.vmware.com/v3/sysimage/p2v p2v.xsd">
<source>
<ovfSpec path="C:\targetVms\bugs\246223\246223.ovf"/>
</source>
<dest>
<hostedSpec vmName="ba" path="T:\target-tests\test"/>
</dest>
<importParams targetProductVersion="PRODUCT_WS_6X"/>
<postProcessingParams>
<reconfigParams/>
</postProcessingParams>
</p2v>