Importing and Exporting Virtual Appliances
Page 1 of 6
Importing and Exporting Virtual Appliances
Importing and Exporting Virtual Appliances You can use the VMware Infrastructure Client (VI Client) to import and export virtual appliances stored in Open Virtual Machine Format (OVF). An appliance is a preconfigured virtual machine that typically includes a preinstalled guest operating system and other software. When you import virtual appliances, you can add preconfigured virtual machines to your VirtualCenter or ESX Server inventory. Importing a virtual appliance is similar to deploying a virtual machine from a template. However, you can import a virtual appliance from any local file system accessible from the VI Client machine, or from a remote web server. The local file systems can include local disks (such as the C: drive), removable media (such as CDs or USB drives), and shared network drives. Exporting virtual appliances allows you to create preconfigured virtual machines that other users can import. You can use the export function to distribute pre-installed software, or as a means of distributing template virtual machines to users, including users who cannot directly access and use the templates in your VirtualCenter inventory.
[email protected] | Copyright © 2008 VMware, Inc. All rights reserved.
Importing and Exporting Virtual Appliances : Importing a Virtual Appliance
Importing a Virtual Appliance You can import a virtual appliance from a local file system that is accessible to the VI Client, or from a web URL. Conditions VI Client must be connected to:
VirtualCenter Server or ESX Server host
Inventory panel object:
Inventory button > root folder> datacenter, host, cluster, resource pool, or virtual machine object
To reach this wizard:
File > Virtual Appliance >Import
Minimum required privileges:
Host > Local Operations > Create Virtual Machine OR Virtual Machine > Inventory > Create
To start the Import Virtual Appliance wizard, in the VI Client, choose File > Virtual Appliance > Import. Importing a virtual appliance includes performing the following steps: 1.
Specifying the Source Location
2.
Viewing Virtual Appliance Details
3.
Naming the Virtual Machine
4.
Selecting a Host or Cluster
5.
Selecting a Specific Host
file://D:\Documents and Settings\Administrator\Local Settings\Temp\~hh8875.htm
6/25/2009
Importing and Exporting Virtual Appliances
6.
Selecting a Resource Pool
7.
Selecting a Datastore
8.
Configuring Network Mapping
9.
Completing Virtual Machine Creation
Page 2 of 6
[email protected] | Copyright © 2008 VMware, Inc. All rights reserved.
Importing and Exporting Virtual Appliances : Importing a Virtual Appliance : Specifying the Source Location
Specifying the Source Location On the Import Location page, you can specify to import a virtual appliance from a file, from a URL, or by browsing a selection of virtual appliances available for download from VMware. Conditions To reach this panel:
File > Virtual Appliance > Import
To import from a file 1.
Select Import from file.
2.
Click Browse and select the file.
3.
Click Next. The Virtual Appliance Details page appears. See Viewing Virtual Appliance Details.
To import from a URL 1.
Select Import from URL.
2.
Enter the URL in the text box.
3.
Click Next. The Virtual Appliance Details page appears. See Viewing Virtual Appliance Details.
To import from VMware Virtual Appliance Marketplace 1.
Select Import from VMware Virtual Appliance Marketplace.
2.
Click Next. The VMTN Page appears. See Browsing Virtual Appliances on VMware Virtual Appliance Marketplace.
Related Topics Viewing Virtual Appliance Details Browsing Virtual Appliances on VMware Virtual Appliance Marketplace
[email protected] | Copyright © 2008 VMware, Inc. All rights reserved.
Importing and Exporting Virtual Appliances : Importing a Virtual Appliance : Browsing Virtual Appliances on VMware Virtual Appliance Marketplace
Browsing Virtual Appliances on VMware Virtual Appliance Marketplace Available appliances appear in the main panel. Select an appliance and click Next. The Virtual Appliance Details page appears. See Viewing Virtual Appliance Details.
[email protected] | Copyright © 2008 VMware, Inc. All rights reserved.
file://D:\Documents and Settings\Administrator\Local Settings\Temp\~hh8875.htm
6/25/2009
Importing and Exporting Virtual Appliances
Page 3 of 6
Importing and Exporting Virtual Appliances : Importing a Virtual Appliance : Viewing Virtual Appliance Details
Viewing Virtual Appliance Details This page summarizes information about the virtual appliance. To proceed, click Next.
[email protected] | Copyright © 2008 VMware, Inc. All rights reserved.
Importing and Exporting Virtual Appliances : Importing a Virtual Appliance : Accepting the End User License Agreement
Accepting the End User License Agreement The End User License Agreement page displays any license agreements associated with the software installed in the virtual appliance. You must accept the license agreements to import the virtual appliance. If no license agreements are associated with the software installed on the virtual appliance, this screen does not appear. To accept the license agreements Select Accept all license agreements and click Next.
[email protected] | Copyright © 2008 VMware, Inc. All rights reserved.
Importing and Exporting Virtual Appliances : Importing a Virtual Appliance : Naming the Virtual Machine
Naming the Virtual Machine On the Name and Folder page, provide the name and folder location for the new virtual appliance. By default, the virtual machine name is specified in the OVF file. The name can be up to 80 characters long and can contain alphanumeric characters and the underscore ( _ ) and hyphen (-) characters. It should also be unique within the virtual machine folder. Names are case-sensitive. See Naming the Virtual Machine for instructions. Conditions VI Client must be connected to:
VirtualCenter Server
Minimum required privileges:
Virtual Machine > Provisioning > Clone
To reach this page:
Next button on the Virtual Appliance Details page of the Import Virtual Appliance Wizard
[email protected] | Copyright © 2008 VMware, Inc. All rights reserved.
Importing and Exporting Virtual Appliances : Importing a Virtual Appliance : Selecting a Host or Cluster
file://D:\Documents and Settings\Administrator\Local Settings\Temp\~hh8875.htm
6/25/2009
Importing and Exporting Virtual Appliances
Page 4 of 6
Selecting a Host or Cluster See Selecting a Host or Cluster for instructions. Conditions To reach this page:
Next button on the Select a Name and Location page of the Import Virtual Appliance Wizard
[email protected] | Copyright © 2008 VMware, Inc. All rights reserved.
Importing and Exporting Virtual Appliances : Importing a Virtual Appliance : Selecting a Specific Host
Selecting a Specific Host See Choosing a Specific Host for instructions. Conditions To reach this page:
Next button on the Select a Host or Cluster page of the Import Virtual Appliance Wizard
[email protected] | Copyright © 2008 VMware, Inc. All rights reserved.
Importing and Exporting Virtual Appliances : Importing a Virtual Appliance : Selecting a Resource Pool
Selecting a Resource Pool See Selecting a Resource Pool for instructions. Conditions Additional required Resource > Assign Virtual Machine To privileges: Resource Pool To reach this page:
Next button on the Select a Host or Cluster page of the Import Virtual Appliance Wizard
[email protected] | Copyright © 2008 VMware, Inc. All rights reserved.
Importing and Exporting Virtual Appliances : Importing a Virtual Appliance : Selecting a Datastore
Selecting a Datastore See Choosing a Datastore for instructions. Conditions To reach this page:
Next button on one of these pages in the Import Virtual Appliance Wizard: Select a Host or Cluster Specify a Specific Host Select a Resource Pool
file://D:\Documents and Settings\Administrator\Local Settings\Temp\~hh8875.htm
6/25/2009
Importing and Exporting Virtual Appliances
Page 5 of 6
[email protected] | Copyright © 2008 VMware, Inc. All rights reserved.
Importing and Exporting Virtual Appliances : Importing a Virtual Appliance : Configuring Network Mapping
Configuring Network Mapping This page allows you to specify which networks in your VirtualCenter Server inventory correspond to the networks specified for the virtual machine you are importing. Conditions To reach this page:
Next button on the Datastore page of the Import Virtual Appliance Wizard
To configure network mapping 1.
For each network specified in the OVF file, select a network in your infrastructure to map the network to.
2.
Click Next.
[email protected] | Copyright © 2008 VMware, Inc. All rights reserved.
Importing and Exporting Virtual Appliances : Importing a Virtual Appliance : Completing Virtual Machine Creation
Completing Virtual Machine Creation See Completing Virtual Machine Creation for instructions. Conditions To reach this panel:
Next button on the Network Mapping page of the Import Virtual Appliance Wizard
[email protected] | Copyright © 2008 VMware, Inc. All rights reserved.
Importing and Exporting Virtual Appliances : Exporting a Virtual Machine
Exporting a Virtual Machine You can export a virtual machine to OVF format to make it available to other users to import into their inventory. To export a virtual machine 1.
In the VI Client inventory, select the virtual machine to export.
2.
Choose File > Virtual Appliance > Export.
3.
In the Directory text box, enter the location to store the exported virtual machine.
4.
To create a new folder for the OVF file, select Make New Folder.
5.
(Optional) Enter a description of the virtual machine in the Description text box. By default, the text from the Notes pane on the virtual machine’s Summary tab appears in this text box.
6.
Click OK.
file://D:\Documents and Settings\Administrator\Local Settings\Temp\~hh8875.htm
6/25/2009
Importing and Exporting Virtual Appliances
Page 6 of 6
The progress of the export task appears in the VI Client Status panel.
[email protected] | Copyright © 2008 VMware, Inc. All rights reserved.
file://D:\Documents and Settings\Administrator\Local Settings\Temp\~hh8875.htm
6/25/2009