CN104536853B - A kind of device ensureing dual controller storage device resource continuous availability - Google Patents
A kind of device ensureing dual controller storage device resource continuous availability Download PDFInfo
- Publication number
- CN104536853B CN104536853B CN201510010479.1A CN201510010479A CN104536853B CN 104536853 B CN104536853 B CN 104536853B CN 201510010479 A CN201510010479 A CN 201510010479A CN 104536853 B CN104536853 B CN 104536853B
- Authority
- CN
- China
- Prior art keywords
- resource
- module
- controller
- network
- information
- 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
Links
- 230000009977 dual effect Effects 0.000 title claims abstract description 17
- 238000004891 communication Methods 0.000 claims abstract description 49
- 238000012545 processing Methods 0.000 claims abstract description 29
- 238000000034 method Methods 0.000 claims abstract description 10
- 230000005540 biological transmission Effects 0.000 claims description 6
- 230000001960 triggered effect Effects 0.000 claims description 3
- 208000000729 Schizencephaly Diseases 0.000 abstract description 2
- 238000012546 transfer Methods 0.000 description 5
- 230000002159 abnormal effect Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 241000282326 Felis catus Species 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Landscapes
- Computer And Data Communications (AREA)
Abstract
The invention discloses a kind of device ensureing dual controller storage device resource continuous availability, it realizes process is arrange a set of identical module in each controller, and at running background, this module includes sending module, receiver module, Communications Processor Module, arbitration module, resource processing module, resource take-over module, resource switchback module.This is a kind of ensures that the device of dual controller storage device resource continuous availability is compared with prior art, and being guaranteed in when single controller breaks down does not affect the use of storage resource, does not affect the service provided, and substantially without the situation of Schizencephaly occurs;It is applied in product, it is possible to the significant reliability improving product, promotes the continuous support to customer service, product is had bigger lifting, practical, it is easy to promote.
Description
Technical field
The present invention relates to field of computer technology, specifically a kind of practical, ensure dual controller storage device resource continuous availability device.
Background technology
In storage device development increasingly faster today, it is painstaking that the storage device of single controller has increasingly felt when tackling large-scale application, and be susceptible to fault and cause application to be delayed machine problem.Therefore, now comparatively universal storage device major part has been changed for dual controller storage, four controllers storage even eight controller storage devices.Based on the storage device of prior art, now provide a kind of device ensureing dual controller storage device resource continuous availability.
Summary of the invention
The technical assignment of the present invention is for above weak point, it is provided that a kind of practical, ensure dual controller storage device resource continuous availability device.
A kind of device ensureing dual controller storage device resource continuous availability, it realizes process is arrange a set of identical module in each controller, and at running background, this module includes sending module, receiver module, Communications Processor Module, arbitration module, resource processing module, resource take-over module, resource switchback module, and wherein the specific works process of above-mentioned each module is:
Receiver module: receive the message that another controller sends, the message received is passed to Communications Processor Module;When not receiving the message that another controller sends within the time specified, then transmission error message is to Communications Processor Module;
Sending module: receive the instruction of Communications Processor Module, sends, to the IP specified or serial ports, the message specified according to the mode specified;
Communications Processor Module: according to transmitting instruction the interval time set to sending module, the message controlling sending module sends;Obtain the information that receiver module passes over, the information obtained is carried out keyword judgement, determines next step action;Safeguard the configuration file of the external service network of the opposite terminal controller preserved in local controller, storage resource and information on services;
Arbitration module: start after accepting the instruction of Communications Processor Module, judge whether it is local terminal link failure by ping network segment gateway or Serial Port Transmission information, and result of determination is sent to resource processing module;
Resource processing module: receive the information of arbitration module and Communications Processor Module, judges whether to the operation triggered according to information;
Resource take-over module: controlled by resource processing module, is responsible for external service network address and storage resource, the service of adapter opposite terminal controller;The configuration file that the external service network of opposite terminal controller, storage resource and information on services are safeguarded by Communications Processor Module obtains;
Resource switchback module: controlled by resource processing module, the external service network address of the responsible opposite terminal controller taken over by local terminal, storage resource, service discharge, opposite terminal controller start;The configuration file that the external service network of opposite terminal controller, storage resource and information on services are safeguarded by Communications Processor Module obtains.
Next step action that described Communications Processor Module determines is respectively as follows: when the information got is normal communication information, then only logging timestamp;When get for error message time, start arbitration module be for further processing;When the information got is resource switchback request, then resource processing module is transferred to be for further processing.
The operation that described resource processing module triggers includes:
One, when the arbitration module transmitted information received is local terminal link failure, then the resource of local terminal is discharged;When the arbitration module transmitted information received is another controller link failure, then triggers resource adapter module, the resource belonging to another controller being taken over, resource take-over is divided into two parts, is respectively as follows:
1) network address adapter, takes over another controller and externally provides the network address IP of service;
2) resource take-over, takes over the storage resource belonging to another controller and external provided service;
Two, when receive be Communications Processor Module send another controller resource switchback application information time, triggers resource switchback module, the affiliated resource of another controller local controller taken over switches back to another controller;Resource switchback is divided into two parts, is respectively as follows:
1) network address switchback, the external service network of the opposite terminal controller taken over by local terminal switches back to opposite terminal controller;
2) resource switchback, the storage resource belonging to opposite terminal controller local controller taken over and externally service switch back to and start in opposite terminal controller.
The interconnective controller of each two is communicatively coupled each through in the following manner:
Internal network: namely arrange specify mutual, independent network segment between the two controllers, this network segment is an only network segment for communicating between the two controller;
External network: controller externally provides the network of service;
Serial ports connects: be namely connected with each other by serial communication interface.
The specifically chosen process of described communication connection is: when three links all communicate, and uses internal network to communicate;When internal network is obstructed, when external network and serial ports connection communicate, use serial ports link communication;When internal network and serial ports connect all obstructed, use external network communication.
A kind of device ensureing dual controller storage device resource continuous availability of the present invention, has the advantage that
This invention a kind of ensures that the device of dual controller storage device resource continuous availability is for safeguarding the state of controller, can process timely when controller generation abnormal conditions;By the controller of resource transfers belonging to the controller that breaks down to normal operation, and can discharge the resource of self;Being guaranteed in when single controller breaks down does not affect the use of storage resource, does not affect the service provided, and substantially without the situation of Schizencephaly occurs;It is applied in product, it is possible to the significant reliability improving product, promotes the continuous support to customer service, product is had bigger lifting, practical, it is easy to promote.
Accompanying drawing explanation
Accompanying drawing 1 is the overall structure schematic diagram of the present invention.
Accompanying drawing 2 is the link schematic diagram between two controllers of the present invention.
Detailed description of the invention
Below in conjunction with the drawings and specific embodiments, the invention will be further described.
The present invention proposes a kind of device ensureing dual controller storage device resource continuous availability, for safeguarding the state of controller, can processing timely when controller generation abnormal conditions, abnormal conditions here include controller and delay machine, data link fails etc..Can by the controller of resource transfers belonging to the controller that breaks down to normal operation, and the resource of self can be discharged, here resource transfers belonging to the controller broken down, to the controller of normal operation, refers not only to the transfer of storage resource, also includes the transfer of Internet resources.
As shown in accompanying drawing 1, Fig. 2, it realizes process is arrange a set of identical module in each controller, and at running background, this module includes sending module, receiver module, Communications Processor Module, arbitration module, resource processing module, resource take-over module, resource switchback module, and wherein the specific works process of above-mentioned each module is:
Receiver module: receive the message that another controller sends, the message received is passed to Communications Processor Module;When not receiving the message that another controller sends within the time specified, then transmission error message is to Communications Processor Module;
Sending module: receive the instruction of Communications Processor Module, sends, to the IP specified or serial ports, the message specified according to the mode specified;
Communications Processor Module: according to transmitting instruction the interval time set to sending module, the message controlling sending module sends;Obtain the information that receiver module passes over, the information obtained is carried out keyword judgement, determines next step action;Safeguard the configuration file of the external service network of the opposite terminal controller preserved in local controller, storage resource and information on services;
Arbitration module: start after accepting the instruction of Communications Processor Module, judge whether it is local terminal link failure by ping network segment gateway or Serial Port Transmission information, and result of determination is sent to resource processing module;
Resource processing module: receive the information of arbitration module and Communications Processor Module, judges whether to the operation triggered according to information;
Resource take-over module: controlled by resource processing module, is responsible for external service network address and storage resource, the service of adapter opposite terminal controller;The configuration file that the external service network of opposite terminal controller, storage resource and information on services are safeguarded by Communications Processor Module obtains;
Resource switchback module: controlled by resource processing module, the external service network address of the responsible opposite terminal controller taken over by local terminal, storage resource, service discharge, opposite terminal controller start;The configuration file that the external service network of opposite terminal controller, storage resource and information on services are safeguarded by Communications Processor Module obtains.
Next step action that described Communications Processor Module determines is respectively as follows: when the information got is normal communication information, then only logging timestamp;When get for error message time, start arbitration module be for further processing;When the information got is resource switchback request, then resource processing module is transferred to be for further processing.
The operation that described resource processing module triggers includes:
One, when the arbitration module transmitted information received is local terminal link failure, then the resource of local terminal is discharged;When the arbitration module transmitted information received is another controller link failure, then triggers resource adapter module, the resource belonging to another controller being taken over, resource take-over is divided into two parts, is respectively as follows:
1) network address adapter, takes over another controller and externally provides the network address IP of service;
2) resource take-over, takes over the storage resource belonging to another controller and external provided service;
Two, when receive be Communications Processor Module send another controller resource switchback application information time, triggers resource switchback module, the affiliated resource of another controller local controller taken over switches back to another controller;Resource switchback is divided into two parts, is respectively as follows:
1) network address switchback, the external service network of the opposite terminal controller taken over by local terminal switches back to opposite terminal controller;
2) resource switchback, the storage resource belonging to opposite terminal controller local controller taken over and externally service switch back to and start in opposite terminal controller.
The interconnective controller of each two is communicatively coupled each through in the following manner:
Internal network: specify network segment mutual, independent between two controllers, is an only network segment for communicating between the two controller.
External network: controller externally provides the network of service, it is also possible to be called data network, is for transmitting the network of data under normal condition.
Serial ports connects: serial communication interface, how linux system is identified with ttyS0, ttyS1 etc., A:echo " hello, world " can be used >/dev/ttyS0 and the B:cat/dev/ttyS0 instruction serial ports connection of testing between two controllers.
The specifically chosen process of described communication connection is: when three links all communicate, and uses internal network to communicate;When internal network is obstructed, when external network and serial ports connection communicate, use serial ports link communication;When internal network and serial ports connect all obstructed, use external network communication.
Above-mentioned detailed description of the invention is only the concrete case of the present invention; the scope of patent protection of the present invention includes but not limited to above-mentioned detailed description of the invention; claims of a kind of device ensureing dual controller storage device resource continuous availability of any present invention of meeting and any described technical field those of ordinary skill are to its suitably change done or replace, and all should fall into the scope of patent protection of the present invention.
Claims (4)
1. the device ensureing dual controller storage device resource continuous availability, it is characterized in that, a set of identical module is set in each controller, and at running background, this module includes sending module, receiver module, Communications Processor Module, arbitration module, resource processing module, resource take-over module, resource switchback module, and wherein the specific works process of above-mentioned each module is:
Receiver module: receive the message that another controller sends, the message received is passed to Communications Processor Module;When not receiving the message that another controller sends within the time specified, then transmission error message is to Communications Processor Module;
Sending module: receive the instruction of Communications Processor Module, sends, to the IP specified or serial ports, the message specified according to the mode specified;
Communications Processor Module: according to transmitting instruction the interval time set to sending module, the message controlling sending module sends;Obtain the information that receiver module passes over, the information obtained is carried out keyword judgement, determines next step action;Safeguard the configuration file of the external service network of the opposite terminal controller preserved in local controller, storage resource and information on services;
Arbitration module: start after accepting the instruction of Communications Processor Module, judge whether it is local terminal link failure by ping network segment gateway or Serial Port Transmission information, and result of determination is sent to resource processing module;
Resource processing module: receive the information of arbitration module and Communications Processor Module, judges whether to the operation triggered according to information;The operation that this resource processing module triggers includes:
One, when the arbitration module transmitted information received is local terminal link failure, then the resource of local terminal is discharged;When the arbitration module transmitted information received is another controller link failure, then triggers resource adapter module, the resource belonging to another controller being taken over, resource take-over is divided into two parts, is respectively as follows:
1) network address adapter, takes over another controller and externally provides the network address IP of service;
2) resource take-over, takes over the storage resource belonging to another controller and external provided service;
Two, when receive be Communications Processor Module send another controller resource switchback application information time, triggers resource switchback module, the affiliated resource of another controller local controller taken over switches back to another controller;Resource switchback is divided into two parts, is respectively as follows:
1) network address switchback, the external service network of the opposite terminal controller taken over by local terminal switches back to opposite terminal controller;
2) resource switchback, the storage resource belonging to opposite terminal controller local controller taken over and externally service switch back to and start in opposite terminal controller;
Resource take-over module: controlled by resource processing module, is responsible for external service network address and storage resource, the service of adapter opposite terminal controller;The configuration file that the external service network of opposite terminal controller, storage resource and information on services are safeguarded by Communications Processor Module obtains;
Resource switchback module: controlled by resource processing module, the external service network address of the responsible opposite terminal controller taken over by local terminal, storage resource, service discharge, opposite terminal controller start;The configuration file that the external service network of opposite terminal controller, storage resource and information on services are safeguarded by Communications Processor Module obtains.
2. a kind of device ensureing dual controller storage device resource continuous availability according to claim 1, it is characterized in that, next step action that described Communications Processor Module determines is respectively as follows: when the information got is normal communication information, then only logging timestamp;When get for error message time, start arbitration module be for further processing;When the information got is resource switchback request, then resource processing module is transferred to be for further processing.
3. a kind of device ensureing dual controller storage device resource continuous availability according to claim 1, it is characterised in that the interconnective controller of each two is communicatively coupled each through in the following manner:
Internal network: namely arrange specify mutual, independent network segment between the two controllers, this network segment is an only network segment for communicating between the two controller;
External network: controller externally provides the network of service;
Serial ports connects: be namely connected with each other by serial communication interface.
4. a kind of device ensureing dual controller storage device resource continuous availability according to claim 3, it is characterised in that the specifically chosen process of described communication connection is: when three links all communicate, uses internal network to communicate;When internal network is obstructed, when external network and serial ports connection communicate, use serial ports link communication;When internal network and serial ports connect all obstructed, use external network communication.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510010479.1A CN104536853B (en) | 2015-01-09 | 2015-01-09 | A kind of device ensureing dual controller storage device resource continuous availability |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510010479.1A CN104536853B (en) | 2015-01-09 | 2015-01-09 | A kind of device ensureing dual controller storage device resource continuous availability |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104536853A CN104536853A (en) | 2015-04-22 |
CN104536853B true CN104536853B (en) | 2016-07-27 |
Family
ID=52852383
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510010479.1A Active CN104536853B (en) | 2015-01-09 | 2015-01-09 | A kind of device ensureing dual controller storage device resource continuous availability |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104536853B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107179967B (en) * | 2017-06-08 | 2020-07-07 | 山东超越数控电子股份有限公司 | Fault processing method of asymmetric double-active double-control system |
CN107249036A (en) * | 2017-06-30 | 2017-10-13 | 郑州云海信息技术有限公司 | A kind of referee method of storage cluster system, device and storage system |
CN107766181B (en) * | 2017-09-12 | 2021-04-20 | 中国电子科技集团公司第五十二研究所 | Double-controller storage high-availability subsystem based on PCIe non-transparent bridge |
CN112463438B (en) * | 2020-11-06 | 2022-07-15 | 苏州浪潮智能科技有限公司 | Configuration information generation method and device of storage product and readable storage medium |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101364904A (en) * | 2008-10-06 | 2009-02-11 | 浪潮电子信息产业股份有限公司 | Method for mutually detecting double controlled memory controller through heart beat interface |
CN101594383B (en) * | 2009-07-09 | 2012-05-23 | 浪潮电子信息产业股份有限公司 | Method for monitoring service and status of controllers of double-controller storage system |
TWI579688B (en) * | 2012-02-29 | 2017-04-21 | 萬國商業機器公司 | Raid data storage system |
CN104102559B (en) * | 2014-07-16 | 2016-07-06 | 浪潮电子信息产业股份有限公司 | A kind of double controller storage system restarting link based on redundancy heart beating link and opposite end |
-
2015
- 2015-01-09 CN CN201510010479.1A patent/CN104536853B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN104536853A (en) | 2015-04-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102984059B (en) | Gigabit Ethernet redundancy network interface card and link switching condition criterion output control method thereof | |
US20090232152A1 (en) | Method and apparatus for aggregating ports | |
CN104536853B (en) | A kind of device ensureing dual controller storage device resource continuous availability | |
CN110808908B (en) | System and method for switching redundant network in real time across platforms | |
US20070233833A1 (en) | Data transmission system for electronic devices with server units | |
US10530636B2 (en) | Link management method, device and system in virtual machine environment | |
CN110868278B (en) | Method for dual-computer redundancy of communication front-end processor of rail transit comprehensive monitoring system | |
CN103731331A (en) | Airborne data sending method, airborne data receiving method, and data transmission device and system | |
CN103795518A (en) | Method, device, and system for synchronizing port modes between devices | |
CN107948063B (en) | Method for establishing aggregation link and access equipment | |
WO2020088278A1 (en) | Communication method and apparatus, and related devices | |
CN105471653A (en) | Airborne dual channel seamless switching method and system | |
CN109313623A (en) | Switch the method and device of serial data transmission state | |
US20090077275A1 (en) | Multiple I/O interfacing system for a storage device and communicating method for the same | |
CN105897623A (en) | Data transmission method and apparatus | |
CN115733729B (en) | Communication fault processing method, system and equipment | |
CN102880583A (en) | Device and method for configuring dynamic link of multi-way server | |
US9209928B2 (en) | Transmission device and transmission method | |
CN102118327A (en) | Multi-host gateway | |
CN104135411A (en) | Device and method of implementing multi-node communication based on RS232 interface | |
CN113037622B (en) | System and method for preventing BFD from vibrating | |
US9811496B2 (en) | Method and apparatus for detecting interface connection between devices | |
CN210274135U (en) | Remote connection system | |
CN102025569B (en) | The far-end loopback test method of point-to-point and system and device | |
US10491544B2 (en) | Consistency control of a logical path passing through a relay device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
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 |