CN106649018B - A kind of test method of the storage system stability with extension cabinet - Google Patents
A kind of test method of the storage system stability with extension cabinet Download PDFInfo
- Publication number
- CN106649018B CN106649018B CN201710013257.4A CN201710013257A CN106649018B CN 106649018 B CN106649018 B CN 106649018B CN 201710013257 A CN201710013257 A CN 201710013257A CN 106649018 B CN106649018 B CN 106649018B
- Authority
- CN
- China
- Prior art keywords
- host
- power
- fatigue machine
- fatigue
- extension cabinet
- 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.)
- Active
Links
- 238000003860 storage Methods 0.000 title claims abstract description 40
- 238000010998 test method Methods 0.000 title claims abstract description 16
- 238000012360 testing method Methods 0.000 claims abstract description 26
- 230000005611 electricity Effects 0.000 claims abstract description 13
- 238000000034 method Methods 0.000 description 5
- 238000011161 development Methods 0.000 description 3
- 238000013112 stability test Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 241000282326 Felis catus Species 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2273—Test methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2205—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2268—Logging of test results
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2284—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by power-on test, e.g. power-on self test [POST]
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
The present invention discloses a kind of test method of storage system stability with extension cabinet, is related to memory system testing field;Setting host B IOS is electrifying startup, and timing shutdown is arranged in host;Two fatigue machines are configured, the period powers on automatically;First fatigue machine is to extension cabinet JBOD and second fatigue machine power supply, and second fatigue machine is to host supplying power;Timing shutdown after host booting, First fatigue machine detect host power-off signal, and the power-off of First fatigue machine, then extension cabinet JBOD is powered off, second fatigue machine power-off;First fatigue machine powers on after waiting, and extension cabinet JBOD is powered on, and host supplying power is supplied electricity on second fatigue machine, host B IOS is detected power on after, host booting;The storage system with extension cabinet is tested in the preset time in each host power on and off period, and saves test result.
Description
Technical field
The present invention discloses a kind of test method of storage system stability, is related to memory system testing field, specifically
It is a kind of test method of storage system stability with extension cabinet.
Background technique
With the high speed development of IT industry, the development of information-based, big data and cloud computing, storage system generally can with
The requirement at family and carry out dilatation, the dilatation conventional method of storage system is using cascade extension cabinet JBOD, i.e., when the disk of main cabinet holds
When amount is not enough to reach user's actual need, number of disks can be increased by increasing the method for extension cabinet.And in dilatation
While, it is also higher and higher to the stability requirement of storage system after dilatation, it needs each to being carried out with extension cabinet storage system
Item index evaluation.And when carrying out stability test, the host of storage system and the power down of extension cabinet and power on needs according to one
Determine sequentially to carry out.Carry out manually it is repetitious restart it is very cumbersome and time-consuming when test.
The present invention provides a kind of test method of storage system stability with extension cabinet, by disposing two fatigue machines,
It realizes the host of storage system and extension cabinet is powered on according to specified timing and power down, can be adapted for a variety of different storages
The stability of the storage system with extension cabinet is tested in system, automation, is especially suitable for the stability restarted repeatedly and is surveyed
Examination, while saving time manpower, improves test job efficiency and quality.
Summary of the invention
The present invention is directed to the demand and shortcoming of current technology development, and it is stable to provide a kind of storage system with extension cabinet
Property test method, realize and power down automatically carried out to host and extension cabinet in sequence and is powered on, improve test job and imitate
Rate and quality.
A kind of test method of the storage system stability with extension cabinet:
Setting host B IOS is electrifying startup, and timing shutdown is arranged in host;
Two fatigue machines are configured, the period powers on automatically;First fatigue machine is supplied to extension cabinet JBOD and second fatigue machine
Electricity, second fatigue machine is to host supplying power;
Timing shutdown after host booting, First fatigue machine detect that host power-off signal, First fatigue machine power off, then
Extension cabinet JBOD power-off, second fatigue machine power-off;
First fatigue machine powers on after waiting, and extension cabinet JBOD is powered on, and supplies electricity to host supplying power, host on second fatigue machine
BIOS is detected power on after, host booting;
The storage system with extension cabinet is tested in the preset time in each host power on and off period, and is protected
Deposit test result.
The host setting timing shutdown is completed using preset host timing script.
When the host is Linux system, shell script is created in/root/shutdown catalogue and is used for timed-shutoff
Machine.
When the host is windows system, into system, creates file shutdown.bat and be used for timing shutdown.
A kind of test macro of the storage system stability with extension cabinet expands applied to the test method, including band
The storage system of showcase, host, fatigue machine,
Being provided with host B IOS is electrifying startup, and timing shutdown is arranged in host;
Two fatigue machines are configured, the period powers on automatically;First fatigue machine is supplied to extension cabinet JBOD and second fatigue machine
Electricity, second fatigue machine is to host supplying power;
Timing shutdown after host booting, First fatigue machine detect that host power-off signal, First fatigue machine power off, then
Extension cabinet JBOD power-off, second fatigue machine power-off;
First fatigue machine powers on after waiting, and extension cabinet JBOD is powered on, and supplies electricity to host supplying power, host on second fatigue machine
BIOS is detected power on after, host booting;
The storage system with extension cabinet is tested in the preset time in each host power on and off period, and is protected
Deposit test result.
Compared with the prior art, the invention has the beneficial effects that:
It is electrifying startup that host B IOS, which is arranged, in the method for the present invention, and timing shutdown is arranged in host;Configure two fatigue machines, period
Automatically it powers on;First fatigue machine is to extension cabinet JBOD and second fatigue machine power supply, and second fatigue machine is to host supplying power;It is main
Timing shutdown after machine booting, First fatigue machine detect that host power-off signal, First fatigue machine power off, then extension cabinet JBOD
Power-off, second fatigue machine power-off;First fatigue machine powers on after waiting, and extension cabinet JBOD is powered on, and second fatigue machine powers on
To host supplying power, host B IOS is detected power on after, host booting;It is right in the preset time in each host power on and off period
Storage system with extension cabinet is tested, and saves test result.
The present invention realizes that the host of storage system and extension cabinet are carried out according to specified timing by two fatigue machines of deployment
Electricity and power down, can be adapted for a variety of different storage systems, the stability to the storage system with extension cabinet of automation into
Row test, is especially suitable for the stability test restarted repeatedly, while saving time manpower, improve test job efficiency and
Quality.
Detailed description of the invention
Fig. 1 test macro builds schematic diagram;
Fig. 2 test method flow diagram.
Appended drawing reference in Fig. 1: 1 is host, and 2 be fatigue machine, and 3 be JBOD extension cabinet.The direction of arrow indicates to provide in figure
One side of power supply to use power supply a side.
Specific embodiment
A kind of test method of the storage system stability with extension cabinet:
Setting host B IOS is electrifying startup, and timing shutdown is arranged in host;
Two fatigue machines are configured, the period powers on automatically;First fatigue machine is supplied to extension cabinet JBOD and second fatigue machine
Electricity, second fatigue machine is to host supplying power;
Timing shutdown after host booting, First fatigue machine detect that host power-off signal, First fatigue machine power off, then
Extension cabinet JBOD power-off, second fatigue machine power-off;
First fatigue machine powers on after waiting, and extension cabinet JBOD is powered on, and supplies electricity to host supplying power, host on second fatigue machine
BIOS is detected power on after, host booting;
The storage system with extension cabinet is tested in the preset time in each host power on and off period, and is protected
Deposit test result.
The test macro for the storage system stability with extension cabinet that the present invention also provides a kind of, applied to the test side
Method, including the storage system with extension cabinet, host, fatigue machine,
Being provided with host B IOS is electrifying startup, and timing shutdown is arranged in host;
Two fatigue machines are configured, the period powers on automatically;First fatigue machine is supplied to extension cabinet JBOD and second fatigue machine
Electricity, second fatigue machine is to host supplying power;
Timing shutdown after host booting, First fatigue machine detect that host power-off signal, First fatigue machine power off, then
Extension cabinet JBOD power-off, second fatigue machine power-off;
First fatigue machine powers on after waiting, and extension cabinet JBOD is powered on, and supplies electricity to host supplying power, host on second fatigue machine
BIOS is detected power on after, host booting;
The storage system with extension cabinet is tested in the preset time in each host power on and off period, and is protected
Deposit test result.
Using the above method and system, in conjunction with concrete operations, the present invention will be further described.
When host is Linux system,
It is electrifying startup that host B IOS, which is arranged, in step 1;
Host script setting timing shutdown, concrete operations are as follows:
1. creating shell script shutdown.sh in/root/shutdown catalogue;
2. editing shutdown.sh file, content is as follows:
#!/bin/bash
cd /root/shutdown
cat note.txt |grep shutdown -c>count.txt
sleep 60
echo "shutdown">>note.txt
shutdown -h now
3. being assigned for this document and executing permission, chmod+x shutdown.sh;
4. modifying system boot self-starting script rc.local;
5. being eventually adding sh/root/shutdown/shutdown.sh& in this document, preservation is exited
So far Linux system is set as automatic shutdown after booting 60 seconds;
Step 2 configures two fatigue machines, and the setting period powers on automatically, can detect power-off signal;
First fatigue machine is powered to extension cabinet JBOD, this fatigue machine can connect host, detecting power down letter using signal wire
Number;
Second fatigue machine is powered by First fatigue machine, and second fatigue machine is to host supplying power;
Timing shutdown after the booting of step 3 host:
First fatigue machine detects host power-off signal, and the power-off of First fatigue machine is expanded after the power-off of First fatigue machine
The power-off of showcase JBOD, second fatigue machine power-off;
First fatigue machine powers on after step 4 waits 15 seconds, and extension cabinet JBOD is powered on, and second fatigue machine powers on;
Second fatigue machine waits 5 seconds after powering on, and starts to host supplying power, host B IOS is detected power on after, host
Booting, is recycled using automatic shutdown after 60 seconds;
Step 5 tests the storage system with extension cabinet in the preset time in each host power on and off period,
And save test result.
When host is windows system,
It is electrifying startup that host B IOS, which is arranged, in step 1;
Host script setting timing shutdown, concrete operations are as follows:
1. entering system, file shutdown.bat is created
2. editing this document, input content: shutdown/s/t 60
3. couple shutdown.bat creates shortcut
4. system runs frame and runs control userpasswords2 order, cancels and use user name password login
5. system runs frame and runs shell:startup, system of entering self-starting file
6. the shortcut to be run is put under startup file folder
So far windows system is set as automatic shutdown after booting 60 seconds;
Step 2 configures two fatigue machines, and the setting period powers on automatically, can detect power-off signal;
First fatigue machine is powered to extension cabinet JBOD, this fatigue machine can connect host, detecting power down letter using signal wire
Number;
Second fatigue machine is powered by First fatigue machine, and second fatigue machine is to host supplying power;
Timing shutdown after the booting of step 3 host:
First fatigue machine detects host power-off signal, and the power-off of First fatigue machine is expanded after the power-off of First fatigue machine
The power-off of showcase JBOD, second fatigue machine power-off;
First fatigue machine powers on after step 4 waits 15 seconds, and extension cabinet JBOD is powered on, and second fatigue machine powers on;
Second fatigue machine waits 5 seconds after powering on, and starts to host supplying power, host B IOS is detected power on after, host
Booting, is recycled using automatic shutdown after 60 seconds;
Step 5 tests the storage system with extension cabinet in the preset time in each host power on and off period,
And save test result.
Furthermore power on/off number and its data that can further count each equipment in each period utilize statistics
Software is analyzed.
The present invention realizes that the host of storage system and extension cabinet are carried out according to specified timing by two fatigue machines of deployment
Electricity and power down, can be adapted for a variety of different storage systems, the stability to the storage system with extension cabinet of automation into
Row test, is especially suitable for the stability test restarted repeatedly, while saving time manpower, improve test job efficiency and
Quality.
Claims (5)
1. a kind of test method of the storage system stability with extension cabinet, it is characterised in that
Setting host B IOS is electrifying startup, and timing shutdown is arranged in host;
Two fatigue machines are configured, the period powers on automatically;First fatigue machine is powered to extension cabinet JBOD and second fatigue machine, the
Two fatigue machines are to host supplying power;
Timing shutdown after host booting, First fatigue machine detect host power-off signal, and the power-off of First fatigue machine then extends
Cabinet JBOD power-off, second fatigue machine power-off;
First fatigue machine powers on after waiting, and extension cabinet JBOD is powered on, and host supplying power, host B IOS are supplied electricity on second fatigue machine
It detects after powering on, host booting;
The storage system with extension cabinet is tested in the preset time in each host power on and off period, and saves test
As a result.
2. test method according to claim 1, it is characterised in that host setting timing shutdown is using preset host
Timing script is completed.
3. test method according to claim 2, it is characterised in that when host is Linux system, in/root/
Shell script is created in shutdown catalogue is used for timing shutdown.
4. test method according to claim 2, it is characterised in that when host is windows system, into system, creation
File shutdown.bat is used for timing shutdown.
5. a kind of test macro of the storage system stability with extension cabinet, it is characterised in that applied to according to claim 1-4
Described in any item test methods, including the storage system with extension cabinet, host, fatigue machine,
Being provided with host B IOS is electrifying startup, and timing shutdown is arranged in host;
Two fatigue machines are configured, the period powers on automatically;First fatigue machine is powered to extension cabinet JBOD and second fatigue machine, the
Two fatigue machines are to host supplying power;
Timing shutdown after host booting, First fatigue machine detect host power-off signal, and the power-off of First fatigue machine then extends
Cabinet JBOD power-off, second fatigue machine power-off;
First fatigue machine powers on after waiting, and extension cabinet JBOD is powered on, and host supplying power, host B IOS are supplied electricity on second fatigue machine
It detects after powering on, host booting;
The storage system with extension cabinet is tested in the preset time in each host power on and off period, and saves test
As a result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710013257.4A CN106649018B (en) | 2017-01-09 | 2017-01-09 | A kind of test method of the storage system stability with extension cabinet |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710013257.4A CN106649018B (en) | 2017-01-09 | 2017-01-09 | A kind of test method of the storage system stability with extension cabinet |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106649018A CN106649018A (en) | 2017-05-10 |
CN106649018B true CN106649018B (en) | 2019-08-02 |
Family
ID=58843425
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710013257.4A Active CN106649018B (en) | 2017-01-09 | 2017-01-09 | A kind of test method of the storage system stability with extension cabinet |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106649018B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107168838A (en) * | 2017-05-16 | 2017-09-15 | 郑州云海信息技术有限公司 | A kind of RAID card Auto-Test System |
CN107179709B (en) * | 2017-05-22 | 2019-09-06 | 郑州云海信息技术有限公司 | A kind of storage system sequence switch machine device of the key realization with extension cabinet |
CN107451003B (en) * | 2017-06-30 | 2021-03-12 | 苏州浪潮智能科技有限公司 | Test method and device for storage system |
CN109151454A (en) * | 2018-07-26 | 2019-01-04 | 郑州云海信息技术有限公司 | A kind of test abnormal power-down loses the method and system of data volume |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103000228A (en) * | 2011-09-08 | 2013-03-27 | 上海宝信软件股份有限公司 | Storage device test method and system |
CN103364650A (en) * | 2012-04-06 | 2013-10-23 | 鸿富锦精密工业(深圳)有限公司 | Testing system and testing method |
CN106055437A (en) * | 2016-05-23 | 2016-10-26 | 浪潮电子信息产业股份有限公司 | BIOS automatic upgrading and downgrading test method based on windows |
-
2017
- 2017-01-09 CN CN201710013257.4A patent/CN106649018B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN106649018A (en) | 2017-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106649018B (en) | A kind of test method of the storage system stability with extension cabinet | |
CN101593249A (en) | A kind of apocrypha analytical approach and system | |
CN101576860B (en) | Detection method and detection system of linux or windows operation system | |
CN104866418B (en) | Automated testing method and system | |
CN104375910A (en) | Automatic power-on and power-off test method | |
CN103744759A (en) | Method for verifying unattended disk performance and stability under Linux system | |
CN104317712A (en) | Linux-based storage server fatigue test method | |
CN105511993A (en) | UEFI (unified extensible firmware interface) -based server NVME (network video management entity) hard disk backplane function test method | |
US20140033179A1 (en) | Application testing | |
CN104572422A (en) | Memory monitoring achievement method based on startup and shutdown of Linux system | |
WO2019134113A1 (en) | Automated test method and system | |
CN105718346A (en) | Computer mainboard PCIe slot function test method based on UEFI | |
CN109257249A (en) | A kind of network interface card stability test method, apparatus, terminal and storage medium | |
CN105302687A (en) | Linux-based hard disk sequence detection method | |
CN107329914A (en) | It is a kind of that the out of order method and device of hard disk is detected based on linux system | |
CN109117330A (en) | A kind of test method, test macro and the relevant apparatus of SSD power-on and power-off | |
CN106293806A (en) | Mirror image based on USB flash disk interface and the upgrade method of application program in road system | |
CN109918250A (en) | A kind of method, apparatus and readable storage medium storing program for executing of server power supply timing sequence test | |
CN109783390A (en) | PSU firmware promotion and demotion stability test method, apparatus, terminal and storage medium | |
CN110767259A (en) | Power failure pressure test method for flash memory device | |
CN106649005A (en) | Automatic pressure testing method of memory ras (Reliability, Availability and Serviceability) characteristics on the basis of shell | |
CN107133137B (en) | Method for conveniently acquiring RMT test information | |
CN109032864A (en) | A kind of method and system of NVMe SSD hot plug test | |
CN105320510A (en) | Method and device for automatically tracking data relation | |
US9148353B1 (en) | Systems and methods for correlating computing problems referenced in social-network communications with events potentially responsible for the same |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |