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 PDF

Info

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
Application number
CN201710013257.4A
Other languages
Chinese (zh)
Other versions
CN106649018A (en
Inventor
苏宁宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710013257.4A priority Critical patent/CN106649018B/en
Publication of CN106649018A publication Critical patent/CN106649018A/en
Application granted granted Critical
Publication of CN106649018B publication Critical patent/CN106649018B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2268Logging of test results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2284Detection 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

A kind of test method of the storage system stability with extension cabinet
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.
CN201710013257.4A 2017-01-09 2017-01-09 A kind of test method of the storage system stability with extension cabinet Active CN106649018B (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

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