Este conteúdo não está disponível no idioma selecionado.
Chapter 21. Troubleshooting
This chapter covers common problems and solutions for Red Hat Enterprise Linux 6 virtualization issues.
Read this chapter to develop an understanding of some of the common problems associated with virtualization technologies. 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 6 to develop your troubleshooting skills.
If you cannot find the answer in this document there may be an answer online from the virtualization community. Refer to Section B.1, “Online Resources” for a list of Linux virtualization websites.
21.1. Debugging and Troubleshooting Tools Copiar o linkLink copiado para a área de transferência!
Copiar o linkLink copiado para a área de transferência!
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:
kvm_stat
- refer to Section 21.4, “kvm_stat”trace-cmd
ftrace
Refer to the Red Hat Enterprise Linux Developer Guidevmstat
iostat
lsof
systemtap
crash
sysrq
sysrq t
sysrq w
These networking tools can assist with troubleshooting virtualization networking problems:
ifconfig
tcpdump
Thetcpdump
command 'sniffs' network packets.tcpdump
is useful for finding network abnormalities and problems with network authentication. There is a graphical version oftcpdump
namedwireshark
.brctl
brctl
is a networking tool that inspects and configures the Ethernet bridge configuration in the Linux kernel. You must have root access before performing these example commands:Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Listed below are some other useful commands for troubleshooting virtualization.
- strace is a command which traces system calls and events received and used by another process.
- vncviewer: connect to a VNC server running on your server or a virtual machine. Install vncviwer using the
yum install tigervnc
command. - vncserver: start a remote desktop on your server. Gives you the ability to run graphical user interfaces such as virt-manager via a remote session. Install vncserver using the
yum install tigervnc-server
command.