CN108614754A - A kind of server power failure test method and device based on platform of soaring - Google Patents

A kind of server power failure test method and device based on platform of soaring Download PDF

Info

Publication number
CN108614754A
CN108614754A CN201810938589.8A CN201810938589A CN108614754A CN 108614754 A CN108614754 A CN 108614754A CN 201810938589 A CN201810938589 A CN 201810938589A CN 108614754 A CN108614754 A CN 108614754A
Authority
CN
China
Prior art keywords
operating system
test
module
platform
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810938589.8A
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.)
Beijing Sailstar Cloud Technology Co Ltd
Original Assignee
Beijing Sailstar Cloud 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 Beijing Sailstar Cloud Technology Co Ltd filed Critical Beijing Sailstar Cloud Technology Co Ltd
Priority to CN201810938589.8A priority Critical patent/CN108614754A/en
Publication of CN108614754A publication Critical patent/CN108614754A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2284Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by power-on test, e.g. power-on self test [POST]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses server power failure test method and device based on platform of soaring, disclosed method includes step S100:Server powers on, and baseboard management controller powers on automatically;Step S200:Baseboard management controller runs intelligent management platform management tool and sends operating system power up commands;Step S300:Central processing unit powers on, os starting;Step S400:Operating system is logged into, the test script that prestores is run, whether system and data are normal after accident power down when detecting operating system normal operation;Step S500:Intelligent management platform management tool sends operating system power down order, operating system power down;Step S600:Judge whether to reach testing time, if having reached testing time, flow terminates, on the contrary then return to step S200.Server power failure is tested in realization automatically, on duty without tester, to improve testing efficiency and reduce testing cost.

Description

A kind of server power failure test method and device based on platform of soaring
Technical field
The present invention relates to field of computer technology more particularly to a kind of server power failure test sides based on platform of soaring Method and device.
Background technology
With being constantly progressive for science and technology, the application of server is also in high speed development.National University of Defense technology's computer Institute's independent development has succeeded serial micro-chip processor of soaring, domestic many enterprises also in succession research and development be proposed based on it is domestic soar it is flat The server of platform.In order to meet the user's use demands of server, in the research and development test process of server, server is coped with Reliability, stability carry out stringent test, to ensure user in use safe and reliable.And server is in user's reality During the use of border, it unavoidably will appear the emergency case of unexpected power down, such case puies forward the stability of server system High requirement is gone out.Therefore analog subscriber service condition is needed, power down test is carried out to system during operating system, The reliability and stability of system is verified with this.
And artificial carry out or more electric control is usually used in existing test mode, i.e., by artificial, successively to server Be powered up-operating system-cuts the operation of electricity-power-up.It need to be by manually carrying out analog subscriber use and unexpected to server The server number of units of the operation of power down, personal responsibility is extremely limited, and needs tester's whole process real-time tracking, checks server State after power down, testing process are cumbersome.
Therefore how server power failure is tested automatically, it is on duty without tester, to improve testing efficiency With reduction testing cost, become those skilled in the art's urgent problem to be solved.
Invention content
The technical problem to be solved by the present invention is to overcome drawbacks described above of the existing technology, provide one kind and be based on soaring The server power failure test method and device of platform can test server power failure automatically, on duty without tester, To improve testing efficiency and reduce testing cost.
A kind of server power failure test method based on platform of soaring provided by the invention, the method includes following steps Suddenly:
Step S100:Server powers on, and baseboard management controller powers on automatically;
Step S200:Baseboard management controller runs intelligent management platform management tool, and intelligent management platform management tool is sent Operating system power up commands;
Step S300:Central processing unit powers on, os starting;
Step S400:Operating system is logged into, the test script that prestores is run, accident power down when detecting operating system normal operation Whether system and data are normal afterwards;
Step S500:Intelligent management platform management tool sends operating system power down order, operating system power down;
Step S600:Intelligent management platform management tool judges whether to reach testing time, if having reached testing time, flow Terminate, on the contrary then return to step S200.
Preferably, further include step S101 before step S100:Server powers on, and baseboard management controller is automatic It powers on;Baseboard management controller runs intelligent management platform management tool, and intelligent management platform management tool sends operating system Power up commands;Central processing unit powers on, os starting;Operating system is logged into, test script is uploaded and is created at random Multidocument presss from both sides and multiple files, and records the digital signature back operation system power down of file.
Preferably, the digital signature of record file is specially in the step S101:The MD5 values of file are recorded to encrypting day Will.
Preferably, the step S400 is specially:
Step S410:Operating system is logged into, the test script that prestores is run;
Step S420:The MD5 values recorded in encrypted logs in the MD5 values of All Files and step S101 are verified and record knot Fruit carries out alarm indication if there is file anomalous variation occur;
Step S430:Testing hard disk rate, and testing hard disk rate is compared with standard speed is preset, when test speed When rate is less than standard speed, alarm indication is carried out;
Step S440:The stability and robustness of Test Operating System, carry out alarm indication if test crash;
Step S450:Big pressure read-write is carried out to hard disk, alarm indication is carried out if test crash.
Preferably, it carries out also recording error information to alarm log when alarm indication in the step S420 to S450.
Preferably, further include step S460 after the step S450:It searches and whether there is error information in alarm log, Mail is sent if there are error information to alarm to pre-set mailbox.
Preferably, further include step S800 after the step S200:The operation of intelligent management platform management tool waits for, if reaching To the default stand-by period to then entering step S500.
Preferably, the stand-by period be refer to os starting to completely into operating system time and test script Run the sum of the time needed.
The present invention also provides a kind of server power failure test device based on platform of soaring, including power module, substrate Management Controller, central processing unit, the power module are connect with baseboard management controller, central processing unit, substrate management control Device processed is connected with central processing unit, wherein:
Power module, for powering to baseboard management controller, central processing unit;
Baseboard management controller, for running intelligent management platform management tool, intelligent management platform management tool sends operation System electrification order is to central processing unit;Intelligent management platform management tool sends operating system power down order to central processing Device;Judge whether to reach testing time, if having reached testing time, test terminates, and on the contrary then intelligent management platform manages work Tool sends operating system power up commands to central processing unit;
Central processing unit, for receiving start-up operation system after operating system power up commands;Operating system is logged into, operation is pre- Test script is deposited, whether system and data are normal after accident power down when detecting operating system normal operation;It receives in operating system Electric order back operation system power down.
Preferably, described device further includes display module, and central processing unit further includes uploading module, correction verification module, hard disk Velocity test module, stability test module, pressure test module, uploading module are connect with baseboard management controller module, institute It states uploading module, correction verification module, hard disk velocity test module, stability test module, pressure test module to be sequentially connected, verify Module, hard disk velocity test module, stability test module, pressure test module are connect with display module, wherein:
Display module is used for display alarm information;
Uploading module, for receive baseboard management controller transmission operating system power up commands after start-up operation system;It logs in It into operating system, uploads test script and creates multidocument folder and multiple files at random, and the MD5 values write-in for recording file adds Close daily record back operation system power down;Receive the operating system power up commands back operation system power down that baseboard management controller is sent; Run the test script that prestores;
Correction verification module, for verifying and recording the MD5 values of All Files with the MD5 values recorded in encrypted logs in uploading module If as a result, there is file anomalous variation occur, warning message is sent to display module;
Hard disk velocity test module is used for testing hard disk rate, and by testing hard disk rate and presets standard speed progress Compare, when test rate is less than standard speed, sends warning message to display module;
Stability test module is used for the stability and robustness of Test Operating System, warning message is sent if test crash To display module;
Pressure test module sends warning message to display module for carrying out big pressure read-write to hard disk if test crash.
Server power failure is tested in realization automatically, on duty without tester, is surveyed with improving testing efficiency and reducing Try cost.
Description of the drawings
Fig. 1 is the flow chart for the server power failure test method based on platform of soaring that the first embodiment provides;
Fig. 2 is the flow chart for the server power failure test method based on platform of soaring that second of embodiment provides;
Fig. 3 is intelligent management script operational process in a kind of server power failure test method based on platform of soaring that invention provides Figure;
Fig. 4 is the structure diagram for the server power failure test device based on platform of soaring that the first embodiment provides;
Fig. 5 is the structure diagram for the server power failure test device based on platform of soaring that second of embodiment provides.
Specific implementation mode
In order that those skilled in the art will better understand the technical solution of the present invention, below in conjunction with the accompanying drawings to the present invention It is described in further detail.
Referring to Fig. 1, Fig. 1 is the stream for the server power failure test method based on platform of soaring that the first embodiment provides Cheng Tu.
A kind of server power failure test method based on platform of soaring, the described method comprises the following steps:
Step S100:Server powers on, and baseboard management controller powers on automatically;
Step S200:Baseboard management controller runs intelligent management platform management tool, and intelligent management platform management tool is sent Operating system power up commands;
Step S300:Central processing unit powers on, os starting;
Step S400:Operating system is logged into, the test script that prestores is run, accident power down when detecting operating system normal operation Whether system and data are normal afterwards;
Step S500:Intelligent management platform management tool sends operating system power down order, operating system power down;
Step S600:Intelligent management platform management tool judges whether to reach testing time, if having reached testing time, flow Terminate, on the contrary then return to step S200.
Server powers on, and baseboard management controller powers on automatically, and baseboard management controller runs intelligent management platform Management tool, intelligent management platform management tool send operating system power up commands.Central processing unit powers on, and operating system opens It is dynamic, log into operating system.Operation prestores test script, system and number after accident power down when detecting operating system normal operation According to whether normal, intelligent management platform management tool transmission operating system power down order, operating system power down, intelligent management platform Management tool judges whether to reach testing time, if having reached testing time, flow terminates, on the contrary then return to step S200 weights New power on again tests system.Server power failure is tested in realization automatically, on duty without tester, is surveyed with improving It tries efficiency and reduces testing cost.
Referring to Fig. 2, Fig. 2 is the stream for the server power failure test method based on platform of soaring that second of embodiment provides Cheng Tu.
A kind of server power failure test method based on platform of soaring, the described method comprises the following steps:
Step S101:Server powers on, and baseboard management controller powers on automatically;Baseboard management controller runs intelligent management Platform management tool, intelligent management platform management tool send operating system power up commands;Central processing unit powers on, operating system Start;Operating system is logged into, test script is uploaded and creates multidocument folder and multiple files at random, and records file Digital signature back operation system power down.
Preferably, the digital signature of the record file be the MD5 values of record file to encrypted logs.
Operating system is logged into, it is random to create multidocument folder and multiple files, and record the MD5 values of file(Information- Digest algorithm 5)To encrypted logs.The encrypted logs can be all.md5.MD5 values are like " digital finger-print " of file, often The MD5 values of a file are different, if any change occurs in file, MD5 values will change.It can be by verifying text The MD5 values of part judge data consistency, examine whether data exception occur in file system during powered-off fault.
Step S100:Server powers on, and baseboard management controller powers on automatically;
Step S200:Baseboard management controller runs intelligent management platform management tool, and intelligent management platform management tool is sent Operating system power up commands;
The transmission of intelligent management platform management tool operates on baseboard management controller, and intelligent management platform management tool can be used IPMI(Intelligent Platform Management Interface, i.e. Intelligent Platform Management Interface)Platform management work Tool edits IPMI orders in baseboard management controller and gives central processing unit transmission operating system power up commands.
Step S300:Central processing unit powers on, os starting;
After operating system power up commands come into force, central processing unit powers on, os starting, using the server one for platform of soaring As carry is domestic kylin operating system.
Step S410:Operating system is logged into, the test script that prestores is run;
Step S420:The MD5 values recorded in encrypted logs in the MD5 values of All Files and step S101 are verified and record knot Fruit carries out alarm indication if there is file anomalous variation occur;
If the MD5 values recorded in encrypted logs in the MD5 values of All Files and step S101 are verified and are recorded as a result, there is file There is anomalous variation, carries out alarm indication.The alarm indication can be shown by the display of server.It is aobvious except alarm is carried out Also error information is recorded to alarm log outside showing.The alarm log is log journal files.
Step S430:Testing hard disk rate, and testing hard disk rate is compared with standard speed is preset, work as survey When trying rate less than standard speed, alarm indication is carried out;
Compare using dd tools testing hard disk rate in test script and by testing hard disk rate with standard speed is preset Compared with, when test rate is less than standard speed, progress alarm indication.The alarm indication can be aobvious by the display of server Show.Also error information is recorded to alarm log in addition to carrying out alarm indication.The alarm log is log journal files.
The standard speed can define standard speed according to practical hard disk.
Step S440:The stability and robustness of Test Operating System, carry out alarm indication if test crash;
Using the benchmark of linpack Test Operating Systems floating-point performance in test script, the stability of Test Operating System and strong Strong property.Alarm indication is carried out if test crash.The alarm indication can be shown by the display of server.Except being reported Alert display is outer also to record error information to alarm log.The alarm log is log journal files.
Step S450:Big pressure read-write is carried out to hard disk, alarm indication is carried out if test crash;
Big pressure read-write is carried out to hard disk using fio tools in test script, can according to specific service device system call interception block size, File size and active thread etc. carry out alarm indication if test crash.The alarm indication can pass through the aobvious of server Show that device is shown.Also error information is recorded to alarm log in addition to carrying out alarm indication.The alarm log is log daily record texts Part.
Step S460:It searches and whether there is error information in alarm log, mail alarm is sent if there are error information To pre-set mailbox;
Log journal files are searched, are alarmed to pre-set mailbox when log journal files then send mail there are error information.
Step S500:Intelligent management platform management tool sends operating system power down order, operating system power down;
IPMI platform managements tool sends operating system power down order, operating system to central processing unit in baseboard management controller Power down.
Step S600:Intelligent management platform management tool judges whether to reach testing time, if having reached testing time, Flow terminates, on the contrary then return to step S200.
Power-down operation is carried out to system during disk read-write, the steady of actual user's use environment test system can be simulated It is qualitative.
Intelligent management platform management tool and test script are run under baseboard management controller and under operating system respectively It is to be operated in firmware level and system level respectively, cooperates and can reach the purpose of automatic test.Whole record log, It can terminate in test or check log information at any time in the process, can send alarm mail toward preset mailbox when an error occurs, Also test can be terminated at any time according to actual conditions.
Referring to Fig. 3, Fig. 3 is intelligent management in a kind of server power failure test method based on platform of soaring that invention provides Script operational flow diagram.
A kind of server power failure test method based on platform of soaring, the described method comprises the following steps:
Step S100:Server powers on, and baseboard management controller powers on automatically;
Step S200:Baseboard management controller runs intelligent management platform management tool, and intelligent management platform management tool is sent Operating system power up commands;
Step S800:The operation of intelligent management platform management tool waits for, and S600 is entered step if if reaching the default stand-by period;
Step S500:Intelligent management platform management tool operating system power down order, operating system power down;
Step S600:Intelligent management platform management tool judges whether to reach testing time, if having reached testing time, flow Terminate, on the contrary then return to step S200.
Preferably, the stand-by period be refer to os starting to completely into operating system time and test script Run the sum of the time needed.
Power-up-waiting-power down is a cycle in IPMI platform management tools, operating system can be powered up in advance- The number of waiting-power-down operation can need to modify according to specific test.
Referring to Fig. 4, Fig. 4 is the knot for the server power failure test device based on platform of soaring that the first embodiment provides Structure block diagram.
A kind of server power failure test device based on platform of soaring, including power module 10, baseboard management controller 20, Central processing unit 30, the power module 10 are connect with baseboard management controller 20, central processing unit 30, baseboard management controller 20 are connected with central processing unit 30, wherein:
Power module 10, for powering to baseboard management controller 20, central processing unit 30;
Baseboard management controller 20, for running intelligent management platform management tool, intelligent management platform management tool sends behaviour Make system electrification order to central processing unit 30;Intelligent management platform management tool sends operating system power down order to centre Manage device 30;Judge whether to reach testing time, if having reached testing time, test terminates, on the contrary then intelligent management platform pipe Science and engineering tool sends operating system power up commands to central processing unit 30;
Central processing unit 30, for receiving start-up operation system after operating system power up commands;Operating system is logged into, is run Prestore test script, and whether system and data are normal after accident power down when detecting operating system normal operation;Receive operating system Power up commands back operation system power down.
Server powers on, and baseboard management controller 20 powers on automatically, and baseboard management controller 20 runs intelligent management Platform management tool, intelligent management platform management tool send operating system power up commands.Central processing unit 30 powers on, operation system System starts, and logs into operating system.The test script that prestores is run, system after accident power down when detecting operating system normal operation And whether data are normal, intelligent management platform management tool sends operating system power down order, operating system power down, intelligent management Platform management tool judges whether to reach testing time, if having reached testing time, test terminates, and on the contrary then intelligent management is flat Platform management tool sends operating system power up commands and is tested again system to central processing unit 30.It realizes to server power failure Automatically it is tested, it is on duty without tester, to improve testing efficiency and reduce testing cost.
Referring to Fig. 5, Fig. 5 is the knot for the server power failure test device based on platform of soaring that second of embodiment provides Structure block diagram.
A kind of server power failure test device based on platform of soaring provided in the present embodiment and the first embodiment The device of offer further includes display module 40 difference lies in described device, and central processing unit 30 further includes uploading module 31, verification Module 32, hard disk velocity test module 33, stability test module 34, pressure test module 35, uploading module 31 and substrate pipe Manage the connection of 20 module of controller, the uploading module 31, correction verification module 32, hard disk velocity test module 33, stability test mould Block 34, pressure test module 35 are sequentially connected, correction verification module 32, hard disk velocity test module 33, stability test module 34, pressure Power test module 35 is connect with display module 40, wherein:
Display module 40 is used for display alarm information;
Uploading module 31, for receive baseboard management controller 20 transmission operating system power up commands after start-up operation system; Operating system is logged into, test script is uploaded and creates multidocument folder and multiple files at random, and the MD5 values for recording file are write Enter encrypted logs back operation system power down;Receive the operating system power up commands back operation system that baseboard management controller 20 is sent Power down;Run the test script that prestores;
Correction verification module 31, the MD5 values verification for will be recorded in encrypted logs in the MD5 values of All Files and uploading module 31 is simultaneously If record is as a result, have file anomalous variation occur, transmission warning message is to display module;
Hard disk velocity test module 32, be used for testing hard disk rate, and by testing hard disk rate and preset standard speed into Row compares, and when test rate is less than standard speed, sends warning message to display module;
Stability test module 33 is used for the stability and robustness of Test Operating System, alarm signal is sent if test crash It ceases to display module;
Pressure test module 34 sends warning message if test crash and gives display mould for carrying out big pressure read-write to hard disk Block.
The test script can be preset, and such as upload test script in advance, and server powers on, substrate management Controller 20 powers on automatically, and baseboard management controller 20 runs intelligent management platform management tool, and intelligent management platform manages work Tool sends operating system power up commands, and central processing unit 30 powers on, os starting;Operating system is logged into, uploads and surveys Training sheet simultaneously creates multidocument folder and multiple files at random, and records the digital signature back operation system power down of file.It is described The digital signature for recording file is to record the MD5 values of file(Message-Digest Algorithm 5)It can be with to encrypted logs described in encrypted logs For all.md5.MD5 values are like " digital finger-print " of file, and the MD5 values of each file are different, if file occurs Any change, MD5 values will change.It can judge data consistency by verifying the MD5 values of file, examine in exception Whether data there is exception in file system during power down.
Server powers on, and baseboard management controller 20 powers on automatically.Baseboard management controller 20 runs intelligent management Platform management tool, intelligent management platform management tool send operating system power up commands.Intelligent management platform management tool is sent out It send and operates on baseboard management controller, IPMI platform management tools can be used in intelligent management platform management tool, in substrate pipe It manages editor's IPMI orders in controller and sends operating system power up commands to central processing unit 30.
Central processing unit 30 powers on, os starting, after operating system power up commands come into force, on central processing unit 30 Electricity, os starting, what is generally carried using the server for platform of soaring is domestic kylin operating system.
The test script that prestores is run, the MD5 values recorded in the MD5 values of All Files and encrypted logs are verified and records knot Fruit carries out alarm indication if there is file anomalous variation occur.The alarm indication can be shown by the display of server. Also error information is recorded to alarm log in addition to carrying out alarm indication.The alarm log is log journal files.Testing hard disk Rate, and testing hard disk rate is compared with standard speed is preset, when test rate is less than standard speed, carry out Alarm indication, using dd tools testing hard disk rate in test script and by testing hard disk rate and preset standard speed into Row compares, and when test rate is less than standard speed, carries out alarm indication.The alarm indication can pass through the display of server Device is shown.Also error information is recorded to alarm log in addition to carrying out alarm indication.The alarm log is log journal files. The standard speed can define standard speed according to practical hard disk.The stability and robustness of Test Operating System, if test Failure then carries out alarm indication, utilizes the benchmark of linpack Test Operating Systems floating-point performance in test script, test operation system The stability and robustness of system.Alarm indication is carried out if test crash.The alarm indication can pass through the display of server Device is shown.Also error information is recorded to alarm log in addition to carrying out alarm indication.The alarm log is log journal files. Big pressure read-write is carried out to hard disk, alarm indication is carried out if test crash, hard disk is carried out using fio tools in test script Big pressure read-write, can according to specific service device system call interception block size, file size and active thread etc., if test crash into Row alarm indication.The alarm indication can be shown by the display of server.To also report an error letter in addition to carrying out alarm indication Breath is recorded to alarm log.The alarm log is log journal files.It searches and whether there is error information in alarm log, if It then sends mail there are error information and alarms to pre-set mailbox, log journal files are searched, when log journal files exist Error information then sends mail and alarms to pre-set mailbox.
Intelligent management platform management tool sends operating system power down order, operating system power down, baseboard management controller IPMI platform managements tool sends operating system power down order, operating system power down, intelligent management to central processing unit 30 in 20 Platform management tool judges whether to reach testing time, if having reached testing time, test terminates, and on the contrary then intelligent management is flat Platform management tool sends operating system power up commands and is tested again system to central processing unit 30.
Intelligent management platform management tool and test script are run under baseboard management controller and under operating system respectively It is to be operated in firmware level and system level respectively, cooperates and can reach the purpose of automatic test.Whole record log, It can terminate in test or check log information at any time in the process, can send alarm mail toward preset mailbox when an error occurs, Also test can be terminated at any time according to actual conditions.
A kind of server power failure test method and device based on platform of soaring provided by the present invention are carried out above It is discussed in detail.Principle and implementation of the present invention are described for specific case used herein, above example Explanation is merely used to help understand the core idea of the present invention.It should be pointed out that coming for those skilled in the art It says, without departing from the principle of the present invention, can be with several improvements and modifications are made to the present invention, these improvement and modification It also falls within the protection scope of the claims of the present invention.

Claims (10)

1. a kind of server power failure test method based on platform of soaring, which is characterized in that the described method comprises the following steps:
Step S100:Server powers on, and baseboard management controller powers on automatically;
Step S200:Baseboard management controller runs intelligent management platform management tool, and intelligent management platform management tool is sent Operating system power up commands;
Step S300:Central processing unit powers on, os starting;
Step S400:Operating system is logged into, the test script that prestores is run, accident power down when detecting operating system normal operation Whether system and data are normal afterwards;
Step S500:Intelligent management platform management tool sends operating system power down order, operating system power down;
Step S600:Intelligent management platform management tool judges whether to reach testing time, if having reached testing time, flow Terminate, on the contrary then return to step S200.
2. the server power failure test method according to claim 1 based on platform of soaring, which is characterized in that in step Further include step S101 before S100:Server powers on, and baseboard management controller powers on automatically;Baseboard management controller is transported Row intelligent management platform management tool, intelligent management platform management tool send operating system power up commands;On central processing unit Electricity, os starting;Operating system is logged into, test script is uploaded and creates multidocument folder and multiple files at random, And record the digital signature back operation system power down of file.
3. the server power failure test method according to claim 2 based on platform of soaring, which is characterized in that the step The digital signature of record file is specially in S101:The MD5 values of file are recorded to encrypted logs.
4. the server power failure test method according to claim 3 based on platform of soaring, which is characterized in that the step S400 is specially:
Step S410:Operating system is logged into, the test script that prestores is run;
Step S420:The MD5 values recorded in encrypted logs in the MD5 values of All Files and step S101 are verified and record knot Fruit carries out alarm indication if there is file anomalous variation occur;
Step S430:Testing hard disk rate, and testing hard disk rate is compared with standard speed is preset, when test speed When rate is less than standard speed, alarm indication is carried out;
Step S440:The stability and robustness of Test Operating System, carry out alarm indication if test crash;
Step S450:Big pressure read-write is carried out to hard disk, alarm indication is carried out if test crash.
5. the server power failure test method according to claim 4 based on platform of soaring, which is characterized in that the step It carries out also recording error information to alarm log when alarm indication in S420 to S450.
6. the server power failure test method according to claim 5 based on platform of soaring, which is characterized in that the step Further include step S460 after S450:It searches and whether there is error information in alarm log, postal is sent if there are error information Part is alarmed to pre-set mailbox.
7. the server power failure test method according to claim 6 based on platform of soaring, which is characterized in that the step Further include step S800 after S200:The operation of intelligent management platform management tool waits for, and enters if if reaching the default stand-by period Step S500.
8. the server power failure test method according to claim 7 based on platform of soaring, which is characterized in that the waiting Time is time the sum of of the finger os starting to time and test script operation needs completely into operating system.
9. a kind of server power failure test device based on platform of soaring, which is characterized in that including power module, substrate management control Device processed, central processing unit, the power module are connect with baseboard management controller, central processing unit, baseboard management controller and Central processing unit is connected, wherein:
Power module, for powering to baseboard management controller, central processing unit;
Baseboard management controller, for running intelligent management platform management tool, intelligent management platform management tool sends operation System electrification order is to central processing unit;Intelligent management platform management tool sends operating system power down order to central processing Device;Judge whether to reach testing time, if having reached testing time, test terminates, and on the contrary then intelligent management platform manages work Tool sends operating system power up commands to central processing unit;
Central processing unit, for receiving start-up operation system after operating system power up commands;Operating system is logged into, operation is pre- Test script is deposited, whether system and data are normal after accident power down when detecting operating system normal operation;It receives in operating system Electric order back operation system power down.
10. the server power failure test device according to claim 9 based on platform of soaring, which is characterized in that the dress It further includes display module to set, and central processing unit further includes uploading module, correction verification module, hard disk velocity test module, stability survey Die trial block, pressure test module, uploading module are connect with baseboard management controller module, the uploading module, correction verification module, hard Disk velocity test module, stability test module, pressure test module are sequentially connected, correction verification module, hard disk velocity test module, Stability test module, pressure test module are connect with display module, wherein:
Display module is used for display alarm information;
Uploading module, for receive baseboard management controller transmission operating system power up commands after start-up operation system;It logs in It into operating system, uploads test script and creates multidocument folder and multiple files at random, and the MD5 values write-in for recording file adds Close daily record back operation system power down;Receive the operating system power up commands back operation system power down that baseboard management controller is sent; Run the test script that prestores;
Correction verification module, for verifying and recording the MD5 values of All Files with the MD5 values recorded in encrypted logs in uploading module If as a result, there is file anomalous variation occur, warning message is sent to display module;
Hard disk velocity test module is used for testing hard disk rate, and by testing hard disk rate and presets standard speed progress Compare, when test rate is less than standard speed, sends warning message to display module;
Stability test module is used for the stability and robustness of Test Operating System, warning message is sent if test crash To display module;
Pressure test module sends warning message to display module for carrying out big pressure read-write to hard disk if test crash.
CN201810938589.8A 2018-08-17 2018-08-17 A kind of server power failure test method and device based on platform of soaring Pending CN108614754A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810938589.8A CN108614754A (en) 2018-08-17 2018-08-17 A kind of server power failure test method and device based on platform of soaring

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810938589.8A CN108614754A (en) 2018-08-17 2018-08-17 A kind of server power failure test method and device based on platform of soaring

Publications (1)

Publication Number Publication Date
CN108614754A true CN108614754A (en) 2018-10-02

Family

ID=63666949

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810938589.8A Pending CN108614754A (en) 2018-08-17 2018-08-17 A kind of server power failure test method and device based on platform of soaring

Country Status (1)

Country Link
CN (1) CN108614754A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109766230A (en) * 2019-01-09 2019-05-17 深圳忆联信息系统有限公司 Single-deck SSD powered-off fault test method, device and computer equipment
CN110413531A (en) * 2019-08-02 2019-11-05 深圳忆联信息系统有限公司 Realize IOMT automatic test approach, device, computer equipment and storage medium
CN110767259A (en) * 2019-10-31 2020-02-07 江苏华存电子科技有限公司 Power failure pressure test method for flash memory device
CN110825569A (en) * 2019-10-13 2020-02-21 苏州浪潮智能科技有限公司 Hard disk stability test method and test system
CN110990207A (en) * 2019-11-29 2020-04-10 苏州浪潮智能科技有限公司 BPS memory test method, system, terminal and storage medium based on Whitley platform
CN111460462A (en) * 2019-01-18 2020-07-28 国网电动汽车服务有限公司 Green certificate data generation and encryption module
CN111488249A (en) * 2020-04-17 2020-08-04 苏州浪潮智能科技有限公司 Method and device for testing influence of GPU card dropping recovery on training task
CN111897685A (en) * 2020-07-29 2020-11-06 深圳佰维存储科技股份有限公司 Method and device for checking data in power failure, storage medium and electronic equipment
CN112506726A (en) * 2020-12-11 2021-03-16 浪潮电子信息产业股份有限公司 System AC test method, device and system based on Feiteng processor
CN113050896A (en) * 2021-04-30 2021-06-29 北京航星中云科技有限公司 Domestic Feiteng server supporting NVDIMM and data protection method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104360919A (en) * 2014-10-24 2015-02-18 浪潮电子信息产业股份有限公司 Method for automatically testing performance, function and stability of SSD
US20160261455A1 (en) * 2015-03-06 2016-09-08 Quanta Computer Inc. Automatic debug information collection
CN106055440A (en) * 2016-05-31 2016-10-26 深圳市国鑫恒宇科技有限公司 Testing method and system for realizing abnormal power failure of server through BMC
CN106776189A (en) * 2017-01-11 2017-05-31 郑州云海信息技术有限公司 It is a kind of that method of testing is restarted based on platform of soaring automatically
CN107943637A (en) * 2017-12-07 2018-04-20 郑州云海信息技术有限公司 A kind of mains cycle test device and method based on IPMI platforms

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104360919A (en) * 2014-10-24 2015-02-18 浪潮电子信息产业股份有限公司 Method for automatically testing performance, function and stability of SSD
US20160261455A1 (en) * 2015-03-06 2016-09-08 Quanta Computer Inc. Automatic debug information collection
CN106055440A (en) * 2016-05-31 2016-10-26 深圳市国鑫恒宇科技有限公司 Testing method and system for realizing abnormal power failure of server through BMC
CN106776189A (en) * 2017-01-11 2017-05-31 郑州云海信息技术有限公司 It is a kind of that method of testing is restarted based on platform of soaring automatically
CN107943637A (en) * 2017-12-07 2018-04-20 郑州云海信息技术有限公司 A kind of mains cycle test device and method based on IPMI platforms

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109766230A (en) * 2019-01-09 2019-05-17 深圳忆联信息系统有限公司 Single-deck SSD powered-off fault test method, device and computer equipment
CN111460462A (en) * 2019-01-18 2020-07-28 国网电动汽车服务有限公司 Green certificate data generation and encryption module
CN110413531A (en) * 2019-08-02 2019-11-05 深圳忆联信息系统有限公司 Realize IOMT automatic test approach, device, computer equipment and storage medium
CN110825569A (en) * 2019-10-13 2020-02-21 苏州浪潮智能科技有限公司 Hard disk stability test method and test system
CN110825569B (en) * 2019-10-13 2022-07-19 苏州浪潮智能科技有限公司 Hard disk stability test method and test system
CN110767259A (en) * 2019-10-31 2020-02-07 江苏华存电子科技有限公司 Power failure pressure test method for flash memory device
CN110990207B (en) * 2019-11-29 2022-07-19 苏州浪潮智能科技有限公司 BPS memory test method, system, terminal and storage medium based on Whitley platform
CN110990207A (en) * 2019-11-29 2020-04-10 苏州浪潮智能科技有限公司 BPS memory test method, system, terminal and storage medium based on Whitley platform
CN111488249A (en) * 2020-04-17 2020-08-04 苏州浪潮智能科技有限公司 Method and device for testing influence of GPU card dropping recovery on training task
CN111488249B (en) * 2020-04-17 2023-01-10 苏州浪潮智能科技有限公司 Method and device for testing influence of GPU card dropping recovery on training task
CN111897685A (en) * 2020-07-29 2020-11-06 深圳佰维存储科技股份有限公司 Method and device for checking data in power failure, storage medium and electronic equipment
CN112506726A (en) * 2020-12-11 2021-03-16 浪潮电子信息产业股份有限公司 System AC test method, device and system based on Feiteng processor
CN113050896A (en) * 2021-04-30 2021-06-29 北京航星中云科技有限公司 Domestic Feiteng server supporting NVDIMM and data protection method

Similar Documents

Publication Publication Date Title
CN108614754A (en) A kind of server power failure test method and device based on platform of soaring
CN110175451A (en) A kind of method for safety monitoring and system based on electric power cloud
CN108984332A (en) A kind of device and method of location-server delay machine failure
CN110413488B (en) Server utilization rate early warning method and device
CN103188116B (en) A kind of network performance detection method of blade server and system
CN101197621A (en) Method and system for remote diagnosing and locating failure of network management system
CN103780432A (en) Parking lot operation and maintenance method and system, lane controller, server and mobile terminal
CN106708646A (en) Hard disk abnormal condition automatic resetting method and device thereof
CN103095488A (en) Condition monitoring system and condition monitoring method for self-service terminal peripheral hardware
CN101763294A (en) Method for looking up and backing up system operation log according to time slots
CN102508760A (en) Early warning method for redundant array of independent disks (RAID) and early warning system for RAID
CN102055615A (en) Server monitoring method
CN115658420A (en) Database monitoring method and system
CN100498733C (en) Method for implementing control of computer fault alarm
CN103178994A (en) Method for automatically detecting a plurality of servers
CN110413435A (en) A kind of communication failure restoration methods, system and associated component
CN106982141A (en) Weblogic examples monitoring method and device
CN111240936A (en) Data integrity checking method and equipment
CN103824017A (en) Method and platform for monitoring rogue programs
TWI591489B (en) Intelligent monitoring and warning device and method for distributed software defined storage system
CN111880748A (en) Wear balancing method for solid state disk of distributed storage system
CN111552245A (en) Remote monitoring and processing method, device, equipment and medium for environmental protection water projects
CN100562835C (en) Guard method of condition of instant error power-off of computer platform internal circuit and system
CN114500178B (en) Self-operation intelligent Internet of things gateway
CN113032218B (en) Server fault detection method, system and computer readable 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181002

RJ01 Rejection of invention patent application after publication