Citrix Systems 6.2.0 manual Appendix B. Linux VM Release Notes, Red Hat Enterprise Linux 4.5 to

Page 63

Appendix B. Linux VM Release Notes

B.1. Release Notes

Most modern Linux distributions support Xen paravirtualization directly, but have different installation mechanisms and some kernel limitations.

B.1.1. Red Hat Enterprise Linux 4.5 to 4.8

The following issues have been reported to Red Hat and are already fixed in the Xen kernel (which can be installed by using the /mnt/Linux/install.sh script in the built-in xs-tools.isoCD image):

The Xen kernel in RHEL 4.8 can occasionally enter tickless mode when an RCU is pending. When this triggers, it is usually in synchronize_kernel() which means the guest essentially hangs until some external event (such as a SysRQ) releases it (Red Hat Bugzilla 427998)

Live migration can occasionally crash the kernel under low memory conditions (Red Hat Bugzilla 249867)

Guest kernel can occasionally hang due to other XenStore activity (Red Hat Bugzilla 250381)

RHEL 4.7 contains a bug which normally prevents it from booting on a host with more than 64GiB of RAM (Red Hat Bugzilla 311431). For this reason XenServer RHEL 4.7 guests are only allocated RAM addresses in the range below 64GiB by default. This may cause RHEL 4.7 guests to fail to start even if RAM appears to be available, in which case rebooting or shutting down other guests can cause suitable RAM to become available. If all else fails, temporarily shut down other guests until your RHEL 4.7 VM can boot.

Once you have succeeded in booting your RHEL 4.7 VM, install the XenServer Tools and run the command:

xe vm-param-remove uuid=<vm_uuid> param-name=other-config \ param-key=machine-address-size

to remove the memory restriction.

On some hardware (generally newer systems), the CPU will generate occasional spurious page faults which the OS should ignore. Unfortunately all versions of RHEL 4 fail to ignore the spurious fault and it causes them to crash (Red Hat Bugzilla 465914).

This has been fixed in our kernel. The RHEL 4 VM templates have been set with the suppress-spurious-page-faultsparameter. This assures that the installation will continue safely to the point that the standard kernel is replaced with the Citrix-provided kernel.

There is a performance impact with this parameter set, so, after the VM installation is complete, at the VM command prompt, run the command:

xe vm-param-remove uuid=<vm_uuid> other-config: \ param-key=suppress-spurious-page-faults

In RHEL 4.5 to 4.7, if a xenbus transaction end command fails it is possible for the suspend_mutex to remain locked preventing any further xenbus traffic. Applying the Citrix RHEL 4.8 kernel resolves this issue. [EXT-5]

In RHEL 4.5 to 4.8, use of the XFS filesystem can lead to kernel panic under exceptional circumstances. Applying the Citrix RHEL 4.8 kernel resolves this issue. [EXT-16 ]

In RHEL 4.5 to RHEL 4.8, the kernel can enter no tick idle mode with RCU pending; this leads to a guest operating system lock up. Applying the Citrix RHEL 4.8 kernel resolves this issue. [EXT-21]

In RHEL 4.7, 4.8, VMs may crash when a host has 64GiB RAM or higher configured. Applying the Citrix RHEL 4.8 kernel resolves this issue. [EXT-30]

In RHEL 4.5 to 4.8 and 5.0 to 5.3, the network driver contains an issue that can, in rare circumstances, lead to a kernel deadlock. Applying the Citrix RHEL 4.8 kernel resolves this issue. [EXT-45]

Additional Notes:

56

Image 63
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 Importing an Exported VM XenServer ToolsPage Supported Guests and Allocating Resources Supported Guests, Virtual Memory, and Disk Size LimitsOperating System Minimum Maximum Minimum Disk Space 4GB 8GB Operating System Experimental GuestsDeprecated Guests XenServer Product Family Virtual Device SupportVirtual device Linux VMs Windows VMs VM Block Devices Template Name Description Basic Procedure for Creating a Windows VMCreating Windows VMs Available Windows TemplatesUsing XenCenter to Create a VM Attaching an ISO Image LibraryTo create a Windows 7 32-bit VM 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 ImageAdvanced Operating System Boot Parameters To install Debian using a preseed fileTo install Rhel Using a Kickstart 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 XenMotionMigrating a VM using XenCenter Live VDI MigrationLimitations and Caveats 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 vAppsImporting and Exporting vApps To export a vAppTo import 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 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 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 To Import the Demo Linux Virtual Appliance Using XenCenter Importing the Demo Linux Virtual ApplianceUseful Tests Page Importing and Exporting VMs Supported FormatsFormat Description Attribute Description Open Virtualization Format OVF and OVAXVA Format Disk Image Formats VHD and VmdkXVA Version 1 Format Operating System FixupTransfer VM Importing VMsTo use the RawVDI transfer protocol 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 XenCenterTo Import a VM from XVA using the xe CLI Exporting VMsExporting VMs as OVF/OVA 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 Appendix C. Creating ISO Images Creating an ISO on a Linux computerOn a Windows 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