Citrix Systems 6.2.0 Red Hat Enterprise Linux, Preparing a Rhel 4.5 to 4.8 guest for cloning

Page 64

RHEL 4.7, 4.8, sometimes when there are many devices attached to a VM, there is not enough time for all of these devices to connect and startup fails. [EXT-17]

If you try to install RHEL 4.x on a VM that has more than two virtual CPUs (which RHEL 4.x does not support), an error message incorrectly reports the number of CPUs detected.

B.1.1.1. Preparing a RHEL 4.5 to 4.8 guest for cloning

To prepare a RHEL 4.5 to 4.8 guest for cloning (see Section 5.7.3, “MAC address”), edit /etc/sysconfig/ network-scripts/ifcfg-eth0before converting the VM into a template, and remove the HWADDR line.

Note:

Red Hat recommends the use of Kickstart to perform automated installations, instead of directly cloning disk images (see Red Hat KB Article 1308).

B.1.1.2. RHEL Graphical Network Install Support

To perform a graphical installation, add VNC to the list of advanced OS boot parameters when creating the VM:

graphical utf8 vnc

You will be prompted to provide networking configuration for the new VM so that VNC communication can be enabled. The standard graphical installer will then be displayed.

B.1.2. Red Hat Enterprise Linux 5

XenServer requires that you run the RHEL 5.4 kernel or higher. These kernels have the following known issues:

During the resume operation on a suspended VM, allocations can be made that can cause swap activity which cannot be performed because the swap disk is still being reattached. This is a rare occurrence. (Red Hat Bugzilla 429102).

In RHEL 5.3, sometimes when there are many devices attached to a VM, there is not enough time for all of these devices to connect and startup fails. [EXT-17]

In RHEL 5.0 to 5.3, use of the XFS file system can lead to kernel panic under exceptional circumstances. Applying the Red Hat RHEL 5.4 kernel onwards resolves this issue. [EXT-16 ]

In RHEL 5.2, 5.3, VMs may crash when a host has 64GiB RAM or higher configured. Applying the Red Hat RHEL 5.4 kernel onwards resolves this issue. [EXT-30]

In RHEL 5.0 to 5.3, the network driver contains an issue that can, in rare circumstances, lead to a kernel deadlock. Applying the Red Hat RHEL 5.4 kernel onwards resolves this issue. [EXT-45]

Note:

In previous releases, XenServer included a replacement RHEL 5 kernel that fixed critical issues that prevented RHEL 5 from running effectively as a virtual machine. Red Hat has resolved these issues in RHEL 5.4 and higher. Consequently, XenServer no longer includes a RHEL 5 specific kernel.

B.1.2.1. Preparing a RHEL 5.x guest for cloning

To prepare a RHEL 5.x guest for cloning (see Section 5.7.3, “MAC address”), edit /etc/sysconfig/network- scripts/ifcfg-eth0before converting the VM into a template and remove the HWADDR line.

Note:

Red Hat recommends the use of Kickstart to perform automated installations, instead of directly cloning disk images (see Red Hat KB Article 1308).

57

Image 64
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 Overview About this DocumentXenServer Documentation Creating VMs Virtual MachinesOther Methods of VM Creation XenServer Tools Importing an Exported VMPage Supported Guests, Virtual Memory, and Disk Size Limits Supported Guests and Allocating ResourcesOperating System Minimum Maximum Minimum Disk Space 4GB 8GB Experimental Guests Operating SystemXenServer Product Family Virtual Device Support Deprecated GuestsVirtual device Linux VMs Windows VMs VM Block Devices Basic Procedure for Creating a Windows VM Creating Windows VMsAvailable Windows Templates Template Name DescriptionAttaching an ISO Image Library Using XenCenter to Create a VMTo 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 NotesTo install Debian using a preseed file Advanced Operating System Boot ParametersTo install Rhel Using a Kickstart File Installing the Linux Guest Agent To install the guest agentAdditional Installation Notes for Linux Distributions Linux Distribution Installation NotesPreparing to Clone a Linux VM Additional Debian NotesMachine Name IP addressPage VM Migration with XenMotion and Storage XenMotion XenMotion and Storage XenMotionXenMotion Storage XenMotionLive VDI Migration Migrating a VM using XenCenterLimitations and Caveats To Move Virtual Disks To uninstall the XenServer Tools Updating VMsUpdating Windows Operating Systems Updating XenServer Tools for Windows VMsPage Creating a vApp using XenCenter VAppsManaging vApps in XenCenter Creating vAppsStart and shutdown vApps using XenCenter Deleting vApps using XenCenterDeleting vApps To start a vAppTo export a vApp Importing and Exporting vAppsTo import a vApp VM Boot Behavior Persist XenDesktop Private Desktop ModeReset XenDesktop Shared Desktop Mode Advanced Notes for Virtual MachinesInstalldir/xensetup.exe /S /norestart Windows Volume Shadow Copy Service VSS provider Connecting to a Windows VM Using Remote DesktopTo enable the Windows XenServer VSS provider To Enable Remote Desktop on a Windows VMTime Handling in Windows VMs Time Handling in Linux VMsTo set individual Linux VMs to maintain independent times Installing a VM from Reseller Option Kit BIOS-locked MediaGuest OS Dependent wallclock Independent wallclock Using XenCenter Preparing for Cloning a Windows VM Using VSSUsing the CLI Assigning a GPU to a Windows VM for Use with XenDesktop Cloning Windows VMsTo assign a GPU to a Windows VM using XenCenter To assign a GPU to a Windows VM using xe CLITo detach a Windows VM from a GPU using XenCenter To detach a Windows VM from a GPU using the xe CLIDetach the GPU from the VM by entering the following Importing the Demo Linux Virtual Appliance To Import the Demo Linux Virtual Appliance Using XenCenterUseful Tests Page Supported Formats Importing and Exporting VMsFormat Description Open Virtualization Format OVF and OVA Attribute DescriptionDisk Image Formats VHD and Vmdk XVA FormatOperating System Fixup XVA Version 1 FormatImporting VMs Transfer VMTo 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 XVAExporting VMs To Import a VM from XVA using the xe CLIExporting 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 cloningCentOS Oracle Enterprise LinuxSuse Enterprise Linux 10 SP1 Suse Enterprise Linux 10 SP3Ubuntu Creating an ISO on a Linux computer Appendix C. Creating ISO ImagesOn 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-streamSetting up SLES-based VMs for VNC Enabling Remote AdministrationModifying the xinetd Configuration 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 FirewallAppendix E. Setting Up a Red Hat Installation Server Copying Installation MediaEnable Remote Access NFSFTP HttpAppendix F. Troubleshooting VM Problems To enable saving of Linux VM crash dumpsVM Crashes Controlling Linux VM Crashdump BehaviourTroubleshooting Boot Problems on Linux VMs