Installation guide

Chapter 35. Troubleshooting Xen
This chapter covers essential concepts to assist you in troubleshooting problems in Xen.
Troubleshooting topics covered in this chapter include:
troubleshooting tools for Linux and virtualization.
troubleshooting techniques for identifying problems.
The location of log files and explanations of the information in logs.
This chapter is to give you, the reader, a background to identify where problems with virtualization
technologies are. Troubleshooting takes practice and experience which are difficult to learn from a
book. It is recommended that you experiment and test virtualization on Red Hat Enterprise Linux to
develop your troubleshooting skills.
If you cannot find the answer in this document there may be an answer online from the virtualization
community. See Section A.1, “Online resources for a list of Linux virtualization websites.
35.1. Debugging and t roubleshoot ing Xen
This section summarizes the System Administrator applications, the networking utilities, and
debugging tools. You can employ these standard System administration tools and logs to assist with
troubleshooting:
Usef ul co mman d s an d ap p licat io n s f o r t ro u b lesh oo t in g
xentop
xentop displays real-time information about a host system and the guest domains.
xm
Using the dmesg and log
vmstat
iostat
lsof
The iostat, mpstat and sar commands are all provided by the sysstat package.
You can employ these Advanced Debugging Tools and logs to assist with troubleshooting:
XenOprofile
systemtap
crash
sysrq
sysrq t
sysrq w
Part VIII. T roubleshoot ing
331