Citrix Systems 6.2.0 manual Appendix F. Troubleshooting VM Problems, VM Crashes

Page 77

Appendix F. Troubleshooting VM Problems

Citrix provides two forms of support: free, self-help support on the Citrix Support website and paid-for Support Services, which you can purchase from the Support Site. With Citrix Technical Support, you can open a Support Case online or contact the support center by phone if you experience technical difficulties.

The Citrix Knowledge Center hosts a number of resources that may be helpful to you if you experience odd behavior, crashes, or other problems. Resources include: Support Forums, Knowledge Base articles and product documentation.

If you experience odd VM behavior, this chapter is meant to help you solve the problem if possible and, failing that, describes where the application logs are located and other information that can help your XenServer Solution Provider and Citrix track and resolve the issue.

Troubleshooting of installation issues is covered in the XenServer Installation Guide. Troubleshooting of XenServer host issues is covered in the XenServer Administrator's Guide.

Note:

Citrix recommends that you follow the troubleshooting information in this chapter solely under the guidance of your XenServer Solution Provider or Citrix Support.

F.1. VM Crashes

If you are experiencing VM crashes, it is possible that a kernel crash dump can help identify the problem. If the crash is reproducible, follow this procedure to send the crash dumps to Citrix.

F.1.1. Controlling Linux VM Crashdump Behaviour

For Linux VMs, the crashdump behavior can be controlled through the actions-after-crashparameter. The following are the possible values:

Value

Description

 

 

preserve

leave the VM in a paused state (for analysis)

 

 

coredump_and_restart

record a core dump, then reboot the VM

 

 

coredump_and_destroy

record a core dump, leave VM halted

 

 

restart

no core dump, just reboot VM (this is the default)

 

 

destroy

no coredump, leave VM halted

 

 

To enable saving of Linux VM crash dumps

1.On the XenServer host, determine the UUID of the desired VM by running the command:

xe vm-list name-label=<name>params=uuid --minimal

2.Change the actions-after-crashvalue using xe vm-param-set; for example:

xe vm-param-set uuid=<vm_uuid> actions-after-crash=coredump_and_restart

F.1.2. Controlling Windows VM Crashdump Behaviour

For Windows VMs, the core dump behavior cannot be controlled by the actions-after-crashparameter. By default Windows crash dumps are put into %SystemRoot%\Minidump in the Windows VM itself.

70

Image 77
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 Creating Windows VMs Basic Procedure for Creating a Windows VMAvailable Windows Templates Template Name DescriptionTo 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 DistributionsAdditional Debian Notes Preparing to Clone a Linux VMMachine Name IP addressPage XenMotion and Storage XenMotion VM Migration with XenMotion and Storage XenMotionXenMotion Storage XenMotionLimitations and Caveats Migrating a VM using XenCenterLive VDI Migration To Move Virtual Disks Updating VMs To uninstall the XenServer ToolsUpdating Windows Operating Systems Updating XenServer Tools for Windows VMsPage VApps Creating a vApp using XenCenterManaging vApps in XenCenter Creating vAppsDeleting vApps using XenCenter Start and shutdown vApps using XenCenterDeleting vApps To start a vAppTo import a vApp Importing and Exporting vAppsTo export a vApp Persist XenDesktop Private Desktop Mode VM Boot BehaviorReset XenDesktop Shared Desktop Mode Advanced Notes for Virtual MachinesInstalldir/xensetup.exe /S /norestart Connecting to a Windows VM Using Remote Desktop Windows Volume Shadow Copy Service VSS providerTo enable the Windows XenServer VSS provider To Enable Remote Desktop on a Windows VMTime 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 assign a GPU to a Windows VM using xe CLI To assign a GPU to a Windows VM using XenCenterTo 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 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 LinuxOracle Enterprise Linux CentOSSuse Enterprise Linux 10 SP1 Suse Enterprise Linux 10 SP3Ubuntu 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 VMsEnabling Remote Administration Setting up SLES-based VMs for VNCModifying the xinetd Configuration Checking for a VNC ServerTo Open the VNC Port on Sles 10.x VMs Firewall To Open the VNC Port on Sles 11.x VMs Firewall Checking RunlevelsCopying Installation Media Appendix E. Setting Up a Red Hat Installation ServerEnable Remote Access NFSHttp FTPTo enable saving of Linux VM crash dumps Appendix F. Troubleshooting VM ProblemsVM Crashes Controlling Linux VM Crashdump BehaviourTroubleshooting Boot Problems on Linux VMs