Specifications
VMware, Inc. 247
Chapter 15 Migrating Virtual Machines
Storage VMotion Remote Command-Line Syntax
MigrationswithStorageVMotioncanbeinitiatedonbothESXServer3iandESXServer
3hostsfromtheRemoteCommand‐LineInterface(RemoteCLI)usingthesvmotion
command.FormoreinformationoninstallingandusingtheRemoteCLI,seetheESX
Server3iConfigurationGuide.
Thesvmotioncommandcan
beinvokedineitheraninteractiveornon‐interactive
mode.Tousethecommandininteractivemode,typesvmotion --interactive.You
willthenbepromptedforalltheinformationnecessarytocompletethestorage
migration.Whenthecommandisinvokedininteractivemode,allotherparameters
givenareignored.
Innon‐
interactivemode,thesvmotioncommandusesthefollowingsyntax:
svmotion [Standard remote CLI options] --datacenter=<datacenter name> --vm
‘<VM config datastore path>:<new datastore>’ [--disks
‘<virtual disk datastore path>:<new datastore>, <virtual disk
datastore path>:<new datastore>]’
FormoreinformationonthestandardRemoteCLIoptions,seetheESXServer3i
ConfigurationGuide.
Table 15‐2describestheparametersforthesvmotioncommand.
Table 15-2. svmotion command parameters
Parameter Description
<datacenter> Thedatacenterwhichcontainsthevirtualmachinetobemigrated.
<VM config
datastore path>
Thedatastorepathtothevirtualmachine’sconfigurationfile.The
pathshouldbeenclosedinsinglequotes.
Todeterminethepathtothevirtualmachine’sconfigurationfile:
1IntheVIClientinventory,selectthevirtualmachineandclickthe
Summary
tab.
2 ClickEditSettingstodisplaytheVirtualMachineProperties
dialogbox.
3 ClicktheOptionstab,andselectGeneralOptions.
Thepathtothevirtualmachineconfigurationfileisdisplayedin
theVirtualMachineConfigurationFiletextbox.
<new datastore> Thenameofthenewdatastoretowhichthevirtualmachine
configuration
fileordiskistobemoved.Donotincludebrackets
aroundthenameofthenewdatastore.