3.0

Table Of Contents
VMware, Inc. 69
Appendix A Appendix: Migration with p2vTool Command-Line Interface
Source Machines and Destination Machines
Youcanusep2vToolwithlive,hosted,andmanagedsourcemachinesorvirtualappliances,andhostedand
manageddestinationmachinesorvirtualappliances.
Alivemachinecanonlybeasourceandhastheseattributes:
Canbeaphysicalmachineoravirtualmachine.
Performsaliveimportthatavoidshavingtoshutdownthesourcemachine.
Mustbepoweredonatthetimeofimport.
Ahostedmachinecanbeasourceordestinationandhastheseattributes:
Isaflatfilevirtualmachine,typicallyfromaVMwareWorkstationproductorasupportedbackupformat.
Mustbeaccessiblefromthelocalmachine’soperatingsystem.(Itcanbeonanetworkshare,butthe
networksharemustbemountedbeforerunningp2vTool.)
Ifusedasasource,thevirtualmachinemustbepoweredoffatthetimeofimport.
Amanagedmachinecanbeasourceordestinationandhastheseattributes:
VirtualmachinesrunningonanESXServermachine.
TheservercanbespecifiedasanESXServermachineortheVirtualCenterserverthatismanagingit.
Ifusedasasource,thevirtualmachinemustbepoweredoffatthetimeoftheimport.
Avirtualappliancecanbean.ovffileoran.ovafilethatcontainsagroupoffiles.Youcaninstallavirtual
appliancefromanylocalorremotefilesystemaccessiblefromthe
sourcemachineorfromaremotemachine
pathsharedoverthenetwork.
Withp2vTool,youcanmigratevolumestoseparatedisks.SettheattributeseparateDisk=”true”inthe
volumeCloneInfonodeforeachvolumeyouwanttoplaceonaseparatedisk.Donotsetthisattributefor
activeorsystemvolumes.See
Example A5,“ImportingaManagedSourcetoaManagedDestination,
ExplicitlySpecifyingOptionalParameters,”onpage 72andExample A9,“XMLOutputforthep2vTool-q
[--query]Option,”onpage 74.
Restoring VCB Images
VCBenablesitsuserstobackupentireESXServervirtualmachines,storingthebackupusingWorkstation
disks,a.vmxfile,andacatalogfile.Thep2vToolcanrestoreVCBimagesintoESXServer3.xmachines,both
standaloneandthosemanagedbyVirtualCenter,andcanalsoimportthemtohostedproducts.
Thep2vTooldoesnotpreservecertainvirtualmachinepropertiesunlesssettingsfortheattributesthatcan
preservethepropertiesareincludedintheinputXMLfile.Preservingthesepropertiesisapplicableonlytoa
managedproductdestination.Table A2showstheattributesthatneedattentiontopreservetheseproperties.
Fora
VMwarehostedproductdestination,donotsettheattributes,becausevirtualmachinepropertiesarenot
preserved.
Informationinthecatalogfileisnotextracted.Torestoretothesamelocation,viewtheoriginalcatalogfile
andincludethatinformationintheinputXMLfile.
Table A-2. Settings to Preserve Properties
Node Attribute Settings
ImportParams keepIdentity Defaultisfalse.Settotrue topreservethevirtual
machineidentity
preserveDeviceBackingInfo Defaultisfalse.Settotruetopreservethedevicebacking
informationforCDROM,floppy,serialport,andparallel
port.
NicMappings preserveNicsInfo Defaultisfalse.Settotruetousethenetworkadapter
informationfromthesource.