CN101741698B - Calculator system with shared storage equipment and sharing method thereof - Google Patents

Calculator system with shared storage equipment and sharing method thereof Download PDF

Info

Publication number
CN101741698B
CN101741698B CN2008101764939A CN200810176493A CN101741698B CN 101741698 B CN101741698 B CN 101741698B CN 2008101764939 A CN2008101764939 A CN 2008101764939A CN 200810176493 A CN200810176493 A CN 200810176493A CN 101741698 B CN101741698 B CN 101741698B
Authority
CN
China
Prior art keywords
controller
flow
direct
storage facilities
access
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2008101764939A
Other languages
Chinese (zh)
Other versions
CN101741698A (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.)
IValley Holding Co., Ltd.
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CN2008101764939A priority Critical patent/CN101741698B/en
Publication of CN101741698A publication Critical patent/CN101741698A/en
Application granted granted Critical
Publication of CN101741698B publication Critical patent/CN101741698B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention discloses a calculator system with shared storage equipment and a sharing method thereof, which are used for adjusting the right of a first controller and a second controller to directly access a plurality of sets of shared storage equipment and the first controller is connected to the second controller by a connecting channel. The method for sharing the storage equipment comprises the following steps of: monitoring and counting the direct access flow and indirect access flow of the first controller to storage equipment; monitoring and counting the direct access flow and the indirect access flow of the second controller to the storage equipment; monitoring the flow of the connecting channel, when the flow of the connecting channel is in excess of a threshold value, inquiring the statistic data of the first controller and the second controller, switching the direct access right of the storage equipment of which the indirect data access flow is more than the direct data access flow, to another controller, so that the flow of the connecting channel is lowered.

Description

A kind of calculator system of shared storage facilities and shared method thereof
Technical field
The present invention relates to a kind of calculator system and shared method thereof of shared storage facilities; Particularly a kind of in the calculator system of the shared a plurality of storage facilitiess of two controllers, reduce the calculator system and the shared method thereof of the shared storage facilities of two internal network pressure between controller.
Background technology
At present, for availability and the parallel processing ability that improves calculator system, adopt dual controller to share the mode of a plurality of entity storage devices usually.The user reads and write operation storage facilities through controller.As shown in Figure 1, first controller 110 links to each other through interface channel 130 with second controller 120.For arbitrary entity storage device; Have only a controller (like first controller 110) that it is carried out read or write operation at any one time; When the user through other controller (like second controller 120) when this entity storage device is carried out read or write operation; Data are transmitted between controller through connecting channel 130, and read or write operation is accomplished through the controller (like first controller 110) that is connected with this entity storage device.
Yet this way of prior art still has many defectives, and when particularly visiting this entity storage device in the user concentrated area through the controller that is not connected with entity storage device, pressure is excessive becomes slow owing to visit possibly to cause this controller.
In addition, if system maintenance too rely on internal network between the controller (as, between the controller through transmitting the state that heartbeat signal decides the other side), possibly cause occurring unusual.
Summary of the invention
The object of the present invention is to provide a kind of calculator system and shared method thereof of shared storage facilities, be used under the situation of the shared entity storage device of multi-controller, reducing the pressure of data passes on the internal network.
The invention discloses a kind of calculator system of shared storage facilities; Be used to adjust one first controller and one second controller direct access right to a plurality of shared storage facilitiess; This first controller is connected to this second controller through a connection channel, and this system comprises:
First stores the flux monitor module, is positioned at this first controller, in order to keep watch on and direct flowing of access and the dereference flow of this first controller of statistics to the storage facilities that is connected to this first controller;
Second stores the flux monitor module, is positioned at this second controller, in order to keep watch on and direct flowing of access and the dereference flow of this second controller of statistics to the storage facilities that is connected to this second controller; And
Interconnection flux monitor module; Be positioned at this first controller or this second controller; In order to keep watch on the flow of this interface channel; When the flow of this interface channel surpassed a threshold values, the statistics of inquiring about this first controller and this second controller switched to another controller with the dereference flow greater than the direct direct access right of the storage facilities of flowing of access.
This connecting channel is that Ethernet or SAS connect.
This first controller and this second controller are connected to external network.
This external network is Ethernet or fiber channel.
The invention also discloses a kind of shared method of shared storage facilities; Be used to adjust one first controller and one second controller direct access right to a plurality of shared storage facilitiess; This first controller is connected to this second controller through a connection channel, and the method includes the steps of:
Keep watch on and direct flowing of access and the dereference flow of this first controller of statistics the storage facilities that is connected to this first controller;
Keep watch on and direct flowing of access and the dereference flow of this second controller of statistics the storage facilities that is connected to this second controller; And
Keep watch on the flow of this connecting channel; When the flow of this interface channel surpasses a threshold values; Inquire about the statistics of this first controller and this second controller, the dereference flow is switched to another controller greater than the direct direct access right of the storage facilities of flowing of access.
This connecting channel is that Ethernet or SAS connect.
This first controller and this second controller are connected to external network.
This external network is Ethernet or fiber channel.
In sum; The invention has the advantages that through data passes flow and keep watch on internal network; Can the dereference flow be switched to another controller greater than the direct direct access right of the storage facilities of flowing of access, to reduce the data passes pressure of internal network.
Description of drawings
Fig. 1 is the prior art system calcspar;
Fig. 2 is a system block diagrams of the present invention; And
Fig. 3 is a method flow diagram of the present invention.
Wherein, Reference numeral:
110 first controllers, 120 second controllers
130 interface channels, 210 first controllers
211 first store flux monitor module 220 second controllers
221 second store flux monitor module 230 interface channels
240 interconnection flux monitor modules, 250 external networks
HDD1, HDD2, HDD3 entity storage device DG1, DG2, DG3 logic storage equipment
Embodiment
Below, will combine accompanying drawing partly preferred embodiments of the present invention to be elaborated.
Please refer to Fig. 2, represented the calculator system of shared storage facilities of the present invention among the figure.System comprises first controller 210 and second controller, 220, the first controllers 210 link to each other with second controller 220 through interface channel 230.Wherein, connecting channel 230 can connect or other connected mode for Ethernet, SAS.First controller 210 and second controller 220 are connected to external network 250 again respectively, and external network 250 can be Ethernet, fiber channel or other network.
As shown in Figure 2, first controller 210 and second controller 220 are shared three entity storage device HDD1, HDD2 and HDD3.Corresponding to three entity storage device HDD1, HDD2 and HDD3, there are three logic storage equipment DG1, DG2 and DG3.Wherein, logic storage equipment DG1 and DG2 conduct interviews through first controller 210, and logic storage equipment DG3 conducts interviews through second controller 220.
In order to realize the object of the invention, store flux monitor module 211 in 210 operations one first of first controller, in order to keep watch on and direct flowing of access and the dereference flow of adding up 210 couples of logic storage equipment DG1 of first controller and DG2.Store flux monitor module 221 in 220 operations one second of second controller, in order to keep watch on and direct flowing of access and the dereference flow of adding up 220 couples of logic storage equipment DG3 of second controller.In addition, system also comprises an interconnection flux monitor module 240, is positioned at first controller 210 or second controller 220.Interconnection flux monitor module 240 is in order to keep watch on the data passes flow of connecting channel 230; When the data passes flow of connecting channel 230 surpasses a threshold values; Inquire about the statistics of first controller 210 and second controller 220, the dereference flow is switched to another controller greater than the direct direct access right of the storage facilities of flowing of access.
In execution mode shown in Figure 2, interconnection flux monitor module 240 is positioned at first controller 210.When the data passes flow that detects connecting channel 230 when interconnection flux monitor module 240 continues to surpass a threshold values; Interconnection flux monitor module 240 is to first storage flux monitor module 211 request logic storage equipment DG1 that are positioned at first controller 210 and the statistics of DG2, to the statistics of the second storage flux monitor module, the 221 request logic storage equipment DG3 that are positioned at second controller 220.According to statistics, interconnection flux monitor module 240 inquiry dereference flows are greater than the logic storage equipment of direct flowing of access.At this; The dereference flow of logic of propositions storage facilities DG2 and logic storage equipment DG3 is greater than direct flowing of access; Other says it, and to logic storage equipment DG2, the dereference flow through second controller 220 is greater than the direct flowing of access through first controller 210; And to logic storage equipment DG3, the dereference flow through first controller 210 is greater than the direct flowing of access through second controller 220.Because dereference comes Data transmission through connecting channel, thereby cause the internal network pressure between controller to increase.Given this, the dereference flow is switched to another controller greater than the direct direct access right of the storage facilities of flowing of access, can significantly reduce the data passes flow between controller.Thereby, switch (failover) through losing efficacy logic storage equipment DG2 is switched to second controller 220, logic storage equipment DG3 is switched to first controller 210.
Please refer to Fig. 3 now, it has shown method flow diagram of the present invention.Below will combine Fig. 2 and Fig. 3 to describe method of the present invention.
Method of the present invention is used to control the visit of first controller 210 and 220 pairs of a plurality of entity storage devices of second controller (HDD1, HDD2 and HDD3), and first controller 210 is connected to second controller 220 through interface channel 230.Corresponding to three entity storage device HDD1, HDD2 and HDD3, there are three logic storage equipment DG1, DG2 and DG3.Wherein, logic storage equipment DG1 and DG2 conduct interviews through first controller 210, and logic storage equipment DG3 conducts interviews through second controller 220.
Method of the present invention comprises following steps: keep watch on direct flowing of access and dereference flow (step 300) with statistics 210 couples of logic storage equipment DG1 of first controller and DG2.Keep watch on direct flowing of access and dereference flow (step 310) with 220 couples of logic storage equipment DG3 of statistics second controller.Keep watch on the data passes flow (step 320) of connecting channel 230; Whether the data passes flow of judging connecting channel 230 surpasses a threshold values (step 330); When the data passes flow of connecting channel 230 surpasses a threshold values; Inquire about the statistics (step 340) of first controller 210 and second controller 220, then the dereference flow is switched to another controller (step 350) greater than the direct direct access right of the storage facilities of flowing of access; When the data passes flow of connecting channel 230 does not surpass a threshold values, return step 320.
Particularly, when the data passes flow that detects connecting channel 230 continued to surpass a threshold values, the statistics of asking logic storage equipment DG1 and DG2 to first controller 210 respectively was to the statistics of second controller, 220 request logic storage equipment DG3.According to statistics, inquiry dereference flow is greater than the logic storage equipment of direct flowing of access.At this; The dereference flow of logic of propositions storage facilities DG2 and logic storage equipment DG3 is greater than direct flowing of access; Other says it, and to logic storage equipment DG2, the dereference flow through second controller 220 is greater than the direct flowing of access through first controller 210; And to logic storage equipment DG3, the dereference flow through first controller 210 is greater than the direct flowing of access through second controller 220.Because dereference comes Data transmission through connecting channel, thereby cause the internal network pressure between controller to increase.Given this, the dereference flow is switched to another controller greater than the direct direct access right of the storage facilities of flowing of access, can significantly reduce the data passes flow between controller.Thereby, through the switching of losing efficacy logic storage equipment DG2 is switched to second controller 220, logic storage equipment DG3 is switched to first controller 210.

Claims (8)

1. the calculator system of a shared storage facilities; Be used to adjust one first controller and one second controller direct access right to a plurality of shared storage facilitiess; This first controller is connected to this second controller through a connection channel, it is characterized in that, this system comprises:
First stores the flux monitor module, is positioned at this first controller, in order to keep watch on and direct flowing of access and the dereference flow of this first controller of statistics to the storage facilities that is connected to this first controller;
Second stores the flux monitor module, is positioned at this second controller, in order to keep watch on and direct flowing of access and the dereference flow of this second controller of statistics to the storage facilities that is connected to this second controller; And
Interconnection flux monitor module; Be positioned at this first controller or this second controller; In order to keep watch on the flow of this interface channel; When the flow of this interface channel surpassed a threshold values, the statistics of inquiring about this first controller and this second controller switched to another controller with the dereference flow greater than the direct direct access right of the storage facilities of flowing of access.
2. the calculator system of shared storage facilities as claimed in claim 1 is characterized in that, this interface channel is that Ethernet or SAS connect.
3. the calculator system of shared storage facilities as claimed in claim 1 is characterized in that, this first controller and this second controller are connected to external network.
4. the calculator system of shared storage facilities as claimed in claim 3 is characterized in that, this external network is Ethernet or fiber optic network.
5. the shared method of a shared storage facilities; Be used to adjust one first controller and one second controller direct access right to a plurality of shared storage facilitiess; This first controller is connected to this second controller through a connection channel, it is characterized in that the method includes the steps of:
Keep watch on and direct flowing of access and the dereference flow of this first controller of statistics the storage facilities that is connected to this first controller;
Keep watch on and direct flowing of access and the dereference flow of this second controller of statistics the storage facilities that is connected to this second controller; And
Keep watch on the flow of this interface channel; When the flow of this interface channel surpasses a threshold values; Inquire about the statistics of this first controller and this second controller, the dereference flow is switched to another controller greater than the direct direct access right of the storage facilities of flowing of access.
6. the shared method of shared storage facilities as claimed in claim 5 is characterized in that, this interface channel is that Ethernet or SAS connect.
7. the shared method of shared storage facilities as claimed in claim 5 is characterized in that, this first controller and this second controller are connected to external network.
8. the shared method of shared storage facilities as claimed in claim 7 is characterized in that, this external network is Ethernet or fiber optic network.
CN2008101764939A 2008-11-13 2008-11-13 Calculator system with shared storage equipment and sharing method thereof Active CN101741698B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101764939A CN101741698B (en) 2008-11-13 2008-11-13 Calculator system with shared storage equipment and sharing method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101764939A CN101741698B (en) 2008-11-13 2008-11-13 Calculator system with shared storage equipment and sharing method thereof

Publications (2)

Publication Number Publication Date
CN101741698A CN101741698A (en) 2010-06-16
CN101741698B true CN101741698B (en) 2012-05-30

Family

ID=42464618

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101764939A Active CN101741698B (en) 2008-11-13 2008-11-13 Calculator system with shared storage equipment and sharing method thereof

Country Status (1)

Country Link
CN (1) CN101741698B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102647362B (en) * 2012-04-27 2016-12-21 浪潮电子信息产业股份有限公司 A kind of method of storage system with multiple controllers load balancing

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101277217A (en) * 2007-03-29 2008-10-01 株式会社日立制作所 Redundant configuration method of a storage system maintenance/management apparatus and apparatus using the same method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101277217A (en) * 2007-03-29 2008-10-01 株式会社日立制作所 Redundant configuration method of a storage system maintenance/management apparatus and apparatus using the same method

Also Published As

Publication number Publication date
CN101741698A (en) 2010-06-16

Similar Documents

Publication Publication Date Title
US7849182B2 (en) Blade server
US7895375B2 (en) Data transfer apparatus and data transfer method
CN102595260B (en) Data exchange system and operating mode self-negotiation method thereof
CN110445533A (en) A kind of dual redundant fiber optic Ethernet Transmission system
CN102299846B (en) Method for transmitting BFD (Bidirectional Forwarding Detection) message and equipment
US10554296B2 (en) Optical network system
US9985893B2 (en) Load sharing method and apparatus, and board
CN100389569C (en) Data communication apparatus
CN101741698B (en) Calculator system with shared storage equipment and sharing method thereof
US9025950B2 (en) Communication system and optical transmission device
CN103001802B (en) Ether port failure self-repairing method and system
CN102265640B (en) Optical line transmission protection system and method
US8909979B2 (en) Method and system for implementing interconnection fault tolerance between CPU
TWI535227B (en) An optical access device
US10237116B2 (en) Data combiner and splitter
CN219124214U (en) CAN communication architecture based on time division multiplexing
CN101303675B (en) Data transmission method for data processing equipment and data processing equipment
CN112148663A (en) Data exchange chip and server
CN112422175B (en) Cascade device
CN213585782U (en) Optical fiber transmission equipment
US8904077B1 (en) Power management for host bus adapters
CN102984490A (en) Network video recorder
US9513680B2 (en) Relaying device, relaying method, and power control system
CN112463670A (en) Storage controller access method and related device
CN105068516A (en) Redundant bus management system for distributed control equipment

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
ASS Succession or assignment of patent right

Owner name: I VALLEY HOLDINGS CO., LTD.

Free format text: FORMER OWNER: YINGYEDA CO., LTD., TAIWAN

Effective date: 20150716

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20150716

Address after: Cayman Islands, George Town

Patentee after: IValley Holding Co., Ltd.

Address before: Taipei City, Taiwan, China

Patentee before: Inventec Corporation