CN101833522A - Communication method and equipment of SAS (Serial Attached SCSI) link - Google Patents

Communication method and equipment of SAS (Serial Attached SCSI) link Download PDF

Info

Publication number
CN101833522A
CN101833522A CN 201010135983 CN201010135983A CN101833522A CN 101833522 A CN101833522 A CN 101833522A CN 201010135983 CN201010135983 CN 201010135983 CN 201010135983 A CN201010135983 A CN 201010135983A CN 101833522 A CN101833522 A CN 101833522A
Authority
CN
China
Prior art keywords
interface
disk unit
normal
interfaces
management apparatus
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 201010135983
Other languages
Chinese (zh)
Other versions
CN101833522B (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN2010101359831A priority Critical patent/CN101833522B/en
Publication of CN101833522A publication Critical patent/CN101833522A/en
Application granted granted Critical
Publication of CN101833522B publication Critical patent/CN101833522B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses communication method and equipment of an SAS (Serial Attached SCSI (Small Computer System Interface)) link. Through the application of the technical scheme of the invention, an IO command can be ensured to pass from another interface by using different SAS interface values when a disconnected link appears in a serial link by dint of a link standby with a plurality of interfaces, thereby the redundancy of a back-end SAS access can be realized and the reliability of the system communication is improved.

Description

A kind of communication means of SAS link and equipment
Technical field
The present invention relates to communication technical field, particularly a kind of communication means of SAS link and equipment.
Background technology
Serial Attached SCSI (SAS) (Small Computer System Interface, small computer system interface) interface, be SAS (Serial Attached SCSI), it is a kind of disk interconnection technique, SATA (Serial Advanced Technology Attachment with current trend, Serial Advanced Technology Attachment) hard disk is identical, all is to adopt serial technology with the higher transmission speed of acquisition, and improves inner space etc. by shortening tie line.SAS is the new interfaces that parallel scsi interface is developed afterwards.The design of this interface is for the usefulness of improving storage system, availability and extendibility, and the compatibility with the SATA hard disk is provided.
The interfacing of SAS can backward compatible SATA.The backboard of SAS system (Back Panel) both can connect and had dual-port, high performance SAS drive, also can connect high power capacity, SATA drive cheaply.Because the port shape of the port of SAS drive and SATA drive looks similar, so SAS drive and SATA drive can be present among the storage system simultaneously.But it should be noted that SATA system and incompatible SAS, so SAS drive can not be connected on the SATA backboard.Because the compatibility of SAS system, relevant technician can use the hard disk of distinct interface to satisfy types of applications in the demand on the capacity or on the usefulness, therefore has more elasticity when expanding storage system, allows memory device bring into play maximum returns of investment.
The SAS technology also has simplifies the inner advantage that connects design, memory device manufacturer drops into considerable cost at present and comprises different memory devices such as optical-fibre channel array, SATA array with support, and the SAS interconnection technique can reduce design cost by common components.
The SAS technological synthesis advantage of existing parallel SCSI and technology connected in series, be the agreement architecture with the serial communication, as shown in Figure 1, adopt SCSI-3 expansion instruction set and compatible SATA equipment, be multi-level memory device connection protocol stack.
Wherein, SCU (Storage Control Unit, storage control unit) is used for handling RAID (Redundant Array of Independent Disk, raid-array) module, IO (InputOutput, input and output) order, SAS administration module etc.
DEU (Disk Expander Unit, disk expanding element), i.e. disk chassis (being used for adorning disk).
(SCSI Management Protocol SMP) is used for maintenance and management to connection device to the SCSI management agreement.
In realizing process of the present invention, the inventor finds that there is following problem in prior art:
The SAS link does not have redundancy, as long as a SAS link down, as shown in Figure 2, the descending DEU resource of SAS link just can not be visited, if under the situation of dual controller, then needs to switch on the another one controller and conducts interviews.
Summary of the invention
The invention provides a kind of communication means and equipment of SAS link, when solving in the prior art link or multilink and damaging, the problem that then follow-up DEU resource can't be visited.
For achieving the above object, one aspect of the present invention provides a kind of communication means of SAS link, be applied to comprise in the system of memory control apparatus, interface management equipment and at least one disk unit, described interface management equipment connects described memory control apparatus and described disk unit, described interface management equipment connects by two interfaces and described disk unit at least, and described method specifically may further comprise the steps:
When described storage management apparatus need be visited described disk unit, whether described interface management Equipment Inspection first interface was normal with being connected of described disk unit;
If described first interface of described interface management Equipment Inspection is normal with being connected of described disk unit, then by the described disk unit of the pairing connected reference of described first interface; If the malunion of described first interface of described interface management Equipment Inspection and described disk unit is normal, then continue to detect successively being connected of other interfaces and described disk unit, select a described disk unit of normal connected reference.
Preferably, when described storage management apparatus need be visited described disk unit, whether described interface management Equipment Inspection first interface was normal with being connected of described disk unit, is specially:
Described interface management equipment is initiated small computer system interface SCSI management agreement by described first interface to described disk unit, with described first interface is starter Initiator, the disk unit that described storage management apparatus need be visited is object machine Target, detect between described Initiator and the described Target connect whether normal.
Preferably, if described first interface of described interface management Equipment Inspection is normal with being connected of described disk unit, then, be specially by the described disk unit of the pairing connected reference of described first interface:
If described first interface of described interface management Equipment Inspection is normal with being connected of described disk unit, described first interface of described interface management apparatus settings is activation with the state that is connected of described disk unit, the state of the pairing connection of other interfaces is deactivation, and to set other interfaces be Target;
Described interface management equipment makes described storage management apparatus by the described disk unit of the pairing connected reference of described first interface.
Preferably, if the malunion of described first interface of described interface management Equipment Inspection and described disk unit is normal, then continue to detect successively being connected of other interfaces and described disk unit, select a described disk unit of normal connected reference, be specially:
If the malunion of described first interface of described interface management Equipment Inspection and described disk unit is normal, the state of the pairing connection of described first interface of described interface management apparatus settings is deactivation;
Described interface management equipment continues to select next interface as Initiator, and is Target with the disk unit that described storage management apparatus need be visited, detect connect between described Initiator and the described Target whether normal;
If it is normal, the current described interface of described interface management apparatus settings is activation with the state that is connected of described disk unit, the state of the pairing connection of other interfaces is deactivation, and to set other interfaces be Target, and make described storage management apparatus by the connected reference described disk unit of described state for activating;
If it is undesired, continue to select next interface as Initiator, whether detect corresponding connection normal, until finding normal connection, realize the visit of described storage management apparatus and described disk unit, or the pairing connection of total interface is undesired, abandons the visit of described storage management apparatus and described disk unit.
Preferably, described interface management equipment makes after the described disk unit of connected reference of described storage management apparatus by other interfaces and described disk unit, also comprises:
Whether described interface management equipment recovers normal according to default sense cycle detection than the pairing connection of interface that the pairing interface of current connection has higher priority;
If recover normal, the described recovery normal interface of then described interface management apparatus settings is Initiator, the normal interface of described recovery is activation with the state that is connected of described disk unit, the state of the pairing connection of other interfaces is deactivation, and to set other interfaces be Target, makes described storage management apparatus by recovering the described disk unit of the pairing connected reference of normal interface.
On the other hand, the present invention also provides a kind of interface management equipment, be applied to comprise in the system of memory control apparatus, interface management equipment and at least one disk unit, described interface management equipment connects described memory control apparatus and described disk unit, described interface management equipment connects by two interfaces and described disk unit at least, specifically comprises:
Detection module is used for when described storage management apparatus need be visited described disk unit, and whether detect first interface normal with being connected of described disk unit;
Processing module is connected with described detection module, is used for detecting being connected just often of described first interface and described disk unit at described detection module, by the described disk unit of the pairing connected reference of described first interface; Or the malunion that detects described first interface and described disk unit at described detection module often, notify described detection module to continue to detect successively being connected of other interfaces and described disk unit, and, select a described disk unit of normal connected reference according to testing result.
Preferably, described detection module is used for when described storage management apparatus need be visited described disk unit, and whether with being connected of described disk unit normal, be specially if detecting first interface:
Described detection module is initiated the SCSI management agreement by described first interface to described disk unit, with described first interface is Initiator, the disk unit that described storage management apparatus need be visited is Target, detect between described Initiator and the described Target connect whether normal.
Preferably, when described detection module detects being connected just often of described first interface and described disk unit, be specially:
If it is normal with being connected of described disk unit that described detection module detects described first interface, described processing module is set described first interface and is activation with the state that is connected of described disk unit, the state of the pairing connection of other interfaces is deactivation, and to set other interfaces be Target;
Described processing module makes described storage management apparatus by the described disk unit of the pairing connected reference of described first interface.
Preferably, the malunion that detects described first interface and described disk unit when described detection module often is specially:
If it is normal that described detection module detects the malunion of described first interface and described disk unit, the state that described processing module is set the pairing connection of described first interface is deactivation;
Described detection module continues to select next interface as Initiator, and is Target with the disk unit that described storage management apparatus need be visited, detect connect between described Initiator and the described Target whether normal;
If it is normal, described processing module is set current described interface and is activation with the state that is connected of described disk unit, the state of the pairing connection of other interfaces is deactivation, and to set other interfaces be Target, and make described storage management apparatus by the connected reference described disk unit of described state for activating;
If it is undesired, described detection module continues to select next interface as Initiator, whether detect corresponding connection normal, until finding normal connection, the visit of described storage management apparatus of described processing modules implement and described disk unit, or described detection module detects the pairing connection of total interface and is undesired, and described processing module is abandoned the visit of described storage management apparatus and described disk unit.
Preferably, described interface management equipment also comprises:
Module is set, is connected with described processing module, be used to be provided with sense cycle with described detection module;
After described processing module made the connected reference described disk unit of described storage management apparatus by other interfaces and described disk unit, described detection module was provided with the set sense cycle detection of module and whether recovers normal than the pairing connection of interface that the pairing interface of current connection has higher priority according to described;
If recover normal, it is Initiator that then described processing module is set described recovery normal interface, the normal interface of described recovery is activation with the state that is connected of described disk unit, the state of the pairing connection of other interfaces is deactivation, and to set other interfaces be Target, makes described storage management apparatus by recovering the described disk unit of the pairing connected reference of normal interface.
Compared with prior art, the present invention has the following advantages:
By using technical scheme of the present invention, alternative by the link of many interfaces, can be implemented in when disconnecting link occurring in the serial link, by enabling different SAS interface value, the IO order is passed through from another interface, realized the redundancy of rear end SAS path, improved the reliability of system communication.
Description of drawings
Fig. 1 is the schematic network structure of SAS link networking of the prior art;
Schematic network structure when Fig. 2 breaks down for SAS link networking of the prior art;
Fig. 3 is the schematic flow sheet of the communication means of a kind of SAS link proposed by the invention;
Fig. 4 is the synoptic diagram of the network structure of a kind of communication means of using the SAS link proposed by the invention;
Fig. 5 is the synoptic diagram of the network structure communication process of a kind of communication means of using the SAS link proposed by the invention;
Synoptic diagram when Fig. 6 breaks down for the network structure of the communication means of a kind of SAS of application link proposed by the invention;
Fig. 7 is the schematic flow sheet of the communication means of the SAS link under a kind of concrete application scenarios proposed by the invention;
Fig. 8 is the structural representation of a kind of interface management equipment proposed by the invention.
Embodiment
Based on the description in the background technology as can be known, it is connected in series that SAS of the prior art connects, and when wherein link or multilink damaged, then follow-up DEU resource can't be visited.
In order to solve such problem, the present invention solves this kind problem by the structure technology of similar ring-type, has proposed a kind of communication means of SA link accordingly.
As shown in Figure 3, be the structural representation of the communication means of a kind of SAS link proposed by the invention, this method is applied to comprise in the system of memory control apparatus, interface management equipment and at least one disk unit.
Wherein, interface management equipment connects memory control apparatus and disk unit, and interface management equipment connects by two interfaces and disk unit at least, and this method specifically may further comprise the steps:
Step S301, storage management apparatus need be visited disk unit.
Whether step S302, interface management Equipment Inspection first interface be normal with being connected of disk unit.
If interface management Equipment Inspection first interface is normal with being connected of disk unit, execution in step S303;
If the malunion of interface management Equipment Inspection first interface and disk unit is normal, execution in step S304.
In concrete application scenarios, the testing process of this step is specially:
Interface management equipment is initiated small computer system interface SCSI management agreement by first interface to disk unit, with first interface is Initiaor, whether the disk unit that storage management apparatus need be visited is Target, connect normal between detection Initiator and the Target.
Step S303, interface management equipment make storage management apparatus pass through the pairing connected reference disk unit of first interface.
If interface management Equipment Inspection first interface is normal with being connected of disk unit, interface management apparatus settings first interface is activation with the state that is connected of disk unit, the state of the pairing connection of other interfaces is deactivation, and to set other interfaces be Target;
Interface management equipment makes storage management apparatus pass through the pairing connected reference disk unit of first interface.
Step S304, interface management equipment continue to detect successively being connected of other interfaces and disk unit, select a normal connection to make storage management apparatus visit disk unit.
If the malunion of interface management Equipment Inspection first interface and disk unit is normal, the state of the pairing connection of interface management apparatus settings first interface is deactivation;
Interface management equipment continue to select next interface as Initiator, and is Target with the disk unit that storage management apparatus need be visited, detect connect between Initiaor and the Target whether normal;
If it is normal, the current interface of interface management apparatus settings is activation with the state that is connected of disk unit, the state of the pairing connection of other interfaces is deactivation, and to set other interfaces be Target, and makes storage management apparatus by the connected reference disk unit of state for activating;
If it is undesired, continue to select next interface as Initiaor, whether detect corresponding connection normal, until finding normal connection, realize the visit of storage management apparatus and disk unit, or the pairing connection of total interface is undesired, abandons the visit of storage management apparatus and disk unit.
Need further be pointed out that, make after storage management apparatus passes through the connected reference disk unit of other interfaces and disk unit, also comprise at interface management equipment:
Whether interface management equipment recovers normal according to default sense cycle detection than the pairing connection of interface that the pairing interface of current connection has higher priority;
If recover normal, then interface management apparatus settings recovery normal interface is Initiator, recover normal interface and be activation with the state that is connected of disk unit, the state of the pairing connection of other interfaces is deactivation, and to set other interfaces be Target, makes storage management apparatus by recovering the pairing connected reference disk unit of normal interface.
Compared with prior art, the present invention has the following advantages:
By using technical scheme of the present invention, alternative by the link of many interfaces, can be implemented in when disconnecting link occurring in the serial link, by enabling different SAS interface value, the IO order is passed through from another interface, realized the redundancy of rear end SAS path, improved the reliability of system communication.
In order further to set forth technological thought of the present invention, existing in conjunction with concrete application scenarios, technical scheme of the present invention is described.
As shown in Figure 4, be the synoptic diagram of the network structure of a kind of communication means of using the SAS link proposed by the invention, based on this structure, corresponding treatment scheme is as follows:
Initiate SCSI management agreement (SMP) from the SAS_1 physical interface between interface management equipment and the DEU, set up the link of I (Initiator and Target) node as shown in Figure 5, and the IO data stream communicates according to the flow direction by Initiator to Target.
When breaking down between DEU_1 and the DEU_2, to activate the SAS_2 physical interface and initiate the link that the SCSI management agreement is set up I (Initiator and the Target) node of Fig. 6, this moment, partial data communicated from the SAS_2 physical interface.
Behind the connectivity restitution between DEU_1 and the DEU_2, after regularly the SCSI management agreement (SMP) of initiating detects, deactivation SAS_2 physical interface, and rebulid the link of I (Initiator and the Target) node of Fig. 5, and the IO data stream continues to communicate according to the flow direction by Initiator to Target.
Corresponding treatment scheme synoptic diagram specifically may further comprise the steps as shown in Figure 7:
Wherein need to prove, two physical interfaces of the current management of interface management equipment, be SAS_1 and SAS_2, when initial, the link of SAS_1 interface is in state of activation, i.e. SAS_1=enable, and the state that the link of SAS_2 interface is in is in deactivation status, be SAS_2=Disable, the corresponding interface state is SAS_2_state=Target.
Step S701, storage management apparatus issue the IO order by interface management equipment to disk unit DEU_3.
Whether step S702, interface management equipment issue the SMP agreement by the SAS_1 interface, detect link and disconnect.
If, execution in step S703;
If not, execution in step S709.
Step S703, the pairing link of activation SAS_2 interface are set SAS_2=Enable.
Whether step S704, interface management equipment issue the SMP agreement by the SAS_2 interface, detect link and disconnect.
If, execution in step S705;
If not, execution in step S706.
Step S705, abandon transmitting IO order.
Promptly, therefore, abandon transmission because two pairing links of interface of current existence all can not the normal transmission data.
The state of step S706, modification SAS_2 interface is SAS_2_state=Initiator.
Step S707, partial data stream write DEU_3 from the SAS_2 interface.
Step S708, judge whether the sense cycle that reaches default.
If reach, return execution in step S702;
If do not reach, continue execution in step S707.
Step S709, judge the current SAS_2 interface and the state of its respective links.
If SAS_2=Disable (link deactivation), and SAS_2_state=Target, then execution in step S710;
Otherwise, execution in step S711.
Step S710, IO order is write DEU_3 from the SAS_1 interface.
Concrete communication path is actual to be SAS_1 to DEU_1, arrives DEU_2 again, writes DEU_3 at last.
Behind step S711, the setting SAS_2=Disable (link deactivation), SAS_1 sends the SMP agreement downwards and sets up I and T Link State, and sets SAS_2_state=Target.
After this step is finished, execution in step S710.
Need further be pointed out that; there are two interfaces in the above-mentioned interface management equipment; but in the application scenarios of reality; can also there be more interface; accordingly, treatment mechanism will become after the link of SAS_2 interface still has disconnection, detects the state of remaining other interfaces successively; until finding suitable link, the variation of the respective handling mechanism of physical interface quantity can't influence protection scope of the present invention.
Compared with prior art, the present invention has the following advantages:
By using technical scheme of the present invention, alternative by the link of many interfaces, can be implemented in when disconnecting link occurring in the serial link, by enabling different SAS interface value, the IO order is passed through from another interface, realized the redundancy of rear end SAS path, improved the reliability of system communication.
In order to realize technical scheme of the present invention, the invention allows for a kind of interface management equipment, be applied to comprise in the system of memory control apparatus, interface management equipment and at least one disk unit, interface management equipment connects memory control apparatus and disk unit, and interface management equipment connects by two interfaces and disk unit at least.
As shown in Figure 8, the structural representation of a kind of interface management equipment that proposes for the present invention specifically comprises:
Detection module 81 is used for when storage management apparatus need be visited disk unit, and whether with being connected of disk unit normal, be specially if detecting first interface:
Whether detection module 81 is initiated the SCSI management agreement by first interface to disk unit, is Initiator with first interface, and the disk unit that storage management apparatus need be visited is Target, connect normal between detection Initiator and the Target.
Processing module 82 is connected with detection module 81, is used for detecting being connected just often of first interface and disk unit at detection module 81, by the pairing connected reference disk unit of first interface; Or the malunion that detects first interfaces and disk unit at detection module 81 often, and 81 continuation of notice detection module detect being connected of other interfaces and disk unit successively, and according to testing result, select a normal connected reference disk unit.
Wherein, when detection module 81 detects being connected just often of first interface and disk unit, be specially:
If it is normal with being connected of disk unit that detection module 81 detects first interface, the state that is connected of setting first interface and disk unit is activation, and the state of the pairing connection of other interfaces is deactivation, and to set other interfaces be Target;
Processing module 82 makes storage management apparatus pass through the pairing connected reference disk unit of first interface.
On the other hand, the malunion that detects first interfaces and disk unit when detection module 81 often is specially:
If it is normal that detection module 81 detects the malunion of first interface and disk unit, the state that processing module 82 is set the pairing connection of first interface is deactivation;
Detection module 81 continues to select next interface as Initiator, and is Target with the disk unit that storage management apparatus need be visited, detect connect between Initiator and the Target whether normal;
If it is normal, processing module 82 is set current interface and is activation with the state that is connected of disk unit, the state of the pairing connection of other interfaces is deactivation, and to set other interfaces be Target, and makes storage management apparatus by the connected reference disk unit of state for activating;
If it is undesired, detection module 81 continues to select next interface as Initiator, whether detect corresponding connection normal, until finding normal connection, processing module 82 realizes the visit of storage management apparatus and disk unit, or detection module 81 detects the pairing connection of total interfaces and is undesired, and processing module 82 is abandoned the visit of storage management apparatus and disk unit.
Further, interface management equipment also comprises module 83 is set, and is connected with processing module 82 with detection module 81, is used to be provided with sense cycle;
When processing module 82 makes after storage management apparatus passes through the connected reference disk unit of other interfaces and disk unit, detection module 81 detects the pairing connection of interface that has a higher priority than the pairing interface of current connection and whether recovers normal according to module 83 set sense cycle are set;
If recover normal, then processing module 82 setting recovery normal interface are Initiator, recover normal interface and be activation with the state that is connected of disk unit, the state of the pairing connection of other interfaces is deactivation, and to set other interfaces be Target, makes storage management apparatus by recovering the pairing connected reference disk unit of normal interface.
Compared with prior art, the present invention has the following advantages:
By using technical scheme of the present invention, alternative by the link of many interfaces, can be implemented in when disconnecting link occurring in the serial link, by enabling different SAS interface value, the IO order is passed through from another interface, realized the redundancy of rear end SAS path, improved the reliability of system communication.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) each implements the described method of scene to carry out the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is a preferred synoptic diagram of implementing scene, module in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device of implementing in the scene can be distributed in the device of implementing scene according to implementing scene description, also can carry out respective change and be arranged in the one or more devices that are different from this enforcement scene.The module of above-mentioned enforcement scene can be merged into a module, also can further split into a plurality of submodules.
The invention described above sequence number is not represented the quality of implementing scene just to description.
More than disclosed only be several concrete enforcement scene of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.

Claims (10)

1. the communication means of a SAS link, be applied to comprise in the system of memory control apparatus, interface management equipment and at least one disk unit, it is characterized in that, described interface management equipment connects described memory control apparatus and described disk unit, described interface management equipment connects by two interfaces and described disk unit at least, and described method specifically may further comprise the steps:
When described storage management apparatus need be visited described disk unit, whether described interface management Equipment Inspection first interface was normal with being connected of described disk unit;
If described first interface of described interface management Equipment Inspection is normal with being connected of described disk unit, then by the described disk unit of the pairing connected reference of described first interface; If the malunion of described first interface of described interface management Equipment Inspection and described disk unit is normal, then continue to detect successively being connected of other interfaces and described disk unit, select a described disk unit of normal connected reference.
2. the method for claim 1 is characterized in that, when described storage management apparatus need be visited described disk unit, whether described interface management Equipment Inspection first interface was normal with being connected of described disk unit, is specially:
Described interface management equipment is initiated small computer system interface SCSI management agreement by described first interface to described disk unit, with described first interface is starter Initiator, the disk unit that described storage management apparatus need be visited is object machine Target, detect between described Initiator and the described Target connect whether normal.
3. method as claimed in claim 2 is characterized in that, if described first interface of described interface management Equipment Inspection is normal with being connected of described disk unit, then by the described disk unit of the pairing connected reference of described first interface, is specially:
If described first interface of described interface management Equipment Inspection is normal with being connected of described disk unit, described first interface of described interface management apparatus settings is activation with the state that is connected of described disk unit, the state of the pairing connection of other interfaces is deactivation, and to set other interfaces be Target;
Described interface management equipment makes described storage management apparatus by the described disk unit of the pairing connected reference of described first interface.
4. method as claimed in claim 2, it is characterized in that, if the malunion of described first interface of described interface management Equipment Inspection and described disk unit is normal, then continue to detect successively being connected of other interfaces and described disk unit, select a described disk unit of normal connected reference, be specially:
If the malunion of described first interface of described interface management Equipment Inspection and described disk unit is normal, the state of the pairing connection of described first interface of described interface management apparatus settings is deactivation;
Described interface management equipment continues to select next interface as Initiator, and is Target with the disk unit that described storage management apparatus need be visited, detect connect between described Initiator and the described Target whether normal;
If it is normal, the current described interface of described interface management apparatus settings is activation with the state that is connected of described disk unit, the state of the pairing connection of other interfaces is deactivation, and to set other interfaces be Target, and make described storage management apparatus by the connected reference described disk unit of described state for activating;
If it is undesired, continue to select next interface as Initiator, whether detect corresponding connection normal, until finding normal connection, realize the visit of described storage management apparatus and described disk unit, or the pairing connection of total interface is undesired, abandons the visit of described storage management apparatus and described disk unit.
5. method as claimed in claim 4 is characterized in that, described interface management equipment makes after the described disk unit of connected reference of described storage management apparatus by other interfaces and described disk unit, also comprises:
Whether described interface management equipment recovers normal according to default sense cycle detection than the pairing connection of interface that the pairing interface of current connection has higher priority;
If recover normal, the described recovery normal interface of then described interface management apparatus settings is Initiator, the normal interface of described recovery is activation with the state that is connected of described disk unit, the state of the pairing connection of other interfaces is deactivation, and to set other interfaces be Target, makes described storage management apparatus by recovering the described disk unit of the pairing connected reference of normal interface.
6. interface management equipment, be applied to comprise in the system of memory control apparatus, interface management equipment and at least one disk unit, it is characterized in that, described interface management equipment connects described memory control apparatus and described disk unit, described interface management equipment connects by two interfaces and described disk unit at least, specifically comprises:
Detection module is used for when described storage management apparatus need be visited described disk unit, and whether detect first interface normal with being connected of described disk unit;
Processing module is connected with described detection module, is used for detecting being connected just often of described first interface and described disk unit at described detection module, by the described disk unit of the pairing connected reference of described first interface; Or the malunion that detects described first interface and described disk unit at described detection module often, notify described detection module to continue to detect successively being connected of other interfaces and described disk unit, and, select a described disk unit of normal connected reference according to testing result.
7. interface management equipment as claimed in claim 6 is characterized in that, described detection module is used for when described storage management apparatus need be visited described disk unit, and whether with being connected of described disk unit normal, be specially if detecting first interface:
Described detection module is initiated the SCSI management agreement by described first interface to described disk unit, with described first interface is Initiator, the disk unit that described storage management apparatus need be visited is Target, detect between described Initiator and the described Target connect whether normal.
8. interface management equipment as claimed in claim 7 is characterized in that, when described detection module detects being connected just often of described first interface and described disk unit, is specially:
If it is normal with being connected of described disk unit that described detection module detects described first interface, described processing module is set described first interface and is activation with the state that is connected of described disk unit, the state of the pairing connection of other interfaces is deactivation, and to set other interfaces be Target;
Described processing module makes described storage management apparatus by the described disk unit of the pairing connected reference of described first interface.
9. interface management equipment as claimed in claim 7 is characterized in that, the malunion that detects described first interface and described disk unit when described detection module often is specially:
If it is normal that described detection module detects the malunion of described first interface and described disk unit, the state that described processing module is set the pairing connection of described first interface is deactivation;
Described detection module continues to select next interface as Initiator, and is Target with the disk unit that described storage management apparatus need be visited, detect connect between described Initiator and the described Target whether normal;
If it is normal, described processing module is set current described interface and is activation with the state that is connected of described disk unit, the state of the pairing connection of other interfaces is deactivation, and to set other interfaces be Target, and make described storage management apparatus by the connected reference described disk unit of described state for activating;
If it is undesired, described detection module continues to select next interface as Initiator, whether detect corresponding connection normal, until finding normal connection, the visit of described storage management apparatus of described processing modules implement and described disk unit, or described detection module detects the pairing connection of total interface and is undesired, and described processing module is abandoned the visit of described storage management apparatus and described disk unit.
10. interface management equipment as claimed in claim 9 is characterized in that, also comprises:
Module is set, is connected with described processing module, be used to be provided with sense cycle with described detection module;
After described processing module made the connected reference described disk unit of described storage management apparatus by other interfaces and described disk unit, described detection module was provided with the set sense cycle detection of module and whether recovers normal than the pairing connection of interface that the pairing interface of current connection has higher priority according to described;
If recover normal, it is Initiator that then described processing module is set described recovery normal interface, the normal interface of described recovery is activation with the state that is connected of described disk unit, the state of the pairing connection of other interfaces is deactivation, and to set other interfaces be Target, makes described storage management apparatus by recovering the described disk unit of the pairing connected reference of normal interface.
CN2010101359831A 2010-03-31 2010-03-31 Communication method and equipment of SAS (Serial Attached SCSI) link Expired - Fee Related CN101833522B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101359831A CN101833522B (en) 2010-03-31 2010-03-31 Communication method and equipment of SAS (Serial Attached SCSI) link

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101359831A CN101833522B (en) 2010-03-31 2010-03-31 Communication method and equipment of SAS (Serial Attached SCSI) link

Publications (2)

Publication Number Publication Date
CN101833522A true CN101833522A (en) 2010-09-15
CN101833522B CN101833522B (en) 2012-07-11

Family

ID=42717597

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101359831A Expired - Fee Related CN101833522B (en) 2010-03-31 2010-03-31 Communication method and equipment of SAS (Serial Attached SCSI) link

Country Status (1)

Country Link
CN (1) CN101833522B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106681945A (en) * 2016-11-24 2017-05-17 天津津航计算技术研究所 Solid state hard disk with multiple protocol interfaces
CN107589912A (en) * 2017-09-12 2018-01-16 郑州云海信息技术有限公司 The access method and device of a kind of hard disk
CN107817953A (en) * 2017-11-20 2018-03-20 杭州宏杉科技股份有限公司 A kind of method and device of dual control storage device access hard disk
CN107844440A (en) * 2017-10-26 2018-03-27 郑州云海信息技术有限公司 Single port NVMe SSD access method, device and readable storage medium storing program for executing
CN109358991A (en) * 2018-11-02 2019-02-19 郑州云海信息技术有限公司 A kind of data transmission method, system, switching device and readable storage medium storing program for executing

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999053643A1 (en) * 1998-04-13 1999-10-21 Adc Telecommunications, Inc. Test access and performance monitoring system and method for cross-connect communication networks
CN1714348A (en) * 2002-11-20 2005-12-28 英特尔公司 Integrated circuit having multiple modes of operation
US7360078B1 (en) * 1999-07-05 2008-04-15 Thomson Licensing S.A. Communication methods and apparatus
CN101416170A (en) * 2006-03-29 2009-04-22 英特尔公司 Host port redundancy selection

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999053643A1 (en) * 1998-04-13 1999-10-21 Adc Telecommunications, Inc. Test access and performance monitoring system and method for cross-connect communication networks
US7360078B1 (en) * 1999-07-05 2008-04-15 Thomson Licensing S.A. Communication methods and apparatus
CN1714348A (en) * 2002-11-20 2005-12-28 英特尔公司 Integrated circuit having multiple modes of operation
CN101416170A (en) * 2006-03-29 2009-04-22 英特尔公司 Host port redundancy selection

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106681945A (en) * 2016-11-24 2017-05-17 天津津航计算技术研究所 Solid state hard disk with multiple protocol interfaces
CN107589912A (en) * 2017-09-12 2018-01-16 郑州云海信息技术有限公司 The access method and device of a kind of hard disk
CN107844440A (en) * 2017-10-26 2018-03-27 郑州云海信息技术有限公司 Single port NVMe SSD access method, device and readable storage medium storing program for executing
CN107817953A (en) * 2017-11-20 2018-03-20 杭州宏杉科技股份有限公司 A kind of method and device of dual control storage device access hard disk
CN107817953B (en) * 2017-11-20 2020-07-28 杭州宏杉科技股份有限公司 Method and device for accessing hard disk by double-control storage equipment
CN109358991A (en) * 2018-11-02 2019-02-19 郑州云海信息技术有限公司 A kind of data transmission method, system, switching device and readable storage medium storing program for executing

Also Published As

Publication number Publication date
CN101833522B (en) 2012-07-11

Similar Documents

Publication Publication Date Title
US10496566B2 (en) Method and apparatus for data recovering during a board replacement
US7519854B2 (en) Internal failover path for SAS disk drive enclosure
CN101833522B (en) Communication method and equipment of SAS (Serial Attached SCSI) link
TW200809521A (en) Fault-isolating SAS expander
CN103152397A (en) Method for designing multi-control storage system
KR101200998B1 (en) Hybrid raid controller having multi pci bus switching
CN100445981C (en) Computer system using serial connect bus, and method for interconnecting a plurality of CPU using serial connect bus
US8788724B2 (en) Storage device to provide access to storage resources over a data storage fabric
US8244948B2 (en) Method and system for combining multiple SAS expanders into a SAS switch
CN103475695A (en) Interconnection method and device for storage system
CN102375699A (en) Storage system
CN102662803A (en) Double-controlled double-active redundancy equipment
CN112667066B (en) Method, system and medium for expanding hard disk storage capacity
CN104333586A (en) SAN (storage area network) storage design method based on optical fiber link
CN105007307A (en) Storage control method and system
CN105045336A (en) JBOD (Just Bunch of Disks)
WO2004031967A1 (en) Systems and methods of multiple access paths to single ported storage devices
TWI465922B (en) Apparatus, system and method for data flow analysis and management of interface apapratuses
JP3279248B2 (en) Switch mechanism, disk array device having the same, and computer system
CN114461557A (en) Interface expansion device and method
KR101200997B1 (en) Raid controller having multi pci bus switching
US9507677B2 (en) Storage control device, storage apparatus, and computer-readable recording medium having storage control program stored therein
US6389559B1 (en) Controller fail-over without device bring-up
JP2003316521A (en) Storage controller
CN202795332U (en) Mass memory

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
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120711

Termination date: 20200331

CF01 Termination of patent right due to non-payment of annual fee