CN111352789B - Alternating current circulation test method and device for server and storage medium - Google Patents

Alternating current circulation test method and device for server and storage medium Download PDF

Info

Publication number
CN111352789B
CN111352789B CN202010202407.8A CN202010202407A CN111352789B CN 111352789 B CN111352789 B CN 111352789B CN 202010202407 A CN202010202407 A CN 202010202407A CN 111352789 B CN111352789 B CN 111352789B
Authority
CN
China
Prior art keywords
tested
server system
alternating current
server
information data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010202407.8A
Other languages
Chinese (zh)
Other versions
CN111352789A (en
Inventor
尤信富
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202010202407.8A priority Critical patent/CN111352789B/en
Publication of CN111352789A publication Critical patent/CN111352789A/en
Application granted granted Critical
Publication of CN111352789B publication Critical patent/CN111352789B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/327Alarm or error message display

Abstract

The invention relates to an alternating current cycle test method, a device and a storage medium for a server, wherein the test method comprises the following steps of S1: building a test platform, wherein a control system host is respectively connected with an alternating current power controller and a server system to be tested through a network, the alternating current power controller is connected with the server system to be tested, and the server system to be tested is also connected with a fault detection device; s2: a step of data backup, before testing, the BMC of the server system to be tested monitors SDR information data, server system state information data to be tested and all parameter setting information data of the server system to be tested, and backs up the information to be used as a comparison template; s3: testing; s4: and processing the exception log.

Description

Alternating current circulation test method and device for server and storage medium
Technical Field
The invention belongs to the technical field of server testing, and particularly relates to an alternating current cycle testing method and device for a server and a storage medium.
Background
In the alternating current circulation process of the server, usually divide into two kinds of fixed time and presume AC on/off mode and random AC on/off mode, it mainly carries on the deployment of power-on and power-off to the alternating current power supply of the system, the reliability and stability of the end of the test system, the framework of the whole test environment is to supply the alternating current power supply to the server to be measured of the external connection through exchanging the power regulating circuit, the host computer end of the control system will carry on the time of setting the start-up to the server local machine to be measured through BMC, because APC (power controller) carry out AC cycle (power-on and power-off) control through the test script written in the host computer of the control system through the network connection, but can't obtain the present state of the system to be measured with the system end to be measured directly; therefore, when the system end to be tested has a fault or has other abnormal states, for example, the system to be tested cannot be normally started again or is stopped in a certain starting time sequence state; the APC cannot know the status of the system under test and cannot stop performing AC cycles on the system under test, so that the current test failure status needs to be retained and analyzed when a problem occurs during the test. This is a drawback in the prior art.
In view of this, the present invention provides a method, an apparatus and a storage medium for testing an exchange cycle of a server; it is very necessary to solve the above problems in the prior art.
Disclosure of Invention
In view of the above-mentioned deficiencies of the prior art, the present invention provides a method, an apparatus and a storage medium for testing an ac cycle of a server, so as to solve the above-mentioned technical problems.
In order to achieve the purpose, the invention provides the following technical scheme:
in a first aspect, the present invention provides an alternating current cycle testing method for a server, including the following steps:
s1: the step of building the test platform specifically comprises the steps of,
the control system host is respectively connected with the alternating current power controller and the server system to be tested through a network, the alternating current power controller is connected with the server system to be tested, and the server system to be tested is also connected with the fault detection device;
s2: the step of data backup includes, in particular,
before testing, the BMC of the server system to be tested monitors SDR information data, system state information data of the server system to be tested and all parameter setting information data of the server system to be tested, wherein all the parameter setting information data comprise parameters in OS software; and the information is backed up to be used as a comparison template;
s3: the step of testing, specifically comprising,
the control system host runs the test script and controls the alternating current controller to carry out alternating current circulation test on the server system to be tested; after one round of test is finished, collecting SDR information data obtained by monitoring the BMC of the server system to be tested, system state information data of the server system to be tested and all parameter setting information data of the server system to be tested, and transmitting the collected data to a control system host computer to be compared with a comparison template; if the data of the two are consistent, performing the next round of alternating current cycle test; if the data of the log and the data of the log are inconsistent, storing the abnormal log, and alarming through a fault detection device; meanwhile, the control system host sends a test stopping instruction to the alternating current power supply controller, and the alternating current power supply controller is only used as a power supply to supply power to the server system to be tested;
s4: and processing the exception log.
Preferably, in step S1, the control system host is connected to the ac power controller and the server system to be tested through serial lines or network lines; so that the three are in the local area network of the same network segment.
Preferably, in step S3, the fault detection device is provided with an alarm indicator light; the alarm can be visually sent out through the alarm indicating lamp.
In a second aspect, the present invention provides an ac cycle testing apparatus for a server, comprising:
the system comprises a control system host, wherein the control system host is respectively in network connection with an alternating current power controller and a server system to be detected, the alternating current power controller is connected with the server system to be detected, and the server system to be detected is also connected with a fault detection device.
Preferably, the control system host is connected with the alternating current power controller and the server system to be tested through serial port lines or network lines; so that the three are in the local area network of the same network segment.
Preferably, the fault detection device is provided with an alarm indicator light; the alarm can be visually sent out through the alarm indicating lamp.
In a third aspect, there is provided a computer storage medium having stored therein instructions that, when run on a computer, cause the computer to perform the method of the first aspect described above.
The method has the advantages that in the testing process, when the server to be tested has an abnormal fault, the fault data information can be collected in time to form a fault log, and an alarm can be given in time; the processing efficiency of the fault is improved; the method and the device avoid the defect that the fault log can not be reserved when the server to be tested suddenly breaks down in the testing process in the prior art.
In addition, the invention has reliable design principle, simple structure and very wide application prospect.
Drawings
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
Fig. 1 is a flowchart of an alternating current loop test method for a server according to the present invention.
Fig. 2 is a schematic block diagram of an ac cycle testing apparatus for a server according to the present invention.
The system comprises a control system host, an alternating current power supply controller, a server system to be tested and a fault detection device, wherein the control system host is 1, the alternating current power supply controller is 2, the server system to be tested is 3, and the fault detection device is 4.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1:
as shown in fig. 1, the method for testing an ac loop of a server according to this embodiment includes the following steps:
s1: the step of building the test platform specifically comprises the steps of,
the control system host is respectively connected with the alternating current power controller and the server system to be tested through a network, the alternating current power controller is connected with the server system to be tested, and the server system to be tested is also connected with the fault detection device; the control system host is connected with the alternating current power controller and the server system to be tested through serial port lines or network lines; make the three in the local area network of the same network section;
s2: the step of backing up the data specifically comprises,
before testing, the BMC of the server system to be tested monitors SDR information data, system state information data of the server system to be tested and all parameter setting information data of the server system to be tested, wherein all the parameter setting information data comprise parameters in OS software; and the information is backed up to be used as a comparison sample;
s3: the step of testing, specifically comprising,
the control system host runs the test script and controls the alternating current controller to carry out alternating current circulation test on the server system to be tested; after one round of test is finished, collecting SDR information data obtained by monitoring the BMC of the server system to be tested, system state information data of the server system to be tested and all parameter setting information data of the server system to be tested, and transmitting the collected data to a control system host computer to be compared with a comparison template; if the data of the two are consistent, carrying out the next round of alternating current circulation test; if the data of the log and the data of the log are inconsistent, storing the abnormal log, and alarming through a fault detection device; meanwhile, the control system host sends a test stopping instruction to the alternating current power supply controller, and the alternating current power supply controller is only used as a power supply to supply power to the server system to be tested; the fault detection device is provided with an alarm indicator lamp; the alarm can be visually sent out through the alarm indicating lamp.
S4: and processing the exception log.
Example 2:
as shown in fig. 2, the present embodiment provides an alternating current cycle testing apparatus for a server, including:
the system comprises a control system host 1, wherein the control system host 1 is respectively in network connection with an alternating current power controller 2 and a server system 3 to be tested, the alternating current power controller 2 is connected with the server system 3 to be tested, and the server system 3 to be tested is also connected with a fault detection device 4. The fault detection device is provided with an alarm indicator lamp; the alarm can be visually sent out through the alarm indicating lamp.
The control system host is connected with the alternating current power controller and the server system to be tested through serial port lines or network lines; so that the three are in the local area network of the same network segment.
Example 3:
the present embodiment provides a computer storage medium having stored therein instructions that, when run on a computer, cause the computer to perform the method of embodiment 1 described above.
Although the present invention has been described in detail by referring to the drawings in connection with the preferred embodiments, the present invention is not limited thereto. Various equivalent modifications or substitutions can be made on the embodiments of the present invention by those skilled in the art without departing from the spirit and scope of the present invention, and these modifications or substitutions should be within the scope of the present invention/any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present disclosure and the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (3)

1. An alternating current circulation test method for a server is characterized by comprising the following steps:
s1: the step of building the test platform specifically comprises the steps of,
the control system host is respectively connected with the alternating current power controller and the server system to be tested through a network, the alternating current power controller is connected with the server system to be tested, and the server system to be tested is also connected with the fault detection device;
s2: the step of backing up the data specifically comprises,
before testing, the BMC of the server system to be tested monitors SDR information data, system state information data of the server system to be tested and all parameter setting information data of the server system to be tested, and backups the information to be used as a comparison template;
s3: the step of testing, specifically comprising,
the control system host runs the test script and controls the alternating current controller to carry out alternating current circulation test on the server system to be tested; after one round of test is finished, collecting SDR information data obtained by monitoring the BMC of the server system to be tested, system state information data of the server system to be tested and all parameter setting information data of the server system to be tested, and transmitting the collected data to a control system host computer to be compared with a comparison template; if the data of the two are consistent, carrying out the next round of alternating current circulation test; if the data of the log and the data of the log are inconsistent, storing the abnormal log, and alarming through a fault detection device; meanwhile, the control system host sends a test stopping instruction to the alternating current power supply controller, and the alternating current power supply controller is only used as a power supply to supply power to the server system to be tested;
s4: processing the abnormal log;
in step S1, the control system host is connected to the ac power controller and the server system to be tested through serial lines or network lines;
in step S3, the fault detection device is provided with an alarm indicator light.
2. An alternating current cycling test device for a server, comprising:
the system comprises a control system host, an alternating current power controller, a server system to be tested, a fault detection device and a fault detection device, wherein the control system host is respectively connected with the alternating current power controller and the server system to be tested through a network;
the control system host is connected with the alternating current power controller and the server system to be tested through serial port lines or network lines;
the fault detection device is provided with an alarm indicator lamp;
in this testing arrangement:
before testing, the BMC of the server system to be tested monitors SDR information data, system state information data of the server system to be tested and all parameter setting information data of the server system to be tested, and backups the information to be used as a comparison template;
the control system host runs the test script and controls the alternating current controller to carry out alternating current circulation test on the server system to be tested; after one round of test is finished, collecting SDR information data obtained by monitoring the BMC of the server system to be tested, system state information data of the server system to be tested and all parameter setting information data of the server system to be tested, and transmitting the collected data to a control system host computer to be compared with a comparison template; if the data of the two are consistent, performing the next round of alternating current cycle test; if the data of the log and the data of the log are inconsistent, storing the abnormal log, and alarming through a fault detection device; meanwhile, the control system host sends a test stopping instruction to the alternating current power supply controller, and the alternating current power supply controller is only used as a power supply to supply power to the server system to be tested.
3. A computer storage medium having stored thereon instructions which, when run on a computer, cause the computer to perform the method of claim 1.
CN202010202407.8A 2020-03-20 2020-03-20 Alternating current circulation test method and device for server and storage medium Active CN111352789B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010202407.8A CN111352789B (en) 2020-03-20 2020-03-20 Alternating current circulation test method and device for server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010202407.8A CN111352789B (en) 2020-03-20 2020-03-20 Alternating current circulation test method and device for server and storage medium

Publications (2)

Publication Number Publication Date
CN111352789A CN111352789A (en) 2020-06-30
CN111352789B true CN111352789B (en) 2022-07-08

Family

ID=71197629

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010202407.8A Active CN111352789B (en) 2020-03-20 2020-03-20 Alternating current circulation test method and device for server and storage medium

Country Status (1)

Country Link
CN (1) CN111352789B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109800117A (en) * 2019-01-25 2019-05-24 郑州云海信息技术有限公司 A kind of DC automated testing method and system based on IPMI
CN110008070A (en) * 2019-03-11 2019-07-12 苏州浪潮智能科技有限公司 A kind of AEP memory AC test method powered off at random based on power supervisor
CN110658478A (en) * 2019-09-10 2020-01-07 苏州浪潮智能科技有限公司 Testing method and device based on power supply balance signal stability and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109800117A (en) * 2019-01-25 2019-05-24 郑州云海信息技术有限公司 A kind of DC automated testing method and system based on IPMI
CN110008070A (en) * 2019-03-11 2019-07-12 苏州浪潮智能科技有限公司 A kind of AEP memory AC test method powered off at random based on power supervisor
CN110658478A (en) * 2019-09-10 2020-01-07 苏州浪潮智能科技有限公司 Testing method and device based on power supply balance signal stability and storage medium

Also Published As

Publication number Publication date
CN111352789A (en) 2020-06-30

Similar Documents

Publication Publication Date Title
CN113064747B (en) Fault positioning method, system and device in server starting process
CN111752776B (en) Cyclic power-on and power-off test method and system for server
CN106789306B (en) Method and system for detecting, collecting and recovering software fault of communication equipment
CN104850485A (en) BMC based method and system for remote diagnosis of server startup failure
CN104320308B (en) A kind of method and device of server exception detection
CN110445638B (en) Switch system fault protection method and device
CN115129558A (en) Method, device, equipment and medium for monitoring leakage of water-cooled server
CN108802627B (en) Testing method, device and system for BBU independent power supply and readable storage medium
CN111488050B (en) Power supply monitoring method, system and server
CN111352789B (en) Alternating current circulation test method and device for server and storage medium
CN113868051A (en) PCIe fault detection device, method, equipment and storage medium
CN111338891A (en) Fan stability testing method and device
CN115728665A (en) Power failure detection circuit, method and system
CN111124785A (en) Hard disk fault checking method, device, equipment and storage medium
CN116010141A (en) Method, device and medium for positioning starting abnormality of multipath server
TW201706844A (en) Power failure detection system and method thereof
TW201516423A (en) System and method for testing boot time of servers
CN114816022A (en) Server power supply abnormity monitoring method, system and storage medium
CN110247833B (en) Communication control method, device, sub-equipment and communication system
CN113590203A (en) Failure processing method and system for substrate management controller, storage medium and single chip microcomputer
CN112165407A (en) Detection system and method for communication between BMC and power module
CN113836035B (en) Battery management system testing method and device and electronic equipment
CN111459731A (en) Method and system for testing stability of graphic processor
CN117687821A (en) Method and device for processing bad blocks of cache memory and electronic equipment
CN109491872B (en) Memory supervision method and device 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
GR01 Patent grant
GR01 Patent grant