CN106789216A - A kind of detection method, apparatus and system - Google Patents
A kind of detection method, apparatus and system Download PDFInfo
- Publication number
- CN106789216A CN106789216A CN201611142316.XA CN201611142316A CN106789216A CN 106789216 A CN106789216 A CN 106789216A CN 201611142316 A CN201611142316 A CN 201611142316A CN 106789216 A CN106789216 A CN 106789216A
- Authority
- CN
- China
- Prior art keywords
- rmc
- detection
- node
- measured
- server node
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Quality & Reliability (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention provides a kind of detection method, apparatus and system, method includes:It is determined that detection number of times and detection time interval;The first inquiry request is sent to RMC, and receives each server node corresponding node mark to be measured of RMC transmissions;For each node identification, it is performed both by:A1, the detection instruction for carrying node identification is sent to RMC, so that the corresponding server node to be measured of RMC controls carries out machine open/close;It is determined that sending the reference number of times of detection instruction to RMC;A2, after being spaced by detection time, whether detection RMC successfully controls the corresponding server node to be measured to carry out machine open/close, if it is, performing step A3;A3, comparison reference number of times and detection number of times, when reference number of times reaches detection number of times, perform A4;Otherwise, A1 is performed;A4, determines the corresponding server node to be measured of node identification by detection.By technical scheme, detection efficiency can be improved.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of detection method, apparatus and system.
Background technology
RMC (Rack Management Controller, equipment cabinet management controller) is used as the management of whole machine cabinet server
Module, in addition to being responsible for the integral monitoring of rack, can also be to the machine open/close state of the server node of each in rack
It is controlled.In the exploitation test of whole machine cabinet server, it usually needs using RMC to each service in whole machine cabinet server
Device node carries out machine open/close control, to realize carrying out switching on and shutting down to each server node to be measured in whole machine cabinet server
Survey/examination, when service to be measured is in continuous multiple switching/machine test process, can normal machine open/close when, it is determined that clothes to be measured
Business device node is qualified.
At present, when machine open/close test is carried out to server node by RMC, RMC is led by staff typically
Dynamic control, to carry out the machine open/close of set point number for each server node to be measured in whole machine cabinet server by RMC
Test, testing efficiency is relatively low.
The content of the invention
A kind of detection method, apparatus and system are the embodiment of the invention provides, testing efficiency can be improved.
In a first aspect, the invention provides a kind of detection method, including:
It is determined that detection number of times and detection time interval;
The first inquiry request is sent to equipment cabinet management controller RMC, and receives the RMC according to first inquiry request
Each the server node difference corresponding node mark to be measured for sending;
For node identification each described, A1 to A4 is performed both by:
A1:The detection instruction for carrying the node identification is sent to the RMC, so that the RMC refers to according to the detection
The corresponding server node to be measured of the order control node identification carries out machine open/close;It is determined that sending detection instruction to the RMC
Reference number of times;
A2:After being spaced by the detection time, detect whether the RMC successfully controls the node identification correspondence
Server node to be measured carry out machine open/close, if it is, performing step A3;
A3:Compare the reference number of times and the detection number of times, when the reference number of times reaches the detection number of times, hold
Row A4;Otherwise, A1 is performed;
A4:Determine the corresponding server node to be measured of the node identification by detection.
Preferably,
Before the A1, also include:The second inquiry request for carrying the node identification is sent to the RMC, and is connect
Receive the first operation of the server node to be measured of the correspondence node identification that the RMC sends according to second inquiry request
State;Wherein, first running status includes:Open state or off-mode;
Then, it is described to send detection instruction to the RMC in the A1, so that the RMC is according to the detection instruction control
The corresponding server node to be measured of the node identification carries out machine open/close, including:Start detection instruction is sent to the RMC, with
The RMC is set to be booted up according to the corresponding server node to be measured of the start detection instruction control node identification;Or,
Shutdown detection instruction is sent to the RMC, so that the RMC is according to the shutdown detection instruction control node identification correspondence
Server node to be measured shut down;
In the A1, the reference number of times for determining to send detection instruction to the RMC, including:To be sent to the RMC
Start detection instruction and shutdown detect the number of times of instruction and are defined as reference number of times.
Preferably,
In the A2, whether the detection RMC successfully controls the corresponding server section to be measured of the node identification
Point carries out machine open/close, including:
The 3rd inquiry request is sent to the RMC, and receives the correspondence that the RMC sends according to the 3rd inquiry request
Second running status of the server node to be measured of the node identification;
Judge whether first running status and second running status are identical, and according to judged result determines
Whether RMC successfully controls the corresponding server node to be measured of the node identification to carry out machine open/close.
Preferably,
The node identification includes:The physical address of server node to be measured;And/or, the network of server node to be measured
Address.
Second aspect, the embodiment of the invention provides a kind of detection means, including:First determining module, the first inquiry mould
Block, processing module, detection module, comparison module and the second determining module;Wherein,
First determining module, for determining detection number of times and detection time interval;
First enquiry module, for sending the first inquiry request to equipment cabinet management controller RMC, and receives the RMC roots
Each the server node difference corresponding node to be measured sent according to first inquiry request is identified;
Processing module, for being directed to each node identification, sends detection instruction, so that the RMC roots to the RMC
Machine open/close is carried out according to the corresponding server node to be measured of the detection instruction control node identification;It is determined that being sent out to the RMC
The reference number of times of instruction is surveyed in censorship;
Detection module, for after being spaced by the detection time, detecting whether the RMC successfully controls the section
The corresponding server node to be measured of point identification carries out machine open/close if it is, triggering the comparison module;
The comparison module, for comparing the reference number of times and the detection number of times, when the reference number of times reaches institute
When stating detection number of times, second determining module is triggered;Otherwise, the processing module is triggered;
Second determining module, for determining the corresponding server node to be measured of the node identification by detection.
Preferably,
The detection means also includes:Second enquiry module, for for node identification each described, to the RMC
Send the second inquiry request for carrying the node identification, and receive the RMC according to second inquiry request send it is right
Answer the first running status of the server node to be measured of the node identification;Wherein, first running status includes:Start shape
State or off-mode;
The processing module, including:Processing unit and determining unit;Wherein,
The processing unit, for sending start detection instruction to the RMC, so that the RMC is according to the start inspection
The corresponding server node to be measured of the instruction control node identification is surveyed to boot up;Or, send shutdown detection to the RMC referring to
Order, so that the RMC is closed according to the corresponding server node to be measured of the shutdown detection instruction control node identification
Machine;
The determining unit, for the sum of the number of times by start detection instruction and shutdown detection instruction is sent to the RMC
It is defined as reference number of times.
Preferably,
The detection module, including:Query unit and judging unit;Wherein,
The query unit, for sending the 3rd inquiry request to the RMC, and receives the RMC according to the described 3rd
Second running status of the server node to be measured of the correspondence node identification that inquiry request sends;
The judging unit, it is whether identical for judging first running status and second running status, and root
It is judged that result determines whether the RMC successfully controls the corresponding server node to be measured of the node identification to carry out machine open/close.
Preferably,
The node identification includes:The physical address of server node to be measured;And/or, the network of server node to be measured
Address.
The third aspect, the embodiment of the invention provides a kind of detecting system, including:
Shelf Management Controller RMC, at least one server node, and the detection dress as described in any in second aspect
Put;Wherein,
The RMC, for when the first inquiry request that the detection means sends is received, by described at least one clothes
Business device node is distinguished corresponding node identification and is sent to the detection means;Receiving the carrying section that the detection means sends
When the detection of point identification is instructed, the corresponding server node of detection instruction control according to the carrying node identification carries out out/
Shutdown.
A kind of detection method and device are the embodiment of the invention provides, in the method, it is determined that when detection number of times and detection
Between be spaced after, you can send the first inquiry request to RMC, and receive RMC and treated according to each that the first inquiry request sends
Server node difference corresponding node mark is surveyed, then for each node identification for receiving, is sent to RMC and is carried the node
The detection instruction of mark so that RMC controls the corresponding server node to be measured of the node identification to carry out machine open/close, and determine to
RMC sends the reference number of times of detection instruction, and after being spaced by setting time, whether detection RMC successfully controls the node
Identifying corresponding server node to be measured carries out machine open/close, if it is, with comparison reference number of times and number of times can be detected, otherwise,
Illustrate the corresponding server node to be measured of the node identification not by detection;Further, when repeatedly to the RMC transmission carryings section
The detection instruction of point identification, RMC successfully controls the corresponding server node to be measured of the node identification to carry out machine open/close, and ginseng
Examine number of times reach detection number of times when, then can determine that the corresponding server node to be measured of the node identification by detection.As fully visible,
By technical scheme, it is not necessary to carry out setting time respectively to each server node to be measured by artificial control RMC
Several machine open/close tests, can improve operating efficiency.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are the present invention
Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis
These accompanying drawings obtain other accompanying drawings.
Fig. 1 is a kind of flow chart of detection method that one embodiment of the invention is provided;
Fig. 2 is the flow chart of another detection method that one embodiment of the invention is provided;
Fig. 3 is a kind of structure chart of detection means that one embodiment of the invention is provided;
Fig. 4 is the structure chart of another detection means that one embodiment of the invention is provided;
Fig. 5 is a kind of structure chart of detecting system that one embodiment of the invention is provided.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
A part of embodiment of the present invention, rather than whole embodiments, based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained on the premise of creative work is not made, belongs to the scope of protection of the invention.
As shown in figure 1, a kind of detection method is the embodiment of the invention provides, including:
Step 101, it is determined that detection number of times and detection time interval;
Step 102, sends the first inquiry request, and receives the RMC and sent out according to first inquiry request to outside RMC
Each the server node difference corresponding node to be measured sent is identified;
Step 103, in distinguishing corresponding node identification from each server node to be measured successively, selects a node mark
Know;
Step 104, the detection instruction for carrying the node identification is sent to the RMC, so that the RMC is according to the inspection
Surveying the corresponding server node to be measured of the instruction control node identification carries out machine open/close;It is determined that send detection to the RMC referring to
The reference number of times of order;
Step 105, after being spaced by the detection time, detects whether the RMC successfully controls the node mark
Knowing corresponding server node to be measured carries out machine open/close, if it is, performing step 106;
Step 106 compares the reference number of times and the detection number of times, when the reference number of times reaches the detection number of times
When, perform 107;Otherwise, 104 are performed;
Step 107, determines the corresponding server node to be measured of the node identification by detection;
Step 108, whether the node identification for judging selection is last node identification, if it is, terminating to work as
Preceding flow;Otherwise, step 103 is performed.
In the above embodiment of the present invention, it is determined that after detection number of times and detection time interval, you can send first to RMC and look into
Request is ask, and receives RMC and identified according to each server node difference corresponding node to be measured that the first inquiry request sends, so
Afterwards for each node identification for receiving, the detection instruction for carrying the node identification is sent to RMC, so that RMC controls the section
The corresponding server node to be measured of point identification carries out machine open/close, and determines to send the reference number of times of detection instruction to RMC,
By setting time be spaced after, detection RMC whether successfully control the corresponding server node to be measured of the node identification carry out out/
Shutdown, if it is, otherwise, the corresponding server to be measured of the node identification can be illustrated with comparison reference number of times and detection number of times
Node is not by detection;Further, when the detection instruction that the carrying node identification is repeatedly sent to RMC, RMC is successfully controlled
The corresponding server node to be measured of the node identification carries out machine open/close, and reference number of times is reached when detecting number of times, then can determine that this
The corresponding server node to be measured of node identification is by detection.As fully visible, by technical scheme, it is not necessary to by people
Industry control RMC carries out the machine open/close test of set point number to each server node to be measured respectively, can improve operating efficiency.
It should be appreciated that controlling server node to be measured once to be started shooting or closed by RMC in the embodiment of the present invention
Machine, then be a machine open/close test.In a machine open/close test process, failed control clothes to be measured when RMC is detected
When business device node carries out corresponding machine open/close, then illustrate that server node fails, by test, to refer specifically to server to be measured
The switching on and shutting down stability test project of node fails by test.
Specifically, in one embodiment of the invention, the node identification includes:The physical address of server node to be measured;With/
Or, the network address of server node to be measured.
Further, because before being tested, server node to be measured is likely to be at open state or off-mode
Deng two kinds of different running statuses, therefore, in order to realize that the running status according to server to be measured rationally controls server to be measured
Node carries out the start test and shutdown test of set point number with corresponding machine open/close order, in one embodiment of the invention,
Before the step 104, also include:The second inquiry request for carrying the node identification is sent to the RMC, and receives described
First running status of the server node to be measured of the correspondence node identification that RMC sends according to second inquiry request;
Wherein, first running status includes:Open state or off-mode;
Then, it is described to send detection instruction to the RMC in the step 104, so that the RMC refers to according to the detection
The corresponding server node to be measured of the order control node identification carries out machine open/close, including:Start detection is sent to the RMC
Instruction, so that the RMC is carried out according to the corresponding server node to be measured of the start detection instruction control node identification
Start;Or, shutdown detection instruction is sent to the RMC, so that the RMC is according to the shutdown detection instruction control node
Corresponding server node to be measured is identified to be shut down;
In the step 104, the reference number of times for determining to send detection instruction to the RMC, including:Will be to described
RMC sends start detection and instructs and shut down the number of times of detection instruction and be defined as reference number of times.
For example, when server node to be measured includes A and B, before machine open/close detection is carried out, the running status of A is
Open state, and the running status of B is off-mode, then, mutually it is all with shutdown testing time with testing time of starting shooting here
, the corresponding testing sequences of A are then:Shutdown-start ... shutdown-start shooting, the corresponding testing sequences of B are then:Start-close
Machine ... start-shutdown.
Further, in order to implement whether detection RMC successfully controls the server node to be measured to carry out machine open/close, this
In invention one embodiment, in the step 105, whether the detection RMC successfully controls the node identification correspondence
Server node to be measured carry out machine open/close, including:
The 3rd inquiry request is sent to the RMC, and receives the correspondence that the RMC sends according to the 3rd inquiry request
Second running status of the server node to be measured of the node identification;
Judge whether first running status and second running status are identical, and according to judged result determines
Whether RMC successfully controls the corresponding server node to be measured of the node identification to carry out machine open/close.
In order to more clearly illustrate the technical scheme and advantage of the embodiment of the present invention, lower mask body is with to whole machine cabinet service
Server node A to be measured and server node B to be measured in device carry out the machine open/close test of set point number respectively, to realize inspection
Whether server node A to be measured and server node B to be measured is surveyed by as a example by switching on and shutting down stability test, as shown in Fig. 2 specifically
Following each step can be included:
Step 201, it is determined that detection number of times and detection time interval.
In the embodiment of the present invention, detection number of times can rationally be set according to practical business demand, such as, be set greater than
100 and the arbitrary value less than 500.The hardware and software performance that detection time interval can combine server node to be measured is closed
Reason is set;Such as, the hardware performance and software performance in server node to be measured can support that server node to be measured is carried out soon
Speed start or shutdown when, can by detection time interval be defined as 20s, conversely, server node to be measured hardware performance and
When software performance is not enough to support that server node to be measured is quickly started shooting or shut down, detection time can be set to
120s。
Step 202, sends the first inquiry request, and receives RMC and sent out according to the first inquiry request to the RMC of equipment cabinet server
The server node A to be measured and B for sending distinguish corresponding node identification a and b.
In the embodiment of the present invention, node identification includes but is not limited to physical address and the network ground of server node to be measured
Location.
Step 203, selects node identification a, the second inquiry request for carrying node identification a is sent to RMC, and receive RMC
First running status of the server node A to be measured sent according to the second inquiry request.
In the embodiment of the present invention, running status can include:Open state or off-mode.Here, with server to be measured
As a example by first running status of node A is open state.
Step 204, shutdown detection instruction is sent to RMC.
Here, RMC can detect instruction according to the shutdown for receiving, and control server node A to be measured to be shut down.
Step 205, will to RMC send start detection instruction and shutdown detection instruction number of times and be defined as with reference to time
Number.
Step 206, after being spaced by detection time, sends the 3rd inquiry request, and receive RMC according to the to RMC
Second running status of the server node A to be measured that three inquiry requests send.
Step 207, judges whether the first running status and the second running status are identical, if it is, step 215 is performed,
Otherwise, step 208 is performed.
Step 208, the relatively reference number of times and the detection number of times, judge whether reference number of times reaches detection number of times;
If it is, performing step 214, otherwise, step 209 is performed.
Step 209, the start detection instruction for carrying node identification a is sent to RMC.
Here, RMC can be booted up according to start detection instruction control server node A to be measured.
Step 210, will to RMC send start detection instruction and shutdown detection instruction number of times and be defined as with reference to time
Number.
Step 211, after being spaced by detection time, sends the 3rd inquiry request, and receive RMC according to the to RMC
3rd running status of the server node A to be measured that three inquiry requests send.
Step 212, judges whether the second running status and the 3rd running status are identical, if it is, step 215 is performed,
Otherwise, step 213 is performed.
Step 213, the relatively reference number of times and the detection number of times, judge whether reference number of times reaches detection number of times;
If it is, performing step 214, otherwise, step 204 is performed.
Step 214, determines that the corresponding server node A to be measured of node identification a pass through machine open/close Detection of Stability.
Step 215, determines that the corresponding server node A to be measured of node identification a do not pass through machine open/close Detection of Stability.
Step 216, whether decision node mark a is last node identification, if it is, terminating current process;Otherwise,
Perform step 217.
Step 217, selects node identification b, and the second inquiry request for carrying node identification a is sent to RMC.
Here, detect whether server node B to be measured leads to using to above-mentioned steps 203 to the similar method of step 215
Cross machine open/close Detection of Stability.
As shown in figure 3, a kind of detection means is the embodiment of the invention provides, including:
First determining module 301, the first enquiry module 302, processing module 303, detection module 304, the and of comparison module 305
Second determining module 306;Wherein,
First determining module 301, for determining detection number of times and detection time interval;
First enquiry module 302, for sending the first inquiry request to outside RMC, and receives the RMC according to described the
Each server node difference corresponding node mark to be measured that one inquiry request sends;
Processing module 303, for being directed to each node identification, sends detection instruction, so that described to the RMC
RMC carries out machine open/close according to the corresponding server node to be measured of the detection instruction control node identification;It is determined that to described
RMC sends the reference number of times of detection instruction;
Detection module 304, for after being spaced by the detection time, detecting whether the RMC successfully controls institute
Stating the corresponding server node to be measured of node identification carries out machine open/close if it is, triggering the comparison module;
The comparison module 305, for comparing the reference number of times and the detection number of times, when the reference number of times reaches
During the detection number of times, second determining module 306 is triggered;Otherwise, the processing module 303 is triggered;
Second determining module 306, for determining the corresponding server node to be measured of the node identification by detection.
As shown in figure 4, in one embodiment of the invention, the detection means also includes:Second enquiry module 401, is used for
For node identification each described, the second inquiry request for carrying the node identification is sent to the RMC, and receive described
First running status of the server node to be measured of the correspondence node identification that RMC sends according to second inquiry request;
Wherein, first running status includes:Open state or off-mode;
The processing module 303, including:Processing unit 3031 and determining unit 3032;Wherein,
The processing unit 3031, for sending start detection instruction to the RMC, so that the RMC is opened according to
The corresponding server node to be measured of the machine testing instruction control node identification is booted up;Or, sending shutdown inspection to the RMC
Instruction is surveyed, so that the RMC enters according to the corresponding server node to be measured of the shutdown detection instruction control node identification
Row shutdown;
The determining unit 3032, for the number of times by start detection instruction and shutdown detection instruction is sent to the RMC
And be defined as reference number of times.
As shown in figure 4, in one embodiment of the invention, the detection module 304, including:Query unit 3041 and judgement
Unit 3042;Wherein,
The query unit 3041, for sending the 3rd inquiry request to the RMC, and receives the RMC according to
Second running status of the server node to be measured of the correspondence node identification that the 3rd inquiry request sends;
The judging unit 3042, it is whether identical for judging first running status and second running status,
And according to judged result determine the RMC whether successfully control the corresponding server node to be measured of the node identification carry out out/
Shutdown.
In one embodiment of the invention, the node identification includes:The physical address of server node to be measured;And/or, treat
Survey the network address of server node.
As shown in figure 5, a kind of detecting system is the embodiment of the invention provides, including:
Shelf Management Controller RMC501, at least one server node 502, and any one embodiment of the invention are carried
The detection means 503 of confession;Wherein,
The RMC501, for receive the detection means 503 transmission the first inquiry request when, will described at least
One server node is distinguished corresponding node identification and is sent to the detection means 503;Receiving the detection means 503
When the detection of the carrying node identification of transmission is instructed, the corresponding server of detection instruction control according to the carrying node identification
Node carries out machine open/close.
The contents such as the information exchange between each unit, implementation procedure in said apparatus, due to implementing with the inventive method
Example is based on same design, and particular content can be found in the narration in the inventive method embodiment, and here is omitted.
In sum, each embodiment of the invention at least has the advantages that:
1st, in one embodiment of the invention, it is determined that after detection number of times and detection time interval, you can send first to RMC and look into
Request is ask, and receives RMC and identified according to each server node difference corresponding node to be measured that the first inquiry request sends, so
Afterwards for each node identification for receiving, the detection instruction for carrying the node identification is sent to RMC, so that RMC controls the section
The corresponding server node to be measured of point identification carries out machine open/close, and determines to send the reference number of times of detection instruction to RMC,
By setting time be spaced after, detection RMC whether successfully control the corresponding server node to be measured of the node identification carry out out/
Shutdown, if it is, otherwise, the corresponding server to be measured of the node identification can be illustrated with comparison reference number of times and detection number of times
Node is not by detection;Further, when the detection instruction that the carrying node identification is repeatedly sent to RMC, RMC is successfully controlled
The corresponding server node to be measured of the node identification carries out machine open/close, and reference number of times is reached when detecting number of times, then can determine that this
The corresponding server node to be measured of node identification is by detection.As fully visible, by technical scheme, it is not necessary to by people
Industry control RMC carries out the machine open/close test of set point number to each server node to be measured respectively, can improve operating efficiency.
It should be noted that herein, such as first and second etc relational terms are used merely to an entity
Or operation makes a distinction with another entity or operation, and not necessarily require or imply these entities or exist between operating
Any this actual relation or order.And, term " including ", "comprising" or its any other variant be intended to it is non-
It is exclusive to include, so that process, method, article or equipment including a series of key elements not only include those key elements,
But also other key elements including being not expressly set out, or also include by this process, method, article or equipment are solid
Some key elements.In the absence of more restrictions, the key element limited by sentence " including a 〃 ", does not arrange
Except also there is other identical factor in the process including the key element, method, article or equipment.
It is last it should be noted that:Presently preferred embodiments of the present invention is the foregoing is only, skill of the invention is merely to illustrate
Art scheme, is not intended to limit the scope of the present invention.All any modifications made within the spirit and principles in the present invention,
Equivalent, improvement etc., are all contained in protection scope of the present invention.
Claims (9)
1. a kind of detection method, it is characterised in that including:
It is determined that detection number of times and detection time interval;
The first inquiry request is sent to outside equipment cabinet management controller RMC, and receives the RMC according to first inquiry request
Each the server node difference corresponding node mark to be measured for sending;
For node identification each described, A1 to A4 is performed both by:
A1:The detection instruction for carrying the node identification is sent to the RMC, so that the RMC is according to the detection instruction control
Making the corresponding server node to be measured of the node identification carries out machine open/close;It is determined that sending the reference of detection instruction to the RMC
Number of times;
A2:After being spaced by the detection time, detect whether the RMC successfully controls that the node identification is corresponding to be treated
Surveying server node carries out machine open/close, if it is, performing step A3;
A3:Compare the reference number of times and the detection number of times, when the reference number of times reaches the detection number of times, perform
A4;Otherwise, A1 is performed;
A4:Determine the corresponding server node to be measured of the node identification by detection.
2. detection method according to claim 1, it is characterised in that
Before the A1, also include:The second inquiry request for carrying the node identification is sent to the RMC, and receives institute
State the first operation shape of the server node to be measured of the correspondence node identification that RMC sends according to second inquiry request
State;Wherein, first running status includes:Open state or off-mode;
Then, it is described to send detection instruction to the RMC in the A1, so that the RMC is according to the detection instruction control
The corresponding server node to be measured of node identification carries out machine open/close, including:Start detection instruction is sent to the RMC, so that institute
RMC is stated to be booted up according to the corresponding server node to be measured of the start detection instruction control node identification;Or, to institute
State RMC and send detection instruction of shutting down, so that the RMC is instructed according to the shutdown detection, and the control node identification is corresponding to be treated
Server node is surveyed to be shut down;
In the A1, the reference number of times for determining to send detection instruction to the RMC, including:To be sent to the RMC and started shooting
Detection instruction and shutdown detect the number of times of instruction and are defined as reference number of times.
3. detection method according to claim 2, it is characterised in that
In the A2, whether the detection RMC successfully controls the corresponding server node to be measured of the node identification to enter
Row machine open/close, including:
The 3rd inquiry request is sent to the RMC, and receives the RMC according to the correspondence that the 3rd inquiry request sends
Second running status of the server node to be measured of node identification;
Judge whether first running status and second running status are identical, and the RMC is determined according to judged result
Whether successfully controlling the corresponding server node to be measured of the node identification carries out machine open/close.
4. according to any described detection method in claims 1 to 3, it is characterised in that
The node identification includes:The physical address of server node to be measured;And/or, the network address of server node to be measured.
5. a kind of detection means, it is characterised in that including:First determining module, the first enquiry module, processing module, detection mould
Block, comparison module and the second determining module;Wherein,
First determining module, for determining detection number of times and detection time interval;
First enquiry module, for sending the first inquiry request to equipment cabinet management controller RMC, and receives the RMC according to institute
State each server node difference corresponding node mark to be measured of the first inquiry request transmission;
Processing module, for being directed to each node identification, sends detection instruction, so that the RMC is according to institute to the RMC
Stating the corresponding server node to be measured of the detection instruction control node identification carries out machine open/close;It is determined that sent to the RMC examining
Survey the reference number of times of instruction;
Detection module, for after being spaced by the detection time, detecting whether the RMC successfully controls the node mark
Knowing corresponding server node to be measured carries out machine open/close if it is, triggering the comparison module;
The comparison module, for comparing the reference number of times and the detection number of times, when the reference number of times reaches the inspection
When surveying number of times, second determining module is triggered;Otherwise, the processing module is triggered;
Second determining module, for determining the corresponding server node to be measured of the node identification by detection.
6. detection means according to claim 5, it is characterised in that
The detection means also includes:Second enquiry module, for for node identification each described, being sent to the RMC
The second inquiry request of the node identification is carried, and receives the corresponding institute that the RMC sends according to second inquiry request
State the first running status of the server node to be measured of node identification;Wherein, first running status includes:Open state or
Off-mode;
The processing module, including:Processing unit and determining unit;Wherein,
The processing unit, for sending start detection instruction to the RMC, so that the RMC refers to according to the start detection
The corresponding server node to be measured of the order control node identification is booted up;Or, shutdown detection instruction is sent to the RMC,
So that the RMC is shut down according to the corresponding server node to be measured of the shutdown detection instruction control node identification;
The determining unit, for the number of times and determination that start detects instruction and shutdown detection instruction will to be sent to the RMC
It is reference number of times.
7. detection means according to claim 6, it is characterised in that
The detection module, including:Query unit and judging unit;Wherein,
The query unit, for sending the 3rd inquiry request to the RMC, and receives the RMC according to the 3rd inquiry
Ask the second running status of the server node to be measured of the correspondence node identification for sending;
The judging unit, it is whether identical for judging first running status and second running status, and according to sentencing
Disconnected result determines whether the RMC successfully controls the corresponding server node to be measured of the node identification to carry out machine open/close.
8. according to any described detection means in claim 5 to 7, it is characterised in that
The node identification includes:The physical address of server node to be measured;And/or, the network address of server node to be measured.
9. a kind of detecting system, it is characterised in that including:
Shelf Management Controller RMC, at least one server node, and any described detection dress in claim 5 to 8
Put;Wherein,
The RMC, for when the first inquiry request that the detection means sends is received, by least one server
Node is distinguished corresponding node identification and is sent to the detection means;Receiving the carrying node mark that the detection means sends
When the detection of knowledge is instructed, the corresponding server node of detection instruction control according to the carrying node identification carries out machine open/close.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611142316.XA CN106789216A (en) | 2016-12-12 | 2016-12-12 | A kind of detection method, apparatus and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611142316.XA CN106789216A (en) | 2016-12-12 | 2016-12-12 | A kind of detection method, apparatus and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106789216A true CN106789216A (en) | 2017-05-31 |
Family
ID=58876035
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611142316.XA Pending CN106789216A (en) | 2016-12-12 | 2016-12-12 | A kind of detection method, apparatus and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106789216A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108958995A (en) * | 2018-05-21 | 2018-12-07 | 郑州云海信息技术有限公司 | A kind of method and system of whole machine cabinet server stability test |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103051490A (en) * | 2012-11-26 | 2013-04-17 | 浪潮电子信息产业股份有限公司 | Method for carrying out startup and shutdown testing on blade server |
CN103186439A (en) * | 2011-12-27 | 2013-07-03 | 鸿富锦精密工业(深圳)有限公司 | Server test system and server stability test method |
CN104238480A (en) * | 2013-06-21 | 2014-12-24 | 鸿富锦精密工业(深圳)有限公司 | Cabinet server BMC startup and shutdown control system and method |
US20140379777A1 (en) * | 2012-03-30 | 2014-12-25 | Fujitsu Limited | Device and method for performing distributed processing |
CN104899120A (en) * | 2015-05-27 | 2015-09-09 | 浪潮电子信息产业股份有限公司 | Server stability testing method based on BMC (baseboard management controller) startup and shutdown functions |
-
2016
- 2016-12-12 CN CN201611142316.XA patent/CN106789216A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103186439A (en) * | 2011-12-27 | 2013-07-03 | 鸿富锦精密工业(深圳)有限公司 | Server test system and server stability test method |
US20140379777A1 (en) * | 2012-03-30 | 2014-12-25 | Fujitsu Limited | Device and method for performing distributed processing |
CN103051490A (en) * | 2012-11-26 | 2013-04-17 | 浪潮电子信息产业股份有限公司 | Method for carrying out startup and shutdown testing on blade server |
CN104238480A (en) * | 2013-06-21 | 2014-12-24 | 鸿富锦精密工业(深圳)有限公司 | Cabinet server BMC startup and shutdown control system and method |
CN104899120A (en) * | 2015-05-27 | 2015-09-09 | 浪潮电子信息产业股份有限公司 | Server stability testing method based on BMC (baseboard management controller) startup and shutdown functions |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108958995A (en) * | 2018-05-21 | 2018-12-07 | 郑州云海信息技术有限公司 | A kind of method and system of whole machine cabinet server stability test |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7890808B2 (en) | Testing software applications based on multiple data sources | |
CN110691009B (en) | Network equipment inspection method and device | |
CN107102929A (en) | The detection method and device of failure | |
CN107659465A (en) | Device and method for checking error frames of CAN (controller area network) bus of whole vehicle | |
CN108763040A (en) | Collecting method and data acquisition device | |
CN109391624A (en) | A kind of terminal access data exception detection method and device based on machine learning | |
CN102075368A (en) | Method, device and system for diagnosing service failure | |
CN106445755A (en) | Method for automatically testing integral cabinet servers | |
CN108052974A (en) | A kind of method for diagnosing faults, system, equipment and storage medium | |
CN107577591A (en) | A kind of method, apparatus and system of automatic test abnormal protection | |
CN107423171A (en) | The detection method and device of insertion slot type function expansion card based on PCIE standards | |
CN104639346A (en) | Method and device for detecting network management equipment of communication operator | |
CN106407054A (en) | BMC automatic testing system and method | |
CN106789216A (en) | A kind of detection method, apparatus and system | |
CN106021046A (en) | Hard disk performance comparison method, device and server | |
CN107172053A (en) | The method of controlling security and safety control of computer | |
CN107703915A (en) | Equipment fault diagnosis method and device, storage medium and equipment | |
WO2020220220A1 (en) | Classification model training method and device, and computer-readable medium | |
CN109002441A (en) | Determination method, the exception of Apply Names similarity apply detection method and system | |
CN106845244A (en) | A kind of detection method and device | |
CN111385281B (en) | Automatic vulnerability mining system and method based on resource load balancing | |
CN105740822B (en) | A kind of mechanical fault diagnosis optimization method and system | |
CN106156627B (en) | The treating method and apparatus of automatic information system loophole risk | |
US6815943B2 (en) | Electric component test system and electric component test method | |
CN106991024A (en) | The detection method and system of a kind of hard disk backboard |
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: 20170531 |