HP BL680c XenServer Virtual Machine Installation 4.1.0 - Page 42

C.2. Troubleshooting boot problems on Linux VMs, Troubleshooting VM problems

Page 42 highlights

Troubleshooting VM problems For Windows VMs, the core dump behavior cannot be controlled through the actions-after-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 going into My Computer --> Properties --> Advanced --> Startup and Recovery. C.2. 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: 1. Use 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 -n or the name-label as follows: xe-edit-bootloader -n -n The partition number represents the slice of the disk which has the filesystem. In the case of the default Debian template, this will be 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. 37

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44

Troubleshooting VM problems
37
For Windows VMs, the core dump behavior cannot be controlled through 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 going into My Computer --> Properties --> Advanced
--> Startup and Recovery.
C.2. 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:
1.
Use 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 <UUID of Linux VM> -n <partition number>
or the name-label as follows:
xe-edit-bootloader -n <name-label of Linux VM> -n <partition number>
The partition number represents the slice of the disk which has the filesystem. In the case
of the default Debian template, this will be
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.