一种记录系统事件日志的方法、装置及受控终端制造方法及图纸

技术编号:20176422 阅读:42 留言:0更新日期:2019-01-23 00:18
本申请实施例提供一种记录系统事件日志的方法、装置及受控终端,所述方法包括:BMC中引入SQLITE数据库;将SEL信息写入SQLITE数据库中;将SEL信息更新至SQLITE数据库,通过SQLITE工具来获取SEL信息;本申请能够舍弃传统的以二进制数据流的形式记录SEL信息,改为由数据库的形式记录SEL信息,当BMC故障时,维护人员可以通过SQLITE工具来获取SEL信息,当需要更新SEL信息表时,只需要对SEL信息表进行相应的更新操作即可,不再需要特殊的软件工具方便运维人员,达到便于开发人员、运维人员管理维护BMC以及服务器的目的。

A Method, Device and Controlled Terminal for Recording System Event Log

The embodiment of this application provides a method, device and controlled terminal for recording system event logs. The methods include: introducing SQLITE database into BMC; writing SEL information into SQLITE database; updating SEL information to SQLITE database and obtaining SEL information through SQLITE tools; abandoning the traditional recording of SEL information in the form of binary data streams, the application can be changed to a number of reasons. SEL information is recorded in the form of database. When BMC fails, maintenance personnel can obtain SEL information through SQLITE tools. When SEL information tables need to be updated, they only need to update SEL information tables accordingly. No special software tools are needed to facilitate operation and maintenance personnel, so as to facilitate the management and maintenance of BMC and servers by developers and maintenance personnel.

【技术实现步骤摘要】
一种记录系统事件日志的方法、装置及受控终端
本专利技术涉及服务器故障监测
,具体涉及一种记录系统事件日志的方法、装置及受控终端。
技术介绍
随着互联网的发展及服务器基数的扩大,对于服务器的运行状况、健康状态的监测提出了更新的要求。IPMI规范中提到的系统事件日志SEL是一种有效的监控服务器运行状况、健康状态的方法,当服务器发生故障时,运维人员可根据SEL信息诊断服务器故障。目前,在BMC的实现中SEL信息都是以二进制数据流的形式存储在Flash中的,这种存储方法需要BMC提供专门的工具来读取SEL信息,一旦BMC的SEL模块出现故障,运维人员便无法获取SEL信息,不利于服务器的维护。因此本专利提出了一种记录系统事件日志的方法、装置及受控终端,能够舍弃传统的以二进制数据流的形式记录SEL信息,便于开发人员、运维人员管理维护BMC以及服务器。
技术实现思路
针对现有技术的不足,本专利技术提供了一种记录系统事件日志的方法、装置及受控终端,舍弃传统的以二进制数据流的形式记录SEL信息,改为由数据库的形式记录SEL信息,达到便于开发人员、运维人员管理维护BMC以及服务器的目的。第一方面,提供本文档来自技高网...

【技术保护点】
1.一种记录系统事件日志的方法,其特征在于,所述方法包括:BMC中引入SQLITE数据库;将SEL信息写入SQLITE数据库中;将SEL信息更新至SQLITE数据库,通过SQLITE工具来获取SEL信息。

【技术特征摘要】
1.一种记录系统事件日志的方法,其特征在于,所述方法包括:BMC中引入SQLITE数据库;将SEL信息写入SQLITE数据库中;将SEL信息更新至SQLITE数据库,通过SQLITE工具来获取SEL信息。2.根据权利要求1所述的方法,其特征在于,所述将SEL信息写入SQLITE数据库中,包括:梳理SEL信息结构,构建SEL信息表,将SEL信息写入SQLITE数据库中。3.一种用于记录系统事件日志的装置,其特征在于,包括:导入单元,所述导入单元用于BMC中引...

【专利技术属性】
技术研发人员:王志强
申请(专利权)人:郑州云海信息技术有限公司
类型:发明
国别省市:河南,41

网友询问留言 已有0条评论
  • 还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。

1