Citrix Systems 6.2.0 manual To Export VMs as OVF/OVA using XenCenter

Page 59

Note:

In order to export 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.

To Export VM(s) as OVF/OVA using XenCenter:

1.Shut down or suspend the VM(s) that you wish to export.

2.Open the Export wizard: in the Resources pane, right-click the pool or host containing the VM(s) you want to export, and then select Export.

3.On the first page of the wizard, enter the name of the export file, specify the folder where you want the file(s) to be saved, and select OVF/OVA Package (*.ovf, *.ova) from the Format drop-down list. Click Next to continue.

4.From the list of available VMs, select the VM(s) that you want to include in the OVF/OVA package, and then click Next to continue.

5.If required, you can add to a previously-prepared End User Licensing Agreement (EULA) document (.rtf, .txt) to the package.

To add a EULA, click Add and browse to the file you wish to add. Once you have added the file, you can view the document by selecting it from the EULA files list and then clicking View.

EULAs can provide the legal terms and conditions for using the appliance and/or the applications delivered in the appliance.

The ability to include one or more EULAs lets you legally protect the software on the appliance. For example, if your appliance includes a proprietary operating system on one or more of its VMs, you may want to include the EULA text from that operating system. The text is displayed and must be accepted by the person who imports the appliance.

Note:

Attempting to add EULA files that are not in supported formats, including XML or binary files, can cause the import EULA functionality to fail.

Select Next to continue.

6.On the Advanced options page, specify a manifest, signature and output file options, or just click Next to continue.

a.To create a manifest for the package, select the Create a manifest check box.

The manifest provides an inventory or list of the other files in a package and is used to ensure the files originally included when the package was created are the same files present when the package arrives. When the files are imported, a checksum is used to verify that the files have not changed since the package was created.

b.To add a digital signature to the package, select the Sign the OVF package check box, browse to locate a certificate, and then enter the private key associated with the certificate in the Private key password field.

When a signed package is imported, the user can verify the identity of the creator by using the public key to validate the digital signature. Use a X.509 certificate which you have already created from a Trusted Authority and exported as either a .pem or .pfx file that contains the signature of the manifest file and the certificate used to create that signature.

c.To output the selected VMs as a single (tar) file in OVA format, select the Create OVA package (single OVA export file) check box. For more on the different file formats, see Section 11.1.1, “Open Virtualization Format (OVF and OVA)”.

d.To compress virtual hard disk images (.VHD files) included in the package, select the Compress OVF files check box.

52

Image 59
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 XenServer Documentation About this DocumentOverview Other Methods of VM Creation Virtual MachinesCreating VMs Importing an Exported VM XenServer ToolsPage Operating System Minimum Maximum Minimum Disk Space Supported Guests and Allocating ResourcesSupported Guests, Virtual Memory, and Disk Size Limits 4GB 8GB Operating System Experimental GuestsVirtual device Linux VMs Windows VMs Deprecated GuestsXenServer Product Family Virtual Device Support VM Block Devices Template Name Description Basic Procedure for Creating a Windows VMCreating Windows VMs Available Windows TemplatesTo create a Windows 7 32-bit VM Using XenCenter to Create a VMAttaching an ISO Image Library Page Installing a Windows VM from an ISO Repository Using the CLI Using the CLI to Create a Windows VMCreating Linux VMs Distribution Vendor Install From Network From CD RepositoryCreating a Linux VM by Installing from a Physical CD/DVD Network Installation Notes Creating a Linux VM by Installing From an ISO ImageTo install Rhel Using a Kickstart File Advanced Operating System Boot ParametersTo install Debian using a preseed file To install the guest agent Installing the Linux Guest AgentLinux Distribution Installation Notes Additional Installation Notes for Linux DistributionsIP address Preparing to Clone a Linux VMAdditional Debian Notes Machine NamePage Storage XenMotion VM Migration with XenMotion and Storage XenMotionXenMotion and Storage XenMotion XenMotionLimitations and Caveats Migrating a VM using XenCenterLive VDI Migration To Move Virtual Disks Updating XenServer Tools for Windows VMs To uninstall the XenServer ToolsUpdating VMs Updating Windows Operating SystemsPage Creating vApps Creating a vApp using XenCenterVApps Managing vApps in XenCenterTo start a vApp Start and shutdown vApps using XenCenterDeleting vApps using XenCenter Deleting vAppsTo import a vApp Importing and Exporting vAppsTo export a vApp Advanced Notes for Virtual Machines VM Boot BehaviorPersist XenDesktop Private Desktop Mode Reset XenDesktop Shared Desktop ModeInstalldir/xensetup.exe /S /norestart To Enable Remote Desktop on a Windows VM Windows Volume Shadow Copy Service VSS providerConnecting to a Windows VM Using Remote Desktop To enable the Windows XenServer VSS providerTime Handling in Linux VMs Time Handling in Windows VMsGuest OS Dependent wallclock Independent wallclock Installing a VM from Reseller Option Kit BIOS-locked MediaTo set individual Linux VMs to maintain independent times Using the CLI Preparing for Cloning a Windows VM Using VSSUsing XenCenter Cloning Windows VMs Assigning a GPU to a Windows VM for Use with XenDesktopTo detach a Windows VM from a GPU using the xe CLI 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 XenCenterDetach the GPU from the VM by entering the following Useful Tests To Import the Demo Linux Virtual Appliance Using XenCenterImporting the Demo Linux Virtual Appliance Page Format Description Importing and Exporting VMsSupported Formats Attribute Description Open Virtualization Format OVF and OVAXVA Format Disk Image Formats VHD and VmdkXVA Version 1 Format Operating System FixupTo use the RawVDI transfer protocol Transfer VMImporting VMs Importing VMs from OVF/OVA To Import VMs from OVF/OVA using XenCenterPage Importing Disk Images To Import VMs from a Disk Image using XenCenterImporting VMs from XVA To Import VMs from XVA Files VM using XenCenterExporting VMs as OVF/OVA To Import a VM from XVA using the xe CLIExporting VMs To Export VMs as OVF/OVA using XenCenter Exporting VMs as XVA To Export VMs as XVA Files using XenCenterTo Export VMs as XVA Files using the xe CLI Release Notes Appendix A. Windows VM Release NotesRed Hat Enterprise Linux 4.5 to Appendix B. Linux VM Release NotesPreparing a Rhel 4.5 to 4.8 guest for cloning Red Hat Enterprise LinuxSuse Enterprise Linux 10 SP3 CentOSOracle Enterprise Linux Suse Enterprise Linux 10 SP1Ubuntu On a Windows computer Appendix C. Creating ISO ImagesCreating an ISO on a Linux computer Enabling a Graphical Console on Debian Squeeze VMs Appendix D. Enabling VNC for Linux VMsConfiguring GDM to use VNC Determining the Location of your VNC Configuration FileVNC Screen Resolution Firewall SettingsCreate the xinetd.d file, /etc/xinetd.d/vnc-server-stream Enabling VNC for RHEL, CentOS, or OEL 6.x VMsChecking for a VNC Server Setting up SLES-based VMs for VNCEnabling Remote Administration Modifying the xinetd ConfigurationTo Open the VNC Port on Sles 10.x VMs Firewall To Open the VNC Port on Sles 11.x VMs Firewall Checking RunlevelsNFS Appendix E. Setting Up a Red Hat Installation ServerCopying Installation Media Enable Remote AccessHttp FTPControlling Linux VM Crashdump Behaviour Appendix F. Troubleshooting VM ProblemsTo enable saving of Linux VM crash dumps VM CrashesTroubleshooting Boot Problems on Linux VMs