Citrix Systems 5.5.0 Washer User Manual


 
XenServer Virtual Machine Installation Guide Troubleshooting VM problems 40
2. Change the actions-after-crash value using xe vm-param-set; for example:
xe vm-param-set uuid=<vm_uuid> actions-after-crash=coredump_and_restart
Controlling Windows VM Crashdump Behaviour
For Windows VMs, the core dump behavior cannot be controlled by the actions-af-
ter-crash parameter. By default Windows crash dumps are put into %SystemRoot%
\Minidump in the Windows VM itself.
You can configure the VMs dump level by following the menu path My Computer > Properties
> Advanced > Startup and Recovery.
Troubleshooting boot problems on Linux VMs
There is a utility script named xe-edit-bootloader in the XenServer host control domain which
can be used to edit the bootloader configuration of a shutdown Linux VM. This can be used to
fix problems which are preventing it from booting.
To use this script:
1. Run the command
xe vm-list
to ensure that the VM in question is shut down (the value of power-state will be halted).
2. You can use the UUID as follows:
xe-edit-bootloader -u <linux_vm_uuid> -p <partition_number>
or the name-label as follows:
xe-edit-bootloader -n <linux_vm_name_label> -p <partition_number>
The partition number represents the slice of the disk which has the filesystem. In the case
of the default Debian template, this is 1 since it is the first partition.
3. You will be dropped into an editor with the grub.conf file for the specified VM loaded. Make
the changes to fix it, and save the file, exit the editor, and start the VM.