Chapter 37. Troubleshooting the Xen para-virtualized drivers
37.1. Red Hat Enterprise Linux 5 Virtualization log file and directories
In Red Hat Enterprise Linux 5, the log file written by the
xend daemon and the
qemu-dm process are all kept in the following directories:
- directory holding all log file generated by the
xenddaemon and qemu-dm process.
- This logfile is used by xend to log any events generate by either normal system events or operator initiated events.
- virtual machine operations such as create, shutdown, destroy etc are all logged in this logfile.
- Usually this logfile will be the first place to look at in the event of a problem. In many cases you will be able to identify the root cause by scanning the logfile and review the entries logged just prior to the actual error message.
- Records error events from xend and its subsystems (from the framebuffer and Python scripts)
- Logs events from hotplug events.
- Event notifications from devices not coming online or network bridges not online are logged in this file.
- This file is created by the
qemu-dmprocess which is started for each fully virtualized guest.
PIDis replaced with the
PIDof the process of the related qemu-dm process
- You can retrieve the
PIDfor a given
qemu-dmprocess using the
pscommand and in looking at the process arguments you can identify the virtual machine the
qemu-dmprocess belongs to.
.virt-managerin the user's
homedirectory whom ran virt-manager. This directory will usually be
There are a few other directories and files which may be of interest when troubleshooting a Red Hat Enterprise Linux 5 Virtualization environment:
- the standard directory for file-based guest images.
- directory that hold the xend database which is generated every time the daemon is restarted.
- Stores a number of configuration files for the Xen hypervisor.
/etc/xen/xend-config.sxpis the main configuration for the xend daemon. The
xend-config.sxpfile enables or disables migration and other features not configured by
libvirt. Use the
libvirttools for all other features.
- Holds dumps generate by virtual machines or when using the
xen-kernelinformation in the following files: