VMware 4817V62 - vSphere - PC Administration Manual page 199

Basic system administration
Table of Contents

Advertisement

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
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
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
on
myvm_2.vmdk
old_datastore
svmotion --datacenter='My DC'
--vm='[old_datastore] myvm/myvm.vmx:
new_datastore'
--disks='[old_datastore] myvm/myvm_1.vmdk:
VMware, Inc.
:
old_datastore,
[old_datastore] myvm/myvm_2.vmdk:
old_datastore'
command.
svmotion
, while leaving the disks,
new_datastore
Chapter 16 Migrating Virtual Machines
:
new_datastore
and
myvm_1.vmdk
199

Advertisement

Table of Contents
loading

Table of Contents