How to configure netconsole under Red Hat Enterprise Linux 8 ?
SOLUTION 已验证 - 已更新 2019年三月1日13:51 -
环境
- Red Hat Enterprise Linux 8
- netconsole-service
问题
- How to configure
netconsoleunder Red Hat Enterprise Linux 8 ?
决议
-
netconsoleis configured via the file/etc/sysconfig/netconsole, which is part of thenetconsole-servicepackage. -
This package needs to be installed which provides the
netconsoleservice.
# yum install netconsole-service
- Once package is installed set the variable
SYSLOGADDRto the IP address of thesyslogdserver In the/etc/sysconfig/netconsolefile
SYSLOGADDR=192.168.0.1
- Restart the
netconsole.servicefor the changes to take effect
# systemctl restart netconsole.service
- Enable
netconsole.serviceto run after rebooting the system
# systemctl enable netconsole.service
- The
netconsolemessages from the client logged in the/var/log/messagesfile (default) or in the file specified inrsyslog.conf.
本文介绍如何在RedHat Enterprise Linux 8中配置Netconsole服务。首先,通过安装netconsole-service包提供Netconsole服务。然后,在/etc/sysconfig/netconsole文件中设置SYSLOGADDR变量为syslogd服务器的IP地址。重启netconsole.service并启用服务以便在重启后运行。

被折叠的 条评论
为什么被折叠?



