CN107391324A - The test control device and method of a kind of storage system - Google Patents
The test control device and method of a kind of storage system Download PDFInfo
- Publication number
- CN107391324A CN107391324A CN201710521508.XA CN201710521508A CN107391324A CN 107391324 A CN107391324 A CN 107391324A CN 201710521508 A CN201710521508 A CN 201710521508A CN 107391324 A CN107391324 A CN 107391324A
- Authority
- CN
- China
- Prior art keywords
- fatigue machine
- power
- mainframe
- fatigue
- storage system
- 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.)
- Granted
Links
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/30—Monitoring
- G06F11/3058—Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
Abstract
The embodiment of the present invention provides a kind of test control device and method of storage system, including the first fatigue machine, the second fatigue machine and power supply;Wherein, first fatigue machine is connected with each other with the mainframe by detection line, for obtaining the voltage of mainframe test point;The power input of first fatigue machine and the power electric connection, the power output end of first fatigue machine electrically connect with the power input of second fatigue machine;First power output end of second fatigue machine electrically connects with the mainframe, and the second source output end of second fatigue machine electrically connects with the extension cabinet.By setting the first fatigue machine and the second fatigue machine, mainframe, the electric sequence of extension cabinet, power down sequence in storage system can rationally be controlled, the loop start of the convenient storage system with labyrinth, and then realize that to the test including mainframe and the complicated storage system of extension cabinet there is very high applicability.
Description
Technical field
The present invention relates to memory system testing technical field, a kind of test control device more particularly to storage system and
Method.
Background technology
Storage system generally includes polylith hard disk, for bearing system and user data.The stability of storage system is to protect
Demonstrate,prove the key of user service and data safety.
In order to ensure the stability of storage system, it usually needs carry out memory system testing.Current memory system testing,
Generally storage system is repeatedly restarted;After restarting every time, storage system can generate journal file, for system recorder memory
In all hard disks whether normally identify;Further, the journal file restarted by the journal file that contrast is currently restarted with last time,
It is determined that whether storage system occurs exception.
However, inventor is had found by studying, due to the demand of memory capacity, generally increase setting is multiple in storage system
Extension cabinet, the storage array being made up of polylith hard disk is set, with increasing for extension cabinet, the knot of storage system in each extension cabinet
Structure is become increasingly complex, and the complexity of its access control also gradually increases, therefore above-mentioned method of testing is very difficult to apply in including extension
It is poor for applicability in the storage system of cabinet.Therefore, the test of the storage system with cabinet how is realized, and improves test
Applicability is the technical problem of those skilled in the art's urgent need to resolve.
The content of the invention
In view of the above the shortcomings that prior art, it is an object of the invention to provide a kind of testing and control of storage system
Device and method be used for it is convenient to extension cabinet storage system test, and improve the applicability of test.
In order to achieve the above objects and other related objects, according to the first aspect of the invention, the embodiment of the present invention provides one
The test control device of kind storage system, the storage system of mainframe and extension cabinet, the mainframe and institute are included for testing
Extension cabinet communication connection is stated, the survey device includes the first fatigue machine, the second fatigue machine and power supply, wherein:
First fatigue machine is connected with each other with the mainframe by detection line, for obtaining the voltage of mainframe test point;
The power input of first fatigue machine and the power electric connection, the power output end of first fatigue machine and described the
The power input electrical connection of two fatigue machines;
First fatigue machine is used for, and the voltage that test point is obtained when detection dropped to first threshold or the upper electric duration reaches
On to first during the electric duration, power off and kept for the first power-off retention time, for stopping powering to the second fatigue machine;
After one power-off retention time, powered to the second fatigue machine, so that electric on the second fatigue machine;
First power output end of second fatigue machine electrically connects with the mainframe, the second source of second fatigue machine
Output end electrically connects with the extension cabinet;
Second fatigue machine is used for, and when the first fatigue machine is powered to the second fatigue machine, is powered to extension cabinet, to control extension
Cabinet is first upper electric;After the second power-off retention time, power, be later than with control main frame cabinet in the extension cabinet electric to mainframe;
And on second after the electric duration, control main frame cabinet powers off and continued for the second power-off retention time.
Alternatively, the first power-off retention time was more than for the described second power-off retention time.
Alternatively, the first power-off retention time and the second power-off retention time are between 3 seconds to 15 seconds.
Alternatively, the electric duration is equal with the electric duration on described second on described first, and between 4 minutes to 7
Between minute.
Alternatively, when the storage system includes multiple extension cabinets, the test control device includes:
Second fatigue machine of multiple series connection, between the second fatigue machine of the multiple series connection and the multiple series connection second
Electrically connected between fatigue machine and the first fatigue machine by supply line;Second fatigue machine of multiple series connection and the multiple extension
Cabinet is correspondingly arranged;
Or
Multiple second fatigue machines in parallel, the multiple second fatigue machine in parallel pass through supply line and the first fatigue machine respectively
Electrical connection;Multiple second fatigue machines in parallel are correspondingly arranged with the multiple extension cabinet.
According to the second aspect of the invention, the embodiment of the present invention also provides a kind of test control method of storage system, should
For the first fatigue machine in above-mentioned test control device, this method comprises the following steps:
When the voltage for detecting mainframe test point drops to first threshold, or the upper electric duration reaches electricity on first and continued
During the time, power off and kept for the first power-off retention time, for stopping powering to the second fatigue machine;
After the first power-off retention time, powered to the second fatigue machine.
Alternatively, this method also includes:
When the voltage for detecting mainframe test point reaches Second Threshold, and the voltage of test point is remained above or equal to the second threshold
When the duration of value is more than the guard time of the first fatigue machine, warning message is generated, for describing mainframe operation exception;
Wherein, the Second Threshold is more than the first threshold, and the guard time is less than the electric duration on described first.
Alternatively, on the guard time and described first the electric duration absolute difference between 20 seconds to 50 seconds it
Between.
According to the third aspect of the invention we, the embodiment of the present invention also provides a kind of test control method of storage system, should
For the second fatigue machine in above-mentioned test control device, this method comprises the following steps:
When the first fatigue machine is powered to the second fatigue machine, powered to extension cabinet, for controlling extension cabinet first upper electricity;
After the second power-off retention time, power, be later than for control main frame cabinet in the extension cabinet electric to mainframe.
Alternatively, this method also includes:
When the first fatigue machine is powered to the second fatigue machine, and the second fatigue machine start to mainframe power when, electricity is held on second
After the continuous time, stop powering to mainframe, and kept for the second power-off retention time
As described above, the test control device and method of a kind of storage system provided in an embodiment of the present invention, have beneficial below
Effect:The test control device includes the first fatigue machine, the second fatigue machine and power supply;Wherein, first fatigue machine with it is described
Mainframe is connected with each other by detection line, for obtaining the voltage of mainframe test point;The power input of first fatigue machine
End and the power electric connection, the power input of the power output end of first fatigue machine and second fatigue machine are electrically connected
Connect;First fatigue machine is used for, and the voltage that test point is obtained when detection dropped to first threshold or the upper electric duration reaches
On to first during the electric duration, power off and kept for the first power-off retention time, for stopping powering to the second fatigue machine;
After one power-off retention time, powered to the second fatigue machine, so that electric on the second fatigue machine;First power supply of second fatigue machine
Output end electrically connects with the mainframe, and the second source output end of second fatigue machine electrically connects with the extension cabinet;Institute
The second fatigue machine is stated to be used for, when the first fatigue machine is powered to the second fatigue machine, to extension cabinet power, with control extension cabinet first on
Electricity;After the second power-off retention time, power, be later than with control main frame cabinet in the extension cabinet electric to mainframe;And
On second after the electric duration, control main frame cabinet powers off and continued for the second power-off retention time.By set the first fatigue machine and
Second fatigue machine, mainframe, the electric sequence of extension cabinet, power down sequence in storage system can rationally be controlled, it is convenient
The startup control of storage system with labyrinth, and then realize to the complicated storage system including mainframe and extension cabinet
Test, has very high applicability.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the present invention
Example, and for explaining principle of the invention together with specification.
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, for those of ordinary skill in the art
Speech, without having to pay creative labor, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of structural representation of the test device of storage system provided in an embodiment of the present invention;
Fig. 2 is a kind of course of work schematic diagram of fatigue machine provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic flow sheet of test control method provided in an embodiment of the present invention;
Fig. 4 is the schematic flow sheet of another test control method provided in an embodiment of the present invention.
Embodiment
In order that those skilled in the art more fully understand the technical scheme in the present invention, below in conjunction with of the invention real
The accompanying drawing in example is applied, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described implementation
Example only part of the embodiment of the present invention, rather than whole embodiments.It is common based on the embodiment in the present invention, this area
The every other embodiment that technical staff is obtained under the premise of creative work is not made, should all belong to protection of the present invention
Scope.
Fig. 1 is referred to Fig. 4.It should be noted that the diagram provided in the present embodiment only illustrates this in a schematic way
The basic conception of invention, the component relevant with the present invention is only shown in illustrating then rather than according to package count during actual implement
Mesh, shape and size are drawn, and kenel, quantity and the ratio of each component can be a kind of random change during its actual implementation, and its
Assembly layout kenel may also be increasingly complex.
Storage system is generally made up of mainframe and extension cabinet, and mainframe can be connected with one or more extension cabinets;Its
In, multiple hard disks can be set in extension cabinet, and the multiple hard disk forms disk array;Mainframe is to the disk battle array in extension cabinet
The control that conducts interviews is arranged, mainframe can be connected with extension cabinet by the communications cable or bus.By setting extension cabinet, energy
The dilatation of storage system is enough realized, to meet storage demand.Certainly, it is necessary to which explanation, above-mentioned storage system is only an example
Property embodiment, test control device of the embodiment of the present invention and method can also be applied to the storage system of other any frameworks.For
Description is convenient, and storage system includes mainframe and an expansion with mainframe communication connection in the embodiment of the present invention
Exemplified by showcase, test control device provided in an embodiment of the present invention and method are described in detail.
It is a kind of structural representation of the test device of storage system provided in an embodiment of the present invention referring to Fig. 1.Such as Fig. 1
Shown, the test device includes the first fatigue machine 1, the second fatigue machine 2 and power supply 3.In embodiments of the present invention, mainframe 4 with
Extension cabinet 5 forms storage system, and mainframe 4 is communicated to connect with extension cabinet 5 by the communications cable, system bus etc. so that main frame
Cabinet 4 is able to access that the hard disk array in extension cabinet 5.
First fatigue machine 1 is connected with each other by detection line and mainframe 4, and using the detection line, the first fatigue machine 1 can
Detect mainframe 4 on test point voltage, so as to judge mainframe 4 whether normal shutdown;Wherein, in the power-off shutdown of mainframe 4
Under state, the voltage of test point is usually first threshold, such as 0V etc., on mainframe 4 under electric open state, the point of test point
Cigarette is usually Second Threshold, such as 12V etc.;So, the first fatigue machine 1 is by detecting the voltage of the test point of mainframe 4, with regard to energy
Enough judge that mainframe 4 is powered off off-mode, or upper electric open state.The power input of first fatigue machine 1 passes through power supply
Circuit electrically connects with power supply 3, and the power output end of the first fatigue machine 1 is again by supply line and the power supply of the second fatigue machine 2
Input electrically connects, and such first fatigue machine 1 directly can obtain electric power, and the upper electricity of the second fatigue machine 2 of control from power supply 3
Or power-off.
First power output end of the second fatigue machine 2 is electrically connected by supply line with mainframe 4, for mainframe 4
Power supply;The second source output end of second fatigue machine 2 is electrically connected by supply line with extension cabinet 5, for being supplied to extension cabinet 5
Electricity.
In embodiments of the present invention, the fatigue machine 2 of the first fatigue machine 1 and second is that can realize that timing is upper electric and disconnected
The equipment of electricity.It is a kind of course of work schematic diagram of fatigue machine provided in an embodiment of the present invention referring to Fig. 2.As shown in Fig. 2 the
One fatigue machine 1 and the second fatigue machine 2 can set electric duration T 1, power-off retention time T2 and guard time T3;
Wherein, upper electric duration T 1 is it is to be understood that the first fatigue machine 1 and the second fatigue machine 2 provide electric power to external equipment and held
The continuous time;Retention time T2 is powered off it is to be understood that the first fatigue machine 1 and the second fatigue machine 2 remain off, stop to
External equipment provides electric power duration;Guard time T3 is it is to be understood that the first fatigue machine 1 and the second fatigue machine 2 enter
The time of row power supply protection, i.e., powered when the first fatigue machine 1 and the second fatigue machine 2 to external equipment and start timing, when timing reaches
During to protection setting time T3, when from test point, to detect voltage be still high voltage, expression external equipment such as mainframe 4 does not have
There is normal shutdown, abnormal alarm can be sent.It is also exemplary in fig. 2 to show that storage system starts time T4, the storage system
System starts time T4 and represents that mainframe 4 performs its corresponding method of testing flow and terminates the corresponding time from starting to, wherein,
It should be noted that method of testing performed in mainframe 4 can include comparing journal file, judge all in extension cabinet
Whether hard disk identifies, and performs cycle power of mainframe 4 etc., repeats no more in embodiments of the present invention.As shown in Fig. 2 protect
The time T3 typically smaller than upper electric duration is protected, moreover, under normal circumstances, storage system startup time T4 is less than guard time
T3。
In order to clearly describe the course of work of fatigue machine, the embodiment of the present invention is retouched in detail by taking the first fatigue machine 1 as an example
State.First fatigue machine 1 electrically connects with power supply 3, and after power supply 3 is powered to the first fatigue machine 1, the first fatigue machine 1 initially enters power-off
State, and continue to power off retention time T2;After retention time T2 is powered off, the first fatigue machine 1 carries out such as power supply state, and this
If when external equipment such as mainframe 4 into normal activation state, and storage system start time T4 after normal shutdown, then
After first fatigue machine 1 detects that the voltage of the test point of mainframe 4 is less than threshold voltage, such as the voltage of test point drops to 0V, meeting
Terminate power supply state, reenter off-position, open new circulation;And occur if external equipment such as mainframe 4 starts
Abnormal, the voltage for the test point of mainframe 4 that the first fatigue machine 1 detects persistently keeps high voltage, such as 12V, when the first fatigue
The timing of the machine 1 high-tension duration is more than information, and the electricity on timing reaches of being given a warning after protection setting time T3
Enter off-position after duration T 1, restart new circulation.Second fatigue machine 2 is also to initially enter power-off after the power-up
State, then into power-up state, the work of the first fatigue machine 1 is can be found in hence into power-off and upper electric circulation, detailed process
Make the description of process, will not be repeated here.
Further, since the storage system that mainframe 4 and extension cabinet 5 are formed, due to the addition of extension cabinet 5 so that the storage
The upper electricity of system or power-off control are more complicated.In embodiments of the present invention, by setting the first fatigue machine 1 and the second fatigue machine
2 power-off retention time, realize upper electricity or the power-off control of mainframe 4 and extension cabinet 5.In one exemplary embodiment, first is tired
The first power-off retention time of labor machine 1 is more than the second power-off retention time of the second fatigue machine 2, the first power-off retention time and the
Two power-off retention times can be between 3 seconds to 15 seconds;In a preferred embodiment, the first power-off of the first fatigue machine 1
Retention time can be set as 10s, and the second power-off retention time of the second fatigue machine 2 can be set as 5s.Continue for upper electricity
Time T1, the first fatigue machine 1 first on electric duration and the second fatigue machine 2 second on the electric duration can be set as
Identical numerical value, and the electric duration can be between 4 minutes to 7 minutes on the electric duration and second on first;One
In preferred embodiment, the electric duration can be disposed as 6 minutes on the electric duration and described second on described first.For
The guard time of guard time T3, the guard time of the first fatigue machine 1 and the second fatigue machine 2 can also be set as identical numerical value,
Such as 20 seconds etc. 5 minutes.
In the course of work of test control device provided in an embodiment of the present invention, the first fatigue machine 1 is electrically connected with power supply 3
Connect, power supply 3 to the first fatigue machine 1 power after, the first fatigue machine 1 initially enters off-position, and continue the first power-off keep when
Between, the first power-off retention time is the time that default first fatigue machine 1 remains powered off state;When the first power-off is kept
Between after, the first fatigue machine 1 enters power supply state, and the first fatigue machine 1 is powered to the second fatigue machine 2;On second fatigue machine 2 after electricity,
Powered first to extension cabinet 5, in the specific implementation, can be by setting independent circuit pathways, electricity on the second fatigue machine 2
Directly extension cabinet 5 is powered afterwards, repeated no more in embodiments of the present invention;Second fatigue machine 2 is for mainframe 4, first
Into off-position, after the second power-off retention time, powered to mainframe 4, mainframe 4 starts to perform startup after powering
Flow.By the description of above-mentioned control process, on test control device provided in an embodiment of the present invention can realize extension cabinet 5 first
Electricity, upper electricity after mainframe 4, this extension cabinet 5 first after upper electricity, extension cabinet 4 upper electricity control mode, be advantageous to perform extension cabinet 5
The preheating of middle disk array, be advantageous to protect the disk hardware of storage system in test process.
On mainframe 4 after electricity, under the first performance, mainframe 4 performs normal Booting sequence, and in storage system
Normal shutdown after startup time T4, mainframe 4 power off first;First fatigue machine 1 detects that the voltage of the test point of mainframe 4 is less than
After first threshold, such as the voltage of test point drops to 0V, can terminate power supply state, stops powering to the second fatigue machine 2;For
For one fatigue machine 1, the first fatigue machine 1 reenters off-position, and is kept for the first power-off retention time, opens new follow
Ring;For the second fatigue machine 2, because the first fatigue machine 1 stops providing electric power, then the second fatigue machine 2 to the second fatigue machine 2
Further stop powering to extension cabinet 5.
On mainframe 4 after electricity, under second of performance, mainframe 4, which starts, may occur exception, in lasting storage system
Still powered after system startup time T4, the first fatigue machine 1 detects that the voltage of the test point of mainframe 4 is still equal to Second Threshold,
Such as the voltage of test point is 12V, now the first fatigue machine 1 still keeps power supply state, when the timing of the first fatigue machine 1 height electricity
The duration of pressure more than the information that can be given a warning after guard time T3, reaches when the power supply state duration of the first fatigue machine 1
On to first after the electric duration, the first fatigue machine 1 powers off, and into off-position, now mainframe 4 powers off first;For
For one fatigue machine 1, and begin to remain powered off state with the first power-off retention time, and enter new circulation.For the second fatigue
For machine, because the first fatigue machine 1 stops providing electric power to the second fatigue machine 2, then the second fatigue machine 2 further stops to extension
Cabinet 5 is powered.
On mainframe 4 after electricity, the description by above-mentioned implementation procedure is visible, testing and control provided in an embodiment of the present invention
Device, it can realize that mainframe 4 first powers off, power off, be advantageous to during memory system testing after extension cabinet 5, protect hard disk
Etc. equipment.
In order to adapt to more complicated storage system framework, when storage system includes multiple extension cabinets, the present invention is implemented
The test control device that example provides can also be applied to the testing and control for including the storage system of multiple extension cabinets 5, have very high
Applicability.
Under the first performance, multiple the second fatigue machines 2 connected by supply line, multiple series connection can be set
The second fatigue machine 2 be further connected in series on the first fatigue machine 1, the first fatigue machine 1 controls the second fatigue machine 2 to multiple series connection
Electric power is provided;Second fatigue machine 2 of every series connection passes through supply line and a corresponding connection in the multiple extension cabinet 5.
Under second of performance, multiple second fatigue machines 2 in parallel, multiple second fatigue machines in parallel can be set
2 can be electrically connected by supply line with the corresponding power output end of the first fatigue machine 1 respectively, such energy of first fatigue machine 1
Enough control to multiple second fatigue machines 2 in parallel provides electric power;Every second fatigue machine 2 in parallel by supply line with it is described
A corresponding connection in multiple extension cabinets 5.
In the embodiment of the present invention, the second fatigue machine 2 of the multiple series connection or the multiple second fatigue machine in parallel
2, and setting and the course of work of the first fatigue machine 1, the description of above-described embodiment is may refer to, will not be repeated here.
From the description of above-described embodiment, a kind of test control device of storage system provided in an embodiment of the present invention,
Including the first fatigue machine, the second fatigue machine and power supply;Wherein, first fatigue machine and the mainframe are mutual by detection line
Connection, for obtaining the voltage of mainframe test point;The power input of first fatigue machine and the power electric connection, institute
The power output end for stating the first fatigue machine electrically connects with the power input of second fatigue machine;First fatigue machine is used
In the voltage that test point is obtained when detection dropped to first threshold or the upper electric duration reaches the electric duration on first
When, power off and kept for the first power-off retention time, for stopping powering to the second fatigue machine;After the first power-off retention time,
Powered to the second fatigue machine, so that electric on the second fatigue machine;First power output end of second fatigue machine and the main frame
Cabinet electrically connects, and the second source output end of second fatigue machine electrically connects with the extension cabinet;Second fatigue machine is used for,
When the first fatigue machine is powered to the second fatigue machine, powered to extension cabinet, to control extension cabinet first upper electricity;Protected by the second power-off
After holding the time, power, be later than with control main frame cabinet in the extension cabinet electric to mainframe;And the electric duration on second
Afterwards, control main frame cabinet powers off and continued for the second power-off retention time., can be right by setting the first fatigue machine and the second fatigue machine
Mainframe, the electric sequence of extension cabinet, power down sequence are rationally controlled in storage system, the convenient storage with labyrinth
The startup control of system, and then realize that to the test including mainframe and the complicated storage system of extension cabinet there is very high fit
The property used.
Corresponding with the test control device embodiment of storage system provided in an embodiment of the present invention, the embodiment of the present invention is also
Provide a kind of test control method of storage system.
It is a kind of schematic flow sheet of test control method provided in an embodiment of the present invention referring to Fig. 3.As shown in figure 3, this
Inventive embodiments show that the first fatigue machine performs the process of the test control method:
Step S101:The voltage that test point is obtained when detection dropped to first threshold or the upper electric duration reaches electric on first
During the duration, power off and kept for the first power-off retention time, for stopping powering to the second fatigue machine.
First fatigue machine can be connected by detection line with external equipment, and the external equipment can be understood as mainframe, this
The process that the first fatigue machine performs test control method is described in detail in inventive embodiments by taking mainframe as an example.
Under the first performance, because the first fatigue machine is connected by detection line with mainframe, the first tired function
Enough detections in real time obtain the voltage of test point.When mainframe normal shutdown, the voltage of test point drops to first threshold, specific
During implementation, the first threshold could be arranged to any numbers such as 0V, for indicating that mainframe powers off;When the voltage of test point drops to
During first threshold, now the upper electric duration be also not up on first the electric duration, mainframe normal shutdown, then power off
And kept for the first power-off retention time;Due to being electrically connected between the first fatigue machine and the second fatigue machine by supply line, when
When one fatigue machine powers off, the second fatigue machine powers off therewith, further stops external setting to other with the second tired mechatronics
Standby such as extension cabinet is powered.
Under second of performance, when the non-normal shutdown of mainframe, the first fatigue machine statistically electric duration,
If upper electric duration reaches electric duration on first, the first fatigue machine power-off, simultaneously because the second fatigue machine is
Electric power is provided by the first fatigue machine, while the first fatigue machine enters off-position, the second fatigue machine stops to outside other
Equipment such as extension cabinet is connect to power.
Step S102:After the first power-off retention time, powered to the second fatigue machine.
After a loss of power, into off-position, the off-position continued for the first power-off retention time to first fatigue machine;First
After powering off the retention time, the first fatigue machine enters power supply state, is powered to the second fatigue machine.In power supply process, monitor at any time
The voltage of mainframe test point, and statistically electric duration, when the voltage of mainframe test point drop to first threshold or
The duration of the upper electricity of person is when reaching the electric duration on first, the step of re-executing step S101, completes a circulation.
In order to detect the startup exception that storage system may occur, in the present invention is implemented, the test control method is also
Step can be included:
Step S103:When the voltage for detecting mainframe test point reaches Second Threshold, and the voltage of test point be remained above or
When duration equal to Second Threshold is more than the guard time of the first fatigue machine, warning message is generated, for describing mainframe
Operation exception;Wherein, the Second Threshold is more than the first threshold, when the guard time is less than electric lasting on described first
Between.
On mainframe after electricity, the voltage of test point can reach Second Threshold, and in the specific implementation, the Second Threshold can be with
The magnitude of voltage of any numbers such as 12V is interpreted as, it is electric on mainframe for indicating;Count the duration electric on mainframe, i.e., it is main
Rack is kept for the duration of Second Threshold, when the above-mentioned duration being more than the guard time of the first fatigue machine, generation warning
Information.Wherein, the guard time can be the first fatigue machine default time, moreover, in the specific implementation, the guard time
The electric duration on less than first;In one exemplary embodiment, the electric duration on the guard time and described first
The absolute value of difference between 20 seconds to 50 seconds, such as on first the electric duration be 6 minutes when, the guard time can
To be set as 5 points 20 seconds.When the upper electric duration of mainframe reaching guard time, represent that mainframe may be run
Abnormal, the operation exception is probably that mainframe can not normally start, or mainframe can not normal shutdown, the warning message can be with
For buzzer, word content remind etc. information, for remind tester's mainframe occur operation exception.
It is the schematic flow sheet of another test control method provided in an embodiment of the present invention referring to Fig. 4.As shown in figure 4,
The embodiment of the present invention shows that the second fatigue machine performs the process of the test control method:
Step S201:When the first fatigue machine is powered to the second fatigue machine, powered to extension cabinet, for controlling extension cabinet first
Electricity.
When the first fatigue machine is powered to the second fatigue machine, the second fatigue machine is powered to extension cabinet simultaneously, is being embodied
When, the second fatigue machine is established circuit by wire jumper etc. with extension cabinet and is connected so that and the second fatigue machine is directly powered to extension cabinet, this
For sample after the second fatigue machine is powered, extension cabinet also can be upper immediately electric, realizes extension cabinet first upper electricity.
Step S202:After the second power-off retention time, powered to mainframe, be later than the expansion for control main frame cabinet
It is electric on showcase.
After first fatigue machine is powered to the second fatigue machine, the second fatigue machine initially enters off-position, and off-position is held
After the continuous time reached for the second power-off retention time, the second fatigue machine controls powers to mainframe, and such second mainframe is extending
It is just upper electric after electricity on cabinet.
In order to realize electricity on the second fatigue machine, the loop control powered off, can also include in embodiments of the present invention following
Step:
Step S203:When the first fatigue machine is powered to the second fatigue machine, and the second fatigue machine start to mainframe power when,
On two after the electric duration, stop powering to mainframe, and kept for the second power-off retention time.
Power, and continue on second after the electric duration to mainframe in the second fatigue machine, stop powering to mainframe, weight
It is new to enter off-position, and after being kept for the second power-off retention time, step S202 is returned to, into new circulation.
The test control method embodiment of storage system provided in an embodiment of the present invention, there is the test of above-mentioned storage system
The hardware structure and beneficial effect of device embodiment, the ins and outs not being described in detail in the present embodiment, reference can be made to the application
The test control device that embodiment is provided, will not be repeated here.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment
Divide mutually referring to what each embodiment stressed is the difference with other embodiment.Especially for device or
For system embodiment, because it is substantially similar to embodiment of the method, so describing fairly simple, related part is referring to method
The part explanation of embodiment.Apparatus and system embodiment described above is only schematical, wherein the conduct
The unit that separating component illustrates can be or may not be it is physically separate, can be as the part that unit is shown or
Person may not be physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can root
Factually border needs to select some or all of module therein realize the purpose of this embodiment scheme.Ordinary skill
Personnel are without creative efforts, you can to understand and implement.
It should be noted that herein, the relational terms of such as " first " and " second " or the like are used merely to one
Individual entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operate it
Between any this actual relation or order be present.Moreover, term " comprising ", "comprising" or its any other variant are intended to
Cover including for nonexcludability, so that process, method, article or equipment including a series of elements not only include those
Key element, but also the other element including being not expressly set out, or also include for this process, method, article or set
Standby intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that
Other identical element in the process including the key element, method, article or equipment also be present.
Described above is only the embodiment of the present invention, is made skilled artisans appreciate that or realizing this hair
It is bright.A variety of modifications to these embodiments will be apparent to one skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention
The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one
The most wide scope caused.
Claims (10)
1. a kind of test control device of storage system, the storage system of mainframe and extension cabinet, the master are included for testing
Rack communicates to connect with the extension cabinet, it is characterised in that including the first fatigue machine, the second fatigue machine and power supply, wherein:
First fatigue machine is connected with each other with the mainframe by detection line, for obtaining the voltage of mainframe test point;
The power input of first fatigue machine and the power electric connection, the power output end of first fatigue machine and described the
The power input electrical connection of two fatigue machines;
First fatigue machine is used for, and the voltage that test point is obtained when detection dropped to first threshold or the upper electric duration reaches
On to first during the electric duration, power off and kept for the first power-off retention time, for stopping powering to the second fatigue machine;
After one power-off retention time, powered to the second fatigue machine, so that electric on the second fatigue machine;
First power output end of second fatigue machine electrically connects with the mainframe, the second source of second fatigue machine
Output end electrically connects with the extension cabinet;
Second fatigue machine is used for, and when the first fatigue machine is powered to the second fatigue machine, is powered to extension cabinet, to control extension
Cabinet is first upper electric;After the second power-off retention time, power, be later than with control main frame cabinet in the extension cabinet electric to mainframe;
And on second after the electric duration, control main frame cabinet powers off and continued for the second power-off retention time.
2. the test control device of storage system according to claim 1, it is characterised in that when first power-off is kept
Between be more than described second power-off the retention time.
3. the test control device of storage system according to claim 1 or 2, it is characterised in that first power-off is protected
Time and the second power-off retention time are held between 3 seconds to 15 seconds.
4. the test control device of storage system according to claim 1, it is characterised in that when electricity continues on described first
Between it is equal with the electric duration on described second, and between 4 minutes to 7 minutes.
5. the test control device of storage system according to claim 1, it is characterised in that when the storage system includes
During multiple extension cabinets, the test control device includes:
Second fatigue machine of multiple series connection, between the second fatigue machine of the multiple series connection and the multiple series connection second
Electrically connected between fatigue machine and the first fatigue machine by supply line;Second fatigue machine of multiple series connection and the multiple extension
Cabinet is correspondingly arranged;
Or
Multiple second fatigue machines in parallel, the multiple second fatigue machine in parallel pass through supply line and the first fatigue machine respectively
Electrical connection;Multiple second fatigue machines in parallel are correspondingly arranged with the multiple extension cabinet.
6. a kind of test control method of storage system, applied in the test control device as described in claim 1 to 5 one
The first fatigue machine, it is characterised in that comprise the following steps:
When the voltage for detecting mainframe test point drops to first threshold, or the upper electric duration reaches electricity on first and continued
During the time, power off and kept for the first power-off retention time, for stopping powering to the second fatigue machine;
After the first power-off retention time, powered to the second fatigue machine.
7. the test control method of storage system according to claim 6, it is characterised in that also include:
When the voltage for detecting mainframe test point reaches Second Threshold, and the voltage of test point is remained above or equal to the second threshold
When the duration of value is more than the guard time of the first fatigue machine, warning message is generated, for describing mainframe operation exception;
Wherein, the Second Threshold is more than the first threshold, and the guard time is less than the electric duration on described first.
8. the test control method of storage system according to claim 7, it is characterised in that the guard time with it is described
The absolute difference of electric duration is between 20 seconds to 50 seconds on first.
A kind of 9. test control method of storage system, applied to the test control device as described in any one of claim 1 to 5
In the second fatigue machine, it is characterised in that comprise the following steps:
When the first fatigue machine is powered to the second fatigue machine, powered to extension cabinet, for controlling extension cabinet first upper electricity;
After the second power-off retention time, power, be later than for control main frame cabinet in the extension cabinet electric to mainframe.
10. the test control method of storage system according to claim 9, it is characterised in that also include:
When the first fatigue machine is powered to the second fatigue machine, and the second fatigue machine start to mainframe power when, electricity is held on second
After the continuous time, stop powering to mainframe, and kept for the second power-off retention time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710521508.XA CN107391324B (en) | 2017-06-30 | 2017-06-30 | Test control device and method of storage system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710521508.XA CN107391324B (en) | 2017-06-30 | 2017-06-30 | Test control device and method of storage system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107391324A true CN107391324A (en) | 2017-11-24 |
CN107391324B CN107391324B (en) | 2020-02-07 |
Family
ID=60334694
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710521508.XA Active CN107391324B (en) | 2017-06-30 | 2017-06-30 | Test control device and method of storage system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107391324B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109151454A (en) * | 2018-07-26 | 2019-01-04 | 郑州云海信息技术有限公司 | A kind of test abnormal power-down loses the method and system of data volume |
CN111858203A (en) * | 2020-06-29 | 2020-10-30 | 广东浪潮大数据研究有限公司 | Server performance detection method, system, programmable controller and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103000228A (en) * | 2011-09-08 | 2013-03-27 | 上海宝信软件股份有限公司 | Storage device test method and system |
US20130268218A1 (en) * | 2012-04-06 | 2013-10-10 | Hon Hai Precision Industry Co., Ltd. | Testing system and method |
CN106055437A (en) * | 2016-05-23 | 2016-10-26 | 浪潮电子信息产业股份有限公司 | BIOS automatic upgrading and downgrading test method based on windows |
-
2017
- 2017-06-30 CN CN201710521508.XA patent/CN107391324B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103000228A (en) * | 2011-09-08 | 2013-03-27 | 上海宝信软件股份有限公司 | Storage device test method and system |
US20130268218A1 (en) * | 2012-04-06 | 2013-10-10 | Hon Hai Precision Industry Co., Ltd. | Testing system and method |
CN106055437A (en) * | 2016-05-23 | 2016-10-26 | 浪潮电子信息产业股份有限公司 | BIOS automatic upgrading and downgrading test method based on windows |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109151454A (en) * | 2018-07-26 | 2019-01-04 | 郑州云海信息技术有限公司 | A kind of test abnormal power-down loses the method and system of data volume |
CN111858203A (en) * | 2020-06-29 | 2020-10-30 | 广东浪潮大数据研究有限公司 | Server performance detection method, system, programmable controller and storage medium |
CN111858203B (en) * | 2020-06-29 | 2024-02-09 | 广东浪潮大数据研究有限公司 | Server performance detection method, system, programmable controller and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107391324B (en) | 2020-02-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8639953B2 (en) | System and method for gathering information using a power device wherein information is associated with at least one external load | |
CN102855184B (en) | Android automatic test cross application device and method | |
CN109257249A (en) | A kind of network interface card stability test method, apparatus, terminal and storage medium | |
CN109240865A (en) | A kind of AC test method, device, terminal and the storage medium of AEP memory | |
CN101441589A (en) | Detection method of substrate management controller and server thereof | |
CN114441964B (en) | Fault positioning method, device and medium in power supply process of storage system | |
CN107391324A (en) | The test control device and method of a kind of storage system | |
CN109117335A (en) | A kind of hard disk simulation hot plug test method, device, terminal and storage medium | |
CN108153370A (en) | A kind of lower electric time sequence control device and method | |
US9859813B2 (en) | Power converter and method for setting the operation and the start-up of a power converter | |
CN109034416A (en) | A kind of method of Breakdown Maintenance, system and equipment | |
CN106099833A (en) | A kind of electric current or voltage setting method and device | |
CN110908947A (en) | Hot plug method and device for frame type equipment line card, main control board and frame type equipment | |
CN104915269A (en) | Mobile terminal time and date information setting method and apparatus and mobile terminal | |
CN106527643B (en) | A kind of communication equipment and its method for managing power supply | |
CN106293796B (en) | A kind of information processing method and electronic equipment | |
CN109597728A (en) | The control method and device of test equipment, computer readable storage medium | |
CN104461841A (en) | Working state monitoring method and device | |
CN107643494A (en) | A kind of memory supply network is for electric battery check device and method | |
CN113946465A (en) | Big data fault processing method and related equipment thereof | |
CN209728674U (en) | Powered-off fault protects circuit, power supply unit and computer equipment | |
CN109828149B (en) | Power load simulation detection platform | |
CN107907762B (en) | Test method and system for detecting influence of BBU on stability of whole cabinet | |
CN105024435A (en) | Power supply protection method and apparatus of storage battery pack | |
CN110554941B (en) | Fan fault monitoring function test method, system, terminal and storage medium |
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 |