Este contenido no está disponible en el idioma seleccionado.
18.5. Setting Up a Virtualization Host Logging Server
Red Hat Enterprise Virtualization hosts generate and update log files, recording their actions and problems. Collecting these log files centrally simplifies debugging.
This procedure should be used on your centralized log server. You could use a separate logging server, or use this procedure to enable host logging on the Red Hat Enterprise Virtualization Manager.
Procedure 18.1. Setting up a Virtualization Host Logging Server
- Configure SELinux to allow rsyslog traffic.
semanage port -a -t syslogd_port_t -p udp 514
# semanage port -a -t syslogd_port_t -p udp 514Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Edit
/etc/rsyslog.confand add the following lines:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Uncomment the following:#$ModLoad imudp #$UDPServerRun 514
#$ModLoad imudp #$UDPServerRun 514Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Restart the rsyslog service:
service rsyslog restart
# service rsyslog restartCopy to Clipboard Copied! Toggle word wrap Toggle overflow
Your centralized log server is now configured to receive and store the
messages and secure logs from your virtualization hosts.