CN114595089A - Hard disk remote diagnosis method, system, terminal and storage medium - Google Patents
Hard disk remote diagnosis method, system, terminal and storage medium Download PDFInfo
- Publication number
- CN114595089A CN114595089A CN202210264566.XA CN202210264566A CN114595089A CN 114595089 A CN114595089 A CN 114595089A CN 202210264566 A CN202210264566 A CN 202210264566A CN 114595089 A CN114595089 A CN 114595089A
- Authority
- CN
- China
- Prior art keywords
- hard disk
- information
- target server
- diagnostic
- collect
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 238000004171 remote diagnosis Methods 0.000 title claims abstract description 15
- 238000013515 script Methods 0.000 claims abstract description 34
- 230000002452 interceptive effect Effects 0.000 claims abstract description 18
- 238000003745 diagnosis Methods 0.000 claims abstract description 16
- 238000004806 packaging method and process Methods 0.000 claims abstract description 4
- 230000003993 interaction Effects 0.000 claims description 4
- 238000004590 computer program Methods 0.000 claims description 3
- 238000012790 confirmation Methods 0.000 claims description 3
- 238000012423 maintenance Methods 0.000 abstract description 3
- 238000004891 communication Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000006467 substitution reaction Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/079—Root cause analysis, i.e. error or fault diagnosis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0706—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
- G06F11/0727—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in a storage system, e.g. in a DASD or network based storage system
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
技术领域technical field
本发明涉及硬盘技术领域,具体涉及一种硬盘远程诊断方法、系统、终端及存储介质。The invention relates to the technical field of hard disks, in particular to a method, system, terminal and storage medium for remote diagnosis of hard disks.
背景技术Background technique
目前随着SSD出货量的增加,不同的客户可能遇到各种问题。原始的收集日志方式方法一般为发现有问题的硬盘直接收集该盘的部分信息,然后进行后续定位和优化。但在实际使用中仍存下以下问题:At present, with the increase of SSD shipments, different customers may encounter various problems. The original method of collecting logs is generally to directly collect part of the information of the hard disk that is found to be problematic, and then perform subsequent positioning and optimization. However, the following problems still exist in practical use:
随着实际使用者的增多收集日志越来越耗费时间,且对应机器上可能存在不同厂家不同容量的硬盘。当服务器的规模不断增加,几百甚至上千块盘中如果部分盘出现问题的话诊断日志的收集和分析,急需快速准确的收集方式。With the increase of actual users, it takes more and more time to collect logs, and there may be hard disks of different manufacturers and different capacities on the corresponding machine. When the scale of the server continues to increase, if there is a problem with some of the hundreds or even thousands of disks, the collection and analysis of diagnostic logs requires a fast and accurate collection method.
目前客户场景大部分为两地多中心的模式,常规的现场问题诊断方式已经无法满足当前的场景。通过远程的方式,可节约大量时间和人力成本。At present, most of the customer scenarios are two-site multi-center models, and the conventional on-site problem diagnosis methods can no longer meet the current scenarios. Through the remote way, a lot of time and labor costs can be saved.
发明内容SUMMARY OF THE INVENTION
针对现有技术无法大批量收集硬盘诊断日志的问题,本发明提供一种硬盘远程诊断方法、系统、终端及存储介质,以解决上述技术问题。Aiming at the problem that the prior art cannot collect hard disk diagnostic logs in large quantities, the present invention provides a hard disk remote diagnosis method, system, terminal and storage medium to solve the above technical problems.
第一方面,本发明提供一种硬盘远程诊断方法,包括:In a first aspect, the present invention provides a hard disk remote diagnosis method, comprising:
通过交互工具远程访问目标服务器,并在目标服务器的指定路径下存放信息收集脚本;Remotely access the target server through interactive tools, and store the information collection script in the specified path of the target server;
利用所述信息收集脚本收集目标服务器的硬盘信息;Use the information collection script to collect the hard disk information of the target server;
根据硬盘信息选取匹配的诊断工具收集硬盘诊断信息,将所述硬盘诊断信息打包并以硬盘信息命名后上报。According to the hard disk information, a matching diagnostic tool is selected to collect the hard disk diagnostic information, and the hard disk diagnostic information is packaged and named after the hard disk information, and then reported.
进一步的,通过交互工具远程访问目标服务器,并在目标服务器的指定路径下存放信息收集脚本,包括:Further, remotely access the target server through the interactive tool, and store the information collection script in the specified path of the target server, including:
确认目标服务器硬盘槽位存在可发现外接设备;Confirm that the hard disk slot of the target server exists to discover external devices;
以合法IP通过安全外壳协议及远程交互工具登录目标服务器;Log in to the target server with a legal IP through the secure shell protocol and remote interactive tools;
将封装加密好的收集脚本存放至目标服务器的指定路径下。Store the packaged and encrypted collection scripts in the specified path of the target server.
进一步的,利用所述信息收集脚本收集目标服务器的硬盘信息,包括:Further, use the information collection script to collect the hard disk information of the target server, including:
所述信息收集脚本通过外接设备显示命令和列出块设备命令获取硬盘槽位与硬盘的对应关系,并在识别硬盘后获取硬盘的唯一编号、型号、容量。The information collection script obtains the corresponding relationship between the hard disk slot and the hard disk through the external device display command and the block device listing command, and obtains the unique number, model and capacity of the hard disk after identifying the hard disk.
进一步的,根据硬盘信息选取匹配的诊断工具收集硬盘诊断信息,将所述硬盘诊断信息打包并以硬盘信息命名后上报,包括:Further, select a matching diagnostic tool to collect hard disk diagnostic information according to the hard disk information, package the hard disk diagnostic information and report it after naming the hard disk information, including:
根据硬盘型号选取匹配的诊断工具,启用所述诊断工具收集硬盘的诊断信息;Select a matching diagnostic tool according to the hard disk model, and enable the diagnostic tool to collect the diagnostic information of the hard disk;
将所述诊断信息打包后以硬盘唯一编号和型号命名。After the diagnostic information is packaged, it is named after the unique serial number and model of the hard disk.
第二方面,本发明提供一种硬盘远程诊断系统,包括:In a second aspect, the present invention provides a hard disk remote diagnosis system, comprising:
远程交互单元,用于通过交互工具远程访问目标服务器,并在目标服务器的指定路径下存放信息收集脚本;The remote interactive unit is used to remotely access the target server through the interactive tool, and store the information collection script under the specified path of the target server;
信息收集单元,用于利用所述信息收集脚本收集目标服务器的硬盘信息;an information collection unit, used for collecting the hard disk information of the target server by using the information collection script;
诊断执行单元,用于根据硬盘信息选取匹配的诊断工具收集硬盘诊断信息,将所述硬盘诊断信息打包并以硬盘信息命名后上报。The diagnosis execution unit is configured to select a matching diagnosis tool according to the hard disk information to collect the hard disk diagnosis information, package the hard disk diagnosis information, name the hard disk information and report it.
进一步的,所述远程交互单元包括:Further, the remote interaction unit includes:
目标确认模块,用于确认目标服务器硬盘槽位存在可发现外接设备;The target confirmation module is used to confirm the existence of the external device that can be found in the hard disk slot of the target server;
远程登录模块,用于以合法IP通过安全外壳协议及远程交互工具登录目标服务器;The remote login module is used to log in to the target server with a legal IP through the secure shell protocol and remote interactive tools;
脚本存放模块,用于将封装加密好的收集脚本存放至目标服务器的指定路径下。The script storage module is used to store the encapsulated and encrypted collection scripts in the specified path of the target server.
进一步的,所述信息收集单元包括:Further, the information collection unit includes:
硬盘识别模块,用于所述信息收集脚本通过外接设备显示命令和列出块设备命令获取硬盘槽位与硬盘的对应关系,并在识别硬盘后获取硬盘的唯一编号、型号、容量。The hard disk identification module is used for the information collection script to obtain the corresponding relationship between the hard disk slot and the hard disk through the external device display command and the list block device command, and to obtain the unique number, model and capacity of the hard disk after identifying the hard disk.
进一步的,所述诊断执行单元包括:Further, the diagnosis execution unit includes:
工具选取模块,用于根据硬盘型号选取匹配的诊断工具,启用所述诊断工具收集硬盘的诊断信息;a tool selection module, used for selecting a matching diagnostic tool according to the hard disk model, and enabling the diagnostic tool to collect the diagnostic information of the hard disk;
文件命名模块,用于将所述诊断信息打包后以硬盘唯一编号和型号命名。The file naming module is used to name the diagnostic information with the unique serial number and model of the hard disk after packaging the diagnostic information.
第三方面,提供一种终端,包括:In a third aspect, a terminal is provided, including:
处理器、存储器,其中,processor, memory, which,
该存储器用于存储计算机程序,The memory is used to store computer programs,
该处理器用于从存储器中调用并运行该计算机程序,使得终端执行上述的终端的方法。The processor is used to call and run the computer program from the memory, so that the terminal executes the above-mentioned method of the terminal.
第四方面,提供了一种计算机存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。In a fourth aspect, a computer storage medium is provided, and instructions are stored in the computer-readable storage medium, which, when executed on a computer, cause the computer to perform the methods described in the above aspects.
本发明的有益效果在于,本发明提供的硬盘远程诊断方法、系统、终端及存储介质,采用自动识别服务器槽位,利用槽位和硬盘对应关系获取硬盘的编号、容量、固件版本、型号等信息作为诊断信息的唯一标识,支持raid模式并一并收集当前系统的信息。同时利用同一局域网内远程技术,实现自动化的多容量多版本远程打包诊断信息并回传的方法。本发明可批量获取硬盘诊断信息,效率高且降低运维成本,减少人力投入。The beneficial effect of the present invention is that the hard disk remote diagnosis method, system, terminal and storage medium provided by the present invention adopt automatic identification of the server slot, and use the corresponding relationship between the slot and the hard disk to obtain information such as the number, capacity, firmware version, model and the like of the hard disk As the unique identifier of diagnostic information, it supports raid mode and collects current system information together. At the same time, the remote technology in the same local area network is used to realize the automatic multi-capacity and multi-version remote package diagnosis information and return it. The present invention can obtain hard disk diagnostic information in batches, has high efficiency, reduces operation and maintenance costs, and reduces manpower input.
此外,本发明设计原理可靠,结构简单,具有非常广泛的应用前景。In addition, the present invention has reliable design principle and simple structure, and has a very wide application prospect.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. In other words, other drawings can also be obtained based on these drawings without creative labor.
图1是本发明一个实施例的方法的示意性流程图。FIG. 1 is a schematic flowchart of a method according to an embodiment of the present invention.
图2是本发明一个实施例的系统的示意性框图。FIG. 2 is a schematic block diagram of a system according to an embodiment of the present invention.
图3为本发明实施例提供的一种终端的结构示意图。FIG. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本发明中的技术方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to make those skilled in the art better understand the technical solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described The embodiments are only some of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
图1是本发明一个实施例的方法的示意性流程图。其中,图1执行主体可以为一种硬盘远程诊断系统。FIG. 1 is a schematic flowchart of a method according to an embodiment of the present invention. Wherein, the executive body of FIG. 1 may be a hard disk remote diagnosis system.
如图1所示,该方法包括:As shown in Figure 1, the method includes:
步骤110,通过交互工具远程访问目标服务器,并在目标服务器的指定路径下存放信息收集脚本;
步骤120,利用所述信息收集脚本收集目标服务器的硬盘信息;
步骤130,根据硬盘信息选取匹配的诊断工具收集硬盘诊断信息,将所述硬盘诊断信息打包并以硬盘信息命名后上报。Step 130: Select a matching diagnostic tool according to the hard disk information to collect the hard disk diagnostic information, package the hard disk diagnostic information, name the hard disk information and report it.
为了便于对本发明的理解,下面以本发明硬盘远程诊断方法的原理,结合实施例中对硬盘进行远程诊断的过程,对本发明提供的硬盘远程诊断方法做进一步的描述。In order to facilitate the understanding of the present invention, the following further describes the hard disk remote diagnosis method provided by the present invention based on the principle of the hard disk remote diagnosis method of the present invention and the process of remote diagnosis of the hard disk in the embodiment.
具体的,所述硬盘远程诊断方法包括:Specifically, the hard disk remote diagnosis method includes:
S1、通过交互工具远程访问目标服务器,并在目标服务器的指定路径下存放信息收集脚本。S1. Remotely access the target server through an interactive tool, and store an information collection script in a designated path of the target server.
确认客户服务器已经插入ssd盘的槽位并可发现pcie设备,通过安全外壳协议SSH、sshpass交互工具,以正确的IP访问SSD所在服务器,登录且将封装加密好的收集脚本存放于合适路径。Confirm that the client server has been inserted into the slot of the SSD disk and can discover the pcie device. Use the secure shell protocol SSH and sshpass interactive tools to access the server where the SSD is located with the correct IP, log in, and store the packaged and encrypted collection script in a suitable path.
S2、利用所述信息收集脚本收集目标服务器的硬盘信息。S2. Use the information collection script to collect the hard disk information of the target server.
识别当前SSD盘:通过服务器lspci命令和lsblk命令,获取不同槽位和硬盘的对应关系并输出定性到固件的txt文件,同时确认硬盘是否可以识别。若可识别则按照硬盘的唯一编号SN命名各种诊断文件,否则按照pcie的编号对硬盘的诊断信息进行命令,同时支持raid模式和非raid模式下的信息收集。Identify the current SSD: Use the server lspci and lsblk commands to obtain the correspondence between different slots and hard disks, and output the txt file qualitatively to the firmware. At the same time, confirm whether the hard disk can be recognized. If it is identifiable, name various diagnostic files according to the unique number SN of the hard disk. Otherwise, command the diagnostic information of the hard disk according to the number of pcie, and support information collection in both raid mode and non-raid mode.
S3、根据硬盘信息选取匹配的诊断工具收集硬盘诊断信息,将所述硬盘诊断信息打包并以硬盘信息命名后上报。S3. Select a matching diagnostic tool according to the hard disk information to collect the hard disk diagnostic information, package the hard disk diagnostic information, name the hard disk information and report it.
通过上面输出的txt文件,可确认硬盘的容量和型号编码等关键信息。并根据不同型号选择不同inspurmgr工具进行硬盘信息的收集同时用盘的唯一编号SN+型号作为该盘的诊断信息标识,最终将诊断信息进行打包记录以便尽快定位问题使用。其中inspurmgr工具为在标准nvme协议基础上开发的单独支持本方案的程序,除兼容基本的nvme命令外还支持针对浪潮NS6510G1、NS8500G1、NS8510G1不同型号盘进行smart-log、vendor-log、alllog、128k、坏块表、PE表以及温度等诊断信息的收集。Through the txt file output above, you can confirm key information such as the capacity and model code of the hard disk. According to different models, different inspurmgr tools are selected to collect hard disk information. At the same time, the unique number SN+ model of the disk is used as the diagnostic information identification of the disk. Finally, the diagnostic information is packaged and recorded so as to locate the problem as soon as possible. The inspurmgr tool is a program developed on the basis of the standard nvme protocol to independently support this solution. In addition to being compatible with basic nvme commands, it also supports smart-log, vendor-log, alllog, 128k for different types of Inspur NS6510G1, NS8500G1, and NS8510G1 disks. , bad block table, PE table and collection of diagnostic information such as temperature.
如图2所示,该系统200包括:As shown in Figure 2, the system 200 includes:
远程交互单元210,用于通过交互工具远程访问目标服务器,并在目标服务器的指定路径下存放信息收集脚本;The remote interaction unit 210 is used to remotely access the target server through the interactive tool, and store the information collection script under the specified path of the target server;
信息收集单元220,用于利用所述信息收集脚本收集目标服务器的硬盘信息;an information collection unit 220, configured to collect the hard disk information of the target server by using the information collection script;
诊断执行单元230,用于根据硬盘信息选取匹配的诊断工具收集硬盘诊断信息,将所述硬盘诊断信息打包并以硬盘信息命名后上报。The diagnostic execution unit 230 is configured to select a matching diagnostic tool according to the hard disk information to collect the hard disk diagnostic information, package the hard disk diagnostic information, name the hard disk information and report it.
可选地,作为本发明一个实施例,所述远程交互单元包括:Optionally, as an embodiment of the present invention, the remote interaction unit includes:
目标确认模块,用于确认目标服务器硬盘槽位存在可发现外接设备;The target confirmation module is used to confirm the existence of the external device that can be found in the hard disk slot of the target server;
远程登录模块,用于以合法IP通过安全外壳协议及远程交互工具登录目标服务器;The remote login module is used to log in to the target server with a legal IP through the secure shell protocol and remote interactive tools;
脚本存放模块,用于将封装加密好的收集脚本存放至目标服务器的指定路径下。The script storage module is used to store the encapsulated and encrypted collection scripts in the specified path of the target server.
可选地,作为本发明一个实施例,所述信息收集单元包括:Optionally, as an embodiment of the present invention, the information collection unit includes:
硬盘识别模块,用于所述信息收集脚本通过外接设备显示命令和列出块设备命令获取硬盘槽位与硬盘的对应关系,并在识别硬盘后获取硬盘的唯一编号、型号、容量。The hard disk identification module is used for the information collection script to obtain the corresponding relationship between the hard disk slot and the hard disk through the external device display command and the list block device command, and to obtain the unique number, model and capacity of the hard disk after identifying the hard disk.
可选地,作为本发明一个实施例,所述诊断执行单元包括:Optionally, as an embodiment of the present invention, the diagnosis execution unit includes:
工具选取模块,用于根据硬盘型号选取匹配的诊断工具,启用所述诊断工具收集硬盘的诊断信息;a tool selection module, used for selecting a matching diagnostic tool according to the hard disk model, and enabling the diagnostic tool to collect the diagnostic information of the hard disk;
文件命名模块,用于将所述诊断信息打包后以硬盘唯一编号和型号命名。The file naming module is used to name the diagnostic information with the unique serial number and model of the hard disk after packaging the diagnostic information.
图3为本发明实施例提供的一种终端300的结构示意图,该终端300可以用于执行本发明实施例提供的硬盘远程诊断方法。FIG. 3 is a schematic structural diagram of a terminal 300 according to an embodiment of the present invention, where the terminal 300 can be used to execute the method for remote diagnosis of a hard disk provided by the embodiment of the present invention.
其中,该终端300可以包括:处理器310、存储器320及通信单元330。这些组件通过一条或多条总线进行通信,本领域技术人员可以理解,图中示出的服务器的结构并不构成对本发明的限定,它既可以是总线形结构,也可以是星型结构,还可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。The terminal 300 may include: a
其中,该存储器320可以用于存储处理器310的执行指令,存储器320可以由任何类型的易失性或非易失性存储终端或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。当存储器320中的执行指令由处理器310执行时,使得终端300能够执行以下上述方法实施例中的部分或全部步骤。Wherein, the
处理器310为存储终端的控制中心,利用各种接口和线路连接整个电子终端的各个部分,通过运行或执行存储在存储器320内的软件程序和/或模块,以及调用存储在存储器内的数据,以执行电子终端的各种功能和/或处理数据。所述处理器可以由集成电路(Integrated Circuit,简称IC)组成,例如可以由单颗封装的IC所组成,也可以由连接多颗相同功能或不同功能的封装IC而组成。举例来说,处理器310可以仅包括中央处理器(Central Processing Unit,简称CPU)。在本发明实施方式中,CPU可以是单运算核心,也可以包括多运算核心。The
通信单元330,用于建立通信信道,从而使所述存储终端可以与其它终端进行通信。接收其他终端发送的用户数据或者向其他终端发送用户数据。The
本发明还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时可包括本发明提供的各实施例中的部分或全部步骤。所述的存储介质可为磁碟、光盘、只读存储记忆体(英文:read-only memory,简称:ROM)或随机存储记忆体(英文:random access memory,简称:RAM)等。The present invention also provides a computer storage medium, wherein the computer storage medium can store a program, and when the program is executed, it can include some or all of the steps in the embodiments provided by the present invention. The storage medium may be a magnetic disk, an optical disk, a read-only memory (English: read-only memory, ROM for short) or a random access memory (English: random access memory, RAM for short).
因此,本发明采用自动识别服务器槽位,利用槽位和硬盘对应关系获取硬盘的编号、容量、固件版本、型号等信息作为诊断信息的唯一标识,支持raid模式并一并收集当前系统的信息。同时利用同一局域网内远程技术,实现自动化的多容量多版本远程打包诊断信息并回传的方法。本发明可批量获取硬盘诊断信息,效率高且降低运维成本,减少人力投入,本实施例所能达到的技术效果可以参见上文中的描述,此处不再赘述。Therefore, the present invention adopts automatic identification of the server slot, utilizes the corresponding relationship between the slot and the hard disk to obtain the number, capacity, firmware version, model and other information of the hard disk as the unique identifier of the diagnostic information, supports the raid mode and collects the information of the current system together. At the same time, the remote technology in the same local area network is used to realize the automatic multi-capacity and multi-version remote package diagnosis information and return it. The present invention can obtain hard disk diagnostic information in batches, has high efficiency, reduces operation and maintenance costs, and reduces manpower input. The technical effects that can be achieved in this embodiment can be referred to the above description, and will not be repeated here.
本领域的技术人员可以清楚地了解到本发明实施例中的技术可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本发明实施例中的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中如U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质,包括若干指令用以使得一台计算机终端(可以是个人计算机,服务器,或者第二终端、网络终端等)执行本发明各个实施例所述方法的全部或部分步骤。Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention can be embodied in the form of software products in essence or in the parts that make contributions to the prior art. The computer software products are stored in a storage medium such as a USB flash drive, a mobile Hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes, including several instructions to make a computer terminal (It may be a personal computer, a server, or a second terminal, a network terminal, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention.
本说明书中各个实施例之间相同相似的部分互相参见即可。尤其,对于终端实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例中的说明即可。It is sufficient to refer to each other for the same and similar parts among the various embodiments in this specification. In particular, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the description in the method embodiment.
在本发明所提供的几个实施例中,应该理解到,所揭露的系统和方法,可以通过其它的方式实现。例如,以上所描述的系统实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,系统或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed system and method may be implemented in other manners. For example, the system embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection between systems or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
尽管通过参考附图并结合优选实施例的方式对本发明进行了详细描述,但本发明并不限于此。在不脱离本发明的精神和实质的前提下,本领域普通技术人员可以对本发明的实施例进行各种等效的修改或替换,而这些修改或替换都应在本发明的涵盖范围内/任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。Although the present invention has been described in detail in conjunction with the preferred embodiments with reference to the accompanying drawings, the present invention is not limited thereto. Without departing from the spirit and essence of the present invention, those of ordinary skill in the art can make various equivalent modifications or substitutions to the embodiments of the present invention, and these modifications or substitutions should all fall within the scope of the present invention/any Those skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should all be included within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210264566.XA CN114595089A (en) | 2022-03-17 | 2022-03-17 | Hard disk remote diagnosis method, system, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210264566.XA CN114595089A (en) | 2022-03-17 | 2022-03-17 | Hard disk remote diagnosis method, system, terminal and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114595089A true CN114595089A (en) | 2022-06-07 |
Family
ID=81811051
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210264566.XA Pending CN114595089A (en) | 2022-03-17 | 2022-03-17 | Hard disk remote diagnosis method, system, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114595089A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115118630A (en) * | 2022-07-29 | 2022-09-27 | 济南浪潮数据技术有限公司 | A method for obtaining hard disk health information and related components |
-
2022
- 2022-03-17 CN CN202210264566.XA patent/CN114595089A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115118630A (en) * | 2022-07-29 | 2022-09-27 | 济南浪潮数据技术有限公司 | A method for obtaining hard disk health information and related components |
CN115118630B (en) * | 2022-07-29 | 2024-07-16 | 济南浪潮数据技术有限公司 | Method for acquiring hard disk health information and related components |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111475106A (en) | RAID customization creating method, system, terminal and storage medium | |
CN110865944A (en) | Data analysis method and device for test case, storage medium and test equipment | |
WO2017017691A1 (en) | Testing computing devices | |
CN110851471A (en) | Distributed log data processing method, device and system | |
CN117194198A (en) | IO performance test method, system, terminal and storage medium | |
CN112269697A (en) | A device storage performance testing method, system and related device | |
CN113821200B (en) | Draggable modeling method and system for big data task, storage medium and terminal | |
CN112214384A (en) | Hard disk serial number management method, system, terminal and storage medium | |
WO2024250776A1 (en) | Fault detection method and apparatus for external device | |
CN114595089A (en) | Hard disk remote diagnosis method, system, terminal and storage medium | |
CN112486785B (en) | Method, system, terminal and storage medium for positioning downtime phase of server | |
CN108985402A (en) | A kind of RAID card information acquisition method and relevant apparatus | |
CN109920466B (en) | Hard disk test data analysis method, device, terminal and storage medium | |
CN111858198A (en) | A multi-scheme memory plugging test method, system, terminal and storage medium | |
CN114003419B (en) | A method, system and device for automatically testing memory RAS characteristics based on OSES | |
CN112463504B (en) | Double-control storage product testing method, system, terminal and storage medium | |
CN112256500B (en) | Storage system test server configuration method, system, terminal and storage medium | |
CN109525642B (en) | A method for automatic reporting of customer data in LIMS system under user mechanism | |
CN113204485A (en) | Memory database pressure testing method, system, terminal and storage medium | |
CN112905415A (en) | Serial port log file acquisition method and device and related components | |
CN118535103B (en) | Storage array deployment method, device, storage system, electronic and computer equipment | |
CN113760696A (en) | Program problem positioning method and device, electronic equipment and storage medium | |
CN111475208A (en) | Disk device naming method, system, terminal and storage medium | |
CN114356624B (en) | Positioning method, system, terminal and storage medium of composite CRC error reporting information | |
CN118075113A (en) | Network configuration method, device, equipment, storage medium and product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |