CN105045689A - Method for monitoring and alarming hard disks by using RAID card batch detection - Google Patents
Method for monitoring and alarming hard disks by using RAID card batch detection Download PDFInfo
- Publication number
- CN105045689A CN105045689A CN201510356477.8A CN201510356477A CN105045689A CN 105045689 A CN105045689 A CN 105045689A CN 201510356477 A CN201510356477 A CN 201510356477A CN 105045689 A CN105045689 A CN 105045689A
- Authority
- CN
- China
- Prior art keywords
- hard disk
- hard disks
- raid card
- script
- batch
- 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 28
- 238000001514 detection method Methods 0.000 title claims abstract description 25
- 238000012544 monitoring process Methods 0.000 title abstract description 6
- 238000013515 script Methods 0.000 claims abstract description 23
- 238000005516 engineering process Methods 0.000 abstract description 4
- 238000007689 inspection Methods 0.000 abstract 1
- 230000006870 function Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000002860 competitive effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 239000003989 dielectric material Substances 0.000 description 1
- 230000002349 favourable effect Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a method for monitoring and alarming hard disks by using RAID card batch detection, which relates to the hard disk detection technology, and comprises the steps of analyzing RAID card logs through scripts, carrying out hard disk batch inspection on batch machines, and positioning hard disks with faults or hidden troubles of faults; the method mainly comprises the following steps: firstly, a script for automatically starting the computer is pre-installed in a linux system of the server, secondly, after the server is normally started, the script automatically executes and outputs the states of all hard disks, the conditions of the hard disks with faults or hidden dangers are analyzed and detected, and thirdly, if the hard disks with the faults or the hidden dangers are found, the RAID card sends a positioning instruction to the hard disks, and an indicator light of the hard disks flashes. By the method, the server hard disks can be checked in batches, and the fault hard disks can be confirmed quickly, so that the fault or hidden trouble hard disks can be replaced in time, and the stability and the efficiency of the system are improved.
Description
Technical field
The present invention relates to hard disk detection technique, specifically a kind of method utilizing RAID card batch detection hard disk to monitor and report to the police.
Background technology
Along with the lifting of computer technology and the development of business; and the continuous increase of data center traffic amount; memory data output is also increasing; require that the density of server storage system is also in increase; the quantity of hard disk is also increasing; break down and be also difficult to avoid, once certain block hard disk breaks down, usually can have a strong impact on the normal operation of machine.
Client's mass purchase uses the development of server to company to be favourable, but from another aspect, whether detection hardware has failure problems also to require technician to judge fast.In the face of the hundreds and thousands of even more server of full machine room, how fast detection and location have has the hard disk of hidden danger or fault to be urgent problem.
Summary of the invention
The present invention is directed to the weak point of current needs and prior art development, a kind of method utilizing RAID card batch detection hard disk to monitor and report to the police is provided.
A kind of method utilizing RAID card batch detection hard disk to monitor and report to the police of the present invention, the technical scheme solving the problems of the technologies described above employing is as follows: described batch detection hard disk monitoring and the method for reporting to the police, by the daily record of script RAID card, the hard disk batch carrying out batch machine checks, orients fault or has the hard disk of potential faults; The key step of the method comprises: the first, under server Linux system, install the automatically actuated script of start in advance, the second, after server normal boot-strap, script automatically performs the state of all hard disks of rear output, analyze the situation of detection failure or hidden danger hard disk, if the hard disk that the 3rd finds that there is fault or hidden danger, then allow RAID card send positioning instruction to this hard disk, this hard disk indication lamp is glimmered.
Preferably, described script is integrated with Megacli and Arcconf two instruments, and these two instruments can manage LSI and ADAPTREC two kinds of RAID card respectively.
Preferably, after server normal boot-strap, script automatically performs the daily record of collecting RAID card, exports the state of all hard disks, if mediaerror and predfailcount of hard disk is not 0, then performs locate order to this hard disk and this hard disk is glimmered.
The beneficial effect that a kind of method utilizing RAID card batch detection hard disk to monitor and to report to the police of the present invention compared with prior art has is: the method is by the daily record of script RAID card, server hard disc batch is checked, faulty hard disk can be confirmed fast, significantly improve hard disk failure and determine rate, to change fault or hidden danger hard disk in time, improve stability and the high efficiency of system, and the method can customize script, carry out the hard disk configuration surroundings of applicable different server; Use the method to carry out hard disk failure monitoring and warning, whole operation implementation procedure simple and fast, greatly improves the competitive power of product.
Accompanying drawing explanation
Accompanying drawing 1: the process flow diagram of the described method utilizing RAID card batch detection hard disk to monitor and to report to the police.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly understand, below in conjunction with specific embodiment, and with reference to accompanying drawing, a kind of method utilizing RAID card batch detection hard disk to monitor and to report to the police of the present invention is further described.
A kind of method utilizing RAID card batch detection hard disk to monitor and report to the police of the present invention, by the daily record of script RAID card, the hard disk batch carrying out batch machine checks, orients fault or has the hard disk of potential faults; In the moment of server start, can detect which hard disk has fault or hidden danger by the method, thus fast quick-recovery fault or eliminating hidden danger hard disk, for client's later stage even running provides safeguard.
The execution step of this method utilizing RAID card batch detection hard disk to monitor and report to the police comprises: first, Linux system is installed in advance in server apparatus, second, installation script in advance under Linux system, there is the automatically actuated function of start, 3rd, after server normal boot-strap, the state of all hard disks is exported after automatically performing script, analyze which hard disk of detection and have fault or hidden danger, 4th, if the hard disk of the fault of finding that there is or hidden danger, RAID card is then allowed to send positioning instruction to this hard disk, this hard disk indication lamp is glimmered, can accurately judge which hard disk failure or hidden danger.
Embodiment:
A kind of method utilizing RAID card batch detection hard disk to monitor and report to the police described in the present embodiment, because RAID card itself is all monitored the magnetic head unit of hard disk, hard disk temperature, disc surface dielectric material, motor and drive system, hard drive internal circuit etc., can immediate analysis forecast the contingent problem of hard disk, RAID card is an early warning infringement system of hard disk.When certain data of each attribute are close to (being less than) or reach critical stage value, then represent that hard disk closes on and scrap, or exceed its design operating limit, related personnel should backup in time to problem hard disk or change.
Batch detection hard disk monitoring described in the present embodiment and the method for reporting to the police, concrete execution step is as follows:
Step one, in server apparatus, install Linux system in advance, be embedded into the next script of Linux system, this script has the function of start self-starting, be integrated with Megacli and Arcconf two instruments, these two instruments can manage LSI and ADAPTREC two kinds of RAID card respectively;
Step 2, after server normal boot-strap, automatic script performs the daily record of collecting RAID card, export the state of all hard disks, once mediaerror and predfailcount finding that there is hard disk is not 0, then locate order is performed to this hard disk and this hard disk is glimmered, can be out of order hard disk by quick position, and then change the hard disk having potential risk, as shown in Figure 1.
Batch detection hard disk monitoring described in the present embodiment and the method for reporting to the police, institute uses script shell.sh as follows (RAID card for LSI):
#!/bin/bash
Rpm-iMegaCli-*.noarch.rpm# installs megacli software
Megacli-LdPdInfo-aALL>MgLdPdInfo# collects all hard disk informations
for(i=0,1,i++)
{if(mediaerror!=0||predfailcount!=0)
locatepdi
}
# allows the hard disk of fault or hidden danger glimmer.In addition, described script customizable, with the hard disk configuration surroundings of applicable different server.
Above-mentioned embodiment is only concrete case of the present invention; scope of patent protection of the present invention includes but not limited to above-mentioned embodiment; any claims according to the invention and any person of an ordinary skill in the technical field to its suitable change done or replacement, all should fall into scope of patent protection of the present invention.
Claims (3)
1. the method utilizing RAID card batch detection hard disk to monitor and report to the police, is characterized in that, by the daily record of script RAID card, the hard disk batch carrying out batch machine checks, orients fault or has the hard disk of potential faults; The key step of the method comprises: the first, under server Linux system, install the automatically actuated script of start in advance, the second, after server normal boot-strap, script automatically performs the state of all hard disks of rear output, analyze the situation of detection failure or hidden danger hard disk, if the hard disk that the 3rd finds that there is fault or hidden danger, then allow RAID card send positioning instruction to this hard disk, this hard disk indication lamp is glimmered.
2. according to claim 1 a kind of utilize RAID card batch detection hard disk monitor and report to the police method, it is characterized in that, described script is integrated with Megacli and Arcconf two instruments, and these two instruments can manage LSI and ADAPTREC two kinds of RAID card respectively.
3. according to claim 2 a kind of utilize RAID card batch detection hard disk monitor and report to the police method, it is characterized in that, after server normal boot-strap, script automatically performs the daily record of collecting RAID card, export the state of all hard disks, if mediaerror and predfailcount of hard disk is not 0, then locate order is performed to this hard disk and this hard disk is glimmered.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510356477.8A CN105045689A (en) | 2015-06-25 | 2015-06-25 | Method for monitoring and alarming hard disks by using RAID card batch detection |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510356477.8A CN105045689A (en) | 2015-06-25 | 2015-06-25 | Method for monitoring and alarming hard disks by using RAID card batch detection |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105045689A true CN105045689A (en) | 2015-11-11 |
Family
ID=54452252
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510356477.8A Pending CN105045689A (en) | 2015-06-25 | 2015-06-25 | Method for monitoring and alarming hard disks by using RAID card batch detection |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105045689A (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105528269A (en) * | 2016-01-29 | 2016-04-27 | 浪潮电子信息产业股份有限公司 | Design method for detecting disorder of hard disks based on Itanium platform |
CN105740110A (en) * | 2016-01-29 | 2016-07-06 | 浪潮电子信息产业股份有限公司 | Detection method for smart information of hard disk in linux system |
CN105955875A (en) * | 2016-05-04 | 2016-09-21 | 浪潮电子信息产业股份有限公司 | Device and method for monitoring logs of RAID cards |
CN106021065A (en) * | 2016-05-19 | 2016-10-12 | 浪潮电子信息产业股份有限公司 | Method for automatically detecting bad track information of raid disk under linux |
CN107145415A (en) * | 2017-05-05 | 2017-09-08 | 郑州云海信息技术有限公司 | A kind of method of the batch testing HDD LED under Linux system |
CN107577545A (en) * | 2016-07-05 | 2018-01-12 | 北京金山云网络技术有限公司 | A kind of failed disk detection and restorative procedure and device |
CN107688434A (en) * | 2016-08-04 | 2018-02-13 | 紫光华山信息技术有限公司 | Disk array RAID collocation methods and device |
CN107766191A (en) * | 2017-11-03 | 2018-03-06 | 郑州云海信息技术有限公司 | The automatic detecting storage information of Linux systems and the method for testing of health status |
CN108182136A (en) * | 2018-01-11 | 2018-06-19 | 郑州云海信息技术有限公司 | A kind of system and method for lighting disk positioning lamp in raid |
CN109032891A (en) * | 2018-07-23 | 2018-12-18 | 郑州云海信息技术有限公司 | A kind of cloud computing server hard disk failure prediction technique and device |
CN109189499A (en) * | 2018-08-14 | 2019-01-11 | 中国平安人寿保险股份有限公司 | Management method, device, computer equipment and the storage medium of java applet |
CN109240883A (en) * | 2018-08-30 | 2019-01-18 | 郑州云海信息技术有限公司 | Positioning SMART reports an error method, system, equipment and the storage medium of hard disk |
CN109284207A (en) * | 2018-08-30 | 2019-01-29 | 紫光华山信息技术有限公司 | Hard disc failure processing method, device, server and computer-readable medium |
CN109308237A (en) * | 2018-12-03 | 2019-02-05 | 郑州云海信息技术有限公司 | A kind of method, apparatus, equipment and storage medium detecting storage system hard disk |
CN109710474A (en) * | 2018-12-19 | 2019-05-03 | 郑州云海信息技术有限公司 | A kind of hard disk fault detection method, device, terminal and readable storage medium storing program for executing |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6944800B2 (en) * | 2001-05-11 | 2005-09-13 | Dell Products L.P. | Dynamic display of personal computer support information |
CN102662787A (en) * | 2012-04-20 | 2012-09-12 | 浪潮电子信息产业股份有限公司 | Method for protecting system disk RAID (redundant array of independent disks) |
CN103207820A (en) * | 2013-02-05 | 2013-07-17 | 北京百度网讯科技有限公司 | Method and device for fault positioning of hard disk on basis of raid card log |
CN103970661A (en) * | 2014-05-19 | 2014-08-06 | 浪潮电子信息产业股份有限公司 | Method for batched server memory fault detection through IPMI tool |
-
2015
- 2015-06-25 CN CN201510356477.8A patent/CN105045689A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6944800B2 (en) * | 2001-05-11 | 2005-09-13 | Dell Products L.P. | Dynamic display of personal computer support information |
CN102662787A (en) * | 2012-04-20 | 2012-09-12 | 浪潮电子信息产业股份有限公司 | Method for protecting system disk RAID (redundant array of independent disks) |
CN103207820A (en) * | 2013-02-05 | 2013-07-17 | 北京百度网讯科技有限公司 | Method and device for fault positioning of hard disk on basis of raid card log |
CN103970661A (en) * | 2014-05-19 | 2014-08-06 | 浪潮电子信息产业股份有限公司 | Method for batched server memory fault detection through IPMI tool |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105528269A (en) * | 2016-01-29 | 2016-04-27 | 浪潮电子信息产业股份有限公司 | Design method for detecting disorder of hard disks based on Itanium platform |
CN105740110A (en) * | 2016-01-29 | 2016-07-06 | 浪潮电子信息产业股份有限公司 | Detection method for smart information of hard disk in linux system |
CN105955875A (en) * | 2016-05-04 | 2016-09-21 | 浪潮电子信息产业股份有限公司 | Device and method for monitoring logs of RAID cards |
CN106021065A (en) * | 2016-05-19 | 2016-10-12 | 浪潮电子信息产业股份有限公司 | Method for automatically detecting bad track information of raid disk under linux |
CN107577545B (en) * | 2016-07-05 | 2021-02-02 | 北京金山云网络技术有限公司 | Method and device for detecting and repairing fault disk |
CN107577545A (en) * | 2016-07-05 | 2018-01-12 | 北京金山云网络技术有限公司 | A kind of failed disk detection and restorative procedure and device |
CN107688434B (en) * | 2016-08-04 | 2020-03-06 | 新华三信息技术有限公司 | RAID configuration method and device |
CN107688434A (en) * | 2016-08-04 | 2018-02-13 | 紫光华山信息技术有限公司 | Disk array RAID collocation methods and device |
US10917291B2 (en) | 2016-08-04 | 2021-02-09 | New H3C Information Technologies Co., Ltd. | RAID configuration |
CN107145415A (en) * | 2017-05-05 | 2017-09-08 | 郑州云海信息技术有限公司 | A kind of method of the batch testing HDD LED under Linux system |
CN107766191A (en) * | 2017-11-03 | 2018-03-06 | 郑州云海信息技术有限公司 | The automatic detecting storage information of Linux systems and the method for testing of health status |
CN108182136A (en) * | 2018-01-11 | 2018-06-19 | 郑州云海信息技术有限公司 | A kind of system and method for lighting disk positioning lamp in raid |
CN109032891A (en) * | 2018-07-23 | 2018-12-18 | 郑州云海信息技术有限公司 | A kind of cloud computing server hard disk failure prediction technique and device |
CN109189499A (en) * | 2018-08-14 | 2019-01-11 | 中国平安人寿保险股份有限公司 | Management method, device, computer equipment and the storage medium of java applet |
CN109189499B (en) * | 2018-08-14 | 2024-02-02 | 中国平安人寿保险股份有限公司 | Java program management method, java program management device, computer device and storage medium |
CN109284207A (en) * | 2018-08-30 | 2019-01-29 | 紫光华山信息技术有限公司 | Hard disc failure processing method, device, server and computer-readable medium |
CN109240883A (en) * | 2018-08-30 | 2019-01-18 | 郑州云海信息技术有限公司 | Positioning SMART reports an error method, system, equipment and the storage medium of hard disk |
CN109308237A (en) * | 2018-12-03 | 2019-02-05 | 郑州云海信息技术有限公司 | A kind of method, apparatus, equipment and storage medium detecting storage system hard disk |
CN109710474A (en) * | 2018-12-19 | 2019-05-03 | 郑州云海信息技术有限公司 | A kind of hard disk fault detection method, device, terminal and readable storage medium storing program for executing |
CN109710474B (en) * | 2018-12-19 | 2021-11-19 | 郑州云海信息技术有限公司 | Hard disk fault detection method and device, terminal and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105045689A (en) | Method for monitoring and alarming hard disks by using RAID card batch detection | |
US9245116B2 (en) | Systems and methods for remote monitoring, security, diagnostics, and prognostics | |
CN103455395B (en) | The detection method of a kind of hard disk failure and device | |
CN102279775B (en) | Method for processing failure of hard disk under Linux system | |
CN103207820B (en) | The Fault Locating Method of hard disk and device based on raid card log | |
CN106201828A (en) | A kind of virtual-machine fail detection method based on data mining and system | |
CN102404141B (en) | Method and device of alarm inhibition | |
CN101848477A (en) | Method and system for diagnosing fault | |
CN109933182A (en) | A kind of server power failure diagnostic method, device and system | |
CN107065720A (en) | Intelligent electric machine failure wave-recording early warning system | |
CN108181977B (en) | Server | |
CN109034423B (en) | Fault early warning judgment method, device, equipment and storage medium | |
CN109062723A (en) | The treating method and apparatus of server failure | |
CN102609350A (en) | Server memory failure alarm method | |
CN106773993A (en) | Field data acquiring terminal and system | |
CN109240883A (en) | Positioning SMART reports an error method, system, equipment and the storage medium of hard disk | |
CN110687851A (en) | Terminal operation monitoring system and method | |
CN111048138A (en) | Hard disk fault detection method and related device | |
CN104297680B (en) | A kind of switch detection method and system | |
CN102662787A (en) | Method for protecting system disk RAID (redundant array of independent disks) | |
CN102662820A (en) | Method and device for data protection | |
CN115102838B (en) | Emergency processing method and device for server downtime risk and electronic equipment | |
CN113608959B (en) | Method, system, terminal and storage medium for positioning fault hard disk | |
CN206930947U (en) | Intelligent electric machine failure wave-recording early warning system | |
CN106339285A (en) | Analysis method for accidental restart of LINUX system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20151111 |
|
WD01 | Invention patent application deemed withdrawn after publication |