CN106301900A - The method and apparatus of equipment arbitration - Google Patents
The method and apparatus of equipment arbitration Download PDFInfo
- Publication number
- CN106301900A CN106301900A CN201610644515.4A CN201610644515A CN106301900A CN 106301900 A CN106301900 A CN 106301900A CN 201610644515 A CN201610644515 A CN 201610644515A CN 106301900 A CN106301900 A CN 106301900A
- Authority
- CN
- China
- Prior art keywords
- storage device
- message
- arbitrating server
- reserved
- arbitration
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0668—Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/16—Error detection or correction of the data by redundancy in hardware
- G06F11/20—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
- G06F11/202—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant
- G06F11/2023—Failover techniques
- G06F11/2028—Failover techniques eliminating a faulty processor or activating a spare
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/16—Error detection or correction of the data by redundancy in hardware
- G06F11/20—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
- G06F11/202—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant
- G06F11/2035—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant without idle spare hardware
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/16—Error detection or correction of the data by redundancy in hardware
- G06F11/20—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
- G06F11/2053—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where persistent mass storage functionality or persistent mass storage control functionality is redundant
- G06F11/2094—Redundant storage or storage space
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0681—Configuration of triggering conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/50—Network service management, e.g. ensuring proper service fulfilment according to agreements
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer And Data Communications (AREA)
Abstract
The method and apparatus that the embodiment of the invention discloses a kind of equipment arbitration, the method includes: the first storage device sends requests for arbitration message to arbitrating server;Described arbitrating server is according to described requests for arbitration message, the log-on message of described first storage device and described second storage device adapter host service, send the instruction message indicating described first storage device adapter host service to described first storage device, and delete the log-on message of described second storage device;Described first storage device sends reservation requests to described arbitrating server, and described second storage device is registered to indicate described arbitrating server to forbid.The method and apparatus of the equipment arbitration that the embodiment of the present invention provides, can avoid the multiple equipment being likely to occur adapter host service simultaneously to cause the nonsynchronous situation of data, improve the fault-tolerant ability of dual-active arbitration system, reliability and safety.
Description
Technical field
The present invention relates to the communications field, the method and apparatus particularly relating to a kind of equipment arbitration.
Background technology
Along with the development of information technology, the process of data is increasingly concentrated, and the requirement to data safety is more and more higher, double
Live system is standby (Disaster Recovery) scheme of a kind of computer calamity economized on resources, and its implementation pattern is to allow two numbers
Undertake the business of user according to center, Liang Ge data center backups each other, and backs up in realtime simultaneously.
After communication between the Liang Ge data center of dual-active system disconnects, Liang Ge data center can be each to mediation service
Device sends requests for arbitration message, asks adapter host service, and arbitrating server preserves the log-on message of Liang Ge data center, when
Arbitrating server determines that one of them data center can delete the registration of another one data center after adapter host service
Information, thus the situation that the host service of avoiding Liang Ge data center adapter host service simultaneously to cause externally providing is inconsistent.
But, according to the scheme of prior art, if the data center that log-on message is deleted initiates registration request and arbitration again
Request, arbitrating server can preserve the log-on message of this data center, and according to the log-on message of its this data center preserved
Judge this data center can adapter host service, so, arise that the feelings of Liang Ge data center adapter host service simultaneously
Condition, thus there will be the situation that the host service externally provided is inconsistent.
Summary of the invention
In view of this, the method and apparatus embodiments providing a kind of equipment arbitration, it is possible to prevent to arbitrate unsuccessfully
Equipment again carry out registering and seizing operation, such that it is able to improve system survivability, reliability and safety.
On the one hand, a kind of method embodiments providing equipment arbitration, described method is applied in storage system,
Described storage system includes the first storage device, the second storage device and arbitrating server, and the method includes: when the first storage sets
When communication link between standby and the second storage device breaks down, described first storage device sends to described arbitrating server
Requests for arbitration message, described requests for arbitration message includes identification information and the service take-over information of described first storage device,
Described service take-over information is used for indicating described first storage device to require adapter host service;Described arbitrating server is according to institute
State the requests for arbitration message of the first storage device, the log-on message of described first storage device and described second storage device not
Adapter host service, sends to described first storage device and indicates the instruction of described first storage device adapter host service to disappear
Breath, and delete the log-on message of described second storage device that described arbitrating server preserves, wherein, described arbitrating server is pre-
First preserve log-on message and the log-on message of described second storage device of described first storage device;Described first storage sets
Standby according to described instruction message adapter host service, and send reservation requests to described arbitrating server, described reserving please
The identification information of described first storage device and reserved instruction information, described reserved instruction information are used for indicating to ask message to include
Described arbitrating server forbids that described second storage device is registered;Described arbitrating server connects from described second storage device
Receiving login request message, described login request message includes the log-on message of described second storage device;Described arbitrating server
According to described reserved instruction information, refuse described second storage device and register.
The method of the equipment arbitration provided according to embodiments of the present invention, arbitrating server can be according to the first storage device
Requests for arbitration message, the log-on message of the first storage device and the situation of current second storage device not adapter host service,
First storage device is defined as the equipment of uniquely adapter host service, such that it is able to guarantee that the first array is for uniquely adapter main frame
The equipment of business, it is to avoid the multiple arrays the being likely to occur nonsynchronous situation of data that adapter host service causes simultaneously, improves
System survivability, reliability and safety.
Alternatively, described arbitrating server is after described first storage device receives described reservation requests, described
Method also includes: after the communication link between described first storage device and described second storage device recovers normally, described
First storage device sends reserved removing message to described arbitrating server, and described reserved removing message is used for asking described arbitration
Server deletes described reserved instruction information, in order to described second storage device is registered;Described arbitrating server according to
Described reserved removing message deletes described reserved instruction information.
The method of the equipment arbitration provided according to embodiments of the present invention, arbitrating server can be sent out according to the first storage device
The reserved removing message sent deletes the reserved instruction information of the first storage device, in order to the second storage device is registered, from
And between different storage device, multiple storage device processes host service can be used the most afterwards by communication recovery, improve system
Reliability and safety.
Alternatively, described arbitrating server is after described first storage device receives described reservation requests, described
Method also includes: described second storage device sends reserved removing message, described reserved removing message to described arbitrating server
For asking described arbitrating server to delete described reserved instruction information;Described arbitrating server is according to described reserved instruction information
Refusal removes the request of described reserved removing message, and wherein, described reserved instruction information is used for indicating described arbitrating server to refuse
The removal request of the most described second storage device.
The method of the equipment arbitration provided according to embodiments of the present invention, arbitrating server can be according to the first storage device
Reserved instruction information refuses the request of the reserved removing message that the second storage device sends, such that it is able to prevent from arbitrating setting unsuccessfully
For again carrying out registering and seizing operation, such that it is able to improve system survivability, reliability and safety.
On the other hand, a kind of method embodiments providing equipment arbitration, described method is applied to storage system
In, described storage system includes the first storage device, the second storage device and arbitrating server, and the method includes: when first deposits
When communication link between storage equipment and the second storage device breaks down, described first storage device is to described arbitrating server
Sending requests for arbitration message, described requests for arbitration message includes the identification information of described first storage device, service take-over information
With reserved instruction information, wherein, described service take-over information is used for indicating described first storage device to require adapter host service,
Described reserved instruction information is used for indicating described arbitrating server to forbid, and described second storage device is registered;Described arbitration clothes
Business device is according to the requests for arbitration message of described first storage device, the log-on message of described first storage device and described second
Storage device adapter host service, sends to described first storage device and indicates described first storage device adapter host service
Instruction message, and delete the log-on message of described second storage device that described arbitrating server preserves, wherein, described arbitration
Server pre-saves log-on message and the log-on message of described second storage device of described first storage device;Described secondary
Cutting out server and receive login request message from described second storage device, described login request message includes that described second storage sets
Standby log-on message;Described arbitrating server, according to described reserved instruction information, is refused described second storage device and is registered.
The method of the equipment arbitration provided according to embodiments of the present invention, arbitrating server can be sent out according to the first storage device
Carry the requests for arbitration message of reserved instruction information, the log-on message of the first storage device and current second storage device sent do not have
There is the situation of adapter host service, delete the log-on message of the second storage device, such that it is able to guarantee that the first storage device is for only
The equipment of one adapter host service, it is to avoid the multiple storage devices the being likely to occur data that adapter host service causes simultaneously are different
The situation of step, improves system survivability, reliability and safety, can also save signaling consumption simultaneously.
Alternatively, described arbitrating server is after described first storage device receives described requests for arbitration message, described
Method also includes: after the communication link between described first storage device and described second storage device recovers normally, described
First storage device sends reserved removing message to described arbitrating server, and described reserved removing message is used for asking described arbitration
Server deletes described reserved instruction information, in order to described second storage device is registered;Described arbitrating server according to
Described reserved removing message deletes described reserved instruction information.
The method of the equipment arbitration provided according to embodiments of the present invention, arbitrating server can be sent out according to the first storage device
The reserved removing message sent deletes the reserved instruction information of the first storage device, in order to the second storage device is registered, from
And between different storage device, multiple storage device processes host service can be used the most afterwards by communication recovery, improve system
Reliability and safety.
Alternatively, described arbitrating server is after described first storage device receives described requests for arbitration message, described
Method also includes: described arbitrating server receives reserved removing message, described reserved removing message from described second storage device
For asking described arbitrating server to delete described reserved instruction information;Described arbitrating server is according to described reserved instruction information
Refusing the request of described reserved removing message, wherein, described reserved instruction information is used for indicating described arbitrating server to refuse institute
State the removal request of the second storage device.
The method of the equipment arbitration provided according to embodiments of the present invention, arbitrating server can be according to the first storage device
Reserved instruction information refuses the request of the reserved removing message that the second storage device sends, such that it is able to prevent from arbitrating setting unsuccessfully
For again carrying out registering and seizing operation, such that it is able to improve system survivability, reliability and safety.
Another further aspect, embodiments provides the arbitrating server of a kind of equipment arbitration, and this arbitrating server is permissible
Realizing the function performed by arbitrating server in method involved by above-mentioned aspect, described function can be realized by hardware, it is possible to
To perform the realization of corresponding software by hardware.Described hardware or software include the corresponding unit of one or more above-mentioned functions or
Module.
In a kind of possible design, the structure of this arbitrating server includes processor and communication interface, this processor
It is configured to support that this arbitrating server performs corresponding function in said method.This communication interface is used for supporting this mediation service
Communication between device and other network element.This arbitrating server can also include memorizer, and this memorizer is used for coupling with processor,
It preserves the necessary programmed instruction of this arbitrating server and data.
Another further aspect, embodiments provides the first storage device of a kind of equipment arbitration, this first storage device
Can realize the function performed by the first storage device in method involved by above-mentioned aspect, described function can be real by hardware
Existing, it is also possible to perform corresponding software by hardware and realize.Described hardware or software include that one or more above-mentioned functions is corresponding
Unit or module.
In a kind of possible design, the structure of this first storage device includes processor and communication interface, this process
Device is configured to support that this arbitrating server performs corresponding function in said method.This communication interface is used for supporting this first to deposit
Communication between storage equipment and other network element.This first storage device can also include memorizer, and this memorizer is used for and process
Device couples, and it preserves the necessary programmed instruction of this first storage device and data.
Another further aspect, embodiments provides a kind of communication system, and this communication system includes described in above-mentioned aspect
Arbitrating server and the first storage device.
Another further aspect, embodiments provides a kind of computer-readable storage medium, is used for storing above-mentioned arbitrating server
Computer software instructions used, it comprises for performing the program designed by above-mentioned aspect.
Another further aspect, embodiments provides a kind of computer-readable storage medium, is used for storing above-mentioned first storage and sets
Standby computer software instructions used, it comprises for performing the program designed by above-mentioned aspect.
Compared to prior art, the method for the equipment arbitration provided according to embodiments of the present invention, arbitrating server can root
According to first storage device send request message, the log-on message of the first storage device and connect currently without other storage device
The situation of pipe host service, determines the equipment that the first storage device is uniquely adapter host service, and, arbitrating server according to
The state of the first storage device uniquely adapter host service refuses registration request or the requests for arbitration of other storage device, thus can
To guarantee the equipment that the first storage device is uniquely adapter host service, it is to avoid the multiple equipment adapter main frame simultaneously being likely to occur
The data that business causes are asynchronous, improve the fault-tolerant ability of dual-active arbitration system, reliability and safety, additionally, first deposits
The message erasing that the state of unique adapter host service of storage equipment can only be sent by the first storage device, further increases double
The safety of arbitration system alive.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, will make required in the embodiment of the present invention below
Accompanying drawing be briefly described, it should be apparent that, drawings described below is only some embodiments of the present invention, for
From the point of view of those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to obtain other according to these accompanying drawings
Accompanying drawing.
Fig. 1 is the schematic architectural diagram of a kind of possible storage system being suitable for the embodiment of the present invention;
Fig. 2 is the communication scheme of the method for a kind of equipment arbitration that the embodiment of the present invention provides;
Fig. 3 is the communication scheme of the method for the another kind of equipment arbitration that the embodiment of the present invention provides;
Fig. 4 is the communication scheme of the method for another equipment arbitration that the embodiment of the present invention provides;
Fig. 5 is the communication scheme of the method for another equipment arbitration that the embodiment of the present invention provides;
Fig. 6 A is the structural representation of a kind of possible arbitrating server that the embodiment of the present invention provides;
Fig. 6 B is the structural representation of the alternatively possible arbitrating server that the embodiment of the present invention provides;
Fig. 7 A is the structural representation of a kind of possible storage device that the embodiment of the present invention provides;
Fig. 7 B is the structural representation of the alternatively possible storage device that the embodiment of the present invention provides.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Describe, it is clear that described embodiment is a part of embodiment of the present invention rather than whole embodiments wholely.Based on this
Embodiment in bright, the every other enforcement that those of ordinary skill in the art are obtained under not making creative work premise
Example, broadly falls into the scope of protection of the invention.
The method and apparatus of equipment arbitration according to embodiments of the present invention, can be on the array of dual-active system or array
Logic storage unit (Logic Unit Number, LUN) is arbitrated, it is also possible to other need the equipment arbitrated or
Unit is arbitrated, below, as a example by array, the embodiment of the present invention being described in detail, the embodiment of the present invention is not limited to this,
The method of equipment arbitration according to embodiments of the present invention can also be applied to other storage device.
For the ease of understanding the embodiment of the present invention, first, the application scenarios of the embodiment of the present invention is briefly introduced.Figure
1 schematic diagram showing a kind of possible storage system being suitable for the embodiment of the present invention.
As it is shown in figure 1, storage system includes: main frame or mainframe cluster 110, array 120, array 130 and arbitrating server
140, mainframe cluster 110 connects with array 120, array 130 simultaneously, is connected with each other, array 120, battle array between array 120, array 130
Row 130 connect with arbitrating server 140 simultaneously.When dual-active system is properly functioning, mainframe cluster 110 can be simultaneously to array 120
Issuing read-write business with array 130, its flow process that array 120 is issued the business of writing is as follows:
1. mainframe cluster 110 issues to array 120 and writes data service;
2. the data issued are simultaneously written to array 120 and array 130 by array 120;
3. the data of writing of array 120 and array 130 all complete;
4. array 120 sends to mainframe cluster 110 and writes the message that data complete.
The data basic procedure of writing of array 130 is similar to, such as step 1 by mainframe cluster 110 ', 2 ', 3 ' and 4 ' shown.Work as battle array
Communication link between row 120 and array 130 break down (that is, Schizencephaly) time, in order to avoid business is asynchronous, can only be by array
120 with array 130 in an array adapter host service, owing to now can not lead between array 120 and array 130
Letter, it is therefore desirable to determined who is to adapter host service by arbitrating server 140.Array 120 can be respectively to arbitration with array 130
Server 140 initiates requests for arbitration, if arbitrating server 140 first receives the requests for arbitration message that array 120 sends, the most secondary
Cut out server and can determine that array 120 is won according to the requests for arbitration message of the log-on message of array 120 and array 120, will
Array 120 is defined as the array of adapter host service, and is removed by the log-on message of array 130.
Owing to arbitrating server 140 is only capable of passively accepting array 120 and the log-on message of array 130, therefore, work as array
130 when there is logical error, and array 130 may the most once be registered, and initiates arbitration the most again, then array 130 also can be won,
Thus cause array 120 and array 130 the most externally offer business, and there will be the situation that data are inconsistent.
The method of equipment arbitration according to embodiments of the present invention, array 120 sends to arbitrating server after arbitration is won
Reservation requests, this reservation request message includes the mark of array 120 and reserved instruction information, and this reservation requests is used
Forbid that array 130 is registered in request arbitrating server 140, such that it is able to avoid array 130 arbitration to win.Or array
120 can also think that arbitrating server 140 sends the requests for arbitration message including reserved instruction information, and request adapter host service is also
Request arbitrating server 140 forbids that array 130 is registered.
Fig. 2 shows the indicative flowchart of the method for the equipment arbitration that the embodiment of the present invention provides.As in figure 2 it is shown, should
Method 200 includes:
S201, the first storage device sends requests for arbitration message to arbitrating server, this requests for arbitration message include this
The identification information of one storage device and service take-over information, this service take-over information is used for indicating this first storage device requirement
Adapter host service.
S202, requests for arbitration message that arbitrating server sends according to the first storage device, the registration of the first storage device
Information and the second storage device adapter host service, delete the registration letter of the second storage device that arbitrating server preserves
Breath, wherein, arbitrating server pre-saves log-on message and the log-on message of the second storage device of the first storage device.
S203, the instruction that arbitrating server sends instruction the first storage device adapter host service to the first storage device disappears
Breath.
S204, the first storage device is according to this instruction message adapter host service, and sends reserved asking to arbitrating server
Seeking message, this reservation request message includes the identification information of the first storage device and reserved instruction information, this reserved instruction letter
Breath is used for indicating arbitrating server to forbid, and the second storage device is registered.
S205, arbitrating server receives login request message from the second storage device, and this login request message includes second
The log-on message of storage device.
S206, arbitrating server, according to reserved instruction information, is refused the second storage device and is registered.
First storage device can be the first array, and the first array can find itself and (that is, the second storage of the second array
Equipment) communication link disconnect time generate requests for arbitration information, this requests for arbitration information is used for asking adapter host service;Arbitration
Server can be according to the log-on message of the first locally stored array, and currently without other array adapter host service
First array is defined as the array of adapter host service by situation, and sends instruction message to the first array, notifies the first array
Arbitration is won;First array can generate reservation request information according to its arbitration triumph, and this reservation requests is used for indicating secondary
Cutting out server and forbid the second array registration, such as, this reservation requests can ask arbitrating server by the note of the first array
Volume information is revised as reserved information, and this reserved information represents the equipment that the first array is uniquely adapter host service;Mediation service
The log-on message of the first array is revised as reserved information according to this reservation request information after receiving reservation request information by device, secondary
Cut out server to refuse the requests for arbitration of the second array, registration request according to this reserved information or remove this reserved information
Request, such that it is able to guarantee the equipment that the first array is uniquely adapter host service, it is to avoid the multiple arrays being likely to occur are simultaneously
The data that adapter host service causes are asynchronous.
Above-described embodiment is merely illustrative of, and the embodiment of the present invention is not limited to this, and such as, arbitrating server can be according to
The reservation request information that an array sends adds mark in the log-on message of the first array, and this mark is used for forbidding the second array
Registration.
Alternatively, arbitrating server is after the first storage device receives reservation requests, and method 200 also includes:
S207, after the communication link between the first storage device and the second storage device recovers normally, the first storage sets
Standby to arbitrating server transmission reserved removing message, this reserved message of removing is used for asking the reserved instruction of arbitrating server deletion to disappear
Breath, in order to the second storage device is registered.
S208, arbitrating server deletes described reserved instruction information according to this reserved message of removing.
After communication link between the first storage device and the second storage device recovers normally, the first storage device is permissible
Sending reserved message of removing to arbitrating server, reserved instruction information is removed in request, and arbitrating server disposes reserved instruction letter
After breath, the second storage device just can send login request message to arbitrating server, and request is registered, now, and arbitration clothes
Business device just can preserve the log-on message of the second storage device, after the second storage device succeeds in registration, it is possible to the first storage
Equipment adapter host service and synchrodata jointly, continue executing with the carrying out safety backup function of dual-active system.
Alternatively, method 200 also includes:
S209, the second storage device sends reserved removing message to arbitrating server, and described reserved removing message is for asking
Arbitrating server is asked to delete the reserved instruction information of the first storage device.
S210, arbitrating server refuses asking of the reserved removing message of the second storage device according to this reserved instruction information
Ask, wherein, the removal request that this reserved instruction information refuses the second storage device for indicating arbitrating server.
The reserved instruction information of the first storage device actively can only be removed by the first storage device, and miscellaneous equipment can not be removed
This state, such that it is able to avoid the reserved instruction information of the first array that the problem such as poisoning intrusion, software bug causes to be deleted,
Improve safety.
The most exemplified two storage devices in Fig. 2, the method for equipment arbitration according to embodiments of the present invention also can be answered
For including the storage system more than two storage devices, therefore, the method 200 of equipment arbitration according to embodiments of the present invention,
Storage device sends reservation request information to arbitrating server after arbitration is won, and this storage device is defined as uniquely connecing by request
The equipment of pipe host service, it is to avoid the difference that the problems such as software bug, user misoperation, HP M, poisoning intrusion cause
Storage device the most externally provides business, thus avoids the situation externally providing data inconsistent, improves dual-active arbitration and is
Fault-tolerant ability, reliability and the safety of system.
Fig. 3 shows the indicative flowchart of the method for the equipment arbitration that the embodiment of the present invention provides.As it is shown on figure 3, should
Method 300 includes:
S301, when the communication link between the first storage device and the second storage device breaks down, the first storage sets
Standby to arbitrating server transmission requests for arbitration message, this requests for arbitration message includes the identification information of the first storage device, business
Adapter information and reserved instruction information, wherein, described service take-over information requires adapter main frame for instruction the first storage device
Business, described reserved instruction information is used for indicating described arbitrating server to forbid, and the second storage device is registered.
S302, arbitrating server is believed according to the requests for arbitration message of the first storage device, the registration of this first storage device
Breath and the second storage device adapter host service, delete the log-on message of the second storage device that arbitrating server preserves,
Wherein, arbitrating server pre-saves the first storage device and the log-on message of the second storage device.
S303, arbitrating server sends instruction message to the first storage device, and this instruction message is for instruction the first storage
Equipment can adapter host service.
S304, arbitrating server receives login request message from the second storage device, and this login request message includes second
The log-on message of storage device.
S305, arbitrating server, according to the reserved instruction information of the first storage device, is refused the second storage device and is noted
Volume.
First storage device can be the first array, and the first array can find itself and (that is, the second storage of the second array
Equipment) communication link disconnect time generate requests for arbitration information, this requests for arbitration information is used for asking adapter host service, and this is secondary
Cut out request message and also include that reserved instruction information, this reserved instruction information instruction arbitrating server forbid that the second array is noted
Volume;Arbitrating server can be according to the log-on message of the first locally stored array and main currently without the adapter of other array
First array is defined as the array of adapter host service by the situation of machine business, and sends instruction message, notice to the first array
First array arbitration is won, and the first array can also be reserved in arbitrating server according to this reserved instruction information by arbitrating server
In log-on message be revised as reserved information, arbitrating server can refuse the arbitration of the second array according to this reserved information please
Ask, registration request or remove the request of this reserved information, such that it is able to guarantee that the first array is unique adapter host service
Equipment, it is to avoid the multiple arrays the being likely to occur data that adapter host service causes simultaneously are asynchronous, according to embodiments of the present invention
The method of equipment arbitration can also save signaling consumption.
Fig. 4 shows the indicative flowchart of the method for the equipment arbitration that another embodiment of the present invention provides.Such as Fig. 4 institute
Showing, the method 400 includes:
S401, array 410 finds that the communication link between array 410 and array 420 disconnects (that is, Schizencephaly).
S402, array 410 is initiated requests for arbitration to arbitration equipment (such as, arbitrating server 430), is asked adapter main frame industry
Business;
S403, arbitrating server 430 determines the local log-on message A whether storing array 410;
Array 410 is registered to arbitrating server 430 when self having process host service ability, in order at brain
After splitting generation, arbitrating server 430 can determine that array 410 has the ability of adapter host service, when array 410 finds oneself
When losing the ability of process business, send the information removing log-on message A to arbitrating server 430.
S404, arbitrating server 430 judges that array 410 arbitration is won, and removes the log-on message B of array 420, wherein,
Arbitrating server 430, only when determining the locally stored log-on message A having array 410, just can process the secondary of array 410 transmission
Cut out request, it is determined that the method for array arbitration triumph can be first-come first-served basis, i.e. will receive first of arbitrating server
Array indicated by requests for arbitration is defined as the array of arbitration triumph, it is determined that the method for arbitration triumph can also be other method,
This is not construed as limiting by the embodiment of the present invention.
S405, arbitrating server 430 sends arbitration triumph message to array 410, and notice array 410 arbitration is won.
S406, array 410 sends reservation request information to arbitrating server 430, and registration is believed by request arbitrating server 430
Breath A is revised as reserved information A, and reserved information A is for representing that array 410 has exclusivity to the adapter of host service, at array
During 410 adapter host services, arbitrating server 430 refuses the operations such as reserved, the registration of other array, requests for arbitration, will note
Volume information A is revised as reserved information A and is merely illustrative of, and the embodiment of the present invention is not limited to this, and alternatively, array 410 can be to
Arbitrating server 430 sends exclusive solicited message, and log-on message A is added mark by request arbitrating server 430, and this mark is used for
Represent that array 410 has exclusivity to the adapter of host service.
S407, the reservation request information that arbitrating server 430 sends according to array 410, is revised as reserving by log-on message A
Information A, arbitrating server 430 can remove the log-on message B of array 420 according to reserved information A.
S408, array 420 finds that the communication between array 420 and array 410 disconnects (that is, Schizencephaly).
S409, array 420 sends registration information to arbitrating server 430.
S410, arbitrating server 430, according to locally stored reserved information A, forbids that array 420 is registered.
S411, arbitrating server 430 sends the message of refusal registration to array 420.
S412, array 420 sends requests for arbitration message to arbitrating server 430, asks adapter host service.
S413, arbitrating server 430 does not has the log-on message B of storage array 420 according to this locality, it is determined that array 420 is arbitrated
Failure.
S414, arbitrating server 430 sends arbitration failed message to array 420.
S415, array 410 recovers according to the communication link between array 410 and array 420, initiates data to array 420
Synchronous task.
S416, array 410 completes according to the data syn-chronization of array 410 with array 420, sends clearly to arbitrating server 430
Except message, this removing message removes the state of unique adapter host service of array 410 for asking arbitrating server 430.
S417, the removing message that arbitrating server 430 sends according to array 410, is revised as log-on message by reserved information A
A。
S418, array 420 sends login request message to arbitrating server 430, and request processes host service.
S419, arbitrating server 430 does not store reserved information according to this locality, determines that array 420 can process main frame industry
Business, and preserve the log-on message B of array 420.
S420, arbitrating server 430 sends, to array 420, the message that succeeds in registration, and notice array 420 can process main frame industry
Business.
The method 400 of equipment arbitration according to embodiments of the present invention, storage device arbitration win after to arbitrating server
Sending reservation request information, this storage device is defined as the equipment of uniquely adapter host service by request, it is to avoid software bug, use
The different storage device adapter host service respectively that the problems such as family maloperation, HP M, poisoning intrusion cause, thus keep away
Exempt from the situation that external offer data are inconsistent, improve the fault-tolerant ability of dual-active arbitration system, reliability and safety.
Fig. 5 shows the indicative flowchart of the method for the equipment arbitration that another embodiment of the present invention provides.Such as Fig. 5 institute
Showing, the method 500 includes:
S501, array 510 finds that the communication link between array 510 and array 520 disconnects (that is, Schizencephaly).
S502, array 510 is initiated requests for arbitration to arbitration equipment (such as, arbitrating server 530), is asked adapter main frame industry
Business, and ask arbitrating server 330 that log-on message A is revised as reserved information A, reserved information A is used for representing that array 310 is to master
The adapter of machine business has exclusivity, and during array 310 adapter host service, arbitrating server 330 refuses other array
The operations such as reserved, registration, requests for arbitration, log-on message A is revised as information A of reserving to be merely illustrative of, the embodiment of the present invention
It is not limited to this;
S503, arbitrating server 530 determines the local log-on message A whether storing array 510;
S504, arbitrating server 530 judges that array 510 arbitration is won, and removes the log-on message B of array 520, wherein,
Arbitrating server 530, only when determining the locally stored log-on message A having array 510, just can process the secondary of array 510 transmission
Cut out request, it is determined that the method for array arbitration triumph can be first-come first-served basis, i.e. will receive first of arbitrating server
Array indicated by requests for arbitration is defined as the array of arbitration triumph, it is determined that the method for arbitration triumph can also be other method,
This is not construed as limiting by the embodiment of the present invention.
S505, log-on message A is revised as reserved information A according to requests for arbitration message by arbitrating server 530.
S506, arbitrating server 530 sends arbitration triumph message to array 510, and notice array 510 arbitration is won.
S507, array 520 finds that the communication between array 520 and array 510 disconnects (that is, Schizencephaly).
S508, array 520 sends registration information to arbitrating server 530.
S509, arbitrating server 530, according to locally stored reserved information A, forbids that array 520 is registered.
S510, arbitrating server 530 sends the message of refusal registration to array 520.
S511, array 520 sends requests for arbitration message to arbitrating server 530, asks adapter host service.
S512, arbitrating server 530 does not has the log-on message B of storage array 520 according to this locality, it is determined that array 520 is arbitrated
Failure.
S513, arbitrating server 530 sends arbitration failed message to array 520.
S514, array 510 recovers according to the communication link between array 510 and array 520, initiates data to array 520
Synchronous task.
S515, array 510 completes according to the data syn-chronization of array 510 with array 520, sends clearly to arbitrating server 530
Except message, this removing message removes the state of unique adapter host service of array 510 for asking arbitrating server 530.
S516, the removing message that arbitrating server 530 sends according to array 510, is revised as log-on message by reserved information A
A。
S517, array 520 sends login request message to arbitrating server 530, and request processes host service.
S518, arbitrating server 530 does not store reserved information according to this locality, determines that array 520 can process main frame industry
Business, and preserve the log-on message B of array 520.
S519, arbitrating server 530 sends, to array 520, the message that succeeds in registration, and notice array 520 can process main frame industry
Business.
The method 500 of equipment arbitration according to embodiments of the present invention, storage device includes by sending to arbitrating server
The requests for arbitration information of reservation request information, this storage device is defined as the equipment of uniquely adapter host service by request, saves
Signaling consumption, it is to avoid the different storages that the problems such as software bug, user misoperation, HP M, poisoning intrusion cause set
Back-up not adapter host service, thus avoid the situation externally providing data inconsistent, improve the appearance of dual-active arbitration system
Wrong ability, reliability and safety.
The scheme of the embodiment of the present invention is described by mainly mutual between each network element angle of above-described embodiment.
It is understood that each network element, such as arbitrating server, the first storage device, in order to realize above-mentioned functions, it comprises and hold
The row corresponding hardware configuration of each function and/or software module.Those skilled in the art should be readily appreciated that, in conjunction with herein
The unit of each example that middle the disclosed embodiments describe and algorithm steps, the present invention can be soft with hardware or hardware and computer
The combining form of part realizes.Certain function performs in the way of hardware or computer software drive hardware actually, depends on
Application-specific and design constraint in technical scheme.Professional and technical personnel can use difference to each specifically should being used for
Method realizes described function, but this realization is it is not considered that beyond the scope of this invention.
The embodiment of the present invention can carry out functional unit according to said method example to arbitrating server, the first storage device
Division, for example, it is possible to each function corresponding divides each functional unit, it is also possible to by integrated for two or more functions
In a processing unit.Above-mentioned integrated unit both can realize to use the form of hardware, it would however also be possible to employ software function list
The form of unit realizes.It should be noted that the division to unit is schematic in the embodiment of the present invention, it is only a kind of logic
Function divides, and actual can have other dividing mode when realizing.
In the case of using integrated unit, Fig. 6 A shows the one of arbitrating server involved in above-described embodiment
Plant possible structural representation.Arbitrating server 600 includes: processing unit 602 and communication unit 603.Processing unit 602 is used for
Action to arbitrating server 600 is controlled management, and such as, processing unit 602 is used for supporting arbitrating server 600 execution figure
S202 and S206 of 2, processing unit 602 can be also used for supporting S302 and S305 that arbitrating server 600 performs Fig. 3, and/or
Other process for techniques described herein.Communication unit 603 is used for supporting arbitrating server 600 and other network entity
Communication, such as the communication between the first storage device and shown in Fig. 2.Arbitrating server 600 can also include that storage is single
Unit 601, for program code and the data of memory arbitration server 600.
Wherein, processing unit 602 can be processor or controller, such as, can be central processing unit (Central
Processing Unit, CPU), general processor, digital signal processor (Digital Signal Processor, DSP),
Special IC (Application-Specific Integrated Circuit, ASIC), field programmable gate array
(Field Programmable Gate Array, FPGA) or other PLDs, transistor logic, hard
Part parts or its combination in any.It can realize or perform various exemplary the patrolling combined described by the disclosure of invention
Collect square frame, module and circuit.Described processor can also be the combination realizing computing function, such as, comprise one or more micro-place
Reason device combination, combination of DSP and microprocessor etc..Communication unit 603 can be communication interface, transceiver, transmission circuit etc.,
Wherein, communication interface is to be referred to as, and can include one or more interface.Memory element 601 can be memorizer.
When processing unit 602 is processor, and communication unit 603 is communication interface, when memory element 601 is memorizer, this
Arbitrating server involved by inventive embodiments can be for the arbitrating server shown in Fig. 6 B.
Refering to shown in Fig. 6 B, this arbitrating server 610 includes: processor 612, communication interface 613, memorizer 611.Optional
, arbitrating server 610 can also include bus 614.Wherein, communication interface 613, processor 612 and memorizer 611 are permissible
It is connected with each other by bus 614;Bus 614 can be Peripheral Component Interconnect standard (Peripheral Component
Interconnect, is called for short PCI) bus or EISA (Extended Industry Standard
Architecture, is called for short EISA) bus etc..Described bus 614 can be divided into address bus, data/address bus, control bus etc..
For ease of representing, Fig. 6 B only represents with a thick line, it is not intended that an only bus or a type of bus.
Those skilled in the art is it can be understood that arrive, for convenience of description and succinctly, and the dress of foregoing description
Put the specific works process with unit, be referred to the corresponding process in preceding method embodiment, do not repeat them here.
Therefore, the arbitrating server that the embodiment of the present invention provides, send after arbitration is won according to the first storage device
Reservation request information, or the requests for arbitration message including reserved instruction information sent according to the first storage device, can be by
The log-on message of the first storage device is revised as reserved information, such that it is able to avoid the second storage device again succeed in registration and connect
Pipe host service, additionally, this reserved information can only be deleted according to the reserved removing message that the first storage device sends, improves secondary
The safety of sanction system.
In the case of using integrated unit, Fig. 7 A shows the first storage device involved in above-described embodiment
A kind of possible structural representation.First storage device 700 includes: processing unit 702 and communication unit 703.Processing unit 702
For the action of the first storage device 700 is controlled management, such as, processing unit 702 is for by communication unit 703
Holding the first storage device 700 and perform S201 and S204 of Fig. 2, processing unit 702 can be also used for supporting the first storage device 700
Perform the S301 of Fig. 3, and/or other process for techniques described herein.Communication unit 703 is for supporting the first storage
Equipment 700 and the communication of other network entity, the such as communication between arbitrating server and shown in Fig. 2 or Fig. 3.First deposits
Storage equipment 700 can also include memory element 701, for program code and the data of storage the first storage device 700.
Wherein, processing unit 702 can be processor or controller, such as, can be central processing unit (Central
Processing Unit, CPU), general processor, digital signal processor (Digital Signal Processor, DSP),
Special IC (Application-Specific Integrated Circuit, ASIC), field programmable gate array
(Field Programmable Gate Array, FPGA) or other PLDs, transistor logic, hard
Part parts or its combination in any.It can realize or perform various exemplary the patrolling combined described by the disclosure of invention
Collect square frame, module and circuit.Described processor can also be the combination realizing computing function, such as, comprise one or more micro-place
Reason device combination, combination of DSP and microprocessor etc..Communication unit 703 can be communication interface, transceiver, transmission circuit etc.,
Wherein, communication interface is to be referred to as, and can include one or more interface.Memory element 701 can be memorizer.
When processing unit 702 is processor, and communication unit 703 is communication interface, when memory element 701 is memorizer, this
The first storage device involved by inventive embodiments can be for the first storage device shown in Fig. 7 B.
Refering to shown in Fig. 7 B, this first storage device 710 includes: processor 712, communication interface 713, memorizer 711.Can
Choosing, the first storage device 710 can also include bus 714.Wherein, communication interface 713, processor 712 and memorizer 711
Can be connected with each other by bus 714;Bus 714 can be Peripheral Component Interconnect standard (Peripheral Component
Interconnect, is called for short PCI) bus or EISA (Extended Industry Standard
Architecture, is called for short EISA) bus etc..Described bus 714 can be divided into address bus, data/address bus, control bus etc..
For ease of representing, Fig. 7 B only represents with a thick line, it is not intended that an only bus or a type of bus.
Those skilled in the art is it can be understood that arrive, for convenience of description and succinctly, and the dress of foregoing description
Put the specific works process with unit, be referred to the corresponding process in preceding method embodiment, do not repeat them here.
Therefore, the first storage device that the embodiment of the present invention provides, by sending to arbitrating server after arbitration is won
Reservation requests, this reservation requests is used for asking arbitrating server to refuse the second storage device and registers, or directly
Connecing and send the requests for arbitration message including reserved instruction information to arbitrating server, request adapter host service asking refuses the
Two storage devices are registered, such that it is able to avoid the second storage device again to succeed in registration and adapter host service, additionally, should
Reserved information can only be deleted according to the reserved removing message that the first storage device sends, and improves the safety of arbitration system.
In embodiments of the present invention, the size of the sequence number of each process is not meant to the priority of execution sequence, each process
Execution sequence should determine with its function and internal logic, and the implementation process of the embodiment of the present invention should not constituted any restriction.
It addition, the terms "and/or", a kind of incidence relation describing affiliated partner, expression can exist
Three kinds of relations, such as, A and/or B, can represent: individualism A, there is A and B, individualism B these three situation simultaneously.Separately
Outward, character "/" herein, typically represent the forward-backward correlation relation to liking a kind of "or".
Step in conjunction with the method described by embodiment of the present invention disclosure or algorithm can be come real in the way of hardware
Existing, it is also possible to be to be realized by the mode of processor execution software instruction.Software instruction can be made up of corresponding software module,
Software module can be stored on random access memory (Random Access Memory, RAM), flash memory, read only memory
(Read Only Memory, ROM), Erasable Programmable Read Only Memory EPROM (Erasable Programmable ROM,
EPROM), EEPROM (Electrically EPROM, EEPROM), depositor, hard disk, movement are firmly
In the storage medium of dish, read-only optical disc (CD-ROM) or other form any well known in the art.A kind of exemplary storage
Medium couples is to processor, thus enables a processor to from this read information, and can be to this storage medium write letter
Breath.Certainly, storage medium can also be the ingredient of processor.Processor and storage medium may be located in ASIC.It addition,
This ASIC may be located in arbitrating server or the first storage device.Certainly, processor and storage medium can also be as discrete
Assembly is present in arbitrating server or the first storage device.
Those skilled in the art it will be appreciated that in said one or multiple example, merit described in the invention
Can be able to realize by hardware, software, firmware or their combination in any.When implemented in software, can be by these functions
It is stored in computer-readable medium or is transmitted as the one or more instructions on computer-readable medium or code.
Computer-readable medium includes computer-readable storage medium and communication media, and wherein communication media includes being easy to from a place to separately
One local any medium transmitting computer program.Storage medium can be universal or special computer can access any
Usable medium.
Above-described detailed description of the invention, has been carried out the purpose of the present invention, technical scheme and beneficial effect further
Describe in detail, be it should be understood that the detailed description of the invention that the foregoing is only the present invention, be not intended to limit the present invention
Protection domain, all on the basis of technical scheme, any modification, equivalent substitution and improvement etc. done, all should
Within being included in protection scope of the present invention.
Claims (16)
1. the method for an equipment arbitration, it is characterised in that described method is applied in storage system, described storage system includes
First storage device, the second storage device and arbitrating server, described method includes:
When communication link between described first storage device and described second storage device breaks down, described first storage
Equipment sends requests for arbitration message to described arbitrating server, and described requests for arbitration message includes the mark of described first storage device
Knowledge information and service take-over information, described service take-over information is used for indicating described first storage device to require adapter main frame industry
Business;
Described arbitrating server is believed according to the registration of the requests for arbitration message of described first storage device, described first storage device
Breath and described second storage device adapter host service, send described first storage of instruction to described first storage device and set
The instruction message of standby adapter host service, and delete the registration letter of described second storage device that described arbitrating server preserves
Breath, wherein, described arbitrating server pre-saves the log-on message of described first storage device and described second storage device
Log-on message;
Described first storage device is according to described instruction message adapter host service, and sends reserved asking to described arbitrating server
Message, described reservation request message is asked to include the identification information of described first storage device and reserved instruction information, described pre-
Described second storage device is registered for indicating described arbitrating server to forbid to stay instruction information;
Described arbitrating server receives login request message from described second storage device, and described login request message includes described
The log-on message of the second storage device;
Described arbitrating server, according to described reserved instruction information, is refused described second storage device and is registered.
Method the most according to claim 1, it is characterised in that described arbitrating server receives from described first storage device
After described reservation requests, described method also includes:
After communication link between described first storage device and described second storage device recovers normally, described first storage
Equipment sends reserved removing message to described arbitrating server, and described reserved removing message is used for asking described arbitrating server to be deleted
Except described reserved instruction information, in order to described second storage device is registered;
Described arbitrating server deletes described reserved instruction information according to described reserved removing message.
Method the most according to claim 1, it is characterised in that described arbitrating server receives from described first storage device
After described reservation requests, described method also includes:
Described second storage device sends reserved removing message to described arbitrating server, and described reserved removing message is used for asking
Described arbitrating server deletes described reserved instruction information;
Described arbitrating server removes the request of described reserved removing message, wherein, institute according to described reserved instruction information refusal
State reserved instruction information for indicating described arbitrating server to refuse the removal request of described second storage device.
4. the method for an equipment arbitration, it is characterised in that described method is applied in storage system, described storage system includes
First storage device, the second storage device and arbitrating server, described method includes:
When communication link between described first storage device and described second storage device breaks down, described first storage
Equipment sends requests for arbitration message to described arbitrating server, and described requests for arbitration message includes the mark of described first storage device
Knowledge information, service take-over information and reserved instruction information, wherein, described service take-over information is used for indicating described first storage to set
Standby requirement adapter host service, described reserved instruction information is used for indicating described arbitrating server to forbid described second storage device
Register;
Described arbitrating server is believed according to the registration of the requests for arbitration message of described first storage device, described first storage device
Breath and described second storage device adapter host service, send described first storage of instruction to described first storage device and set
The instruction message of standby adapter host service, and delete the registration letter of described second storage device that described arbitrating server preserves
Breath, wherein, described arbitrating server pre-saves the log-on message of described first storage device and described second storage device
Log-on message;
Described arbitrating server receives login request message from described second storage device, and described login request message includes described
The log-on message of the second storage device;
Described arbitrating server, according to described reserved instruction information, is refused described second storage device and is registered.
Method the most according to claim 4, it is characterised in that described arbitrating server receives from described first storage device
After described requests for arbitration message, described method also includes:
After communication link between described first storage device and described second storage device recovers normally, described first storage
Equipment sends reserved removing message to described arbitrating server, and described reserved removing message is used for asking described arbitrating server to be deleted
Except described reserved instruction information, in order to described second storage device is registered;
Described arbitrating server deletes described reserved instruction information according to described reserved removing message.
Method the most according to claim 4, it is characterised in that described arbitrating server receives from described first storage device
After described requests for arbitration message, described method also includes:
Described arbitrating server receives reserved removing message from described second storage device, and described reserved removing message is used for asking
Described arbitrating server deletes described reserved instruction information;
Described arbitrating server refuses the request of described reserved removing message according to described reserved instruction information, wherein, described pre-
Stay instruction information for indicating described arbitrating server to refuse the removal request of described second storage device.
7. the arbitrating server of an equipment arbitration, it is characterised in that described arbitrating server is applied in storage system, described
Storage system includes the first storage device, the second storage device and described arbitrating server, and described arbitrating server includes: process
Unit and communication unit,
Described processing unit is for receiving requests for arbitration message by described communication unit from described first storage device, described secondary
Cutting out request message and include identification information and the service take-over information of described first storage device, described service take-over information is used for
Described first storage device is indicated to require adapter host service;And according to the requests for arbitration message of described first storage device,
The log-on message of described first storage device and described second storage device adapter host service, by described communication unit
Send the instruction message indicating described first storage device adapter host service to described first storage device, and delete described secondary
Cutting out the log-on message of described second storage device that server preserves, wherein, described arbitrating server has pre-saved described the
The log-on message of one storage device and the log-on message of described second storage device;And by described communication unit from described the
One storage device receive reservation requests, described reservation request message include described first storage device identification information and
Reserved instruction information, described reserved instruction information is used for indicating described arbitrating server to forbid, and described second storage device is noted
Volume;And receive login request message, described login request message bag by described communication unit from described second storage device
Include the log-on message of described second storage device;And according to described reserved instruction information, refuse described second storage device and enter
Row registration.
Arbitrating server the most according to claim 7, it is characterised in that described processing unit is additionally operable to by described communication
Unit receives reserved removing message from described first storage device, and described reserved removing message is used for asking described arbitrating server
Delete described reserved instruction information;And according to instruction information reserved described in described reserved removing message erasing, in order to described
Second storage device is registered.
Arbitrating server the most according to claim 7, it is characterised in that described processing unit is additionally operable to by described communication
Unit receives reserved removing message from described second storage device, and described reserved removing message is used for asking described arbitrating server
Delete described reserved instruction information;And the request according to the described reserved instruction information refusal described reserved removing message of removing,
Wherein, described reserved instruction information is for indicating described arbitrating server to refuse the removal request of described second storage device.
10. the storage device of an equipment arbitration, it is characterised in that described storage device is applied in storage system, described in deposit
Storage system includes described storage device, the second storage device and arbitrating server, and described storage device includes: processing unit is with logical
Letter unit,
When communication link between described storage device and the second storage device breaks down, described processing unit is used for passing through
Described communication unit sends requests for arbitration message to arbitrating server, and described requests for arbitration message includes the mark of described storage device
Knowledge information and service take-over information, described service take-over information is used for indicating described storage device to require adapter host service;
And receiving instruction message by described communication unit from described arbitrating server, described instruction message is used for indicating described storage
Equipment can adapter host service;And according to described instruction message adapter host service;And by described communication unit to
Described arbitrating server sends reservation requests, and it is described that described reservation requests is used for indicating described arbitrating server to forbid
Second storage device is registered.
11. storage devices according to claim 10, it is characterised in that when described storage device and described second storage set
After communication link between Bei recovers normally, described processing unit is additionally operable to send reserved removing to described arbitrating server and disappears
Breath, described reserved removing message is used for asking described arbitrating server to delete described reserved instruction information, in order to described second
Storage device is registered.
The arbitrating server of 12. 1 kinds of equipment arbitrations, it is characterised in that described arbitrating server is applied in storage system, institute
Stating storage system and include the first storage device, the second storage device and described arbitrating server, described arbitrating server includes: place
Reason unit and communication unit,
Described processing unit is for receiving requests for arbitration message by described communication unit from described first storage device, described secondary
Cut out request message and include the identification information of described first storage device and service take-over information and reserved instruction information, wherein,
Described service take-over information is used for indicating described first storage device to require adapter host service, and described reserved instruction information is used for
Described second storage device is registered to indicate described arbitrating server to forbid;And the arbitration according to described first storage device
Request message, the log-on message of described first storage device and described second storage device adapter host service, by institute
State communication unit and send the instruction message indicating described first storage device adapter host service to described first storage device, and
Deleting the log-on message of described second storage device that described arbitrating server preserves, wherein, described arbitrating server is protected in advance
There are log-on message and the log-on message of described second storage device of described first storage device;And by described communication unit
Unit receives login request message from described second storage device, and described login request message includes the note of described second storage device
Volume information;And register according to described reserved instruction information described second storage device of refusal.
13. arbitrating servers according to claim 12, it is characterised in that described processing unit is additionally operable to by described logical
Letter unit receives reserved removing message from described first storage device, and described reserved removing message is used for asking described mediation service
Described reserved instruction information deleted by device;And delete described reserved instruction information according to described reserved removing message, in order to institute
State the second storage device to register.
14. arbitrating servers according to claim 12, it is characterised in that described processing unit is additionally operable to by described logical
Letter unit receives reserved removing message from described second storage device, and described reserved removing message is used for asking described mediation service
Described reserved instruction information deleted by device;And the request according to the described reserved instruction information described reservation requests of refusal, its
In, described reserved instruction information refuses the removal request of described second storage device for indicating described arbitrating server.
The storage device of 15. 1 kinds of equipment arbitrations, it is characterised in that described storage device is applied in storage system, described in deposit
Storage system includes described storage device, the second storage device and arbitrating server, and described storage device includes: processing unit is with logical
Letter unit,
When communication link between described storage device and the second storage device breaks down, described processing unit is used for passing through
Described communication unit sends requests for arbitration message to described arbitrating server, and described requests for arbitration message includes described storage device
Identification information and service take-over information and reserved instruction information, wherein, described service take-over information be used for indicating described in deposit
Storage equipment requirements adapter host service, described reserved instruction information is used for indicating described arbitrating server to forbid described second storage
Equipment is registered;And receiving instruction message by described communication unit from described arbitrating server, described instruction message is used
Can adapter host service in the described storage device of instruction;And according to described instruction message adapter host service.
16. storage devices according to claim 15, it is characterised in that when described storage device and described second storage set
After communication link between Bei recovers normally, described processing unit is additionally operable to by described communication unit to described arbitrating server
Sending reserved removing message, described reserved removing message is used for asking described arbitrating server to delete described reserved instruction information,
So that described second storage device is registered.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610644515.4A CN106301900B (en) | 2016-08-08 | 2016-08-08 | The method and apparatus of equipment arbitration |
PCT/CN2017/079344 WO2018028219A1 (en) | 2016-08-08 | 2017-04-01 | Method and device for device arbitration |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610644515.4A CN106301900B (en) | 2016-08-08 | 2016-08-08 | The method and apparatus of equipment arbitration |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106301900A true CN106301900A (en) | 2017-01-04 |
CN106301900B CN106301900B (en) | 2019-08-23 |
Family
ID=57666843
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610644515.4A Active CN106301900B (en) | 2016-08-08 | 2016-08-08 | The method and apparatus of equipment arbitration |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106301900B (en) |
WO (1) | WO2018028219A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107302598A (en) * | 2017-08-21 | 2017-10-27 | 长沙曙通信息科技有限公司 | A kind of new dual-active storage activity arbitration implementation method |
WO2018028219A1 (en) * | 2016-08-08 | 2018-02-15 | 华为技术有限公司 | Method and device for device arbitration |
CN107995021A (en) * | 2017-10-20 | 2018-05-04 | 杭州沃趣科技股份有限公司 | A kind of implementation of the dual-active system based on priority |
CN111327447A (en) * | 2018-12-17 | 2020-06-23 | 华为技术有限公司 | Distributed system, arbitration method, node device and storage medium |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110535714B (en) | 2018-05-25 | 2023-04-18 | 华为技术有限公司 | Arbitration method and related device |
CN117591034B (en) * | 2024-01-17 | 2024-03-22 | 苏州元脑智能科技有限公司 | Storage disk arbitration method, device, equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090006165A1 (en) * | 2007-06-26 | 2009-01-01 | Chee Hak Teh | Demotion-based arbitration |
CN103684941A (en) * | 2013-11-23 | 2014-03-26 | 广东新支点技术服务有限公司 | Arbitration server based cluster split-brain prevent method and device |
US8874954B1 (en) * | 2012-10-19 | 2014-10-28 | Symantec Corporation | Compatibility of high availability clusters supporting application failover with shared storage in a virtualization environment without sacrificing on virtualization features |
CN105426275A (en) * | 2015-10-30 | 2016-03-23 | 成都华为技术有限公司 | Disaster recovery method and apparatus in dual-activation cluster system |
CN105472022A (en) * | 2015-12-24 | 2016-04-06 | 北京同有飞骥科技股份有限公司 | Method and device for solving dual-computer cluster split brain |
WO2016106682A1 (en) * | 2014-12-31 | 2016-07-07 | 华为技术有限公司 | Post-cluster brain split quorum processing method and quorum storage device and system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103229165A (en) * | 2010-08-12 | 2013-07-31 | 安全第一公司 | Systems and methods for secure remote storage |
CN106301900B (en) * | 2016-08-08 | 2019-08-23 | 华为技术有限公司 | The method and apparatus of equipment arbitration |
-
2016
- 2016-08-08 CN CN201610644515.4A patent/CN106301900B/en active Active
-
2017
- 2017-04-01 WO PCT/CN2017/079344 patent/WO2018028219A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090006165A1 (en) * | 2007-06-26 | 2009-01-01 | Chee Hak Teh | Demotion-based arbitration |
US8874954B1 (en) * | 2012-10-19 | 2014-10-28 | Symantec Corporation | Compatibility of high availability clusters supporting application failover with shared storage in a virtualization environment without sacrificing on virtualization features |
CN103684941A (en) * | 2013-11-23 | 2014-03-26 | 广东新支点技术服务有限公司 | Arbitration server based cluster split-brain prevent method and device |
WO2016106682A1 (en) * | 2014-12-31 | 2016-07-07 | 华为技术有限公司 | Post-cluster brain split quorum processing method and quorum storage device and system |
CN105426275A (en) * | 2015-10-30 | 2016-03-23 | 成都华为技术有限公司 | Disaster recovery method and apparatus in dual-activation cluster system |
CN105472022A (en) * | 2015-12-24 | 2016-04-06 | 北京同有飞骥科技股份有限公司 | Method and device for solving dual-computer cluster split brain |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018028219A1 (en) * | 2016-08-08 | 2018-02-15 | 华为技术有限公司 | Method and device for device arbitration |
CN107302598A (en) * | 2017-08-21 | 2017-10-27 | 长沙曙通信息科技有限公司 | A kind of new dual-active storage activity arbitration implementation method |
CN107995021A (en) * | 2017-10-20 | 2018-05-04 | 杭州沃趣科技股份有限公司 | A kind of implementation of the dual-active system based on priority |
CN111327447A (en) * | 2018-12-17 | 2020-06-23 | 华为技术有限公司 | Distributed system, arbitration method, node device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106301900B (en) | 2019-08-23 |
WO2018028219A1 (en) | 2018-02-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106301900A (en) | The method and apparatus of equipment arbitration | |
CN105426275B (en) | The method and device of disaster tolerance in dual-active group system | |
JP6362119B2 (en) | Arbitration processing method, quorum storage device, and system after cluster brain division | |
CN106843749B (en) | Write request processing method, device and equipment | |
KR101231563B1 (en) | Real time data replication | |
CN107402722B (en) | Data migration method and storage device | |
US7823008B2 (en) | Maintaining consistency in a remote copy data storage system | |
US9026843B2 (en) | Arbitration suspension in a SAS domain | |
CN110673941B (en) | Migration method of micro-services in multiple computer rooms, electronic equipment and storage medium | |
CN109361525B (en) | Method, device, control terminal and medium for restarting distributed deployment of multiple services | |
CN106104502A (en) | Storage system transaction | |
CN105049258B (en) | The data transmission method of network disaster tolerance system | |
CN106331166B (en) | A kind of access method and device of storage resource | |
US9917740B2 (en) | Reducing internodal communications in a clustered system | |
CN107122271B (en) | Method, device and system for recovering node event | |
CN105453039A (en) | Systems and methods for instantly restoring virtual machines in high input/output load environments | |
JP6256904B2 (en) | Apparatus and method for distributing processing requests | |
EP3579501A1 (en) | Message transmission method and device in cluster file system | |
CN104170307A (en) | Failure switching method, device and system | |
CN102457400A (en) | Method for preventing split brain phenomenon from occurring on distributed replicated block device (DRBD) resource | |
CN110990329B (en) | Federal computing high availability method, equipment and medium | |
CN104407806A (en) | Method and device for revising hard disk information of redundant array group of independent disk (RAID) | |
CN102495815B (en) | Processing method for I/O (input/output) data access interrupt, system and equipment | |
CN107526652A (en) | A kind of method of data synchronization and storage device | |
US10042554B2 (en) | Increased bandwidth of ordered stores in a non-uniform memory subsystem |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |