CN104134467A - Method for testing reliability of storage system - Google Patents
Method for testing reliability of storage system Download PDFInfo
- Publication number
- CN104134467A CN104134467A CN201410363959.1A CN201410363959A CN104134467A CN 104134467 A CN104134467 A CN 104134467A CN 201410363959 A CN201410363959 A CN 201410363959A CN 104134467 A CN104134467 A CN 104134467A
- Authority
- CN
- China
- Prior art keywords
- tested
- storage system
- test
- test procedure
- module
- 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
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
The invention discloses a method for testing the reliability of a storage system. The method comprises the following steps that: an intelligent rebooting machine is set, so that the intelligent rebooting machine periodically supplies electricity to the storage system to be tested; and the storage system to be tested is tested is a preset time of each electricity supply period, and the test result is stored. The method provided by the invention has the advantage that the test efficiency is improved.
Description
Technical field
The present invention relates to computer memory technical, espespecially a kind of method of test storage system reliability.
Background technology
Along with the continuous expansion of storage system scale, the problem of system reliability is subject to people's attention gradually.Any loss of data all can cause huge loss.(the IDC of Internet data center, Internet Data Center) represent: " enterprise is in the time selecting data-storage system; the factor of overriding concern is exactly the reliability of system, particularly for key application, harsher to the reliability requirement of storage system.
Therefore, need to test the reliability of storage system.The method of existing test storage system reliability is by manually powering up operation, after system to be stored starts, enters storage system and uses storage system status order to inquire about the state of storage system, carries out reliability testing.
In existing method of testing, because the problem occurring in system starting process is (as hardware device is lost, software startup blocks etc.) be contingency, therefore need storage system repeatedly to test, this is powered on and power-off to storage system, waste so a large amount of manpowers, reduced testing efficiency simultaneously.
Summary of the invention
In order to address the above problem, the present invention proposes a kind of method of test storage system reliability, can improve testing efficiency.
In order to achieve the above object, the present invention proposes a kind of method of detection of stored system reliability, comprising:
Intelligent restarting machine is set, and making Intelligent restarting machine is periodically power supply of storage system to be tested;
In the Preset Time of each power-up period, treat test storage system and test, and preserve test result.
Preferably, before the method, also comprise:
In described storage system to be tested, preserve in advance the test procedure for described storage system to be tested is tested;
Revise the boot files of described storage system to be tested, make to automatically perform described test procedure after described storage system startup to be tested.
Preferably, the boot files of described amendment storage system to be tested comprises:
Open the boot files of described storage system to be tested;
The order that automatically performs of test procedure is added in the boot files of described storage system to be tested.
Preferably, the described test storage system for the treatment of in the Preset Time of each power-up period is tested and is comprised:
Described test procedure sends querying command to the module to be tested in described storage system to be tested, and described module to be tested receives after described querying command, returns to the status information of described module to be tested to described test procedure.
Compared with prior art, the present invention includes: Intelligent restarting machine is set, and making Intelligent restarting machine is periodically power supply of storage system to be tested; In the Preset Time of each power-up period, treat test storage system and test, and preserve test result.By the solution of the present invention, Intelligent restarting machine is set, making Intelligent restarting machine is periodically power supply of storage system to be tested, powers up and power-off, thereby improved testing efficiency and do not need manually repeatedly to treat test storage system.
Brief description of the drawings
Below the accompanying drawing in the embodiment of the present invention is described, the accompanying drawing in embodiment is for a further understanding of the present invention, is used from explanation the present invention with instructions one, does not form limiting the scope of the invention.
Fig. 1 is the method flow diagram of detection of stored system reliability of the present invention.
Embodiment
For the ease of those skilled in the art's understanding, below in conjunction with accompanying drawing, the invention will be further described, can not be used for limiting the scope of the invention.
Referring to Fig. 1, the present invention proposes a kind of method of detection of stored system reliability, in storage system to be tested, preserve in advance for treating the test procedure that test storage system is tested; Revise the boot files of storage system to be tested, make to automatically perform test procedure after storage system startup to be tested.
Wherein, storage system to be tested is linux system.
Wherein, the boot files of revising storage system to be tested comprises:
Open the boot files of storage system to be tested, order as follows: vi/etc/rc.d/rc.local; Then the order that automatically performs of test procedure is added in the boot files of storage system to be tested, ordered as follows: sh/root/test.sh &; Like this, after each startup of storage system to be tested, all can automatically perform test procedure.
Wherein, test procedure can be write in advance in storage system to be tested, or in storage system to be tested, preserves in advance.
The method comprises:
Step 100, Intelligent restarting machine is set, making Intelligent restarting machine is periodically power supply of storage system to be tested.
Intelligent restarting machine is a power output apparatus, and alternating current can be externally provided.When being provided, alternating current can, according to user's the requirements set time, meet alternating current is provided within a certain period of time, and the requirement of alternating current is not provided within a certain period of time.
In this step, arranging in the Preset Time of Intelligent restarting machine in a power-up period as storage system to be tested provides alternating current, is 0 direct current for storage system to be tested provides voltage in the other times in a power-up period.So just simulate to storage system to be tested and constantly powered on and the process of power-off.
Wherein, power-up period and Preset Time set in advance, and the T.T. of power supply is the product of power-up period and testing time.
In this step, the interchange output of Intelligent restarting machine is connected with the input that exchanges of storage system to be tested.
Step 101, in the Preset Time of each power-up period, treat test storage system and test, and preserve test result.
In this step, the status information that test result is module to be tested.
In this step, in the Preset Time of each power-up period, treat test storage system and test and comprise:
Test procedure sends querying command to the module to be tested in storage system to be tested, module to be tested receives after querying command, status information (as normally, or wrong etc.) from module to be tested to test procedure that return to, test procedure is preserved the status information receiving.
For example, querying command is sys_status get module_1, sys_status get module_2, and when dmesg|grep error, the test result of output is: module_1 status ok, module_2 status ok, module_3 status ok.From test result, specification module 1, module 2 and module 3 are normally.
The present invention is connected to after storage system to be measured by Intelligent restarting machine, by the periodicity power supply to storage system to be measured, and does not need by manually constantly powering on and power-off for storage system to be tested, thereby has saved manpower, and improved testing efficiency.
It should be noted that; above-described embodiment understands for the ease of those skilled in the art; be not limited to protection scope of the present invention; do not departing under the prerequisite of inventive concept of the present invention, any apparent replacement and improvement etc. that those skilled in the art make the present invention are all within protection scope of the present invention.
Claims (4)
1. a method for detection of stored system reliability, is characterized in that, comprising:
Intelligent restarting machine is set, and making Intelligent restarting machine is periodically power supply of storage system to be tested;
In the Preset Time of each power-up period, treat test storage system and test, and preserve test result.
2. method according to claim 1, is characterized in that, before the method, also comprises:
In described storage system to be tested, preserve in advance the test procedure for described storage system to be tested is tested;
Revise the boot files of described storage system to be tested, make to automatically perform described test procedure after described storage system startup to be tested.
3. method according to claim 2, is characterized in that, the boot files of described amendment storage system to be tested comprises:
Open the boot files of described storage system to be tested;
The order that automatically performs of test procedure is added in the boot files of described storage system to be tested.
4. method according to claim 2, is characterized in that, the described test storage system for the treatment of in the Preset Time of each power-up period is tested and comprised:
Described test procedure sends querying command to the module to be tested in described storage system to be tested, and described module to be tested receives after described querying command, returns to the status information of described module to be tested to described test procedure.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410363959.1A CN104134467A (en) | 2014-07-28 | 2014-07-28 | Method for testing reliability of storage system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410363959.1A CN104134467A (en) | 2014-07-28 | 2014-07-28 | Method for testing reliability of storage system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104134467A true CN104134467A (en) | 2014-11-05 |
Family
ID=51807114
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410363959.1A Pending CN104134467A (en) | 2014-07-28 | 2014-07-28 | Method for testing reliability of storage system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104134467A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109257249A (en) * | 2018-08-20 | 2019-01-22 | 郑州云海信息技术有限公司 | A kind of network interface card stability test method, apparatus, terminal and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1081546A (en) * | 1992-09-28 | 1994-02-02 | 顾家华 | Energy-saving by ac wave-cutting for motor method and device thereof |
CN101872320A (en) * | 2010-04-16 | 2010-10-27 | 浪潮电子信息产业股份有限公司 | Method for reliability, performance test and statistic of SSD(Solid State Disk) |
CN103019920A (en) * | 2012-12-14 | 2013-04-03 | 浪潮电子信息产业股份有限公司 | Complete machine non-power-off startup and shutdown method based on Linux system |
CN103745586A (en) * | 2014-01-10 | 2014-04-23 | 北京必创科技有限公司 | Data acquisition device |
-
2014
- 2014-07-28 CN CN201410363959.1A patent/CN104134467A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1081546A (en) * | 1992-09-28 | 1994-02-02 | 顾家华 | Energy-saving by ac wave-cutting for motor method and device thereof |
CN101872320A (en) * | 2010-04-16 | 2010-10-27 | 浪潮电子信息产业股份有限公司 | Method for reliability, performance test and statistic of SSD(Solid State Disk) |
CN103019920A (en) * | 2012-12-14 | 2013-04-03 | 浪潮电子信息产业股份有限公司 | Complete machine non-power-off startup and shutdown method based on Linux system |
CN103745586A (en) * | 2014-01-10 | 2014-04-23 | 北京必创科技有限公司 | Data acquisition device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109257249A (en) * | 2018-08-20 | 2019-01-22 | 郑州云海信息技术有限公司 | A kind of network interface card stability test method, apparatus, terminal and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101916201B (en) | Android-based mobile terminal cold-boot method and device | |
CN107122032A (en) | Terminal, crash reset control circuit and method | |
ATE368889T1 (en) | DEVICE AND METHOD FOR MAINTAINING THE DATA STATE OF A PERSONAL COMPUTER IN STANDBY MODE IN CASE OF AN INTERRUPTION IN THE AC POWER SUPPLY | |
CN105847088A (en) | Virtual machine performance testing system based on cloud service | |
CN104615063A (en) | Power management system and method | |
CN104461737A (en) | Memory management method and device thereof | |
CN113867916A (en) | Task processing method and device and electronic equipment | |
CN104517168A (en) | Engineering project construction cost schedule management system | |
CN104346188A (en) | Updating method of substrate management controller and updating system of substrate management controller | |
CN109408129A (en) | A kind of system automatic power-on method and a kind of system of Auto Power On | |
CN105528203A (en) | CPU use control system and method | |
CN105045627A (en) | Method for realizing online update of network card configuration file by server | |
CN104184612B (en) | A kind of method and device of power supply trouble processing | |
CN104134467A (en) | Method for testing reliability of storage system | |
CN107992183B (en) | CPU power consumption limit value optimization method and electronic equipment | |
CN105426281A (en) | Power supply on/off test method and system, and blade server | |
CN105573860A (en) | STD (Suspend to disk) management method and STD management system used in computer system | |
CN104461767B (en) | A kind of information processing method and the first electronic equipment | |
CN111176749A (en) | High-performance computing cluster closing method and device | |
CN104239104B (en) | Method, device and terminal for unloading application program APP | |
CN101971562B (en) | Method, device and system for controlling automatic running process performance | |
CN114201205A (en) | BIOS updating method and device and storage medium | |
CN106484074B (en) | Nonvolatile memory device, nonvolatile memory method, computer system, and method for implementing standby or hibernation | |
US11699470B2 (en) | Efficient memory activation at runtime | |
CN104182301A (en) | Backup method and restore method for Kylin operating 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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20141105 |