VMware P2V Assistant 2.1

Features | Documentation | Knowledge Base

previous Prev   Contents   Last   Next next

Creating a New Virtual Machine with ESX Server

The P2V Assistant populates a virtual disk (.dsk) file that was created by the ESX Server system when you select the direct disk option in the Specify Target Disk window. If you selected this option, you can use the resultant .dsk file immediately with ESX Server.

If instead you selected to create a virtual disk (.vmdk) file, then you cannot use this virtual disk with ESX Server without first converting it to a .dsk file. You can do this conversion by using the vmkfstools program or the file manager in the VMware Management Interface.

Using vmkfstools to Import a Virtual Disk

As root, type the following:

vmkfstools -i <virtual_disk>.vmdk <vmfs_volume>:<virtual_disk>.dsk

The -i option imports a virtual disk, <virtual_disk>.vmdk is the virtual disk created by the P2V Assistant, and <virtual_disk>.dsk is the virtual disk used by ESX Server.

Using the VMware Management Interface to Import a Virtual Disk to ESX Server 2.x

Follow these steps to use the VMware Management Interface file manager to import a virtual disk to VMware ESX Server 2.x. Refer to the ESX Server Administration Manual for complete and up-to-date instructions.

1. Using a Web browser, log on to the ESX Server machine as root and click Manage Files. Use the file manager in the VMware Management Interface to perform all the file copy steps described below.

2. In the file manager, navigate to the location of the source disk files. Select the main disk (.dsk) file for the virtual disk you are migrating, then click Copy.

3. Navigate to the vmfs folder, and open the folder for the VMFS partition where you want to store the virtual disk file. Click Paste.

A dialog box appears with the message You are transferring one or more console virtual disks to a VMFS partition. In order for virtual machines to access these disks, they must be converted to the VMFS format. Although you can convert console disks at any time, it is recommended that you do so now.

The file you are copying is selected. Click OK.

The virtual disk is imported to the VMFS partition.

Note: If you do not see the message about transferring disks, there is a problem with the importation. Be sure you are pasting to the correct vmfs folder.

4. Select the newly imported .dsk file, then click Edit Properties.

5. Change the user and group names in the right-hand column so the file's owner and group match those of the user who runs the virtual machine.

If necessary, change the filename extension to .dsk. Click OK.

6. Log out, then log back on as the user who runs the new virtual machine.

7. Create a new virtual machine as described in the ESX Server Administration Guide. When you set the filename for the new virtual machine's disk, be sure to use the virtual disk file you just copied to the VMFS partition.

previous Prev   Contents   Last   Next next