3
Click the Options tab, and select General Options.
The path to the virtual machine configuration file appears in the Virtual Machine Configuration File text box.
Determine the Path to a Virtual Disk File
You must specify the virtual disk datastore path as part of the
svmotion
command.
Procedure
1
In the vSphere Client inventory, select the virtual machine to which the virtual disk belongs, and click the
Summary tab.
2
Click Edit Settings to display the Virtual Machine Properties dialog box.
3
Click the Hardware tab, and select the virtual disk from the list of devices.
The path to the virtual disk file appears in the Disk File text box.
Storage VMotion Examples
The examples show how to use the Storage VMotion command-line interface to relocate a virtual machine and
all its disks, or to relocate the virtual machine configuration file while leaving the disks in place.
The examples in this section are formatted on multiple lines for readability. The command should be issued
on a single line.
An example of relocating all of a virtual machine’s disks to a datastore named
new_datastore
:
svmotion --url=https://myvc.mycorp.com/sdk
--username=me
--password=secret
--datacenter=DC1
--vm='[old_datastore] myvm/myvm.vmx: new_datastore'
An example of relocating a virtual machine to
new_datastore
, while leaving the disks,
myvm_1.vmdk
and
myvm_2.vmdk
on
old_datastore
:
svmotion --datacenter='My DC'
--vm='[old_datastore] myvm/myvm.vmx:
new_datastore'
--disks='[old_datastore] myvm/myvm_1.vmdk:
old_datastore,
[old_datastore] myvm/myvm_2.vmdk:
old_datastore'
Chapter 16 Migrating Virtual Machines
VMware, Inc.
199
Содержание 4817V62 - vSphere - PC
Страница 13: ...Getting Started VMware Inc 13...
Страница 14: ...vSphere Basic System Administration 14 VMware Inc...
Страница 24: ...vSphere Basic System Administration 24 VMware Inc...
Страница 38: ...vSphere Basic System Administration 38 VMware Inc...
Страница 76: ...vSphere Basic System Administration 76 VMware Inc...
Страница 85: ...Virtual Machine Management VMware Inc 85...
Страница 86: ...vSphere Basic System Administration 86 VMware Inc...
Страница 98: ...vSphere Basic System Administration 98 VMware Inc...
Страница 131: ...3 Click OK Chapter 11 Creating Virtual Machines VMware Inc 131...
Страница 132: ...vSphere Basic System Administration 132 VMware Inc...
Страница 140: ...vSphere Basic System Administration 140 VMware Inc...
Страница 172: ...vSphere Basic System Administration 172 VMware Inc...
Страница 182: ...vSphere Basic System Administration 182 VMware Inc...
Страница 200: ...vSphere Basic System Administration 200 VMware Inc...
Страница 207: ...System Administration VMware Inc 207...
Страница 208: ...vSphere Basic System Administration 208 VMware Inc...
Страница 278: ...vSphere Basic System Administration 278 VMware Inc...
Страница 289: ...Appendixes VMware Inc 289...
Страница 290: ...vSphere Basic System Administration 290 VMware Inc...
Страница 324: ...vSphere Basic System Administration 324 VMware Inc...
Страница 364: ...vSphere Basic System Administration 364 VMware Inc...