QNAP Systems, Inc. - Network Attached Storage (NAS)

Language

Support

How to import and export virtual machines (VM) to/from Virtualization Station (including importing virtual machines from on-line VM markets) ?

What is the function of import and export?
The function of importing and exporting virtual machines (VMs) can quickly move VMs from one Hypervisor, such as VMware and VirtualBox, to another. It can reduce the time of setting up a new VM environment among different legacy Hypervisors. There are several compatible VM formats many Hypervisors support so that users can utilize this function to move VMs without spending lots of time configuring settings.

Virtualization Station supports importing and exporting VMs. The *.ova, *.ovf and *.vmx formats are supported by VMs exported from VirtualBox and VMWare; while the *.ovf and *.qvm formats are supported to export VMs for other Hypervisors or the Virtualization Station on other QNAP NAS. Virtualization Station also supports the virtual appliances which are provided by on-line VM markets such as Bitnami and VMware Virtual App.

What is an online VM market?
As virtualization becomes a well-developed method, the number of enterprises that are willing to replace physical machines with virtual machines is increasing. Within this trend, many software application venders combine their applications and open-source operating systems into virtual appliances. Those virtual appliances are supported by the formats of virtual machine. Individuals and enterprises can download these virtual appliances and directly import to Hypervisors. This behavior not only reduces the installation time of operating systems and applications but also eases compatibility issue.

Virtualization Station supports two on-line VM markets: Bitnami Virtual App and VMware Virtual App. The step of importing virtual appliances is similar with general VM importing.

How to import virtual machine?

Virtualization Station is compatible with the *.ovf and *.ova file formats. You can directly import VMs (virtual machines) to the Virtualization Station or export VMs to other built-in Virtualization Station NAS or other legacy hypervisors including VMWare and VirtualBox.

Open Virtualization Station and click “Import VM”.

“Import VM”:

  • PC: Import from local PC
  • NAS: Import from NAS

Notice: The *.ova and *.ovf formats are only supported by VMs (virtual machine) exported from VirtualBox v4 and VMWare; the format *.vmx is supported by VMs exported from VMWare Workstation 8/9.

For example, we import a VM (virtual machine) from the NAS. Select “NAS” and click “Browse”.

Open the folder in which your VMs (virtual machine) are stored and click “OK”.

Click “Next”.

You can set up “Destination Path”, “Overview”, “Network”, “Hard Disk” and “IDE CD/DVD ROM"

  1. “Destination Path”: You can decide the location where you would like to save the VM (virtual machine) and whether or not to create a sub-folder.
  2. “Overview”: You can name your VM (virtual machine) and customize how many CPU cores and memory to use in your VM.
  3. “Network”: You can set up a dedicated network for the VM, generating a MAC address and which model of network interface controller.
  4. “Hard Disk”: You can set up the Cache Mode and Controller of Hard Disk.
    • Cache Model: “none”, “Writeback” and “Writethrough”
    • Controller: “IDE”, “SCSI”, “SATA” and “VIRTIO”
  5. “IDE CD/DVD ROM”: You can select “Option” to add a virtual CD/DVD ROM.

After finishing the configuration, click “Import”.



Click “VM info”.

Click “Start” to launch the VM (virtual machine).

Click “Console” to see the desktop of the VM (virtual machine).

How to export virtual machine?

Whether the VM (virtual machine) was created by the Virtualization Station or is an imported VM, they can be exported from the Virtualization Station. Afterwards, those VMs can be imported to another QNAP NAS or to a legacy hypervisor such as VirtualBox or VMWare.

Click “Export VM”.

  1. “VM”: To export, you can select VMs (virtual machines) from a drop-list. If the VM is currently running or is suspended, then this VM cannot be exported.
  2. “Export File Name”: You can name the VM (virtual machine) you would like to export.
  3. “Format”: There two formats for exported VMs (virtual machine) are *.qvm and *.ovf. The format *.qvm is suitable for importing the VM into other QNAP NAS; while the format *.ovf is suitable for other legacy hypervisor such as VirtualBox v4 and VMWare.
    • “Include iso images”: *.qvm and *.ovf
    • “Compress images”: *.qvm
  4. “Location”: You can decide the location where you would like to save the exported VM.

Click “Start”.

Click “Finish” to finish export.

How to import virtual machines from on-line VM markets?

You can download virtual machines that you like from on-line VM markets such as Bitnami and VMWare. The on-line VM market will install applications into guest operating systems, e.g. Windows, Linux distributions, etc., then package them into virtual machine formats such as *.ovf. In the following, you can just import this package directly through Virtualization Station and execute applications on virtual machines.

Open Virtualization Station, click “Bitnami Virtual App”

Your default browser will open a new tab with the on-line VM market, Bitnami. You can search the applications you want and download it. Here, we will download “WordPress” as a teaching sample.

Click “WordPress’, then click “Virtual Machine”

The process of downloading will be started and will save the selected virtual machine in the destination folder you choose.

After the download has finished, ensure the downloading process is successful.

Go back to Virtualization Station, click “Import VM” and select “PC” followed by “Browse”.

Open the destination folder of “WordPress” and select “bitnami-wordpress-3.8-0-ubuntu-12.04-VBOX3.ovf”, then “Open”.

Click “Next”.

Click “Browse” and select“bitnami-wordpress-3.8-0-ubuntu-12.04.vmdk” then “Open”.

Click “Next”.

Click “Browse” and select all “bitnami-wordpress-3.8-0-ubuntu-12.04-s00x.vmdk” (s001-s009). Click “Open”.

Click “Next” to upload files.

Please note: It must be uploaded into the NAS when you import VM (virtual machine) from local PC. We suggest you to import VM (virtual machine) from NAS in order to reduce the waiting time of uploading files.

In the following, you can decide the “Destination Path”, “Overview”, “Network”, “Hard Disk” and “IDE CD/DVD ROM”.

  1. “Destination Path”: You can decide the location where you would like to save the VM (virtual machine) and whether or not to create a sub-folder.
  2. “Overview”: You can name your VM (virtual machine) and customize how many CPU cores and the size of memory for your VM.
  3. “Network”: You can set up a dedicated network for the VM, generating a MAC address and the model of network interface controller.
  4. “Hard Disk”: You can set up Cache Mode and the Hard Disk Controller.
    • Cache Model: “none”, “Writeback” and “Writethrough”
    • Controller: “IDE”, “SCSI”, “SATA” and “VIRTIO”
  5. “IDE CD/DVD ROM”: You can select “Option” to add a virtual CD/DVD ROM.

After deciding a number of CPU cores and memory size, click “Generate” and select “Option” then clicking “Import”.

When the VM (virtual machine) is imported, click “VM info”



Click “Start” to launch the VM (virtual machine).

Click “Console” to see the desktop of the VM (virtual machine).

Release date: 2014-03-06
Was it helpful?
Thank you for your feedback.
Thank you for your feedback. If you have any question, please contact support@qnap.com
18% of people think it helps.