The embodiment of the present invention discloses a device for acquiring SAS card log and its design and use method. The device includes a controller for reading the log information in SAS card and controlling the reading and writing of the log information; a memory for storing log information in SAS card; and a communication interface for connecting external devices and realizing communication with external devices. The invention integrates MCU and flash chip, simulates the control process of the upper computer, obtains the log information in the SAS card in real time and saves it, thus avoiding the use cost of the upper computer. The device is compact and portable, and can get a lot of log information of SAS card. It realizes long-term storage of SAS card log information and facilitates troubleshooting.
【技术实现步骤摘要】
一种获取SAS卡log的装置及其设计、使用方法
本专利技术涉及服务器测试
,具体地说是一种获取SAS卡log的装置及其设计、使用方法。
技术介绍
SAS(SerialAttachedSCSI,串行连接方式)卡是服务器中常用部件,作为PCIe(peripheralcomponentinterconnectexpress,高速串行计算机扩展总线标准)设备将硬盘管理起来。SAS卡的特点具有PCIe接口、大多只能做Raid0、Raid1、Raid10(Raid,RedundantArraysofIndependentDrives,磁盘阵列)等特点,且SAS卡用于存储log的ringbuffer较小,只能存储少量log。在很多服务器系统中,SAS作为存储子系统的控制器存在。如果SAS卡出现故障,则容易出现掉盘、宕机等故障,以及SAS卡和硬盘的兼容性、SAS卡驱动与OS(OperatingSystem,操作系统)的兼容性等问题也极容易导致掉盘等服务器故障。当出现SAS卡或者存储子系统相关的故障时,SAS卡的log是一种非常重要的分析手段,但是SAS卡的本地存储空间有限, ...
【技术保护点】
1.一种获取SAS卡log的装置,其特征是,包括:控制器,用于读取SAS卡内的log信息,并控制所述log信息的读写;存储器,用于存储SAS卡内的log信息;通信接口,用于连接外接设备并实现与外界设备的通信。
【技术特征摘要】
1.一种获取SAS卡log的装置,其特征是,包括:控制器,用于读取SAS卡内的log信息,并控制所述log信息的读写;存储器,用于存储SAS卡内的log信息;通信接口,用于连接外接设备并实现与外界设备的通信。2.根据权利要求1所述的一种获取SAS卡log的装置,其特征是,所述通信接口包括UART接口和USB-to-UART转接口;所述UART接口用于连接SAS卡,并进行SAS卡与MCU的通信;所述USB-to-UART转接口用于连接上位机,进行上位机与MCU的通信,并将存储器内的log信息传输至上位机。3.根据权利要求2所述的一种获取SAS卡log的装置,其特征是,所述控制器与存储器通过SPI接口进行通信。4.一种权利要求1所述装置的设计方法,其特征是,所述设计方法包括以下步骤:通过控制器与SAS卡通信,获取SAS卡内的log信息,并控制所述log信息的读写;将所述log信息进行存储;设置与外界设备的通信接口。5.根据权利要求4所述的设计方法,其特征是,所述控制器与SAS卡通信的具体...
【专利技术属性】
技术研发人员:孙一心,
申请(专利权)人:郑州云海信息技术有限公司,
类型:发明
国别省市:河南,41
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。