Citrix Systems 6.2.0 manual Importing VMs from OVF/OVA, To Import VMs from OVF/OVA using XenCenter

Page 54

11.4.1. Importing VMs from OVF/OVA

Note:

In order to import OVF or OVA packages, you must be logged in as root or have the Pool Administrator Role Based Access Control (RBAC) role associated with your user account.

The XenCenter Import wizard allows you to import VMs that have been saved as OVF/OVA files. The Import wizard takes you through the usual steps needed to create a new VM in XenCenter: nominating a host, and then configuring storage and networking for the new VM. When importing OVF and OVA files, additional steps may be required, such as:

When importing VMs that have been created using other virtualization platforms, it is necessary to run the Operating System Fixup feature to ensure a basic level of interoperability for the VM. For more information, see Section 11.2, “Operating System Fixup”.

It is necessary to configure networking for the Transfer VM used to perform the import process. For more information, see Section 11.3, “The Transfer VM”.

Tip:

Ensure the target host has enough RAM to support the virtual machines being imported. A lack of available RAM will result in a failed import. See CTX125120 for details on how to resolve this issue.

Imported OVF packages appear as vApps when imported using XenCenter. When the import is complete, the new VMs will appear in the XenCenter Resources pane, and the new vApp will appear in the Manage vApps dialog box.

To Import VMs from OVF/OVA using XenCenter:

1.Open the Import wizard by doing one of the following:

In the Resources pane, right-click, and then select Import on the shortcut menu.

On the File menu, select Import.

2.On the first page of the wizard, locate the file you want to import, and then click Next to continue.

3.Review and accept EULAs, if applicable.

If the package you are importing includes any EULAs, accept them and then click Next to continue. If no EULAs are included in the package, the wizard will skip this step and advance straight to the next page.

4.Specify the pool or host to which you want to import the VM(s), and then (optionally) assign the VM(s) to a home XenServer host.

To select a host or pool, choose from the Import VM(s) to drop-down list.

To assign each VM a home XenServer host, select a server from the list in the Home Server. If you wish not to assign a home server, select Don't assign a home server.

Click Next to continue.

5.Configure storage for the imported VM(s): select one or more storage repositories on which to place the imported virtual disks, and then click Next to continue.

To place all the imported virtual disks on the same SR, select Place all imported VMs on this target SR, and then select an SR from the list.

To place the virtual disks of incoming VMs onto different SRs, select Place imported VMs on the specified target SRs. For each VM, select the target SR from the list in the SR column.

6.Configure networking for the imported VMs: map the virtual network interfaces in the VMs you are importing to target networks in the destination pool. The Network and MAC address shown in the list of

47

Image 54
Contents Citrix XenServer 6.2.0 Virtual Machine Users Guide Trademarks Contents VM Migration with XenMotion and Storage XenMotion Importing the Demo Linux Virtual Appliance Windows VM Release Notes Setting Up a Red Hat Installation Server About this Document OverviewXenServer Documentation Virtual Machines Creating VMsOther Methods of VM Creation XenServer Tools Importing an Exported VMPage Supported Guests and Allocating Resources Supported Guests, Virtual Memory, and Disk Size LimitsOperating System Minimum Maximum Minimum Disk Space 4GB 8GB Experimental Guests Operating SystemDeprecated Guests XenServer Product Family Virtual Device SupportVirtual device Linux VMs Windows VMs VM Block Devices Available Windows Templates Basic Procedure for Creating a Windows VMCreating Windows VMs Template Name DescriptionUsing XenCenter to Create a VM Attaching an ISO Image LibraryTo create a Windows 7 32-bit VM Page Using the CLI to Create a Windows VM Installing a Windows VM from an ISO Repository Using the CLICreating Linux VMs Install From Network From CD Repository Distribution VendorCreating a Linux VM by Installing from a Physical CD/DVD Creating a Linux VM by Installing From an ISO Image Network Installation NotesAdvanced Operating System Boot Parameters To install Debian using a preseed fileTo install Rhel Using a Kickstart File Installing the Linux Guest Agent To install the guest agentAdditional Installation Notes for Linux Distributions Linux Distribution Installation NotesMachine Name Preparing to Clone a Linux VMAdditional Debian Notes IP addressPage XenMotion VM Migration with XenMotion and Storage XenMotionXenMotion and Storage XenMotion Storage XenMotionMigrating a VM using XenCenter Live VDI MigrationLimitations and Caveats To Move Virtual Disks Updating Windows Operating Systems To uninstall the XenServer ToolsUpdating VMs Updating XenServer Tools for Windows VMsPage Managing vApps in XenCenter Creating a vApp using XenCenterVApps Creating vAppsDeleting vApps Start and shutdown vApps using XenCenterDeleting vApps using XenCenter To start a vAppImporting and Exporting vApps To export a vAppTo import a vApp Reset XenDesktop Shared Desktop Mode VM Boot BehaviorPersist XenDesktop Private Desktop Mode Advanced Notes for Virtual MachinesInstalldir/xensetup.exe /S /norestart To enable the Windows XenServer VSS provider Windows Volume Shadow Copy Service VSS providerConnecting to a Windows VM Using Remote Desktop To Enable Remote Desktop on a Windows VMTime Handling in Windows VMs Time Handling in Linux VMsInstalling a VM from Reseller Option Kit BIOS-locked Media To set individual Linux VMs to maintain independent timesGuest OS Dependent wallclock Independent wallclock Preparing for Cloning a Windows VM Using VSS Using XenCenterUsing the CLI Assigning a GPU to a Windows VM for Use with XenDesktop Cloning Windows VMsTo detach a Windows VM from a GPU using XenCenter To assign a GPU to a Windows VM using XenCenterTo assign a GPU to a Windows VM using xe CLI To detach a Windows VM from a GPU using the xe CLIDetach the GPU from the VM by entering the following To Import the Demo Linux Virtual Appliance Using XenCenter Importing the Demo Linux Virtual ApplianceUseful Tests Page Importing and Exporting VMs Supported FormatsFormat Description Open Virtualization Format OVF and OVA Attribute DescriptionDisk Image Formats VHD and Vmdk XVA FormatOperating System Fixup XVA Version 1 FormatTransfer VM Importing VMsTo use the RawVDI transfer protocol To Import VMs from OVF/OVA using XenCenter Importing VMs from OVF/OVAPage To Import VMs from a Disk Image using XenCenter Importing Disk ImagesTo Import VMs from XVA Files VM using XenCenter Importing VMs from XVATo Import a VM from XVA using the xe CLI Exporting VMsExporting VMs as OVF/OVA To Export VMs as OVF/OVA using XenCenter To Export VMs as XVA Files using XenCenter Exporting VMs as XVATo Export VMs as XVA Files using the xe CLI Appendix A. Windows VM Release Notes Release NotesAppendix B. Linux VM Release Notes Red Hat Enterprise Linux 4.5 toRed Hat Enterprise Linux Preparing a Rhel 4.5 to 4.8 guest for cloningSuse Enterprise Linux 10 SP1 CentOSOracle Enterprise Linux Suse Enterprise Linux 10 SP3Ubuntu Appendix C. Creating ISO Images Creating an ISO on a Linux computerOn a Windows computer Appendix D. Enabling VNC for Linux VMs Enabling a Graphical Console on Debian Squeeze VMsDetermining the Location of your VNC Configuration File Configuring GDM to use VNCFirewall Settings VNC Screen ResolutionEnabling VNC for RHEL, CentOS, or OEL 6.x VMs Create the xinetd.d file, /etc/xinetd.d/vnc-server-streamModifying the xinetd Configuration Setting up SLES-based VMs for VNCEnabling Remote Administration Checking for a VNC ServerTo Open the VNC Port on Sles 10.x VMs Firewall Checking Runlevels To Open the VNC Port on Sles 11.x VMs FirewallEnable Remote Access Appendix E. Setting Up a Red Hat Installation ServerCopying Installation Media NFSFTP HttpVM Crashes Appendix F. Troubleshooting VM ProblemsTo enable saving of Linux VM crash dumps Controlling Linux VM Crashdump BehaviourTroubleshooting Boot Problems on Linux VMs