CN109117334A - A kind of server CMC redundancy testing circuit and method - Google Patents

A kind of server CMC redundancy testing circuit and method Download PDF

Info

Publication number
CN109117334A
CN109117334A CN201810834008.6A CN201810834008A CN109117334A CN 109117334 A CN109117334 A CN 109117334A CN 201810834008 A CN201810834008 A CN 201810834008A CN 109117334 A CN109117334 A CN 109117334A
Authority
CN
China
Prior art keywords
management controller
shelf management
voltage
relay
signal
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
CN201810834008.6A
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 CN201810834008.6A priority Critical patent/CN109117334A/en
Publication of CN109117334A publication Critical patent/CN109117334A/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/26Functional testing
    • G06F11/261Functional testing by simulating additional hardware, e.g. fault simulation

Abstract

The present invention relates to a kind of server CMC redundancy testing circuit and methods, comprising: obtains the detection circuit of Shelf Management Controller status information;Control the control circuit of Shelf Management Controller power supply state;The processor of control command is issued to control circuit by status information, the control circuit and the detection circuit are connect with processor.The present invention realizes the test environment that a Shelf Management Controller breaks down in emulating server, and the redundancy testing of simulated failure is carried out to the Shelf Management Controller in server.Without human intervention, and circuit is simple, electric elements are low in cost, has saved manpower and cost, and improves the accuracy of test by the present invention.

Description

A kind of server CMC redundancy testing circuit and method
Technical field
The invention belongs to server the field of test technology, and in particular to a kind of server CMC redundancy testing circuit and method.
Background technique
Shelf Management Controller Chassis Management Controller (CMC) is second level managing apparatus, main Monitoring and management are provided for cabinet.In order to guarantee the stable operation of machine box for server, two CMC moulds generally are configured to cabinet Block realizes redundancy setting.Purpose be when one of CMC break down when, another CMC can adapter tube cabinet monitoring pipe science and engineering Make, guarantees that machine box for server remains to work normally.CMC redundancy testing must be carried out to server in R&D process, i.e. simulation is inserted One of CMC is pulled out, checks whether another CMC works normally.In the present invention using control CMC whether power electrical analogue insert CMC movement is pulled out, that is, disconnects one of CMC power supply, guarantees system without any exception.Need retest multiple, so existing The work of CMC redundancy testing can expend more manpower.
Summary of the invention
It is an object of the present invention to design a kind of server CMC redundancy in view of the above-mentioned drawbacks of the prior art, providing Circuit and method are tested, to solve the above technical problems.
In a first aspect, the embodiment of the present application provides a kind of server CMC redundancy testing circuit, comprising:
Obtain the detection circuit of Shelf Management Controller status information;
Control the control circuit of Shelf Management Controller power supply state;
The processor of control command is issued to control circuit by status information,
The control circuit and the detection circuit are connect with processor.
With reference to first aspect, in the first embodiment of first aspect, the control circuit includes:
First relay and the second relay, the voltage output of the voltage input end connection processor of first relay End, the signal output end of the signal input part connection processor of first relay;The switch ends of first relay It is separately connected power supply and Shelf Management Controller;
The voltage output end of the voltage input end connection processor of second relay, the signal of second relay The signal output end of input terminal connection processor;The switch ends of first relay are separately connected power supply and shelf management control Device processed.
With reference to first aspect, in second of embodiment of first aspect, the detection circuit includes:
First voltage sensor and second voltage sensor, the input terminal connection server back of the first voltage sensor Plate and the first Shelf Management Controller, the voltage input end of the output end connection processor of the first voltage sensor;It is described The input terminal connection server backplane of second voltage sensor and the second Shelf Management Controller, the second voltage sensor The voltage input end of output end connection processor;
The signal input part of the signal output end connection processor of first Shelf Management Controller;The control of second shelf management The signal input part of the signal output end connection processor of device.
With reference to first aspect, in the third embodiment of first aspect, the processor is FPGA microprocessor.
Second aspect, the embodiment of the present application provide a kind of server CMC redundancy testing method, which comprises
The signal message and information of voltage for obtaining the first Shelf Management Controller, to first Shelf Management Controller pair The relay answered issues ON- and OFF- command;
Obtain the non-power on signal that the corresponding voltage sensor of first Shelf Management Controller issues;
The second Shelf Management Controller fortune is detected by obtaining the second Shelf Management Controller signal message and information of voltage Row state simultaneously issues ON- and OFF- command to the corresponding relay of second Shelf Management Controller;
Obtain the non-power on signal that the corresponding voltage sensor of second Shelf Management Controller issues;
Close commands are issued to the corresponding relay of first Shelf Management Controller, and obtain the first shelf management control The signal message and information of voltage of device processed detect the first Shelf Management Controller operating status.
In conjunction with second aspect, in the first embodiment of second aspect, the method also includes:
Cycle detection number is set, executes test method according to cycle detection number.
In conjunction with second aspect, in second of embodiment of second aspect, the method also includes:
By Shelf Management Controller signal message and information of voltage control it is corresponding with the Shelf Management Controller after The working condition of electric appliance.
In conjunction with second aspect and second of embodiment of second aspect, in the third embodiment of second aspect, The signal message and information of voltage by Shelf Management Controller controls relay corresponding with the Shelf Management Controller Working condition include:
When getting Enable signal message and information of voltage, relay corresponding with the Shelf Management Controller is disconnected Switch;
When getting Disable signal message and the information of voltage not powered on, closure and the Shelf Management Controller pair The relay switch answered.
The beneficial effects of the present invention are,
Server CMC redundancy testing circuit provided by the invention, by the way that control circuit, detection circuit and controller is arranged, The signal message and information of voltage of Shelf Management Controller, the signal message that will acquire and voltage letter are obtained using detection circuit Breath is sent to processor, and processor judges the operation shape of corresponding Shelf Management Controller using signal message and information of voltage State, and control the confession of corresponding Shelf Management Controller by control circuit using the signal message and information of voltage got simultaneously Electricity condition realizes the test environment that a Shelf Management Controller breaks down in emulating server, to the machine in server The redundancy testing of case Management Controller progress simulated failure.Without human intervention, and circuit is simple, electric elements cost by the present invention It is cheap, manpower and cost are saved, and improve the accuracy of test.
Server CMC redundancy testing method provided by the invention, by obtain Shelf Management Controller signal message and Information of voltage is judged the operating status of corresponding Shelf Management Controller using signal message and information of voltage, and utilized simultaneously The signal message and information of voltage that get control the power supply state of corresponding Shelf Management Controller, realize in emulating server The test environment that one Shelf Management Controller breaks down carries out simulated failure to the Shelf Management Controller in server Redundancy testing.Without human intervention, and circuit is simple, electric elements are low in cost, has saved manpower and cost, and mention by the present invention The high accuracy of test.
In addition, design principle of the present invention is reliable, structure is simple, has very extensive application prospect.
It can be seen that compared with prior art, the present invention have substantive distinguishing features outstanding and it is significant ground it is progressive, implementation Beneficial effect be also obvious.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is the illustrative circuit diagram of server CMC redundancy testing circuit provided by the embodiments of the present application;
Fig. 2 is the illustrative flow chart of server CMC redundancy testing method provided by the embodiments of the present application.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to Convenient for description, part relevant to invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
The embodiment of the present application provides a kind of CMC redundancy testing circuit, comprising:
Obtain the detection circuit of Shelf Management Controller status information;
Control the control circuit of Shelf Management Controller power supply state;
The processor of control command is issued to control circuit by status information,
The control circuit and the detection circuit are connect with processor.
Wherein, control circuit includes:
First relay and the second relay, the voltage output of the voltage input end connection processor of first relay End, the signal output end of the signal input part connection processor of first relay;The switch ends of first relay It is separately connected power supply and Shelf Management Controller;
The voltage output end of the voltage input end connection processor of second relay, the signal of second relay The signal output end of input terminal connection processor;The switch ends of first relay are separately connected power supply and shelf management control Device processed.
Detection circuit includes:
First voltage sensor and second voltage sensor, the input terminal connection server back of the first voltage sensor Plate and the first Shelf Management Controller, the voltage input end of the output end connection processor of the first voltage sensor;It is described The input terminal connection server backplane of second voltage sensor and the second Shelf Management Controller, the second voltage sensor The voltage input end of output end connection processor;
The signal input part of the signal output end connection processor of first Shelf Management Controller;The control of second shelf management The signal input part of the signal output end connection processor of device.
In a preferred embodiment, processor uses FPGA microprocessor.
In order to facilitate the understanding of the present invention, below with the principle of server CMC redundancy testing circuit of the present invention, in conjunction with reality The process detected in example to server CMC redundancy is applied, server CMC redundancy testing circuit provided by the invention is done into one The description of step.
Referring to FIG. 1, physical circuit is described as follows the present embodiment provides a kind of server CMC redundancy testing circuit:
The test circuit includes detection circuit, control circuit and processor, and detection circuit and control circuit is connected to place Manage device.
Wherein detection circuit includes:
First voltage sensor and second voltage sensor, the input terminal connection server back of the first voltage sensor Plate and the first Shelf Management Controller, the voltage input end of the output end connection processor of the first voltage sensor;It is described The input terminal connection server backplane of second voltage sensor and the second Shelf Management Controller, the second voltage sensor The voltage input end of output end connection processor;
The signal input part of the signal output end connection processor of first Shelf Management Controller;The control of second shelf management The signal input part of the signal output end connection processor of device.
Control circuit includes:
First relay and the second relay, the voltage output of the voltage input end connection processor of first relay End, the signal output end of the signal input part connection processor of first relay;The switch ends of first relay It is separately connected power supply and Shelf Management Controller;
The voltage output end of the voltage input end connection processor of second relay, the signal of second relay The signal output end of input terminal connection processor;The switch ends of first relay are separately connected power supply and shelf management control Device processed.
Processor uses FPGA microprocessor.
The embodiment of the present application provides a kind of server CMC redundancy testing method, comprising:
The signal message and information of voltage for obtaining the first Shelf Management Controller, to first Shelf Management Controller pair The relay answered issues ON- and OFF- command, and (test method provided by the invention is believed by the signal message and voltage of Shelf Management Controller Breath controls the working condition of relay corresponding with the Shelf Management Controller.That is, getting Enable signal message and electricity When pressing information, relay switch corresponding with the Shelf Management Controller is disconnected;Get Disable signal message and not on When the information of voltage of electricity, it is closed relay switch corresponding with the Shelf Management Controller.);
Obtain the non-power on signal that the corresponding voltage sensor of first Shelf Management Controller issues;
The second Shelf Management Controller fortune is detected by obtaining the second Shelf Management Controller signal message and information of voltage Row state simultaneously issues ON- and OFF- command to the corresponding relay of second Shelf Management Controller;
Obtain the non-power on signal that the corresponding voltage sensor of second Shelf Management Controller issues;
Close commands are issued to the corresponding relay of first Shelf Management Controller, and obtain the first shelf management control The signal message and information of voltage of device processed detect the first Shelf Management Controller operating status;
Cycle detection number is set, executes above-mentioned test method according to cycle detection number.
In order to facilitate the understanding of the present invention, below with reference to embodiment to server CMC redundancy testing provided by the invention Method is further described.
Referring to FIG. 2, steps are as follows for specific method the present embodiment provides a kind of server redundancy test method:
S1, the signal message and information of voltage for obtaining the first Shelf Management Controller, what is got is Enable signal letter When breath and information of voltage E, Enable signal message and information of voltage E is utilized to disconnect the corresponding relay of the first Shelf Management Controller Device switch.
S2, the second Shelf Management Controller is detected by obtaining the second Shelf Management Controller signal message and information of voltage Operating status, the Enable signal message and information of voltage E for getting the second Shelf Management Controller determine the second shelf management Controller is normal, and disconnects the corresponding relay of the second Shelf Management Controller using Enable signal message and information of voltage E Switch.
After S3, the corresponding relay switch of the first Shelf Management Controller of disconnection, the first shelf management got is controlled The status information of device is Disable signal message and the information of voltage not powered on, utilizes the status information closure first got The corresponding relay switch of Shelf Management Controller.
After S4, the power supply of the first Shelf Management Controller, the Enable signal message of the first Shelf Management Controller is got Determine that the first Shelf Management Controller is normal with information of voltage E, and disconnects first using Enable signal message and information of voltage E The switch of the corresponding relay of Shelf Management Controller.
S5, setting loop test number, circulation execute S2-S4.
Concrete operations process is as follows:
With reference to Fig. 1 and Fig. 2, after server booting, two CMC are worked normally.At this point, FPGA is to relay 1 Two input terminals of A1B1 send open command, and after relay 1 receives cut-off signal, the switch between C1D1 is disconnected.CMC1 stops It is powered, CMC1 issues state Disable F signal, and only CMC2 is worked normally at this time.Voltage sensor 1 receives CMC1 and back After the signal not powered between plate, FPGA programmable controller is issued, FPGA programmable controller is given to two input terminals of A1B1 again It sends close command to be closed between C1D1 after relay 1 receives signal, CMC1 is powered again and receives the shape of CMC1 sending State Enable F signal, normal use.
It is defeated to A2B2 two of relay 2 again after FPGA programmable controller receives the signal that CMC1 is normally powered Enter end and send open command, after relay 2 receives signal, the switch between C2D2 is disconnected.CMC2 stopping is powered, and CMC2 is issued State Disable F signal, only CMC1 is worked normally at this time.Voltage sensor 2 receives the letter not powered between CMC2 and backboard After number, FPGA programmable controller is issued, FPGA programmable controller is given to two input terminals of A2B2 again and sends close command, after After electric appliance 2 receives signal, it is closed between C2D2, CMC2 is powered again and receives the state Enable F signal of CMC2 sending, Normal use.
FPGA programmable controller receives CMC2 and is normally powered with after state Enable F signal, gives relay 1 again Two input terminals of A1B1 send open commands, and so on constantly circulation realizes the automatic redundancy testing of CMC.
Disclosed above is only the preferred embodiment of the present invention, but the present invention is not limited to this, any this field What technical staff can think does not have creative variation, and without departing from the principles of the present invention made by several improvement and Retouching, should all be within the scope of the present invention.

Claims (8)

1. a kind of server CMC redundancy testing circuit, which is characterized in that the circuit includes:
Obtain the detection circuit of Shelf Management Controller status information;
Control the control circuit of Shelf Management Controller power supply state;
The processor of control command is issued to control circuit by status information,
The control circuit and the detection circuit are connect with processor.
2. test circuit according to claim 1, which is characterized in that the control circuit includes:
First relay and the second relay, the voltage output end of the voltage input end connection processor of first relay, The signal output end of the signal input part connection processor of first relay;The switch ends of first relay are distinguished Connect power supply and Shelf Management Controller;
The voltage output end of the voltage input end connection processor of second relay, the signal input of second relay The signal output end of end connection processor;The switch ends of first relay are separately connected power supply and shelf management control Device.
3. test circuit according to claim 1, which is characterized in that the detection circuit includes:
First voltage sensor and second voltage sensor, the first voltage sensor input terminal connection server backplane and First Shelf Management Controller, the voltage input end of the output end connection processor of the first voltage sensor;Described second The input terminal connection server backplane of voltage sensor and the second Shelf Management Controller, the output of the second voltage sensor The voltage input end of end connection processor;
The signal input part of the signal output end connection processor of first Shelf Management Controller;Second Shelf Management Controller The signal input part of signal output end connection processor.
4. test circuit according to claim 1, which is characterized in that the processor is FPGA microprocessor.
5. a kind of server CMC redundancy testing method, which is characterized in that the described method includes:
The signal message and information of voltage for obtaining the first Shelf Management Controller, it is corresponding to first Shelf Management Controller Relay issues ON- and OFF- command;
Obtain the non-power on signal that the corresponding voltage sensor of first Shelf Management Controller issues;
It detects the second Shelf Management Controller by obtaining the second Shelf Management Controller signal message and information of voltage and runs shape State simultaneously issues ON- and OFF- command to the corresponding relay of second Shelf Management Controller;
Obtain the non-power on signal that the corresponding voltage sensor of second Shelf Management Controller issues;
Close commands are issued to the corresponding relay of first Shelf Management Controller, and obtain the first Shelf Management Controller Signal message and information of voltage detect the first Shelf Management Controller operating status.
6. test method according to claim 5, which is characterized in that the method also includes:
Cycle detection number is set, executes test method according to cycle detection number.
7. test method according to claim 5, which is characterized in that the method also includes:
Relay corresponding with the Shelf Management Controller is controlled by the signal message and information of voltage of Shelf Management Controller Working condition.
8. test method according to claim 7, which is characterized in that the signal message by Shelf Management Controller and The working condition that information of voltage controls corresponding with Shelf Management Controller relay includes:
When getting Enable signal message and information of voltage, disconnects relay corresponding with the Shelf Management Controller and open It closes;
When getting Disable signal message and the information of voltage not powered on, it is closed corresponding with the Shelf Management Controller Relay switch.
CN201810834008.6A 2018-07-26 2018-07-26 A kind of server CMC redundancy testing circuit and method Pending CN109117334A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810834008.6A CN109117334A (en) 2018-07-26 2018-07-26 A kind of server CMC redundancy testing circuit and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810834008.6A CN109117334A (en) 2018-07-26 2018-07-26 A kind of server CMC redundancy testing circuit and method

Publications (1)

Publication Number Publication Date
CN109117334A true CN109117334A (en) 2019-01-01

Family

ID=64863707

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810834008.6A Pending CN109117334A (en) 2018-07-26 2018-07-26 A kind of server CMC redundancy testing circuit and method

Country Status (1)

Country Link
CN (1) CN109117334A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100218035A1 (en) * 2000-06-23 2010-08-26 Algirdas Avizienis Self-testing and -repairing fault-tolerance infrastructure for computer systems
CN106776168A (en) * 2016-12-09 2017-05-31 郑州云海信息技术有限公司 A kind of server PS U automates redundancy testing method and device
CN108228403A (en) * 2016-12-14 2018-06-29 中国航空工业集团公司西安航空计算技术研究所 The redundancy management circuit and management method of a kind of redundant fault-tolerant computer system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100218035A1 (en) * 2000-06-23 2010-08-26 Algirdas Avizienis Self-testing and -repairing fault-tolerance infrastructure for computer systems
CN106776168A (en) * 2016-12-09 2017-05-31 郑州云海信息技术有限公司 A kind of server PS U automates redundancy testing method and device
CN108228403A (en) * 2016-12-14 2018-06-29 中国航空工业集团公司西安航空计算技术研究所 The redundancy management circuit and management method of a kind of redundant fault-tolerant computer system

Similar Documents

Publication Publication Date Title
CN105067933B (en) General-purpose system and test method for electronics testability demonstration and assessment
CN109143033B (en) Automatic testing system for whole satellite interface
CN104933928A (en) Practical training device capable of detecting wiring correctness of circuit automatically
CN105788227A (en) Electricity consumption information acquisition system fault diagnosis equipment
CN106407059A (en) Server node testing system and method
CN102902613B (en) Computer system and diagnosis method thereof
CN103699112A (en) Aviation electronic self-detection verification equipment based on IO (Input/Output) signal failure simulation, and verification method of equipment
CN102236087A (en) Withstand voltage test device and method of three-phase electric energy meter
CN106936496B (en) Hot plug device for multiple IIC communication devices
CN104749473B (en) A kind of power information acquisition terminal for simulating scene stops upper electric event testing method
CN107179972A (en) For the method for calculation machine, microcontroller, test equipment and test system
CN212391553U (en) Direct current charger detecting system
CN109117334A (en) A kind of server CMC redundancy testing circuit and method
CN206321760U (en) Relay test-device
CN113204456A (en) Test method, tool, device and equipment for VPP interface of server
CN105405281A (en) Detection method for carrier communication failures of smart electric meter
CN204882853U (en) Electric energy meter pressure resistance test installation
CN105718338B (en) Information processing method and electronic equipment
CN110543226A (en) System and method for remotely testing abnormal power failure of server
CN104142472A (en) Intelligent high-voltage switch interlocking logic testing method supporting IEC61850 stipulations
CN104316863A (en) Artificial intelligence-based universal circuit debugging and troubleshooting interaction system and method
CN209030217U (en) A kind of power line communication production test macro
CN114690741A (en) Controller test system and method for vehicle, electronic device and readable storage medium
CN113405583A (en) Automatic test equipment for aviation board position sensor and control method
CN206074790U (en) Communication power supply watch-dog detecting system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190101