CN106301900B - The method and apparatus of equipment arbitration - Google Patents

The method and apparatus of equipment arbitration Download PDF

Info

Publication number
CN106301900B
CN106301900B CN201610644515.4A CN201610644515A CN106301900B CN 106301900 B CN106301900 B CN 106301900B CN 201610644515 A CN201610644515 A CN 201610644515A CN 106301900 B CN106301900 B CN 106301900B
Authority
CN
China
Prior art keywords
storage equipment
arbitrating server
reserved
message
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
Application number
CN201610644515.4A
Other languages
Chinese (zh)
Other versions
CN106301900A (en
Inventor
陈怡佳
刘辉
彭仕衡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201610644515.4A priority Critical patent/CN106301900B/en
Publication of CN106301900A publication Critical patent/CN106301900A/en
Priority to PCT/CN2017/079344 priority patent/WO2018028219A1/en
Application granted granted Critical
Publication of CN106301900B publication Critical patent/CN106301900B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error 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/202Error 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/2023Failover techniques
    • G06F11/2028Failover techniques eliminating a faulty processor or activating a spare
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error 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/202Error 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/2035Error 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error 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/2053Error 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/2094Redundant storage or storage space
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0681Configuration of triggering conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements

Abstract

The embodiment of the invention discloses a kind of methods and apparatus of equipment arbitration, this method comprises: the first storage equipment sends requests for arbitration message to arbitrating server;The arbitrating server stores equipment not adapter tube host service according to the requests for arbitration message, the registration information of the first storage equipment and described second, the instruction message of instruction the first storage equipment adapter tube host service is sent to the first storage equipment, and deletes the registration information of the second storage equipment;The first storage equipment sends reservation requests to the arbitrating server, indicates that the arbitrating server forbids the second storage equipment to be registered.The method and apparatus of equipment arbitration provided in an embodiment of the present invention can lead to the nonsynchronous situation of data to avoid the multiple equipment while adapter tube host service being likely to occur, improve the fault-tolerant ability, reliability and safety of dual-active arbitration system.

Description

The method and apparatus of equipment arbitration
Technical field
The present invention relates to the communications field more particularly to a kind of methods and apparatus of equipment arbitration.
Background technique
With the development of information technology, the processing of data is increasingly concentrated, and the requirement to data safety is also higher and higher, double Live system is a kind of standby (Disaster Recovery) scheme of the computer calamity to economize on resources, and implementation pattern is to allow two numbers Undertake the business of user simultaneously according to center, Liang Ge data center is mutually backups, and backs up in realtime.
After the communication between the Liang Ge data center of dual-active system disconnects, Liang Ge data center can be respectively to mediation service Device sends requests for arbitration message, requests adapter tube host service, and arbitrating server preserves the registration information of Liang Ge data center, when Arbitrating server determines that one of data center can will be deleted the registration of another data center after adapter tube host service Information, to avoid Liang Ge data center while situation that adapter tube host service causes the host service externally provided inconsistent. However, scheme according to prior art, if the deleted data center of registration information initiates registration request and arbitration again Request, arbitrating server can save the registration information of the data center, and according to the registration information of its data center saved Determine the data center can adapter tube host service, in this way, just will appear the feelings of Liang Ge data center while adapter tube host service Condition, to will appear the inconsistent situation of the host service externally provided.
Summary of the invention
In view of this, can prevent arbitration from failing the embodiment of the invention provides a kind of method and apparatus of equipment arbitration Equipment registered and seized again operation, so as to improve system survivability, reliability and safety.
On the one hand, the embodiment of the invention provides a kind of method of equipment arbitration, the method is applied in storage system, The storage system includes the first storage equipment, the second storage equipment and arbitrating server, this method comprises: when the first storage is set When the standby communication link between the second storage equipment breaks down, the first storage equipment is sent to the arbitrating server Requests for arbitration message, the requests for arbitration message include the identification information and service take-over information of the first storage equipment, The service take-over information is used to indicate the first storage equipment requirement adapter tube host service;The arbitrating server is according to institute State the requests for arbitration message of the first storage equipment, the registration information of the first storage equipment and the second storage equipment not Adapter tube host service, the instruction that Xiang Suoshu first stores equipment transmission instruction the first storage equipment adapter tube host service disappear Breath, and delete the registration information for the second storage equipment that the arbitrating server saves, wherein the arbitrating server is pre- First preserve the registration information of the first storage equipment and the registration information of the second storage equipment;First storage is set Standby to send reservation requests according to the instruction message adapter tube host service, and to the arbitrating server, described reserve is asked Seeking message includes that the identification information of the first storage equipment and reserved instruction information, the reserved instruction information are used to indicate The arbitrating server forbids the second storage equipment to be registered;The arbitrating server connects from the second storage equipment Login request message is received, the login request message includes the registration information of the second storage equipment;The arbitrating server According to the reserved instruction information, refuses the second storage equipment and registered.
The method of the equipment arbitration provided according to embodiments of the present invention, arbitrating server can be according to the first storage equipment Requests for arbitration message, first storage equipment registration information and it is current second storage equipment not adapter tube host service the case where, First storage equipment is determined as to the equipment of unique adapter tube host service, so as to ensure that the first array is unique adapter tube host The equipment of business avoids the nonsynchronous situation of data caused by the multiple arrays being likely to occur while adapter tube host service, improves System survivability, reliability and safety.
Optionally, the arbitrating server is described after the first storage equipment reception reservation requests Method further include: described after the communication link between the first storage equipment and the second storage equipment restores normal First storage equipment sends reserved removing message to the arbitrating server, and the reserved removing message is for requesting the arbitration Server deletes the reserved instruction information, in order to which the second storage equipment is registered;The arbitrating server according to The reserved removing message deletes the reserved instruction information.
The method of the equipment arbitration provided according to embodiments of the present invention, arbitrating server can be according to the first storage equipment hairs The reserved removing message sent deletes the reserved instruction information of the first storage equipment, in order to which the second storage equipment is registered, from And multiple storage device processes host services can be normally used afterwards by communication recovery between different storage device, improve system Reliability and safety.
Optionally, the arbitrating server is described after the first storage equipment reception reservation requests Method further include: the second storage equipment sends reserved removing message, the reserved removing message to the arbitrating server For requesting the arbitrating server to delete the reserved instruction information;The arbitrating server is according to the reserved instruction information Refusal removes the reserved request for removing message, wherein the reserved instruction information is used to indicate the arbitrating server and refuses The removal request of the second storage equipment described absolutely.
The method of the equipment arbitration provided according to embodiments of the present invention, arbitrating server can be according to the first storage equipment The request of the reserved reserved removing message for indicating the second storage equipment transmission of information refusal, so as to prevent setting for arbitration failure It is standby to be registered and seized again operation, so as to improve system survivability, reliability and safety.
On the other hand, the embodiment of the invention provides a kind of method of equipment arbitration, the method is applied to storage system In, the storage system includes the first storage equipment, the second storage equipment and arbitrating server, is deposited this method comprises: working as first When communication link between storage equipment and the second storage equipment breaks down, described first stores equipment to the arbitrating server Requests for arbitration message is sent, the requests for arbitration message includes the identification information of the first storage equipment, service take-over information With reserved instruction information, wherein the service take-over information is used to indicate the first storage equipment requirement adapter tube host service, The reserved instruction information is used to indicate the arbitrating server and the second storage equipment is forbidden to be registered;The arbitration clothes Device be engaged according to the requests for arbitration message of the first storage equipment, the registration information and described second of the first storage equipment Equipment not adapter tube host service is stored, Xiang Suoshu first stores equipment and sends instruction the first storage equipment adapter tube host service Instruction message, and delete the registration information for the second storage equipment that the arbitrating server saves, wherein the arbitration Server pre-saves the registration information of the first storage equipment and the registration information of the second storage equipment;It is described secondary It cuts out server and receives login request message from the second storage equipment, the login request message includes that second storage is set Standby registration information;The arbitrating server is refused the second storage equipment and is registered according to the reserved instruction information.
The method of the equipment arbitration provided according to embodiments of the present invention, arbitrating server can be according to the first storage equipment hairs The requests for arbitration message of the reserved instruction information of the carrying sent, the registration information of the first storage equipment and current second storage equipment do not have There is the case where adapter tube host service, delete the registration information of the second storage equipment, so as to ensure that the first storage equipment is only The equipment of one adapter tube host service avoids data caused by the multiple storage equipment being likely to occur while adapter tube host service different The case where step, improves system survivability, reliability and safety, while can also save signaling overheads.
Optionally, the arbitrating server is described after the first storage equipment reception requests for arbitration message Method further include: described after the communication link between the first storage equipment and the second storage equipment restores normal First storage equipment sends reserved removing message to the arbitrating server, and the reserved removing message is for requesting the arbitration Server deletes the reserved instruction information, in order to which the second storage equipment is registered;The arbitrating server according to The reserved removing message deletes the reserved instruction information.
The method of the equipment arbitration provided according to embodiments of the present invention, arbitrating server can be according to the first storage equipment hairs The reserved removing message sent deletes the reserved instruction information of the first storage equipment, in order to which the second storage equipment is registered, from And multiple storage device processes host services can be normally used afterwards by communication recovery between different storage device, improve system Reliability and safety.
Optionally, the arbitrating server is described after the first storage equipment reception requests for arbitration message Method further include: the arbitrating server receives reserved removing message, the reserved removing message from the second storage equipment For requesting the arbitrating server to delete the reserved instruction information;The arbitrating server is according to the reserved instruction information Refuse the reserved request for removing message, wherein the reserved instruction information is used to indicate arbitrating server refusal institute State the removal request of the second storage equipment.
The method of the equipment arbitration provided according to embodiments of the present invention, arbitrating server can be according to the first storage equipment The request of the reserved reserved removing message for indicating the second storage equipment transmission of information refusal, so as to prevent setting for arbitration failure It is standby to be registered and seized again operation, so as to improve system survivability, reliability and safety.
In another aspect, the embodiment of the invention provides a kind of arbitrating server of equipment arbitration, which can be with Realize that function performed by arbitrating server in method involved by above-mentioned aspect, the function can be by hardware realizations, it can also To execute corresponding software realization by hardware.The hardware or software include the corresponding unit of one or more above-mentioned functions or Module.
It include processor and communication interface, the processor in the structure of the arbitrating server in a kind of possible design It is configured as that the arbitrating server is supported to execute corresponding function in the above method.The communication interface is for supporting the mediation service Communication between device and other network elements.The arbitrating server can also include memory, which is used to couple with processor, It saves the necessary program instruction of the arbitrating server and data.
In another aspect, first the embodiment of the invention provides a kind of equipment arbitration stores equipment, the first storage equipment Function performed by the first storage equipment in method involved by above-mentioned aspect may be implemented, the function can pass through hardware reality It is existing, corresponding software realization can also be executed by hardware.The hardware or software include that one or more above-mentioned functions are corresponding Unit or module.
It include processor and communication interface, the processing in the structure of the first storage equipment in a kind of possible design Device is configured as that the arbitrating server is supported to execute corresponding function in the above method.The communication interface first is deposited for supporting this Store up the communication between equipment and other network elements.The first storage equipment can also include memory, which is used for and processing Device coupling saves the necessary program instruction of the first storage equipment and data.
In another aspect, the communication system includes described in above-mentioned aspect the embodiment of the invention provides a kind of communication system Arbitrating server and the first storage equipment.
In another aspect, the embodiment of the invention provides a kind of computer storage medium, for storing above-mentioned arbitrating server Computer software instructions used, it includes for executing program designed by above-mentioned aspect.
In another aspect, being set the embodiment of the invention provides a kind of computer storage medium for storing above-mentioned first storage Standby computer software instructions used, it includes for executing program designed by above-mentioned aspect.
Compared with the prior art, the method for the equipment arbitration provided according to embodiments of the present invention, arbitrating server can roots It is connect according to the request message of the first storage equipment transmission, the registration information of the first storage equipment and currently without other storage equipment The case where pipe host service, determines that the first storage equipment is the equipment of unique adapter tube host service, also, arbitrating server according to The state of the first unique adapter tube host service of storage equipment refuses the registration requests or requests for arbitration of other storage equipment, so as to To ensure that the first storage equipment is the equipment of unique adapter tube host service, the multiple equipment being likely to occur while adapter tube host are avoided Data caused by business are asynchronous, improve the fault-tolerant ability, reliability and safety of dual-active arbitration system, in addition, first deposits The message erasing that the state of unique adapter tube host service of equipment can only be sent by the first storage equipment is stored up, is further improved double The safety of arbitration system living.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, will make below to required in the embodiment of the present invention Attached drawing is briefly described, it should be apparent that, drawings described below is only some embodiments of the present invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is the schematic architectural diagram for being applicable in a kind of possible storage system of the embodiment of the present invention;
Fig. 2 is a kind of communication scheme of the method for equipment arbitration provided in an embodiment of the present invention;
Fig. 3 is the communication scheme of the method for another equipment arbitration provided in an embodiment of the present invention;
Fig. 4 is the communication scheme of the method for another equipment arbitration provided in an embodiment of the present invention;
Fig. 5 is the communication scheme of the method for another equipment arbitration provided in an embodiment of the present invention;
Fig. 6 A is a kind of structural schematic diagram of possible arbitrating server provided in an embodiment of the present invention;
Fig. 6 B is the structural schematic diagram of alternatively possible arbitrating server provided in an embodiment of the present invention;
Fig. 7 A is the structural schematic diagram of the possible storage equipment of one kind provided in an embodiment of the present invention;
Fig. 7 B is the structural schematic diagram of alternatively possible storage equipment provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
The method and apparatus of equipment arbitration according to an embodiment of the present invention, can be on the array or array to dual-active system Logic storage unit (Logic Unit Number, LUN) is arbitrated, can also to other equipment arbitrated or Unit is arbitrated, in the following, the embodiment of the present invention is described in detail by taking array as an example, the embodiment of the present invention is without being limited thereto, The method of equipment arbitration according to an embodiment of the present invention can also be applied to other storage equipment.
Embodiment to facilitate the understanding of the present invention, firstly, the application scenarios to the embodiment of the present invention are briefly introduced.Figure 1 shows the schematic diagram for being applicable in a kind of possible storage system of the embodiment of the present invention.
As shown in Figure 1, storage system includes: host or mainframe cluster 110, array 120, array 130 and arbitrating server 140, mainframe cluster 110 is connected with array 120, array 130 simultaneously, is connected with each other between array 120, array 130, array 120, battle array Column 130 are connected with arbitrating server 140 simultaneously.When dual-active system operates normally, mainframe cluster 110 can be simultaneously to array 120 Read-write business is issued with array 130, the process for issuing the business of writing to array 120 is as follows:
1. mainframe cluster 110 issues to array 120 and writes data service;
2. array 120 is by the data issued while writing array 120 and array 130;
3. the data of writing of array 120 and array 130 are completed;
4. array 120 sends the message writing data and completing to mainframe cluster 110.
Write data basic procedure similar, such as step 1 of the mainframe cluster 110 to array 130 ', shown in 2 ', 3 ' and 4 '.Work as battle array Communication link between column 120 and array 130 break down (that is, fissure) when, can only be by array in order to avoid business is asynchronous 120 with array 130 in an array adapter tube host service, it is logical due to not can be carried out between array 120 and array 130 at this time Letter, it is therefore desirable to whom be determined come adapter tube host service by arbitrating server 140.Array 120 and array 130 can be respectively to arbitrations Server 140 initiates requests for arbitration, if arbitrating server 140 first receives the requests for arbitration message of the transmission of array 120, Arbitrating server can determine that array 120 is won according to the registration information of array 120 and the requests for arbitration message of array 120, Array 120 is determined as to the array of adapter tube host service, and the registration information of array 130 is removed.
Since arbitrating server 140 is only capable of passively receiving the registration information of array 120 and array 130, work as array 130 when there is logic error, and array 130 may be registered once again, then initiate to arbitrate again, then array 130 can also win, Business is individually externally provided simultaneously so as to cause array 120 and array 130, and will appear the inconsistent situation of data.
The method of equipment arbitration according to an embodiment of the present invention, array 120 are sent after arbitration is won to arbitrating server Reservation requests, which includes the mark of array 120 and reserved instruction information, the reservation requests are used Array 130 is forbidden to be registered in request arbitrating server 140, so as to avoid the arbitration of array 130 from winning.Or array 120 can also think that arbitrating server 140 sends the requests for arbitration message including reserved instruction information, and request adapter tube host service is simultaneously Request arbitrating server 140 forbids array 130 to be registered.
Fig. 2 shows the schematic flow charts of the method for equipment arbitration provided in an embodiment of the present invention.As shown in Fig. 2, should Method includes:
S201, the first storage equipment send requests for arbitration message to arbitrating server, the requests for arbitration message include this The identification information and service take-over information of one storage equipment, the service take-over information are used to indicate the first storage equipment requirement Adapter tube host service.
S202, the registration of requests for arbitration message, the first storage equipment that arbitrating server is sent according to the first storage equipment Adapter tube host service, the registration for deleting the second storage equipment that arbitrating server saves are not believed for information and the second storage equipment Breath, wherein arbitrating server pre-saves the registration information of the first storage equipment and the registration information of the second storage equipment.
S203, arbitrating server disappear to the instruction that the first storage equipment sends instruction the first storage equipment adapter tube host service Breath.
S204, the first storage equipment send reserved ask according to the instruction message adapter tube host service, and to arbitrating server Message is sought, which includes the identification information of the first storage equipment and reserved instruction information, the reserved instruction are believed Breath is used to indicate arbitrating server and the second storage equipment is forbidden to be registered.
S205, arbitrating server receive login request message from the second storage equipment, which includes second Store the registration information of equipment.
S206, arbitrating server are registered according to reserved instruction information, the second storage of refusal equipment.
First storage equipment can be the first array, and the first array can find it with second array (that is, the second storage Equipment) communication link disconnect when generate requests for arbitration information, the requests for arbitration information for request adapter tube host service;Arbitration Server can be according to the registration information for the first array being locally stored, and currently without other array adapter tube host services First array is determined as the array of adapter tube host service by situation, and sends instruction message to the first array, notifies the first array Arbitration is won;First array can arbitrate triumph according to it and generate reservation request information, which is used to indicate secondary Cutting out server forbids second array to register, for example, the reservation requests can request arbitrating server by the note of the first array Volume information is revised as reserved information, which indicates that the first array is the equipment of unique adapter tube host service;Mediation service The registration information of first array is revised as reserving information according to the reservation request information by device after receiving reservation request information, secondary The information refusal requests for arbitration of second array, registration request can be reserved according to this or remove the reserved information by cutting out server Request avoids the multiple arrays being likely to occur simultaneously so as to ensure that the first array is the equipment of unique adapter tube host service Data caused by adapter tube host service are asynchronous.
Above-described embodiment is merely illustrative of, and the embodiment of the present invention is without being limited thereto, for example, arbitrating server can be according to The reservation request information that an array is sent adds mark in the registration information of the first array, and the mark is for forbidding second array Registration.
Optionally, arbitrating server is after the first storage equipment reception reservation requests, method further include:
S207, after the communication link between the first storage equipment and the second storage equipment restores normal, the first storage is set Standby send to arbitrating server reserves removing message, which disappears for requesting arbitrating server deletion to reserve instruction Breath, in order to which the second storage equipment is registered.
S208, arbitrating server delete the reserved instruction information according to the reserved message of removing.
After the communication link between the first storage equipment and the second storage equipment restores normal, the first storage equipment can be with Reserved removing message is sent to arbitrating server, reserved instruction information is removed in request, and arbitrating server, which is disposed, reserves instruction letter After breath, the second storage equipment can send login request message to arbitrating server, and request is registered, at this point, arbitration clothes Business device can save the registration information of the second storage equipment, after the second storage facility registration success, so that it may with the first storage Equipment adapter tube host service and synchrodata jointly, continue to execute the carrying out safety backup function of dual-active system.
Optionally, method further include:
S209, the second storage equipment send reserved removing message to arbitrating server, and the reserved removing message is for asking Arbitrating server is asked to delete the reserved instruction information of the first storage equipment.
S210, arbitrating server are asked according to the reserved reserved removing message for indicating information refusal the second storage equipment It asks, wherein the reserved instruction information is used to indicate the removal request of arbitrating server refusal the second storage equipment.
The reserved instruction information of first storage equipment can only actively be removed by the first storage equipment, and other equipment cannot be removed The state, so as to avoid poisoning intrusion, software bug the problems such as the reserved instruction information of caused first array be deleted, Improve safety.
Only illustrated two storage equipment, the method for equipment arbitration according to an embodiment of the present invention can also answer in Fig. 2 For including the storage system of greater than two storage equipment, therefore, the method for equipment arbitration according to an embodiment of the present invention, storage Equipment sends reservation request information to arbitrating server after arbitration is won, which is determined as uniquely taking over master by request The equipment of machine business, the problems such as avoiding software bug, user misoperation, HP M, poisoning intrusion caused different storages Equipment externally provides business respectively, provides data inconsistent situation so as to avoid external, improves dual-active arbitration system Fault-tolerant ability, reliability and safety.
Fig. 3 shows the schematic flow chart of the method for equipment arbitration provided in an embodiment of the present invention.As shown in figure 3, should Method includes:
S301, when the communication link between the first storage equipment and the second storage equipment breaks down, the first storage is set Standby to send requests for arbitration message to arbitrating server, which includes the identification information of the first storage equipment, business Adapter tube information and reserved instruction information, wherein the service take-over information is used to indicate the first storage equipment requirement adapter tube host Business, the reserved instruction information are used to indicate the arbitrating server and the second storage equipment are forbidden to be registered.
S302, arbitrating server are believed according to the registration of the requests for arbitration message, the first storage equipment of the first storage equipment Adapter tube host service, the second of deletion arbitrating server preservation do not store the registration information of equipment for breath and the second storage equipment, Wherein, arbitrating server pre-saves the registration information of the first storage equipment and the second storage equipment.
S303, arbitrating server send instruction message to the first storage equipment, which is used to indicate the first storage Equipment can adapter tube host service.
S304, arbitrating server receive login request message from the second storage equipment, which includes second Store the registration information of equipment.
S305, arbitrating server are refused the second storage equipment and are infused according to the reserved instruction information of the first storage equipment Volume.
First storage equipment can be the first array, and the first array can find it with second array (that is, the second storage Equipment) communication link disconnect when generate requests for arbitration information, the requests for arbitration information for request adapter tube host service, this is secondary Cutting out request message further includes reserved instruction information, which forbids second array to be infused Volume;Arbitrating server can be according to the registration information for the first array being locally stored, and takes over and lead currently without other arrays First array is determined as the array of adapter tube host service by the case where machine business, and sends instruction message, notice to the first array The arbitration of first array is won, and the first array can also be reserved in arbitrating server according to the reserved instruction information by arbitrating server In registration information be revised as reserved information, the arbitration that arbitrating server can reserve information refusal second array according to this is asked It asks, registration request or the request for removing the reserved information, so as to ensure that the first array is unique adapter tube host service Equipment avoids data caused by the multiple arrays being likely to occur while adapter tube host service asynchronous, according to embodiments of the present invention The method of equipment arbitration can also save signaling overheads.
Fig. 4 show another embodiment of the present invention provides equipment arbitration method schematic flow chart.Such as Fig. 4 institute Show, this method comprises:
S401, array 410 find that the communication link between array 410 and array 420 disconnects (that is, fissure).
S402, array 410 initiate requests for arbitration to arbitration equipment (for example, arbitrating server 430), request adapter tube host industry Business;
S403, arbitrating server 430 determine the local registration information A for whether being stored with array 410;
Array 410 is registered when itself having processing host service ability to arbitrating server 430, in order in brain Splitting arbitrating server 430 after occurring can determine the ability that array 410 has adapter tube host service, when array 410 finds oneself When losing the ability of processing business, the information for removing registration information A is sent to arbitrating server 430.
S404, arbitrating server 430 determines that the arbitration of array 410 is won, and removes the registration information B of array 420, wherein Arbitrating server 430 only when the registration information A of array 410 is locally stored in determination, can just handle the transmission of array 410 Requests for arbitration, determine array arbitration triumph method can be first-come first-served basis, that is, arbitrating server will receive first Array indicated by a requests for arbitration is determined as the array of arbitration triumph, determines that the method for arbitration triumph is also possible to other sides Method, the embodiment of the present invention are not construed as limiting this.
S405, arbitrating server 430 send arbitration triumph message to array 410, and the notice arbitration of array 410 is won.
S406, array 410 send reservation request information to arbitrating server 430, and request arbitrating server 430 will be registered Information A is revised as reserved information A, and reserved information A is used to indicate that array 410 to have exclusivity to the adapter tube of host service, in battle array During 410 adapter tube host service of column, arbitrating server 430 refuses the operation such as the reserved of other arrays, registration, requests for arbitration, will Registration information A is revised as reserved information A and is merely illustrative of, and the embodiment of the present invention is without being limited thereto, and optionally, array 410 can be with Exclusive solicited message is sent to arbitrating server 430, request arbitrating server 430 adds registration information A and identifies, which uses There is exclusivity in adapter tube of the expression array 410 to host service.
Registration information A is revised as pre- by S407, the reservation request information that arbitrating server 430 is sent according to array 410 Information A is stayed, arbitrating server 430 can remove the registration information B of array 420 according to reserved information A.
S408, array 420 find that the communication between array 420 and array 410 disconnects (that is, fissure).
S409, array 420 send registration information to arbitrating server 430.
S410, arbitrating server 430 forbid array 420 to be registered according to the reserved information A being locally stored.
S411, arbitrating server 430 send the message of refusal registration to array 420.
S412, array 420 send requests for arbitration message to arbitrating server 430, request adapter tube host service.
S413, arbitrating server 430 determine that array 420 is arbitrated according to the local registration information B without storage array 420 Failure.
S414, arbitrating server 430 send arbitration failed message to array 420.
S415, array 410 restore according to the communication link between array 410 and array 420, initiate data to array 420 Synchronous task.
S416, array 410 are synchronously completed according to array 410 and the data of array 420, are sent clearly to arbitrating server 430 Except message, the state for unique adapter tube host service which is used to that arbitrating server 430 to be requested to remove array 410.
Reserved information A is revised as registration information by S417, the removing message that arbitrating server 430 is sent according to array 410 A。
S418, array 420 send login request message, request processing host service to arbitrating server 430.
S419, arbitrating server 430, without storing reserved information, determine that array 420 can handle host industry according to local Business, and save the registration information B of array 420.
S420, arbitrating server 430 send the message that succeeds in registration to array 420, and notice array 420 can handle host industry Business.
The method of equipment arbitration according to an embodiment of the present invention, storage equipment are sent after arbitration is won to arbitrating server Reservation request information, the equipment which is determined as unique adapter tube host service by request avoid software bug, user from missing The problems such as operation, HP M, poisoning intrusion caused different storage device adapter tube host service respectively, so as to avoid It externally provides data inconsistent situation, improves the fault-tolerant ability, reliability and safety of dual-active arbitration system.
Fig. 5 show another embodiment of the present invention provides equipment arbitration method schematic flow chart.Such as Fig. 5 institute Show, this method comprises:
S501, array 510 find that the communication link between array 510 and array 520 disconnects (that is, fissure).
S502, array 510 initiate requests for arbitration to arbitration equipment (for example, arbitrating server 530), request adapter tube host industry Business, and request arbitrating server 330 that registration information A is revised as reserved information A, reserved information A is for indicating 310 couples of masters of array The adapter tube of machine business has exclusivity, and during 310 adapter tube host service of array, arbitrating server 330 refuses other arrays Registration information A is revised as reserved information A and is merely illustrative of by the operation such as reserved, registration, requests for arbitration, the embodiment of the present invention It is without being limited thereto;
S503, arbitrating server 530 determine the local registration information A for whether being stored with array 510;
S504, arbitrating server 530 determines that the arbitration of array 510 is won, and removes the registration information B of array 520, wherein Arbitrating server 530 only when the registration information A of array 510 is locally stored in determination, can just handle the transmission of array 510 Requests for arbitration, determine array arbitration triumph method can be first-come first-served basis, that is, arbitrating server will receive first Array indicated by a requests for arbitration is determined as the array of arbitration triumph, determines that the method for arbitration triumph is also possible to other sides Method, the embodiment of the present invention are not construed as limiting this.
Registration information A is revised as reserved information A according to requests for arbitration message by S505, arbitrating server 530.
S506, arbitrating server 530 send arbitration triumph message to array 510, and the notice arbitration of array 510 is won.
S507, array 520 find that the communication between array 520 and array 510 disconnects (that is, fissure).
S508, array 520 send registration information to arbitrating server 530.
S509, arbitrating server 530 forbid array 520 to be registered according to the reserved information A being locally stored.
S510, arbitrating server 530 send the message of refusal registration to array 520.
S511, array 520 send requests for arbitration message to arbitrating server 530, request adapter tube host service.
S512, arbitrating server 530 determine that array 520 is arbitrated according to the local registration information B without storage array 520 Failure.
S513, arbitrating server 530 send arbitration failed message to array 520.
S514, array 510 restore according to the communication link between array 510 and array 520, initiate data to array 520 Synchronous task.
S515, array 510 are synchronously completed according to array 510 and the data of array 520, are sent clearly to arbitrating server 530 Except message, the state for unique adapter tube host service which is used to that arbitrating server 530 to be requested to remove array 510.
Reserved information A is revised as registration information by S516, the removing message that arbitrating server 530 is sent according to array 510 A。
S517, array 520 send login request message, request processing host service to arbitrating server 530.
S518, arbitrating server 530, without storing reserved information, determine that array 520 can handle host industry according to local Business, and save the registration information B of array 520.
S519, arbitrating server 530 send the message that succeeds in registration to array 520, and notice array 520 can handle host industry Business.
The method of equipment arbitration according to an embodiment of the present invention, storage equipment include reserved by sending to arbitrating server The requests for arbitration information of solicited message, the equipment which is determined as unique adapter tube host service by request, saves letter The caused different storage device of the problems such as enabling expense, avoiding software bug, user misoperation, HP M, poisoning intrusion point Not adapter tube host service provides data inconsistent situation, improves the fault-tolerant energy of dual-active arbitration system so as to avoid external Power, reliability and safety.
Above-described embodiment is mainly described the scheme of the embodiment of the present invention from the angle of interaction between each network element. It is understood that each network element, such as arbitrating server, the first storage equipment are in order to realize the above functions, it comprises hold The corresponding hardware configuration of each function of row and/or software module.Those skilled in the art should be readily appreciated that, in conjunction with herein Disclosed in embodiment description each exemplary unit and algorithm steps, the present invention can be soft with hardware or hardware and computer The combining form of part is realized.Some functions is executed in a manner of hardware or computer software driving hardware actually, is depended on In the specific application and design constraint of technical solution.Professional technician can carry out using difference each specific application Method realizes described function, but such implementation should not be considered as beyond the scope of the present invention.
The embodiment of the present invention can carry out functional unit to arbitrating server, the first storage equipment according to above method example Division two or more functions can also be integrated for example, each functional unit of each function division can be corresponded to In one processing unit.Above-mentioned integrated unit both can take the form of hardware realization, can also use software function list The form of member is realized.It should be noted that being schematical, only a kind of logic to the division of unit in the embodiment of the present invention Function division, there may be another division manner in actual implementation.
Using integrated unit, Fig. 6 A shows one of arbitrating server involved in above-described embodiment The possible structural schematic diagram of kind.Arbitrating server 600 includes: processing unit 602 and communication unit 603.Processing unit 602 is used for Control management is carried out to the movement of arbitrating server 600, for example, processing unit 602 is for supporting 600 execution figure of arbitrating server 2 S202 and S206, processing unit 602 can be also used for the S302 and S305 that support arbitrating server 600 to execute Fig. 3, and/or Other processes for techniques described herein.Communication unit 603 is for supporting arbitrating server 600 and other network entities Communication, such as it is shown in Figure 2 first storage equipment between communication.Arbitrating server 600 can also include that storage is single Member 601, program code and data for 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), Specific integrated circuit (Application-Specific Integrated Circuit, ASIC), field programmable gate array It is (Field Programmable Gate Array, FPGA) or other programmable logic device, transistor logic, hard Part component or any combination thereof.It may be implemented or execute to combine and various illustratively patrol described in the disclosure of invention Collect box, module and circuit.The processor is also possible to realize the combination of computing function, such as includes one or more micro- places Manage device combination, DSP and the combination of microprocessor etc..Communication unit 603 can be communication interface, transceiver, transmission circuit etc., Wherein, communication interface is to be referred to as, and may include one or more interfaces.Storage unit 601 can be memory.
When processing unit 602 is processor, communication unit 603 is communication interface, when storage unit 601 is memory, this Arbitrating server involved in inventive embodiments can be arbitrating server shown in Fig. 6 B.
Refering to shown in Fig. 6 B, which includes: processor 612, communication interface 613, memory 611.It is optional , arbitrating server 610 can also include bus 614.Wherein, communication interface 613, processor 612 and memory 611 can be with It is connected with each other by bus 614;Bus 614 can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, abbreviation PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, abbreviation EISA) bus etc..The bus 614 can be divided into address bus, data/address bus, control bus Deng.Only to be indicated with a thick line in Fig. 6 B, it is not intended that an only bus or a type of bus convenient for indicating.
It is apparent to those skilled in the art that for convenience of description and succinctly, the dress of foregoing description The specific work process with unit is set, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
Therefore, arbitrating server provided in an embodiment of the present invention is sent after arbitration is won according to the first storage equipment Reservation request information, or according to the first storage equipment send include reserved instruction information requests for arbitration message, can will The registration information of first storage equipment is revised as reserved information, so as to avoid the second storage equipment from succeeding in registration and connect again Pipe host service improves secondary in addition, the reserved information can only be deleted according to the reserved removing message that the first storage equipment is sent The safety of sanction system.
Using integrated unit, Fig. 7 A shows the first storage equipment involved in above-described embodiment A kind of possible structural schematic diagram.First storage equipment 700 includes: processing unit 702 and communication unit 703.Processing unit 702 carry out control management for the movement to the first storage equipment 700, for example, processing unit 702 is for passing through communication unit 703 support the first storage equipment 700 to execute the S201 and S204 of Fig. 2, and processing unit 702 can be also used for that the first storage is supported to set Standby 700 execute the S301 of Fig. 3, and/or other processes for techniques described herein.Communication unit 703 is for supporting the The communication of one storage equipment 700 and other network entities, such as the communication between arbitrating server shown in Fig. 2 or Fig. 3. First storage equipment 700 can also include storage unit 701, for storing the program code and data of the first storage equipment 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), Specific integrated circuit (Application-Specific Integrated Circuit, ASIC), field programmable gate array It is (Field Programmable Gate Array, FPGA) or other programmable logic device, transistor logic, hard Part component or any combination thereof.It may be implemented or execute to combine and various illustratively patrol described in the disclosure of invention Collect box, module and circuit.The processor is also possible to realize the combination of computing function, such as includes one or more micro- places Manage device combination, DSP and the combination of microprocessor etc..Communication unit 703 can be communication interface, transceiver, transmission circuit etc., Wherein, communication interface is to be referred to as, and may include one or more interfaces.Storage unit 701 can be memory.
When processing unit 702 is processor, communication unit 703 is communication interface, when storage unit 701 is memory, this First storage equipment involved in inventive embodiments can be the first storage equipment shown in Fig. 7 B.
Refering to shown in Fig. 7 B, which includes: processor 712, communication interface 713, memory 711.It can Choosing, the first storage equipment 710 can also include bus 714.Wherein, communication interface 713, processor 712 and memory 711 It can be connected with each other by bus 714;Bus 714 can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, abbreviation PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, abbreviation EISA) bus etc..The bus 714 can be divided into address bus, data/address bus, control bus Deng.Only to be indicated with a thick line in Fig. 7 B, it is not intended that an only bus or a type of bus convenient for indicating.
It is apparent to those skilled in the art that for convenience of description and succinctly, the dress of foregoing description The specific work process with unit is set, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
Therefore, the first storage equipment provided in an embodiment of the present invention, by being sent after arbitration is won to arbitrating server Reservation requests, the reservation requests are for requesting the second storage of arbitrating server refusal equipment to be registered, Huo Zhezhi Connect sent to arbitrating server include reserved instruction information requests for arbitration message, request adapter tube host service and request refusal the Two storage equipment are registered, so as to avoid the second storage equipment from succeeding in registration again and adapter tube host service, in addition, should Reserved information can only be deleted according to the reserved removing message that the first storage equipment is sent, and improve the safety of arbitration system.
In embodiments of the present invention, the size of the serial number of each process is not meant that the order of the execution order, each process Execution sequence should be determined by its function and internal logic, and the implementation process of the embodiments of the invention shall not be constituted with any limitation.
In addition, the terms "and/or", only a kind of incidence relation for describing affiliated partner, indicates may exist Three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.Separately Outside, character "/" herein typicallys represent the relationship that forward-backward correlation object is a kind of "or".
The step of method in conjunction with described in disclosure of the embodiment of the present invention or algorithm, can be come real in a manner of hardware It is existing, it is also possible to execute the mode of software instruction by processor to realize.Software instruction can be made 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), Electrically Erasable Programmable Read-Only Memory (Electrically EPROM, EEPROM), register, hard disk, movement are hard In the storage medium of disk, CD-ROM (CD-ROM) or any other form well known in the art.A kind of illustrative storage Medium couples to enable a processor to from the read information, and can be written to the storage medium and believe to processor Breath.Certainly, storage medium is also possible to the component part of processor.Pocessor and storage media can be located in ASIC.In addition, The ASIC can be located in arbitrating server or the first storage equipment.Certainly, pocessor and storage media can also be used as discrete Component is present in arbitrating server or the first storage equipment.
Those skilled in the art are it will be appreciated that in said one or multiple examples, function described in the invention It can be realized with hardware, software, firmware or their any combination.It when implemented in software, can be by these functions Storage in computer-readable medium or as on computer-readable medium one or more instructions or code transmitted. Computer-readable medium includes computer storage media and communication media, and wherein communication media includes convenient for from a place to another Any medium of one place transmission computer program.Storage medium can be general or specialized computer can access it is any Usable medium.
Above-described specific embodiment has carried out further the purpose of the present invention, technical scheme and beneficial effects It is described in detail, it should be understood that being not intended to limit the present invention the foregoing is merely a specific embodiment of the invention Protection scope, all any modification, equivalent substitution, improvement and etc. on the basis of technical solution of the present invention, done should all Including within protection scope of the present invention.

Claims (16)

1. a kind of method of equipment arbitration, which is characterized in that the method is applied in storage system, and the storage system includes First storage equipment, the second storage equipment and arbitrating server, which comprises
When the communication link between the first storage equipment and the second storage equipment breaks down, first storage Equipment sends requests for arbitration message to the arbitrating server, and the requests for arbitration message includes the mark of the first storage equipment Know information and service take-over information, the service take-over information is used to indicate the first storage equipment requirement adapter tube host industry Business;
The arbitrating server is believed according to the registration of the requests for arbitration message, the first storage equipment of the first storage equipment Adapter tube host service, Xiang Suoshu first do not store equipment transmission instruction first storage and set for breath and the second storage equipment The instruction message of standby adapter tube host service, and delete the registration letter for the second storage equipment that the arbitrating server saves Breath, wherein the arbitrating server pre-saves the registration information and the second storage equipment of the first storage equipment Registration information;
The first storage equipment sends reserved ask according to the instruction message adapter tube host service, and to the arbitrating server Message is sought, the reservation request message includes the identification information of the first storage equipment and reserves instruction information, described pre- Staying instruction information to be used to indicate the arbitrating server forbids the second storage equipment to be registered;
The arbitrating server receives login request message from the second storage equipment, and the login request message includes described The registration information of second storage equipment;
The arbitrating server is refused the second storage equipment and is registered according to the reserved instruction information.
2. the method according to claim 1, wherein the arbitrating server is received from the first storage equipment After the reservation requests, the method also includes:
After the communication link between the first storage equipment and the second storage equipment restores normal, first storage Equipment sends reserved removing message to the arbitrating server, and the reserved removing message is for requesting the arbitrating server to be deleted Except the reserved instruction information, in order to which the second storage equipment is registered;
The arbitrating server deletes the reserved instruction information according to the reserved removing message.
3. the method according to claim 1, wherein the arbitrating server is received from the first storage equipment After the reservation requests, the method also includes:
The second storage equipment sends reserved removing message to the arbitrating server, and the reserved removing message is for requesting The arbitrating server deletes the reserved instruction information;
The arbitrating server removes the reserved request for removing message according to the reserved instruction information refusal, wherein institute It states reserved instruction information and is used to indicate the removal request that the arbitrating server refuses the second storage equipment.
4. a kind of method of equipment arbitration, which is characterized in that the method is applied in storage system, and the storage system includes First storage equipment, the second storage equipment and arbitrating server, which comprises
When the communication link between the first storage equipment and the second storage equipment breaks down, first storage Equipment sends requests for arbitration message to the arbitrating server, and the requests for arbitration message includes the mark of the first storage equipment Know information, service take-over information and reserved instruction information, wherein the service take-over information is used to indicate first storage and sets Standby to require adapter tube host service, the reserved instruction information is used to indicate the arbitrating server and forbids the second storage equipment It is registered;
The arbitrating server is believed according to the registration of the requests for arbitration message, the first storage equipment of the first storage equipment Adapter tube host service, Xiang Suoshu first do not store equipment transmission instruction first storage and set for breath and the second storage equipment The instruction message of standby adapter tube host service, and delete the registration letter for the second storage equipment that the arbitrating server saves Breath, wherein the arbitrating server pre-saves the registration information and the second storage equipment of the first storage equipment Registration information;
The arbitrating server receives login request message from the second storage equipment, and the login request message includes described The registration information of second storage equipment;
The arbitrating server is refused the second storage equipment and is registered according to the reserved instruction information.
5. according to the method described in claim 4, it is characterized in that, the arbitrating server is received from the first storage equipment After the requests for arbitration message, the method also includes:
After the communication link between the first storage equipment and the second storage equipment restores normal, first storage Equipment sends reserved removing message to the arbitrating server, and the reserved removing message is for requesting the arbitrating server to be deleted Except the reserved instruction information, in order to which the second storage equipment is registered;
The arbitrating server deletes the reserved instruction information according to the reserved removing message.
6. according to the method described in claim 4, it is characterized in that, the arbitrating server is received from the first storage equipment After the requests for arbitration message, the method also includes:
The arbitrating server receives reserved removing message from the second storage equipment, and the reserved removing message is for requesting The arbitrating server deletes the reserved instruction information;
The arbitrating server refuses the reserved request for removing message according to the reserved instruction information, wherein described pre- Instruction information is stayed to be used to indicate the removal request that the arbitrating server refuses the second storage equipment.
7. a kind of arbitrating server of equipment arbitration, which is characterized in that the arbitrating server is applied in storage system, described Storage system includes the first storage equipment, the second storage equipment and the arbitrating server, and the arbitrating server includes: processing Unit and communication unit,
The processing unit is used to receive requests for arbitration message from the first storage equipment by the communication unit, described secondary The identification information and service take-over information that request message includes the first storage equipment are cut out, the service take-over information is used for Indicate the first storage equipment requirement adapter tube host service;And according to it is described first storage equipment requests for arbitration message, Described first stores the registration information of equipment and the second storage equipment not adapter tube host service, passes through the communication unit The instruction message of instruction the first storage equipment adapter tube host service is sent to the first storage equipment, and is deleted described secondary Cut out the registration information for the second storage equipment that server saves, wherein the arbitrating server has pre-saved described the The registration information of the registration information of one storage equipment and the second storage equipment;And by the communication unit from described the One storage equipment receive reservation requests, the reservation request message include it is described first storage equipment identification information and Reserved instruction information, the reserved instruction information are used to indicate the arbitrating server and the second storage equipment are forbidden to be infused Volume;And login request message, the login request message packet are received from the second storage equipment by the communication unit Include the registration information of the second storage equipment;And according to the reserved instruction information, refuse the second storage equipment into Row registration.
8. arbitrating server according to claim 7, which is characterized in that the processing unit is also used to through the communication Unit receives reserved removing message from the first storage equipment, and the reserved removing message is for requesting the arbitrating server Delete the reserved instruction information;And instruction information is reserved according to the reserved removing message erasing, in order to described Second storage equipment is registered.
9. arbitrating server according to claim 7, which is characterized in that the processing unit is also used to through the communication Unit receives reserved removing message from the second storage equipment, and the reserved removing message is for requesting the arbitrating server Delete the reserved instruction information;And the reserved request for removing message is removed according to the reserved instruction information refusal, Wherein, the reserved instruction information is used to indicate the removal request that the arbitrating server refuses the second storage equipment.
10. a kind of storage equipment of equipment arbitration, which is characterized in that the storage equipment application is described to deposit in storage system Storage system includes the storage equipment, the second storage equipment and arbitrating server, and the storage equipment includes: processing unit and leads to Believe unit,
When the communication link between the storage equipment and the second storage equipment breaks down, the processing unit is for passing through The communication unit sends requests for arbitration message to arbitrating server, and the requests for arbitration message includes the mark of the storage equipment Know information and service take-over information, the service take-over information are used to indicate the storage equipment requirement adapter tube host service; And instruction message is received from the arbitrating server by the communication unit, the instruction message is used to indicate the storage Equipment can adapter tube host service;And according to the instruction message adapter tube host service;And by the communication unit to The arbitrating server sends reservation requests, the reservation request message include the storage equipment identification information and Reserved instruction information, the reserved instruction information are used to indicate the arbitrating server and the second storage equipment are forbidden to be infused Volume.
11. storage equipment according to claim 10, which is characterized in that when the storage equipment and second storage are set After communication link between standby restores normal, the processing unit, which is also used to send reserved remove to the arbitrating server, to disappear Breath, the reserved removing message is for requesting the arbitrating server to delete the reserved instruction information, in order to described second Storage equipment is registered.
12. a kind of arbitrating server of equipment arbitration, which is characterized in that the arbitrating server is applied in storage system, institute Stating storage system includes the first storage equipment, the second storage equipment and the arbitrating server, and the arbitrating server includes: place Unit and communication unit are managed,
The processing unit is used to receive requests for arbitration message from the first storage equipment by the communication unit, described secondary Cut out the identification information and service take-over information and reserved instruction information that request message includes the first storage equipment, wherein The service take-over information is used to indicate the first storage equipment requirement adapter tube host service, and the reserved instruction information is used for Indicate that the arbitrating server forbids the second storage equipment to be registered;And the arbitration according to the first storage equipment Request message, the registration information of the first storage equipment and described second store equipment not adapter tube host service, pass through institute The instruction message that communication unit sends instruction the first storage equipment adapter tube host service to the first storage equipment is stated, and Delete the registration information for the second storage equipment that the arbitrating server saves, wherein the arbitrating server is protected in advance There are the registration information of the first storage equipment and the registration information of the second storage equipment;And pass through the communication unit Member receives login request message from the second storage equipment, and the login request message includes the note of the second storage equipment Volume information;And it is registered according to reserved instruction information refusal the second storage equipment.
13. arbitrating server according to claim 12, which is characterized in that the processing unit is also used to by described logical Believe that unit receives reserved removing message from the first storage equipment, the reserved removing message is for requesting the mediation service Device deletes the reserved instruction information;And the reserved instruction information is deleted according to the reserved removing message, in order to institute The second storage equipment is stated to be registered.
14. arbitrating server according to claim 12, which is characterized in that the processing unit is also used to by described logical Believe that unit receives reserved removing message from the second storage equipment, the reserved removing message is for requesting the mediation service Device deletes the reserved instruction information;And the reserved request for removing message is refused according to the reserved instruction information, In, the reserved instruction information is used to indicate the removal request that the arbitrating server refuses the second storage equipment.
15. a kind of storage equipment of equipment arbitration, which is characterized in that the storage equipment application is described to deposit in storage system Storage system includes the storage equipment, the second storage equipment and arbitrating server, and the storage equipment includes: processing unit and leads to Believe unit,
When the communication link between the storage equipment and the second storage equipment breaks down, the processing unit is for passing through The communication unit sends requests for arbitration message to the arbitrating server, and the requests for arbitration message includes the storage equipment Identification information and service take-over information and reserved instruction information, wherein the service take-over information is used to indicate described deposit Equipment requirement adapter tube host service is stored up, the reserved instruction information is used to indicate the arbitrating server and forbids second storage Equipment is registered;And instruction message is received from the arbitrating server by the communication unit, the instruction message is used It can adapter tube host service in the instruction storage equipment;And according to the instruction message adapter tube host service.
16. storage equipment according to claim 15, which is characterized in that when the storage equipment and second storage are set After communication link between standby restores normal, the processing unit is also used to through the communication unit to the arbitrating server Reserved removing message is sent, the reserved removing message is used to that the arbitrating server to be requested to delete the reserved instruction information, In order to which the second storage equipment is registered.
CN201610644515.4A 2016-08-08 2016-08-08 The method and apparatus of equipment arbitration Active CN106301900B (en)

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 CN106301900A (en) 2017-01-04
CN106301900B true 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)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106301900B (en) * 2016-08-08 2019-08-23 华为技术有限公司 The method and apparatus of equipment 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
CN110535714B (en) * 2018-05-25 2023-04-18 华为技术有限公司 Arbitration method and related device
CN111327447B (en) * 2018-12-17 2021-09-14 华为技术有限公司 Distributed system, arbitration method, node device and storage medium
CN117591034B (en) * 2024-01-17 2024-03-22 苏州元脑智能科技有限公司 Storage disk arbitration method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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 (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7685346B2 (en) * 2007-06-26 2010-03-23 Intel Corporation Demotion-based arbitration
US9275071B2 (en) * 2010-08-12 2016-03-01 Security First Corp. Systems and methods for secure remote storage
CN106301900B (en) * 2016-08-08 2019-08-23 华为技术有限公司 The method and apparatus of equipment arbitration

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN106301900A (en) 2017-01-04
WO2018028219A1 (en) 2018-02-15

Similar Documents

Publication Publication Date Title
CN106301900B (en) The method and apparatus of equipment arbitration
JP6362119B2 (en) Arbitration processing method, quorum storage device, and system after cluster brain division
CN105426275B (en) The method and device of disaster tolerance in dual-active group system
CN105426271B (en) To the method and apparatus of the lock management of distributed memory system
CN106170948B (en) A kind of referee method for dual-active data center, apparatus and system
CN106843749A (en) Write request processing method, device and equipment
CN107402722B (en) Data migration method and storage device
CN111045794B (en) Distributed transaction processing method, device, system, computer equipment and storage medium
EP2921974A1 (en) Data restoration method and system
CN105677673B (en) Method for processing business, apparatus and system
CN105824810A (en) Hadoop cluster system and data processing method
CN109361525B (en) Method, device, control terminal and medium for restarting distributed deployment of multiple services
CN105049258B (en) The data transmission method of network disaster tolerance system
US20190317872A1 (en) Database cluster architecture based on dual port solid state disk
CN107329859B (en) Data protection method and storage device
CN105357042B (en) A kind of highly available cluster system and its host node and from node
CN109739435B (en) File storage and updating method and device
CN110515557A (en) A kind of cluster management method, device, equipment and readable storage medium storing program for executing
CN106331081B (en) Information synchronization method and device
WO2015062113A1 (en) Affair processing method and device
EP3579501A1 (en) Message transmission method and device in cluster file system
CN105988901A (en) Data copying method and storage system
JP2015060285A (en) Global transaction processing method in cloud computing
CN113849127A (en) SAN storage dual-active network-based arbitration method and device and electronic equipment
CN107526652A (en) A kind of method of data synchronization and storage device

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