CN101093436A - Method for obtaining event that disk is already pulled out, and device of net element - Google Patents

Method for obtaining event that disk is already pulled out, and device of net element Download PDF

Info

Publication number
CN101093436A
CN101093436A CN 200710123588 CN200710123588A CN101093436A CN 101093436 A CN101093436 A CN 101093436A CN 200710123588 CN200710123588 CN 200710123588 CN 200710123588 A CN200710123588 A CN 200710123588A CN 101093436 A CN101093436 A CN 101093436A
Authority
CN
China
Prior art keywords
disk
frame
loop
throne
bypass
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.)
Granted
Application number
CN 200710123588
Other languages
Chinese (zh)
Other versions
CN100549930C (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB200710123588XA priority Critical patent/CN100549930C/en
Publication of CN101093436A publication Critical patent/CN101093436A/en
Application granted granted Critical
Publication of CN100549930C publication Critical patent/CN100549930C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

A method for knowing that disc is drawn out includes obtaining information representing disc-frame fault, bypassing input port of an on-position disc on loop of disc frame, switching in input port of said on-position disc to loop of disc frame for making said on-position disc send out loop initialization protocol frame and using said initialization protocol frame to make node on loop know that disc is drawn out.

Description

Know method and network element device that disk is pulled out
Technical field
The present invention relates to networking technology area, particularly a kind of method and network element device of knowing that disk is pulled out.
Background technology
Optical-fibre channel (Fiber Channel, FC) disk in the disk array frame generally all will carry out hot plug, and FC disk array frame comprises two kinds of frames: FC controller chassis and FC disk frame.The FC disk frame has 2 kinds, and a kind of is the disk frame of built-in disk CPU management, and another kind is the disk frame that does not have disk management CPU.For the disk frame that disk pipe CPU is arranged, be easy to the plug of disk in this frame is monitored and started loop initialization; For the disk frame that does not have disk management CPU, can not trigger loop initialization because of disk is pulled out, make the FC controller chassis that connects the FC disk frame can't find variation on the loop immediately, can not monitor the variation of loop upper topology structure in real time, above-mentioned FC controller chassis is connected with main frame, thereby main frame also can't be known loop upper topology structure.
The scheme that disk is pulled out of knowing that prior art one provides is: main frame is connected with the FC controller chassis, manage the FC controller chassis so that the FC controller chassis periodically detects the disk on the FC disk frame, main frame is when knowing the detection request timed out that the FC controller chassis sends the disk of extracting, send loop initialization agreement (Loop Initialization Protocol, LIP) frame to be triggering loop initialization, and then carries out loop initialization and be pulled out to know this disk.
The scheme that disk is pulled out of knowing that prior art two provides is: the serial ports of main frame is connected with the serial ports of FC disk frame, main frame periodically detects the FC disk frame by serial bus, testing result is if the number of disks on the loop of FC disk frame changes, main frame can send FC LIP frame triggering loop initialization, and then carries out loop initialization and be pulled out to know this disk.
In realizing process of the present invention, the inventor finds that there are the following problems at least in the prior art:
The more cpu resource that takies.Prior art one needs Host Administration FC controller chassis so that the FC controller chassis periodically detects each disk on the disk frame, the more cpu resource that taken; Prior art two needs main frame to pass through serial bus periodically to detect each disk on the disk frame, the same more cpu resource that taken.
Summary of the invention
The embodiment of the invention provides a kind of method and network element device of knowing that disk is pulled out, knows have disk to be pulled out under the less situation that takies cpu resource.
In view of this, the embodiment of the invention provides:
A kind of method of knowing that disk is pulled out comprises:
Obtain the information of expression disk frame fault;
When determining to exist on the loop of described disk frame at least one disk on the throne, the input port of described at least one disk on the throne of bypass;
When the bypass time of presetting arrives, the input port of described at least one disk on the throne is inserted the loop of described disk frame, make described at least one disk on the throne send the loop initialization protocol frame, described loop initialization protocol frame is used to trigger loop initialization so that the node on the loop is known has disk to be pulled out.
A kind of method of knowing that disk is pulled out comprises:
Obtain the information of expression disk frame fault;
Judge on the loop of described disk frame and whether have disk on the throne;
When having at least one disk on the throne on the loop of described disk frame, the input port of the above at least one disk on the throne of loop of the described disk frame of bypass; When bypass time of presetting arrives, the input port of described at least one disk on the throne is inserted the loop of described disk frame, so that described at least one disk on the throne sends loop initialization protocol frame;
When not having disk on the throne on the loop of described disk frame, disconnect the loop of described disk frame, and when the bypass time of presetting arrived, closed described loop was so that main frame sends the loop initialization protocol frame; Described loop initialization protocol frame is used to trigger loop initialization so that main frame is known has disk to be pulled out.
A kind of network element device, described equipment comprises:
The information acquisition unit is used to obtain to represent the information of disk frame fault;
The bypass ports unit is used for after described information acquisition unit obtains the information of described expression disk frame fault, the input port of at least one disk on the throne on the described disk frame of bypass;
Insert loop unit, be used for when the bypass time of presetting arrives, the input port of described disk on the throne being inserted the loop of described disk frame.
A technical scheme in the technique scheme has following technique effect:
The embodiment of the invention, when on disk frame, having at least one disk on the throne, input port by at least one disk on the throne of bypass, the input port that makes this disk on the throne is owing to lossing signal sends the LIP frame, when the bypass time of presetting arrives, should insert loop by disk on the throne, make the LIP frame that sends from this disk output port on the throne trigger loop initialization, and then carry out loop initialization and have disk to be pulled out to know, this mode that triggers loop initialization by hardware disk on the throne, the time that does not need to take CPU is carried out the cycle detection loop, can be implemented under the less situation that takies cpu resource to know have disk to be pulled out.
Description of drawings
A kind of method of knowing that disk is pulled out that Fig. 1 provides for the embodiment of the invention one;
The synoptic diagram of the disk that the PBC circuit bypass that Fig. 2 provides for the embodiment of the invention one is pulled out;
The synoptic diagram of the PBC circuit bypass disk on the throne that Fig. 3 provides for the embodiment of the invention one;
A kind of method of knowing that disk is pulled out that Fig. 4 provides for the embodiment of the invention two;
The main frame that Fig. 5 provides for the embodiment of the invention three and the connection diagram of two disk frame;
A kind of method of knowing that disk is pulled out that Fig. 6 provides for the embodiment of the invention three;
A kind of method of knowing that disk is pulled out that Fig. 7 provides for the embodiment of the invention four;
A kind of network element device that Fig. 8 provides for the embodiment of the invention five.
Embodiment
The embodiment of the invention provides a kind of method of knowing that disk is pulled out, comprising: the information that obtains expression disk frame fault; Judge on the loop of described disk frame and whether have disk on the throne; When having at least one disk on the throne on the loop of described disk frame, the input port of at least one disk on the throne on the loop of this disk frame of bypass, when the bypass time of presetting arrives, the input port of at least one disk on the throne is inserted the loop of disk frame, make at least one disk on the throne send loop initialization protocol frame; When not having disk on the throne on the loop of described disk frame, disconnect the loop of described disk frame, and when the bypass time of presetting arrived, closed described loop was so that main frame sends the loop initialization protocol frame; The loop initialization protocol frame is used to trigger loop initialization so that main frame is known has disk to be pulled out.
Wherein, the information of expression disk frame fault can be: the bypass detection signal of the disk failure on the expression disk frame or the expression link that is in incorrect state normal indicator signal whether.Above-mentioned disk frame is meant disk frame one in following embodiment one to embodiment three, be meant disk frame two in embodiment four.
Consult Fig. 1 to Fig. 3, a kind of method of knowing that disk is pulled out the when embodiment of the invention one is introduced a kind of main frame and is connected with disk frame one, this method comprises:
The logic detection module of step 101, disk frame one detects the bypass detection signal, judges the height of the level of bypass detection signal, when the bypass detection signal is low level, determines that the disk corresponding with this bypass detection signal is pulled out.
When the disk on the disk frame one 1 was pulled out, the logic detection module detected the bypass detection signal and becomes low level.
Disk 1 has two port port A and port B, and each port has input port (Inbound) and output port (Outbound).Port A and port B can insert the loop of different disk frame, and corresponding, the FC connector of disk provides two bypass detection signals :-EN bypass port A and-EN bypassport B.Suppose that this disk is connected with this disk frame by port A, when disk 1 quilt dial-out, the logic detection module detects-and EN bypass port A becomes low level, and wherein ,-EN bypass port A becomes low level and represents this disk failure.
After step 102, logic detection module detect low level bypass detection signal, (Port-Bybass Circuit PBC) sends by-passing signal, the input port and the output port of this disk 1 of control PBC circuit bypass to the port bypass circuit, to guarantee the unobstructed of loop, as shown in Figure 2.
The input port of above-mentioned this disk of control PBC circuit bypass and the specific implementation of output port are: the output enable of control PBC disconnects with the input port of this disk and being connected, and the input of control PBC enables to be connected with the output port disconnection of this disk.
Step 103, when on definite disk frame one, also having a disk on the throne at least, the logic detection module sends by-passing signal to the PBC circuit, the input port and the output port of the disk on the throne on the control PBC circuit bypass loop, i.e. the input port and the output port of disk 2,3, as shown in Figure 3.
Logic detection module controls PBC circuit will be inserted loop by the disk on the throne of bypass when arriving step 104, the bypass time of presetting, and disk on the throne sends the LIP frame to trigger loop initialization, and loop has entered init state.
Because of the input port of disk on the throne by bypass, make the input port lossing signal of disk on the throne, when input port lossing signal time of disk on the throne greater than maximum time of reception (The Receiver Transmittertimeout value, R_T_TOV) time, disk on the throne carries out self check, whether for example detect internal clocking normal, after self check is passed through, disk requests on the throne enters the INITIALIZATION state, under this state, transmit messages the LIP frame of accusing port error (LIP (and F8, F7) or LIP (F8, AL_PS)).
When the logic detection module arrived in the bypass time of presetting, control PBC circuit will be inserted loop by the disk on the throne of bypass, as shown in Figure 2, control PBC circuit will be by the mode of the disk access loop on the throne of bypass: the output enable of control PBC is connected with the input port of this disk, and the input of control PBC enables to be connected with the output port of this disk.The bypass time of wherein, presetting can be 150ms.After disk on the throne is access in loop, this disk on the throne is received the LIP frame of report port error by loop, then by at least 12 normal LIP frame (LIP (F7 of loop transmission, F7) or LIP (F7, AL_PS)), like this from the report port error the LIP frame to normal LIP frame, loop has just entered init state, has begun loop initialization.
Step 105, send the LIP frame to trigger loop initialization, after loop has entered init state, select MASTER, send Frame by MASTER and carry out loop initialization, know that this disk 1 is pulled out at the disk on the throne of step 104.
Wherein, the mode of selecting MASTER can be select global unique name on the loop (World WideName, WWN) value minimum as MASTER, also other selection modes can be arranged, do not influence realization of the present invention.
The Frame that MASTER sends can comprise: send the initial framework of loop and distribute frame (LoopInitialization Fabric Assigned, LIFA), LIPA (Loop Initialization PreviouslyAssigned), loop initialization distributes frame (Loop Initialization Hard Assigned firmly, LIHA), the soft distribution frame of loop initialization (Loop Initialization Soft Assigned, LISA) frame, LIRP (LoopInitialization Report Position), and LILP (Loop Initialization Loop Position) frame, Frame is sent by MASTER, be used to obtain the address information of disk on the throne, and get back to MASTER by loop, main frame by host bus adaptor (Host Bus Adapter, HBA) card is connected with the PBC circuit, received Frame as a node on the loop, known the topological structure of loop, i.e. the address information of disk on the throne on the loop, thereby can know that this disk 1 is pulled out.
Wherein, PBC circuit all disks on the throne on can bypass disk frame one are all sent the LIP frame by all disks on the throne of bypass in the step 104 in the step 103, trigger loop initialization, have strengthened the reliability that triggers loop initialization.
Disk on the throne in the step 103 of this embodiment one on the bypass disk frame one, output port that can not bypass disk on the throne, the input port of this disk on the throne of bypass does not influence realization of the present invention.
The embodiment of the invention one is by the input port of at least one disk on the throne on the bypass disk frame one, the input port that makes this disk on the throne is owing to lossing signal sends the LIP frame, when the bypass time of presetting arrives, should insert loop by disk on the throne, make the LIP frame that sends from this disk output port on the throne trigger loop initialization, and then carry out loop initialization and have disk to be pulled out to know, this mode that triggers loop initialization by hardware disk on the throne, the time that does not need to take CPU is carried out the cycle detection loop, can be implemented under the less situation that takies cpu resource to know have disk to be pulled out.
Consult Fig. 4, embodiment two introduces a kind of main frame and is connected with disk frame one, knows the method that disk is pulled out when all disks of this disk frame one are all pulled out, and this method may further comprise the steps:
The logic detection module of step 401, disk frame one detects the bypass detection signal, judges the height of the level of bypass detection signal, when the bypass detection signal is low level, determines that the disk corresponding with this bypass detection signal is pulled out.
After step 402, logic detection module detect low level bypass detection signal, send by-passing signal to the PBC circuit, this disk of control PBC bypass guarantees the unobstructed of loop.
Step 403, when on definite disk frame one, not having disk on the throne, it all is low level that the logic detection module detects the bypass detection signal that obtains being connected with disk, know on this disk frame one and do not have disk on the throne, the input of opening the PBC circuit by logic control enables and/or output enable open-loop.
Step 404, when bypass time of presetting arrives, logic detection module controls PBC circuit is with the loop closure, main frame sends the LIP frame to trigger loop initialization, loop has entered init state.
Owing to loop is disconnected in the above-mentioned steps 403, make the input port lossing signal of main frame, when input port lossing signal time of main frame during greater than R_T_TOV, main frame sends the LIP frame of report port error.
The logic detection module the bypass time of presetting then, control PBC circuit is with the loop closure, the bypass time of presetting can be 150ms.This moment main frame by loop receive the report port error the LIP frame, send normal LIP frame then, like this from the report port error the LIP frame to normal LIP frame, loop has just entered init state, has begun loop initialization.
Step 405, main frame send Frame, carry out loop initialization, receive the Frame of returning by loop, thereby know the topological structure on the loop, and promptly the address information of disk on the throne on the loop knows that this disk is pulled out.
When there is not disk on the throne in the embodiment of the invention two on disk frame one, open-loop makes the input port of main frame owing to lossing signal sends the LIP frame, when the bypass time of presetting arrives, closed circuit, the LIP frame that main frame sends has just triggered loop initialization, and then carry out loop initialization and have disk to be pulled out to know, the time that does not need to take CPU is carried out the cycle detection loop, can be implemented in to detect disk under the less situation that takies cpu resource and be pulled out.
Consult Fig. 5 and Fig. 6, the embodiment of the invention three provides a kind of method of knowing that disk is pulled out, this method is applicable to connected mode as shown in Figure 5, main frame is connected with disk frame one, disk frame two is connected with disk frame one, but be not limited only to two disk frame, for example can also have another disk frame to be connected with disk frame two.Wherein, the cascade port of disk frame one is connected by optical fiber with the cascade port of disk frame two.The cascade port of disk frame one is positioned on the PBC circuit of disk frame one, can be used as a node on disk frame one loop; The cascade port of disk frame two is positioned on the PBC circuit of disk frame two, can be used as a node on the disk frame Second Ring Road.Know that the method that disk is pulled out may further comprise the steps:
The logic detection module of step 601, disk frame two detects the bypass detection signal, judges the height of the level of bypass detection signal, when the bypass detection signal is low level, determines that the disk corresponding with this bypass detection signal is pulled out.
After the logic detection module of step 602, disk frame two detects low level bypass detection signal, send by-passing signal to the PBC of this frame circuit, this disk of control PBC bypass guarantees the unobstructed of loop.
The bypass detection signal that the detection of logic detection module obtains being connected with disk in step 603, the disk frame two all is a low level, the input of opening this PBC circuit by logic control enables and/or output enable, open-loop makes the cascade port of disk frame one not receive light signal.
Step 604, because the cascade port of disk frame one does not receive light signal, whether normal indicator signal is in incorrect state to make the expression link, after whether normal the logic detection module of disk frame one detect expression link indicator signal and be in incorrect state, control PBC circuit is closed the cascade port of disk frame one, and when on definite disk frame one, also having a disk on the throne at least, the input port and the output port of the disk on the throne on bypass disk frame one loop.
Step 605, when bypass time of presetting arrives, the logic detection module controls PBC circuit of disk frame one will be inserted loop by the disk on the throne of bypass, the disk on the throne that is access in loop sends the LIP frame to trigger loop initialization, and loop has entered init state.
Step 606, agreement select WWN value on the loop minimum as MASTER, MASTER transmission Frame carries out loop initialization, knows that this disk is pulled out; Main frame is connected with the PBC circuit by the HBA card, has received Frame as a node on the loop, has known the topological structure of loop, i.e. the address information of disk on the throne on the loop, thereby can know that this disk is pulled out.
Disk on the throne in the step 604 of this embodiment three on bypass disk frame one loop, output port that also can not bypass disk on the throne, the input port of this disk on the throne of bypass does not influence realization of the present invention.
The embodiment of the invention three is not when having disk on the throne on disk frame two, whether normal the loop of disconnected disk frame two make the expression link of disk frame one indicator signal be in incorrect state, the input port of at least one disk on the throne on the bypass disk frame one, the input port that makes this disk on the throne is owing to lossing signal sends the LIP frame, when the bypass time of presetting arrives, should insert loop by disk on the throne, make the LIP frame that sends from this disk output port on the throne trigger loop initialization, and then carry out loop initialization and have disk to be pulled out to know, this mode that triggers loop initialization by hardware disk on the throne, the time that does not need to take CPU is carried out the cycle detection loop, can be implemented under the less situation that takies cpu resource to know have disk to be pulled out.
Consult Fig. 5 and Fig. 7, the embodiment of the invention four provides a kind of method of knowing that disk is pulled out, and this method is applicable to connected mode as shown in Figure 5, may further comprise the steps:
The logic detection module of step 701, disk frame two detects the bypass detection signal, judges the height of the level of bypass detection signal, when the bypass detection signal is low level, determines that the disk corresponding with this bypass detection signal is pulled out.
After the logic detection module of step 702, disk frame two detects low level bypass detection signal, send by-passing signal to the PBC of this frame circuit, this disk of control PBC bypass guarantees the unobstructed of loop.
Step 703, when on definite disk frame two, also having a disk on the throne at least, the input port and the output port of the disk on the throne on logic detection module controls PBC circuit bypass disk frame two rings of disk frame two.
Step 704, when bypass time of presetting arrives, the logic detection module controls PBC circuit of disk frame two will be by the loop on the disk access disk frame two on the throne of bypass, this disk on the throne sends the LIP frame to trigger loop initialization, and loop has entered init state.
The input port lossing signal time of disk on the throne is during greater than R_T_TOV (The ReceiverTransmitter timeout value), disk on the throne by bypass carries out self check, after self check is passed through, transmitted messages by the disk on the throne of bypass and to accuse the LIP frame (LIP (F8 of port error, F7) or LIP (F8, AL_PS)).
The logic detection module of disk frame two the bypass time of presetting then, control PBC circuit will be inserted loop on the disk frame two by the disk on the throne of bypass.At this moment, the LIP frame of the report port error that this disk on the throne sends can arrive the cascade port of disk frame one by optical fiber, the cascade port of disk frame one can be regarded a node on disk frame one loop as, thereby disk frame one and loop of disk frame two formations, disk on the throne is received the LIP frame of report port error by this loop.Then, and at least 12 normal LIP frames of this disk on the throne transmission (LIP (F7, F7) or LIP (F7, AL_PS)).Like this from the LIP frame of report port error to normal LIP frame, loop has just entered init state, has begun loop initialization, the above-mentioned loop loop that to be disk frame one constitute with disk frame two.
Step 705, agreement select global unique name on the loop (World Wide Name, WWN) value minimum as MASTER, MASTER sends Frame and carries out loop initialization, knows that this disk is pulled out.
Disk on the throne in the step 703 of this embodiment four on the bypass disk frame two, output port that can not bypass disk on the throne, the input port of this disk on the throne of bypass does not influence realization of the present invention.
Embodiment of the invention four-way is crossed when having disk to be pulled out on disk frame two, the input port of at least one disk on the throne on the bypass disk frame two, the input port that makes this disk on the throne is owing to lossing signal sends the LIP frame, when the bypass time of presetting arrives, should insert loop by disk on the throne, because disk frame one constitutes a loop with disk frame two by optical fiber, so the LIP frame that sends from this disk output port on the throne has triggered loop initialization, and then carry out loop initialization and have disk to be pulled out to know, this mode that triggers loop initialization by hardware disk on the throne, the time that does not need to take CPU is carried out the cycle detection loop, can be implemented under the less situation that takies cpu resource to know have disk to be pulled out.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to finish by program, this program can be stored in the computer read/write memory medium, as: ROM/RAM, disk, CD etc.
Consult Fig. 8, the embodiment of the invention five provides a kind of network element device, and this equipment comprises:
Information acquisition unit 801 is used to obtain to represent the information of disk frame fault;
Bypass ports unit 802 is used for after information acquisition unit 801 obtains the information of expression disk frame fault the input port of at least one disk on the throne of bypass;
Insert loop unit 803, be used for when the bypass time of presetting arrives, will be inserted the loop of disk frame, so that this disk on the throne sends the loop initialization protocol frame by the input port of the disk on the throne of bypass.
Between information acquisition unit 801 and bypass ports unit 802, also comprise: disk judging unit 804 on the throne;
Disk judging unit 804 on the throne judges whether to exist at least a disk on the throne after obtaining the information of expression disk frame fault in information acquisition unit 801; When the judged result of disk judging unit 804 on the throne when being, the input port of bypass ports unit 802 at least one disk on the throne of bypass.
Open-loop unit 805, be used for when the judged result of disk judging unit 804 on the throne for not the time, disconnect the loop of this disk frame.
When this disk frame was connected with main frame, this equipment also comprised:
Closed circuit unit 806 is used for when the bypass time of presetting arrives closed circuit.
The information of the expression disk frame fault that information acquisition unit 801 obtains is: the bypass detection signal of representing the disk failure on this disk frame.
This equipment also comprises:
Indicator signal judging unit 807, whether whether normal indicator signal is correct to be used for judging the expression link, and the expression link that is in incorrect state whether normal indicator signal is the information of expression disk frame fault.
The embodiment of the invention has following beneficial effect:
Embodiment of the invention five-way is crossed the input port of at least one disk on the throne of bypass ports unit bypass, the input port that makes this disk on the throne is owing to lossing signal sends the LIP frame, when the bypass time of presetting arrives, insert loop unit and should insert loop by disk on the throne, make from the LIP frame of this disk output port output on the throne and triggered loop initialization, and then carry out loop initialization and have disk to be pulled out to know, this mode that triggers loop initialization by hardware disk on the throne, the time that does not need to take CPU is carried out the cycle detection loop, can be implemented under the less situation that takies cpu resource to know have disk to be pulled out;
The embodiment of the invention five is when not having disk on the throne in the judged result of disk judging unit on the throne, open-loop unit open-loop makes the input port of main frame owing to lossing signal sends the LIP frame, when the closed circuit unit arrived in the bypass time of presetting, closed circuit, the LIP frame that main frame sends has just triggered loop initialization, and then carry out loop initialization and have disk to be pulled out to know, the time that does not need to take CPU is carried out the cycle detection loop, can be implemented in to detect disk under the less situation that takies cpu resource and be pulled out.
More than a kind ofly detect method and the network element device that disk is pulled out and be described in detail provided by the present invention, used specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (11)

1, a kind of method of knowing that disk is pulled out is characterized in that, comprising:
Obtain the information of expression disk frame fault;
When determining to exist on the loop of described disk frame at least one disk on the throne, the input port of described at least one disk on the throne of bypass;
When the bypass time of presetting arrives, the input port of described at least one disk on the throne is inserted the loop of described disk frame, make described at least one disk on the throne send the loop initialization protocol frame, described loop initialization protocol frame is used to trigger loop initialization so that the node on the loop is known has disk to be pulled out.
2, method according to claim 1 is characterized in that, described acquisition represents that the step of the information of disk frame fault is specially:
Obtain the bypass detection signal of the disk failure on the described disk frame of expression;
After obtaining described bypass detection signal, described method also comprises:
The input port of bypass failed disk and output port.
3, method according to claim 1 and 2 is characterized in that:
The input port of at least one disk on the throne is specially on the loop of the described disk frame of described bypass: the input port of all disks on the throne on the loop of the described disk frame of bypass.
4, method according to claim 1 is characterized in that,
Described disk frame is the disk frame one that is connected with main frame;
Described acquisition represents that the step of the information of disk frame fault is specially:
When with disk frame two that described disk frame one is connected on when not having disk on the throne, disconnect described disk frame two loop so that the expression link of described disk frame one whether normal indicator signal is in incorrect state; Whether normal the described expression link indicator signal that is in incorrect state be the information of described expression disk frame fault;
Described method also comprises:
Described disk frame one is closed the cascade port that is connected with described disk frame two.
5, a kind of method of knowing that disk is pulled out is characterized in that, comprising:
Obtain the information of expression disk frame fault;
Judge on the loop of described disk frame and whether have disk on the throne;
When having at least one disk on the throne on the loop of described disk frame, the input port of the above at least one disk on the throne of loop of the described disk frame of bypass; When bypass time of presetting arrives, the input port of described at least one disk on the throne is inserted the loop of described disk frame, so that described at least one disk on the throne sends loop initialization protocol frame;
When not having disk on the throne on the loop of described disk frame, disconnect the loop of described disk frame, and when the bypass time of presetting arrived, closed described loop was so that main frame sends the loop initialization protocol frame; Described loop initialization protocol frame is used to trigger loop initialization so that main frame is known has disk to be pulled out.
6, a kind of network element device is characterized in that, described equipment comprises:
The information acquisition unit is used to obtain to represent the information of disk frame fault;
The bypass ports unit is used for after described information acquisition unit obtains the information of described expression disk frame fault, the input port of at least one disk on the throne on the described disk frame of bypass;
Insert loop unit, be used for when the bypass time of presetting arrives, the input port of described disk on the throne being inserted the loop of described disk frame.
7, equipment according to claim 6 is characterized in that:
The information of the described expression disk frame fault that described information acquisition unit obtains is: the bypass detection signal of representing the disk failure on the described disk frame.
8, equipment according to claim 6 is characterized in that:
Described equipment also comprises:
The indicator signal judging unit, whether whether normal indicator signal is correct to be used for judging the expression link, and the described expression link that is in incorrect state whether normal indicator signal is the information of described expression disk frame fault.
9, according to claim 6,7 or 8 described equipment, it is characterized in that:
Between described information acquisition unit and described bypass ports unit, also comprise: disk judging unit on the throne, be used for after described information acquisition unit obtains the information of described expression disk frame fault, judge and whether have a disk on the throne in the described disk frame at least, when the judged result of described disk judging unit on the throne when being, the input port of described at least one disk on the throne of bypass ports unit bypass.
10, equipment according to claim 9 is characterized in that, described equipment also comprises:
The open-loop unit, be used for when the judged result of described disk judging unit on the throne for not the time, disconnect the loop of described disk frame.
11, equipment according to claim 10 is characterized in that:
Described disk frame is connected with main frame, and described equipment also comprises:
The closed circuit unit is used for when the bypass time of presetting arrives the loop of closed described disk frame.
CNB200710123588XA 2007-06-29 2007-06-29 Know method and network element device that disk is pulled out Expired - Fee Related CN100549930C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB200710123588XA CN100549930C (en) 2007-06-29 2007-06-29 Know method and network element device that disk is pulled out

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB200710123588XA CN100549930C (en) 2007-06-29 2007-06-29 Know method and network element device that disk is pulled out

Publications (2)

Publication Number Publication Date
CN101093436A true CN101093436A (en) 2007-12-26
CN100549930C CN100549930C (en) 2009-10-14

Family

ID=38991717

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB200710123588XA Expired - Fee Related CN100549930C (en) 2007-06-29 2007-06-29 Know method and network element device that disk is pulled out

Country Status (1)

Country Link
CN (1) CN100549930C (en)

Also Published As

Publication number Publication date
CN100549930C (en) 2009-10-14

Similar Documents

Publication Publication Date Title
US9401760B2 (en) Diagnostic port for inter-switch link testing in electrical, optical and remote loopback modes
US7583656B1 (en) Method and apparatus for loop breaking on a serial bus
US7050390B2 (en) System and method for real-time fault reporting in switched networks
US7936685B2 (en) Intelligent fast switch-over network tap system and methods
US8694708B2 (en) Expander to control multipaths in a storage network
EP0528442A1 (en) Ring network system and configuration control method
US20070183313A1 (en) System and method for detecting and recovering from virtual switch link failures
CN103944750B (en) One kind binding net card failure processing method and processing device
EP1601135A1 (en) Communication network connection rerouting methods and systems
US20070183337A1 (en) FC-AL cabling management system
US5663950A (en) Methods and systems for fault isolation and bypass in a dual ring communication system
US11258666B2 (en) Method, device, and system for implementing MUX machine
CN104283712B (en) The network equipment and the management network port collocation method for the network equipment
US8208370B1 (en) Method and system for fast link failover
US5651000A (en) Method and systems for determining the nearest downstream reconfiguration unit in a dual ring communication system
US9705823B2 (en) Port status synchronization method, related device, and system
CN100549930C (en) Know method and network element device that disk is pulled out
CN207992997U (en) I2C bus systems
US20030009556A1 (en) Network system, detection method and monitoring method of network entity faults, and storage medium
EP2698949B1 (en) METHOD AND SYSTEM FOR SETTING DETECTION FRAME TIMEOUT DURATION OF ETHERNET NODEs
US20050060394A1 (en) Programmable delay, transparent switching multi-port interface line card
CN112769653B (en) Network detection and switching method, system and medium based on network port binding
CN114884767A (en) Synchronous dual-redundancy CAN bus communication system, method, equipment and medium
CN103684719A (en) Network dual-redundancy hot swap method independent of platforms
US20060104206A1 (en) Apparatus, system, and method for detecting a fibre channel miscabling event

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20091014

Termination date: 20150629

EXPY Termination of patent right or utility model