CN109815070A - A kind of HOST-BOX server stability test method, apparatus, terminal and storage medium - Google Patents

A kind of HOST-BOX server stability test method, apparatus, terminal and storage medium Download PDF

Info

Publication number
CN109815070A
CN109815070A CN201910002234.2A CN201910002234A CN109815070A CN 109815070 A CN109815070 A CN 109815070A CN 201910002234 A CN201910002234 A CN 201910002234A CN 109815070 A CN109815070 A CN 109815070A
Authority
CN
China
Prior art keywords
bmc
machine
box
sequence
execution
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.)
Withdrawn
Application number
CN201910002234.2A
Other languages
Chinese (zh)
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 CN201910002234.2A priority Critical patent/CN109815070A/en
Publication of CN109815070A publication Critical patent/CN109815070A/en
Withdrawn legal-status Critical Current

Links

Abstract

The present invention provides a kind of HOST-BOX server stability test method, apparatus, terminal and storage medium, comprising: obtains the BMC IP of BMC IP and the BOX machine of the HOST machine of testing service device;According to the BMC IP of BMC IP and the BOX machine of HOST machine, execution sequence and interval time are set;Testing time is set;Think highly of to open and record according to the execution sequence and interval time control testing service using ipmitool and restarts number;Number and the testing time control stability test process are restarted according to described.The present invention, which passes through, realizes that respectively forming machine to testing service device is restarting the orderly control in implementation procedure by the BMC IP of BMC IP and the BOX machine for the HOST machine for obtaining testing service device and the setting of execution sequence opinion interval time, and then realizes and restart stability test for HOST-BOX server.

Description

A kind of HOST-BOX server stability test method, apparatus, terminal and storage medium
Technical field
The invention belongs to server the field of test technology, and in particular to a kind of HOST-BOX server stability test side Method, device, terminal and storage medium.
Background technique
DC reboot test is the test of testing service device stability, and particular content is to enter system after machine is switched on, so After shut down, finally restart machine again, circulation is gone down.For the stability of authentication server, this process will carry out it is up to a hundred or Thousands of times.
The server of standard is carried out fatigue machine need to being only installed to the machine when DC reboot test, then be executed under system Shutdown script can realize following circulation: (1) fatigue machine trigger the server booting -> (2) server booting enters system System -> (3) system executes shutdown script automatic shutdown -> (4) fatigue machine and detects that server shutdown -> (5) etc. are to be set It is re-powered after time to server and returns to (1) step.
The server of above method testing standard is feasible, but is not suitable for HOST-BOX server product, HOST- BOX refers to that server is integrally divided into two parts, and a part is HOST-server host, and a part is BOX-PCIE Switch host.Hard disk or video card can be installed in BOX, are connected to HOST using cable, at this moment the equipment of BOX can be mentioned HOST is supplied to use.In this case, when server is switched on, it is necessary to first open BOX, equipment in BOX is waited to initialize Cheng Hou, then HOST is opened.Therefore, the stability that existing DC reboot test method is not used to HOST-BOX server is surveyed Examination.
Summary of the invention
In view of the deficiencies of the prior art, the present invention provides a kind of HOST-BOX server stability test method, apparatus, end End and storage medium, to solve the above technical problems.
In a first aspect, the embodiment of the present application provides a kind of HOST-BOX server stability test method, the method packet It includes:
Obtain the BMC IP of BMC IP and the BOX machine of the HOST machine of testing service device;
According to the BMC IP of BMC IP and the BOX machine of HOST machine, execution sequence and interval time are set;
Testing time is set;
Thought highly of using ipmi tool according to execution sequence and interval time control testing service to open and record and be restarted time Number;
Number and the testing time control stability test process are restarted according to described.
With reference to first aspect, in the first embodiment of first aspect, the BMC IP and BOX according to HOST machine The BMC IP setting execution of machine is sequentially and interval time includes:
According to the booting of the BMC IP of BMC IP and the BOX machine of the power-up sequence setting HOST machine by BOX machine to HOST machine Calling sequence;
According to the shutdown of the BMC IP of BMC IP and the BOX machine of the shutdown sequence setting HOST machine by HOST machine to BOX machine Calling sequence;
The booting execution interval time of HOST machine and BOX machine is set;
The shutdown execution interval time of HOST machine and BOX machine is set.
With reference to first aspect, described to be held according to using ipmi tool in second of embodiment of first aspect Row state modulator testing service, which thinks highly of to open and record, restarts number and includes:
The open state of testing service device is obtained using ispoweron method;
Corresponding BMC IP carry out sequence shutdown is successively called according to execution sequence and is guaranteed by off-mode verification adjacent The shutdown waiting time between two machines reaches corresponding interval time;
The off-mode of testing service device is obtained using ispoweroff method;
Corresponding BMC IP carry out sequence booting is successively called according to execution sequence and is guaranteed by open state verification adjacent The booting waiting time between two machines reaches corresponding interval time;
It is currently shut down number and current booting number using time tool records.
With reference to first aspect, in the third embodiment of first aspect, the basis restarts number and the test Number control stability test process includes:
Judgement restarts whether number reaches testing time:
It is that then discriminating test is completed and exports the system log generated in test process;
It is no, then it recycles execution and the testing service device is restarted.
Second aspect, the embodiment of the present application provide a kind of HOST-BOX server stability test device, described device packet It includes:
Address acquisition unit is configured to obtain the BMC IP of BMC IP and the BOX machine of the HOST machine of testing service device;
Parameter set unit, be configured to according to the BMC IP of BMC IP and the BOX machine of HOST machine be arranged execution sequence and Interval time;
Number setting unit is configured to setting testing time;
Restart execution unit, is configured to using ipmi tool according to the execution sequence and interval time control test Server Restart and record restart number;
Process flowchart unit, be configured to restart according to number and the testing time control stability test into Journey.
In conjunction with second aspect, in the first embodiment of second aspect, the parameter set unit includes:
Power-up sequence module is configured to the BMC IP according to the power-up sequence setting HOST machine by BOX machine to HOST machine With the booting calling sequence of the BMC IP of BOX machine;
Shut down sequent modular, is configured to that the BMC IP of HOST machine is arranged according to the shutdown sequence by HOST machine to BOX machine With the shutdown calling sequence of the BMC IP of BOX machine;
Be switched on interval module, is configured to the booting execution interval time of setting HOST machine and BOX machine;
Shutdown interval module, is configured to the shutdown execution interval time of setting HOST machine and BOX machine.
It is described to restart execution unit and include: in second of embodiment of second aspect in conjunction with second aspect
Booting obtains module, is configured to obtain the open state of testing service device using ispoweron method;
Shutdown execution module, is configured to successively call corresponding BMC IP carry out sequence shutdown according to execution sequence and pass through Off-mode verification guarantees that the shutdown waiting time between adjacent two machines reaches corresponding interval time;
Shutdown obtains module, is configured to obtain the off-mode of testing service device using ispoweroff method;
Be switched on execution module, is configured to successively call corresponding BMC IP carry out sequence booting according to execution sequence and pass through Open state verification guarantees that the booting waiting time between adjacent two machines reaches corresponding interval time;
Number logging modle is configured to currently shut down using time tool records number and current booting number.
In conjunction with second aspect, in the third embodiment of second aspect, the Process flowchart unit includes:
Number judgment module is configured to judgement and restarts whether number reaches testing time;
As a result output module is configured to discriminating test and completes and export the system log generated in test process;
Restart loop module, is configured to circulation execution and the testing service device is restarted.
The third aspect provides a kind of terminal, comprising:
Processor, memory, wherein
The memory is used to store computer program,
The processor from memory for calling and running the computer program, so that terminal executes above-mentioned terminal Method.
Fourth aspect provides a kind of computer storage medium, instruction is stored in the computer readable storage medium, When run on a computer, so that computer executes method described in above-mentioned various aspects.
5th aspect, provides a kind of computer program product comprising instruction, when run on a computer, so that Computer executes method described in above-mentioned various aspects.
The beneficial effects of the present invention are,
HOST-BOX server stability test method, apparatus, terminal and storage medium provided by the invention, pass through acquisition The BMC IP of BMC IP and the BOX machine of the HOST machine of testing service device and the setting of execution sequence opinion interval time are realized to survey Examination server respectively forms machine and is restarting the orderly control in implementation procedure, and then realizes restarting for HOST-BOX server Stability test.
In addition, design principle of the present invention is reliable, structure is simple, has very extensive application prospect.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, for those of ordinary skill in the art Speech, without creative efforts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is the schematic flow chart of the method for the application one embodiment.
Fig. 2 is the schematic block diagram of the device of the application one embodiment.
Fig. 3 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
Technical solution in order to enable those skilled in the art to better understand the present invention, below in conjunction with of the invention real The attached drawing in example is applied, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described implementation Example is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, this field is common Technical staff's every other embodiment obtained without making creative work, all should belong to protection of the present invention Range.
The Key Term occurred in the application is explained below.
Fig. 1 is the schematic flow chart of the method for the application one embodiment.Wherein, Fig. 1 executing subject can be one kind HOST-BOX server stability test device.
As shown in Figure 1, this method 100 includes:
Step 110, the BMC IP of BMC IP and the BOX machine of the HOST machine of testing service device is obtained;
Step 120, execution sequence and interval time are arranged according to the BMC IP of BMC IP and the BOX machine of HOST machine;
Step 130, testing time is set;
Step 140, Qi Bingji is thought highly of according to the execution sequence and interval time control testing service using ipmitool Number is restarted in record;
Step 150, number and the testing time control stability test process are restarted according to described.
Optionally, as the application one embodiment, the BMC IP of BMC IP and the BOX machine according to HOST machine is arranged Execution is sequentially and interval time includes:
According to the booting of the BMC IP of BMC IP and the BOX machine of the power-up sequence setting HOST machine by BOX machine to HOST machine Calling sequence;
According to the shutdown of the BMC IP of BMC IP and the BOX machine of the shutdown sequence setting HOST machine by HOST machine to BOX machine Calling sequence;
The booting execution interval time of HOST machine and BOX machine is set;
The shutdown execution interval time of HOST machine and BOX machine is set.
Optionally, described to be tested using ipmitool according to the execution state modulator as the application one embodiment Server Restart and record restart number and include:
The open state of testing service device is obtained using ispoweron method;
Corresponding BMC IP carry out sequence shutdown is successively called according to execution sequence and is guaranteed by off-mode verification adjacent The shutdown waiting time between two machines reaches corresponding interval time;
The off-mode of testing service device is obtained using ispoweroff method;
Corresponding BMC IP carry out sequence booting is successively called according to execution sequence and guarantees opening between adjacent two machines The machine waiting time reaches corresponding interval time;
It is currently shut down number and current booting number using time tool records.
Optionally, as the application one embodiment, the basis restarts number and the testing time control stability Test process includes:
Judgement restarts whether number reaches testing time:
It is that then discriminating test is completed and exports the system log generated in test process;
It is no, then it recycles execution and the testing service device is restarted.
In order to facilitate the understanding of the present invention, below with the original of HOST-BOX server stability test method of the present invention Reason, in conjunction with the embodiments middle HOST-BOX server stability take the process tested to HOST-BOX provided by the invention Business device stability test method is further described.
Specifically, the HOST-BOX server stability test method includes:
S1, obtain testing service device HOST machine BMC IP and BOX machine BMC IP.
Testing service device in the present embodiment has a HOST machine and two BOX machines, and each machine is corresponding unique BMC IP.Need to obtain HOST 1, BOX 1, the corresponding BMC IP of BOX 2.
S2, execution sequence and interval time are arranged according to the BMC IP of BMC IP and the BOX machine of HOST machine.
In the present embodiment, shutdown sequence is set as HOST 1, BOX 1, BOX 2, in other embodiments BOX 1, BOX 2 shutdown sequence can exchange, but must close BOX machine after first closing HOST machine.Be arranged three shut down interval time, HOST 1 with It is spaced 10 seconds between BOX 1, is spaced 5 seconds between BOX 1 and BOX 2.
Power-up sequence is set as BOX 1, BOX 2, HOST 1, and BOX 1, the booting of BOX 2 are suitable in other embodiments Sequence can exchange, but must open HOST machine after first opening BOX machine.Three is arranged to be switched on interval time, between BOX 1 and BOX 2 Booting interval time be set as 20 seconds, the booting interval time between BOX 2 and HOST 1 is set as 20 seconds.
S3, setting testing time.
Testing time is set as 300 times in the present embodiment.
S4, thought highly of using ipmi tool according to the execution sequence and interval time control testing service and open and record weight Open number.
The open state of BOX 1, BOX 2, HOST 1 are obtained first, i.e. guarantee BOX 1, BOX 2, HOST1 is in out Machine state starts execution sequence and shuts down, and the BMC IP control HOST 1 for transferring HOST 1 shuts down, and obtains the state of HOST 1, right The shutdown implementing result of HOST 1 is verified, and the BMC IP by transferring BOX 1 after waiting 10 seconds after verification controls BOX 1 and holds Row shutdown, verifies the shutdown implementing result of BOX 1, and the BMC IP by transferring BOX 2 after waiting 5 seconds after verification is controlled BOX 2 executes shutdown, verifies to the shutdown implementing result of BOX 2.
After finishing to the shutdown implementing result verification of BOX 2, it can be deduced that testing service device is in off-mode Conclusion starts execution sequence at this time and is switched on, and the BMC IP control BOX 1 for transferring BOX 1 executes booting, holds to the booting of BOX 1 Row result is verified, and the BMC IP by transferring BOX 2 after waiting 20 seconds after verification controls BOX 2 and executes booting, to BOX 2 Booting implementing result verified, by verification after waits 20 seconds after transfer HOST 1 BMC IP control HOST 1 booting, The state for obtaining HOST 1, verifies the booting implementing result of HOST 1, passes through testing service device completion sequence after verification Booting.
Primary sequence shutdown and primary sequence booting as once restarting, using time tool obtain current shutdown number with Be switched on number.
S5, number and the testing time control stability test process are restarted according to.
Judgement restarts whether number reaches testing time: being that then discriminating test is completed and export to generate in test process System log;It is no, then it recycles execution and the testing service device is restarted.
Method provided by the embodiments of the present application is realized that specific python code is as follows by python code:
So far, above-mentioned DC_Test class has just write completion, can use the program write above with following code:
# instantiates DC_Test class
Test=DC_Test ()
# calls testProcess method, starts to execute test
test.testProcess()
If Fig. 2 shows, which includes:
Address acquisition unit 210, the address acquisition unit 210 are used to obtain the BMC IP of the HOST machine of testing service device With the BMC IP of BOX machine;
Parameter set unit 220, the parameter set unit 220 are used for the BMC of BMC IP and the BOX machine according to HOST machine Execution sequence and interval time is arranged in IP;
Number setting unit 230, the number setting unit 230 is for being arranged testing time;
Restart execution unit 240, it is described restart execution unit 240 for using ipmitool according to the execution sequence with Interval time control testing service, which thinks highly of to open and record, restarts number;
Process flowchart unit 250, the Process flowchart unit 250 according to for restarting number and the testing time Control stability test process.
Optionally, as the application one embodiment, the parameter set unit includes:
Power-up sequence module is configured to the BMC IP according to the power-up sequence setting HOST machine by BOX machine to HOST machine With the booting calling sequence of the BMC IP of BOX machine;
Shut down sequent modular, is configured to that the BMC IP of HOST machine is arranged according to the shutdown sequence by HOST machine to BOX machine With the shutdown calling sequence of the BMC IP of BOX machine;
Be switched on interval module, is configured to the booting execution interval time of setting HOST machine and BOX machine;
Shutdown interval module, is configured to the shutdown execution interval time of setting HOST machine and BOX machine.
Optionally, described to restart execution unit and include: as the application one embodiment
Booting obtains module, is configured to obtain the open state of testing service device using ispoweron method;
Shutdown execution module, is configured to successively call corresponding BMC IP carry out sequence shutdown according to execution sequence and pass through Off-mode verification guarantees that the shutdown waiting time between adjacent two machines reaches corresponding interval time;
Shutdown obtains module, is configured to obtain the off-mode of testing service device using ispoweroff method;
Be switched on execution module, is configured to successively call corresponding BMC IP carry out sequence booting according to execution sequence and pass through Open state verification guarantees that the booting waiting time between adjacent two machines reaches corresponding interval time;
Number logging modle is configured to currently shut down using t ime tool records number and current booting number.
Optionally, as the application one embodiment, the Process flowchart unit includes:
Number judgment module is configured to judgement and restarts whether number reaches testing time;
As a result output module is configured to discriminating test and completes and export the system log generated in test process;
Restart loop module, is configured to circulation execution and the testing service device is restarted.
Fig. 3 is a kind of structural schematic diagram of terminal installation 300 provided in an embodiment of the present invention, which can be with For executing HOST-BOX server stability test method provided by the embodiments of the present application.
Wherein, which may include: processor 310, memory 320 and communication unit 330.These components It is communicated by one or more bus, it will be understood by those skilled in the art that the structure of server shown in figure is not The restriction to the application is constituted, it is also possible to hub-and-spoke configuration either busbar network, can also include more than illustrating Or less component, perhaps combine certain components or different component layouts.
Wherein, which can be used for executing instruction for storage processor 310, and memory 320 can be by any class The volatibility or non-volatile memories terminal or their combination of type are realized, such as static random access memory (SRAM), electricity Erasable Programmable Read Only Memory EPROM (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.When executing instruction in memory 320 When being executed by processor 310, so that terminal 300 some or all of is able to carry out in following above method embodiment step.
Processor 310 is the control centre for storing terminal, utilizes each of various interfaces and the entire electric terminal of connection A part by running or execute the software program and/or module that are stored in memory 320, and calls and is stored in storage Data in device, to execute the various functions and/or processing data of electric terminal.The processor can be by integrated circuit (Integrated Circuit, abbreviation IC) composition, such as the IC that can be encapsulated by single are formed, can also be by more of connection The encapsulation IC of identical function or different function and form.For example, processor 310 can only include central processing unit (Central Processing Unit, abbreviation CPU).In the application embodiment, CPU can be single operation core, can also To include multioperation core.
Communication unit 330, for establishing communication channel, so that the storage terminal be allow to be led to other terminals Letter.It receives the user data of other terminals transmission or sends user data to other terminals.
The application also provides a kind of computer storage medium, wherein the computer storage medium can be stored with program, the journey Sequence may include step some or all of in each embodiment provided by the present application when executing.The storage medium can for magnetic disk, CD, read-only memory (English: read-only memory, referred to as: ROM) or random access memory (English: Random access memory, referred to as: RAM) etc..
Therefore, the application is by obtaining the BMC IP of BMC IP and the BOX machine of the HOST machine of testing service device and executing suitable The setting realization of sequence opinion interval time respectively forms machine to testing service device and is restarting the orderly control in implementation procedure, in turn Realize the stability test of restarting for HOST-BOX server, the attainable technical effect of the present embodiment institute may refer to above In description, details are not described herein again.
It is required that those skilled in the art can be understood that the technology in the embodiment of the present application can add by software The mode of general hardware platform realize.Based on this understanding, the technical solution in the embodiment of the present application substantially or Say that the part that contributes to existing technology can be embodied in the form of software products, which is stored in Such as USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory in one storage medium The various media that can store program code such as (RAM, Random Access Memory), magnetic or disk, including it is several Instruction is used so that a terminal (can be personal computer, server or second terminal, the network terminal etc.) is held Row all or part of the steps of the method according to each embodiment of the present invention.
Same and similar part may refer to each other between each embodiment in this specification.Implement especially for terminal For example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring in embodiment of the method Explanation.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
Although by reference to attached drawing and combining the mode of preferred embodiment to the present invention have been described in detail, the present invention It is not limited to this.Without departing from the spirit and substance of the premise in the present invention, those of ordinary skill in the art can be to the present invention Embodiment carry out various equivalent modifications or substitutions, and these modifications or substitutions all should in covering scope of the invention/appoint What those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, answer It is included within the scope of the present invention.Therefore, protection scope of the present invention is answered described is with scope of protection of the claims It is quasi-.

Claims (10)

1. a kind of HOST-BOX server stability test method, which is characterized in that the described method includes:
Obtain the BMC IP of BMC IP and the BOX machine of the HOST machine of testing service device;
According to the BMC IP of BMC IP and the BOX machine of HOST machine, execution sequence and interval time are set;
Testing time is set;
Think highly of to open and record according to the execution sequence and interval time control testing service using ipmitool and restarts number;
Number and the testing time control stability test process are restarted according to described.
2. the method according to claim 1, wherein the BMC of BMC IP and the BOX machine according to HOST machine IP setting execution is sequentially and interval time includes:
It is called according to the booting of the BMCIP of BMC IP and the BOX machine of the power-up sequence setting HOST machine by BOX machine to HOST machine suitable Sequence;
It is called according to the shutdown of the BMCIP of BMC IP and the BOX machine of the shutdown sequence setting HOST machine by HOST machine to BOX machine suitable Sequence;
The booting execution interval time of HOST machine and BOX machine is set;
The shutdown execution interval time of HOST machine and BOX machine is set.
3. the method according to claim 1, wherein described utilize ipmitool according to the execution state modulator Testing service, which thinks highly of to open and record, restarts number and includes:
The open state of testing service device is obtained using ispoweron method;
Corresponding BMC IP carry out sequence shutdown is successively called according to execution sequence and guarantees adjacent two by off-mode verification The shutdown waiting time between machine reaches corresponding interval time;
The off-mode of testing service device is obtained using ispoweroff method;
Corresponding BMC IP carry out sequence booting is successively called according to execution sequence and guarantees adjacent two by open state verification The booting waiting time between machine reaches corresponding interval time;
It is currently shut down number and current booting number using time tool records.
4. the method according to claim 1, wherein the basis restarts number and testing time control is steady Qualitative test process includes:
Judgement restarts whether number reaches testing time:
It is that then discriminating test is completed and exports the system log generated in test process;
It is no, then it recycles execution and the testing service device is restarted.
5. a kind of HOST-BOX server stability test device, which is characterized in that described device includes:
Address acquisition unit is configured to obtain the BMC IP of BMC IP and the BOX machine of the HOST machine of testing service device;
Parameter set unit is configured to that execution sequence and interval are arranged according to the BMC IP of BMC IP and the BOX machine of HOST machine Time;
Number setting unit is configured to setting testing time;
Restart execution unit, is configured to control testing service device according to the execution sequence and interval time using ipmitool Restart and record and restarts number;
Process flowchart unit is configured to restart number and the testing time control stability test process according to.
6. device according to claim 5, which is characterized in that the parameter set unit includes:
Power-up sequence module is configured to BMC IP and BOX according to the power-up sequence setting HOST machine by BOX machine to HOST machine The booting calling sequence of the BMC IP of machine;
Shut down sequent modular, is configured to that the BMC IP and BOX of HOST machine are arranged according to the shutdown sequence by HOST machine to BOX machine The shutdown calling sequence of the BMC IP of machine;
Be switched on interval module, is configured to the booting execution interval time of setting HOST machine and BOX machine;
Shutdown interval module, is configured to the shutdown execution interval time of setting HOST machine and BOX machine.
7. device according to claim 5, which is characterized in that described to restart execution unit and include:
Booting obtains module, is configured to obtain the open state of testing service device using ispoweron method;
Shutdown execution module, is configured to successively call corresponding BMC IP carry out sequence shutdown according to execution sequence and passes through shutdown Status check guarantees that the shutdown waiting time between adjacent two machines reaches corresponding interval time;
Shutdown obtains module, is configured to obtain the off-mode of testing service device using ispoweroff method;
Be switched on execution module, is configured to successively call corresponding BMC IP carry out sequence booting according to execution sequence and passes through shutdown State verification guarantees that the booting waiting time between adjacent two machines reaches corresponding interval time;
Number logging modle is configured to currently shut down using time tool records number and current booting number.
8. device according to claim 5, which is characterized in that the Process flowchart unit includes:
Number judgment module is configured to judgement and restarts whether number reaches testing time;
As a result output module is configured to discriminating test and completes and export the system log generated in test process;
Restart loop module, is configured to circulation execution and the testing service device is restarted.
9. a kind of terminal characterized by comprising
Processor;
The memory executed instruction for storage processor;
Wherein, the processor is configured to perform claim requires the described in any item methods of 1-4.
10. a kind of computer readable storage medium for being stored with computer program, which is characterized in that the program is executed by processor Shi Shixian method for example of any of claims 1-4.
CN201910002234.2A 2019-01-02 2019-01-02 A kind of HOST-BOX server stability test method, apparatus, terminal and storage medium Withdrawn CN109815070A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910002234.2A CN109815070A (en) 2019-01-02 2019-01-02 A kind of HOST-BOX server stability test method, apparatus, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910002234.2A CN109815070A (en) 2019-01-02 2019-01-02 A kind of HOST-BOX server stability test method, apparatus, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN109815070A true CN109815070A (en) 2019-05-28

Family

ID=66603738

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910002234.2A Withdrawn CN109815070A (en) 2019-01-02 2019-01-02 A kind of HOST-BOX server stability test method, apparatus, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN109815070A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110609765A (en) * 2019-08-16 2019-12-24 苏州浪潮智能科技有限公司 Method, system, equipment and storage medium for automatically and randomly restarting server
CN111240907A (en) * 2019-12-31 2020-06-05 苏州浪潮智能科技有限公司 ITS-based DC stability test method, system, test equipment and readable storage medium
CN112003727A (en) * 2020-07-24 2020-11-27 苏州浪潮智能科技有限公司 Multi-node server power supply testing method, system, terminal and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110609765A (en) * 2019-08-16 2019-12-24 苏州浪潮智能科技有限公司 Method, system, equipment and storage medium for automatically and randomly restarting server
CN110609765B (en) * 2019-08-16 2022-08-12 苏州浪潮智能科技有限公司 Method, system, equipment and storage medium for automatically and randomly restarting server
CN111240907A (en) * 2019-12-31 2020-06-05 苏州浪潮智能科技有限公司 ITS-based DC stability test method, system, test equipment and readable storage medium
CN111240907B (en) * 2019-12-31 2022-12-23 苏州浪潮智能科技有限公司 ITS-based DC stability test method, system, test equipment and readable storage medium
CN112003727A (en) * 2020-07-24 2020-11-27 苏州浪潮智能科技有限公司 Multi-node server power supply testing method, system, terminal and storage medium

Similar Documents

Publication Publication Date Title
CN109510742A (en) A kind of server network interface card remote test method, device, terminal and storage medium
CN109445865A (en) A kind of BIOS option remote batch setting method, device, terminal and storage medium
CN109815070A (en) A kind of HOST-BOX server stability test method, apparatus, terminal and storage medium
CN110213121B (en) Test platform, test method and test device for virtual communication product
CN103345414B (en) Self-aided terminal controls the method for hardware device, equipment manager and processor
CN109257249A (en) A kind of network interface card stability test method, apparatus, terminal and storage medium
CN109635561A (en) A kind of method, apparatus that BIOS with BMC password setting is synchronous, terminal and storage medium
CN109933376A (en) PCIE silk-screen information updating method, device, controlled terminal and storage medium in a kind of BIOS setup
CN109542525A (en) A kind of method, apparatus, terminal and storage medium by BMC switching system memory configurations
CN107612775A (en) A kind of node two level connects the DC method of testings and system of server
CN109684166A (en) Method, apparatus, terminal and the storage medium of automatic test Sensor log normalization
CN109240847A (en) EMS memory error report method, device, terminal and storage medium during a kind of POST
CN109408032A (en) A kind of customized Fast implementation of BIOS, device, terminal and storage medium
CN107070747A (en) A kind of method of the automatic test network interface card network connection stability under network card binding pattern
CN109918254A (en) A kind of AEP memory Error Detection function test method, system, terminal and storage medium
CN109857471A (en) Method, apparatus, terminal and the storage medium of the tactful real-time synchronization of electricity under a kind of BIOS and BMC
CN109344004A (en) A kind of memory database backup management method, device, terminal and storage medium
CN109117335A (en) A kind of hard disk simulation hot plug test method, device, terminal and storage medium
CN109522173A (en) A kind of OPA network card testing method, device, terminal and storage medium
CN109788052A (en) A kind of server configuration remote inquiry method, apparatus, terminal and storage medium
CN109815076A (en) A kind of network interface card boot option detection method, system, terminal and storage medium
CN109510740A (en) A kind of method, apparatus, terminal and the storage medium of automatic monitoring network interface card MTU value
CN102540105A (en) Method for testing AC and DC on/off machines
CN109062805A (en) A kind of AEP memory firmware promotion and demotion test method, device, terminal and storage medium
CN109918221A (en) A kind of hard disk reports an error analytic 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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20190528