6.9.2. Exporting Virtual Machines

Exporting virtual resources across data centers requires some preparation, for example, an export domain should exist, and be attached to the appropriate data center; the virtual machine must be shut down, and the template requirements need to be considered as well. You will also need to consider whether you want to export the virtual machine to the new data center and retain the original virtual machine, or move it to the new data center, and remove it from the source data center. You will also need to attach or detach the export domain as appropriate.

To export individual virtual machines to the export domain:

  1. Click the Virtual Machines tab.
  2. If the virtual machine you want to export is not visible in the list, perform a search (see Section 1.2, “Search”).
  3. Select the virtual machine.
  4. Shut down the virtual machine. Once the virtual machine is shut down, right click to display the menu.
  5. Click the Export option.
  6. The Export Virtual Machine dialog box displays. Select from the list of available options as appropriate, Force Override and Collapse Snapshots.
    Select Force Override to override existing images of the virtual machine which may already exist on the export domain.
    Select Collapse Snapshots to create a single export file per disk. Select this option if you wish to retain both the source and destination versions of the virtual machine.
  7. Click OK.
    The export of the virtual machine begins, this can take some time. The virtual machine displays in the Virtual Machines list with a Locked Status. Use the Events tab to view the progress.
  8. The Events tab displays that the virtual machine has been exported.
  9. The virtual machine displays on the VM Import tab of the export domain.
    Export Virtual Machine

    Figure 6.24. Export Virtual Machine

  10. You can repeat the procedure above to export each virtual machine that you need to migrate, so that the export domain has a number of virtual machines.