Installation guide

When deploying Red Hat Enterprise Linux 5 with Virtualization into your network infrastructure, the
host's Virtualization software uses many specific directories for important configuration, log files, and
other utilities. All the Xen logs files are standard ASCII files, and accessible with a text editor:
The Xen configuration directory is /etc/xen/. This directory contains the xend daemon and
other virtual machine configuration files. The networking script files are found in the scripts
directory.
All Xen log files are stored in the /var/log/xen directory.
The default directory for all file-based images is the /var/lib/libvirt/images directory.
Xen kernel information is stored in the /proc/xen/ directory.
35.3. Log file descript ions
Xen features the xend daemon and qemu-dm process, two utilities that write the multiple log files to
the /var/log/xen/ directory:
xend.log is the log file that contains all the data collected by the xend daemon, whether it is a
normal system event, or an operator initiated action. All virtual machine operations (such as
create, shutdown, destroy and so on) appear in this log. The xend.log is usually the first place
to look when you track down event or performance problems. It contains detailed entries and
conditions of the error messages.
xend-debug.log is the log file that contains records of event errors from xend and the
Virtualization subsystems (such as framebuffer, Python scripts, and so on).
xen-hotplug-log is the log file that contains data from hotplug events. If a device or a network
script does not come online, the event appears here.
qemu-dm.[PID].log is the log file created by the qemu-dm process for each fully virtualized
guest. When using this log file, you must retrieve the given qemu-dm process PID, by using the
ps command to examine process arguments to isolate the qemu-dm process on the virtual
machine. Note that you must replace the [PID] symbol with the actual PID qemu-dm process.
If you encounter any errors with the Virtual Machine Manager, you can review the generated data in
the virt-manager.log file that resides in the /.virt-manager directory. Note that every time
you start the Virtual Machine Manager, it overwrites the existing log file contents. Make sure to
backup the virt-manager.log file, before you restart the Virtual Machine manager after a
system error.
35.4. Import ant direct ory locat ions
There are other utilities and log files you should be aware of for tracking errors and troubleshooting
problems with Xen:
Guest images reside in the /var/lib/libvirt/images directory by default.
When you restart the xend daemon, it updates the xend-database that resides in the
/var/lib/xen/xend-db directory.
Virtual machine dumps (that you perform with the xm dump-core command) resides in the
/var/lib/xen/dumps directory.
Chapt er 35. T roub leshoo t ing Xen
333