CN109358812A - Processing method, device and the relevant device of I/O Request in a kind of group system - Google Patents

Processing method, device and the relevant device of I/O Request in a kind of group system Download PDF

Info

Publication number
CN109358812A
CN109358812A CN201811172993.5A CN201811172993A CN109358812A CN 109358812 A CN109358812 A CN 109358812A CN 201811172993 A CN201811172993 A CN 201811172993A CN 109358812 A CN109358812 A CN 109358812A
Authority
CN
China
Prior art keywords
request
cache
site
home site
home
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.)
Pending
Application number
CN201811172993.5A
Other languages
Chinese (zh)
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201811172993.5A priority Critical patent/CN109358812A/en
Publication of CN109358812A publication Critical patent/CN109358812A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Abstract

This application discloses a kind of processing methods of I/O Request in base group system, including when home site breaks down, and backup site opens cache synchronous service;When receiving home site I/O Request, judge whether the corresponding home site cache of home site I/O Request completes to synchronize;If synchronization is completed, stop cache synchronous service, home site I/O Request is executed by home site cache;It is synchronized if not completing, stops cache synchronous service, and synchronous home site cache, home site I/O Request is executed by home site cache;This method may be implemented in failure website and the handoff procedure of backup site, not interrupt the implementation procedure of I/O Request, and preferentially execute the I/O Request, substantially increase the treatment effeciency of I/O Request.Disclosed herein as well is processing unit, equipment, group system and the computer readable storage mediums of I/O Request in a kind of group system, have above-mentioned beneficial effect.

Description

Processing method, device and the relevant device of I/O Request in a kind of group system
Technical field
This application involves more device clusters systems technologies field, in particular to the processing side of I/O Request in a kind of group system Method further relates to processing unit, equipment, group system and the computer readable storage medium of I/O Request in a kind of group system.
Background technique
With the fast development of computer technology, data caused by corresponding computer application are emerged in multitude, to realize The high availability of computer data, storage site dual-active cluster come into being.Storage site dual-active cluster by two storage sites, I.e. two storage equipment provide block number according to access service, arbitrate website by one and provide the arbitration function of cluster.
Referring to FIG. 1, Fig. 1 is a kind of structural schematic diagram of storage site dual-active cluster in the prior art, wherein website Block data channel between 1 (Site1) and website 2 (Site2) and host Host is based on (the storage domain SAN by FC (optical-fibre channel) Network) it provides, the arbitrated logic between arbitration website (quorum) is realized by IP network.Cluster is mapped to host Host's It rolls up (LUN0), respectively there is a mirror image, i.e. mirror image LUN0 in website 1, the mirror image in website 2 in two websites of cluster LUN0 ', they are two identical backups of one group of data, are stored respectively in corresponding storage pool (pool).In positive reason Under condition, website 1 is used as home site, and for handling the I/O Request from host, website 2 is used as backup site.When website 1 occur it is different When often going offline, arbitration website perceives website 1 by arbitrated logic and goes offline, at this point, will enter website switching flow, based on control Caching management module (cache manager) in device (controller) completes the block between two websites and caches (block Cache) synchronous, and taken over by website 2 and execute above-mentioned I/O Request.
Specifically, referring to FIG. 2, Fig. 2 is the processing method of I/O Request in a kind of group system in the prior art Flow diagram.When website 1 occurs abnormal, the I/O Request from host can be blocked, that is, stop executing the I/O Request, until It arbitrates website to complete after arbitrating, website switching flow can be entered, until 2 side of website can take over originally after cache is synchronously completed It is handled by the I/O Request that website 1 is handled, at this time cluster recovery I/O service.Therefore, in the process of above-mentioned entire website switching In, cluster all will be unable to the I/O Request of response external, and I/O Request is caused to terminate, and greatly reduce the treatment effeciency of I/O Request.
Therefore, how to effectively improve the treatment effeciency of I/O Request is those skilled in the art's urgent problem to be solved.
Summary of the invention
The purpose of the application is to provide a kind of processing method of I/O Request in group system, the processing method may be implemented in therefore Hinder in website and the handoff procedure of backup site, does not interrupt the implementation procedure of I/O Request, and preferentially execute the I/O Request, mention significantly The high treatment effeciency of I/O Request;The another object of the application is to provide the processing unit of I/O Request in a kind of group system, sets Standby, group system and computer readable storage medium, it may have above-mentioned beneficial effect.
In order to solve the above technical problems, this application provides a kind of processing method of I/O Request in group system, the place Reason method includes:
When home site breaks down, backup site opens cache synchronous service;
When receiving home site I/O Request, judge whether the corresponding home site cache of the home site I/O Request completes It is synchronous;
If synchronization is completed, stop the cache synchronous service, the main website is executed by the home site cache Point I/O Request;
It is synchronized if not completing, stops the cache synchronous service, and synchronize the home site cache, pass through the master Website cache executes the home site I/O Request.
Preferably, it is described judge the corresponding home site cache of the home site I/O Request whether complete it is synchronous before, also wrap It includes:
When receiving I/O Request, judge the I/O Request for the home site I/O Request or backup site I/O Request;
If the backup site I/O Request, then stop the cache synchronous service, executes the backup site IO and ask It asks;
If the home site I/O Request, then the corresponding home site cache of the judgement home site I/O Request is executed Whether the synchronous step of completion.
It is preferably, described to judge the I/O Request for the home site I/O Request or backup site I/O Request, comprising:
Dissection process is carried out to the I/O Request, obtains site information;
Determine that the I/O Request is that the home site I/O Request or the backup site IO are asked according to the site information It asks.
Preferably, in the group system I/O Request processing method further include:
After the completion of I/O Request execution, the cache synchronous service is continued to execute.
It is preferably, described to execute the cache synchronous service, comprising:
Obtain the current state position of each cache;
If the current state position is 1, the corresponding cache in the current state position is deleted;
If the current state position is 0, the corresponding cache in the current state position is synchronized.
In order to solve the above technical problems, this application provides a kind of processing unit of I/O Request in group system, the place Managing device includes:
Cache synchronous service module, for when home site breaks down, backup site to open cache synchronous service;
Sync status determination module, for when receiving home site I/O Request, judging that the home site I/O Request is corresponding Home site cache whether complete to synchronize;If synchronization is completed, enter the first I/O Request processing module;It is synchronized if not completing, Then enter the second I/O Request processing module;
The first I/O Request processing module passes through the home site cache for stopping the cache synchronous service Execute the home site I/O Request;
The second I/O Request processing module for stopping the cache synchronous service, and synchronizes the home site Cache executes the home site I/O Request by the home site cache.
Preferably, in the group system I/O Request processing unit further include:
I/O Request classification judgment module, for when receiving I/O Request, judging the I/O Request for the home site IO Request or backup site I/O Request;If the backup site I/O Request, then enter third I/O Request processing module;If institute Home site I/O Request is stated, then enters the sync status determination module;
The third I/O Request processing module executes the backup site IO and asks for stopping the cache synchronous service It asks.
In order to solve the above technical problems, this application provides a kind of processing equipment of I/O Request in group system, the place Managing equipment includes:
Memory, for storing computer program;
Processor realizes the processing of I/O Request in any one of the above group system when for executing the computer program The step of method.
In order to solve the above technical problems, this application provides a kind of group system, the group system include home site and Backup site;Wherein, the backup site, for realizing the processing side of I/O Request in group system described in above-mentioned any one The step of method.
In order to solve the above technical problems, this application provides a kind of computer readable storage medium, it is described computer-readable Computer program is stored on storage medium, the computer program realizes any one of the above cluster system when being executed by processor In system the step of the processing method of I/O Request.
The processing method of I/O Request in a kind of group system provided herein, including when home site breaks down, Backup site opens cache synchronous service;When receiving home site I/O Request, the corresponding master of the home site I/O Request is judged Whether website cache, which completes, synchronizes;If synchronization is completed, stops the cache synchronous service, pass through the home site Cache executes the home site I/O Request;It is synchronized if not completing, stops the cache synchronous service, and synchronize the main website Point cache executes the home site I/O Request by the home site cache.
As it can be seen that in group system provided herein I/O Request processing method, break down progress in home site If cache synchronous service can be to the home site I/O Request pair receive from failure website, the i.e. I/O Request of home site The cache synchronization progress prioritization synchronous with other cache answered, i.e., will be at the corresponding cache synchronization of home site I/O Request Reason flow setting is high priority, and to terminate the synchronous process of other cache, it is corresponding can to first carry out home site I/O Request as a result, Cache synchronization process, and above-mentioned home site I/O Request is directly executed after it is synchronously completed, until home site I/O Request executes After be further continued for before the synchronous process of other cache that terminates, as a result, in the group system I/O Request processing method It realizes in failure website and the handoff procedure of backup site, does not interrupt the implementation procedure of I/O Request, and preferentially execute the IO and ask It asks, substantially increases the treatment effeciency of I/O Request.
Processing unit, equipment, group system and the computer of I/O Request in a kind of group system provided herein Readable storage medium storing program for executing all has above-mentioned beneficial effect, and details are not described herein.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of structural schematic diagram of storage site dual-active cluster in the prior art;
Fig. 2 is the flow diagram of the processing method of I/O Request in a kind of group system in the prior art;
Fig. 3 is the flow diagram of the processing method of I/O Request in a kind of group system provided herein;
Fig. 4 is the flow diagram of the processing method of I/O Request in another group system provided herein;
Fig. 5 is the structural schematic diagram of the processing unit of I/O Request in a kind of group system provided herein;
Fig. 6 is the structural schematic diagram of the processing equipment of I/O Request in a kind of group system provided herein;
Fig. 7 is a kind of structural schematic diagram of group system provided herein.
Specific embodiment
The core of the application is to provide a kind of processing method of I/O Request in group system, the processing method may be implemented in therefore Hinder in website and the handoff procedure of backup site, does not interrupt the implementation procedure of I/O Request, and preferentially execute the I/O Request, mention significantly The high treatment effeciency of I/O Request;Another core of the application is to provide the processing unit of I/O Request in a kind of group system, sets Standby, group system and computer readable storage medium, it may have above-mentioned beneficial effect.
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art All other embodiment obtained without making creative work, shall fall in the protection scope of this application.
In general, in existing storage dual-active group system, when home site occurs abnormal, received I/O Request meeting It is blocked, that is, stops executing the I/O Request, and enter the website switching flow between home site and backup site, that is, carry out Cache is synchronous, until backup site can take over to be carried out by the I/O Request that home site is handled originally after cache is synchronously completed Reason, to restore the I/O service of cluster, therefore, in the entire website handoff procedure of prior art, it is outer that cluster all will be unable to response The I/O Request in portion, causes I/O Request to terminate, and greatly reduces the treatment effeciency of I/O Request.To solve the above problems, the application Provide a kind of processing method of I/O Request in group system, which may be implemented in cutting for failure website and backup site During changing, the implementation procedure of I/O Request is not interrupted, and preferentially executes the I/O Request, substantially increases the processing effect of I/O Request Rate.
Referring to FIG. 3, Fig. 3 is the process signal of the processing method of I/O Request in a kind of group system provided herein Figure, the processing method may include:
S101: when home site breaks down, backup site opens cache synchronous service;
Specifically, when home site occur it is abnormal, break down lead to not operate normally when, arbitration website will pass through arbitration Logic perceives home site and goes offline, at this point, will enter website switching flow, notice backup site opens cache synchronous service, with The cache carried out between home site and backup site is synchronous.
Wherein, above-mentioned cache synchronizing process can block cache be unit realize group system in home site and backup site Between entire cache it is synchronous.Specifically, all positions can be initiated by the volume management module run on backup site controller In the cache synchronization request of the volume on home site;Further, which can be sent to also run on it is standby With the cache service synchronization module on site controller, which can respond above-mentioned cache synchronization request, And to opposite end website, i.e. home site initiates cache transmission request, meanwhile, which also has response opposite end The ability for the cache transmission request that website is sent.
S102: when receiving home site I/O Request, judge whether the corresponding home site cache of home site I/O Request completes It is synchronous;If synchronization is completed, enter S103, synchronized if not completing, enters S104;
Specifically, if stand-by equipment receives home site, corresponding IO is asked during above-mentioned cache synchronous service It asks, i.e., above-mentioned home site I/O Request, then can determine whether the corresponding home site cache of the home site I/O Request, namely be located at home site On the home site request whether the cache of corresponding volume completes to synchronize, if having completed to synchronize, enter S103, if not complete At synchronization, then enter S104.
Wherein, above-mentioned home site I/O Request can be passed through host by technical staff according to actual needs and be sent to home site, I.e. technical staff can input above-mentioned home site I/O Request by host display interface, then be led to it by corresponding network by host Road is forwarded to above-mentioned home site.
S103: stopping cache synchronous service, executes home site I/O Request by home site cache;
Specifically, illustrating backup site if the corresponding home site cache of above-mentioned home site I/O Request has completed to synchronize In obtained the corresponding home site cache of home site I/O Request, at this point, reducing master to avoid main equipment I/O Request from being interrupted Website I/O Request execution efficiency can stop above-mentioned cache synchronous service immediately, and directly pass through in backup site through above-mentioned The home site cache that cache synchronous service obtains executes the home site I/O Request.
S104: stop cache synchronous service, and synchronous home site cache, home site IO is executed by home site cache Request.
Specifically, synchronizing if the corresponding home site cache of above-mentioned home site I/O Request is not completed, illustrate backup site simultaneously The corresponding home site cache of home site I/O Request is not obtained, leads to main website at this point, being similarly and main equipment I/O Request being avoided to be interrupted The reduction of point I/O Request execution efficiency can stop above-mentioned cache synchronous service immediately, directly carry out the synchronization of home site cache Service, until after obtaining above-mentioned home site cache in stand-by equipment, directly pass through the master after home site cache is synchronously completed Website cache executes above-mentioned home site I/O Request.
It wherein, can be by running on backup site main controller for the process of above-mentioned home site cache synchronous service Cache synchronization request module identifies the priority of current cache synchronization request.Specifically, the cache if it is entire volume is synchronous Request is then set as the priority of default;If it is the corresponding cache synchronization request of home site I/O Request, then Gao You is set as First grade.Therefore, for the process of above-mentioned home site cache synchronous service, if the cache synchronization request of low priority by While execution, the cache synchronization request of high top grade is had received, then interrupts current cache synchronization request, at preferential completion The request of high priority is managed, then restores the cache synchronization request being interrupted.
The processing method of I/O Request in group system provided herein, breaking down in home site, to carry out cache same Step service, can be corresponding to the home site I/O Request if receive from failure website, the i.e. I/O Request of home site The synchronous progress prioritization synchronous with other cache of cache, i.e., by the corresponding cache synchronization process stream of home site I/O Request Journey is set as high priority, and to terminate the synchronous process of other cache, it is corresponding can to first carry out home site I/O Request as a result, Cache synchronization process, and above-mentioned home site I/O Request is directly executed after it is synchronously completed, until home site I/O Request has executed The synchronous process of other cache terminated before being further continued for after finishing, the processing method of I/O Request can be real in the group system as a result, In present failure website and the handoff procedure of backup site, the implementation procedure of I/O Request is not interrupted, and preferentially execute the I/O Request, Substantially increase the treatment effeciency of I/O Request.
On the basis of the above embodiments, referring to FIG. 4, Fig. 4 is IO in another group system provided herein The flow diagram of the processing method of request.
It is above-mentioned to judge whether the corresponding home site cache of home site I/O Request completes to synchronize as a kind of preferred embodiment Before, can also include:
S202: when receiving I/O Request, judge I/O Request for home site I/O Request or backup site I/O Request;If Backup site I/O Request then enters S203;If home site I/O Request, then enter S204.
S203: stopping cache synchronous service, executes backup site I/O Request;
Specifically, the I/O Request that host issues may be the I/O Request for being directed to home site, i.e., above-mentioned home site I/O Request, It may also be the I/O Request for being directed to backup site, i.e., above-mentioned backup site I/O Request.Therefore, backup site is receiving host When the I/O Request issued, also further its classification can be judged, be still using the determining I/O Request as home site I/O Request Backup site I/O Request is then asked due to inherently preserving backup site IO in backup site if backup site I/O Request Corresponding cache, therefore above-mentioned backup site I/O Request directly can be executed by the cache;It, then can be into if home site I/O Request Enter determination and judgement that S204 carries out subsequent cache sync status.
Preferably, above-mentioned to judge that I/O Request may include: to ask to IO for home site I/O Request or backup site I/O Request Carry out dissection process is sought, site information is obtained;Determine that I/O Request is home site I/O Request or backup site according to site information I/O Request.
Specifically, this application provides a kind of more concrete implementation sides for the classification deterministic process of above-mentioned I/O Request Formula carries out dissection process to the I/O Request of acquisition, obtains corresponding site information, such as IP address, mark information;Into one Step, can determine the website belonging to it according to the site information, that is, determine that above-mentioned I/O Request is home site I/O Request or spare Website I/O Request.
On the basis of above-mentioned each embodiment, as a kind of preferred embodiment, the processing of I/O Request in the group system Method can also include:
After the completion of I/O Request execution, cache synchronous service is continued to execute.
Specifically, for guarantee group system normal operation, and convenient for the next I/O Request that will be received into Row subsequent processing, after above-mentioned current I/O Request is finished, the cache synchronous service of stopping before can further restoring.Into One step can refer to above-mentioned implementation and handled when receiving next I/O Request.
Preferably, above-mentioned execution cache synchronous service may include obtaining the current state position of each cache;If current Mode bit is 1, then deletes the corresponding cache in current state position;If current state position is 0, it is corresponding to synchronize current state position cache。
Specifically, can be each to need to be implemented the synchronous one bulk state figure (blockbitmap) of volume maintenance of cache. In bulk state figure, each piece indicates whether that executing cache synchronizes by a mode bit (bit).If mode bit is 0, indicate that not completing cache synchronizes, if mode bit is 1, it is synchronous that cache is completed in expression.Therefore, as the cache of a block From opposite end, website is transmitted, when needing to update local cache, i.e., when cache is transmitted to backup site, standby station by home site When point synchronizes local cache, the mode bit of block cache, i.e., above-mentioned current state position can be first checked, if current state position is 0, then it is synchronous to execute cache;If mode bit is 1, then it represents that it is synchronous that this block cache has completed above-mentioned cache, and has updated Local cache deletes the corresponding cache in current state position at this time, and need not execute cache and synchronize, and reason is this The synchronizing process of block cache may be completed via the cache synchronization request of high priority.
Technical solution provided by the embodiment of the present application can have by executing the synchronization to all cache in failure website Effect guarantees the normal operation of group system, and convenient for handling all I/O Requests that backup site receives.
To solve the above problems, referring to FIG. 5, Fig. 5 is the place of I/O Request in a kind of group system provided herein Manage the structural schematic diagram of device, the processing unit can include:
Cache synchronous service module 10, for when home site breaks down, backup site to open cache synchronous service;
Sync status determination module 20, for when receiving home site I/O Request, judging that home site I/O Request is corresponding Whether home site cache, which completes, synchronizes;If synchronization is completed, enter the first I/O Request processing module 30;It is synchronized if not completing, Then enter the second I/O Request processing module 40;
First I/O Request processing module 30 executes home site by home site cache for stopping cache synchronous service I/O Request;
Second I/O Request processing module 40 passes through main website for stopping cache synchronous service, and synchronous home site cache Point cache executes home site I/O Request.
As a kind of preferred embodiment, the processing unit of I/O Request can also include: in the group system
I/O Request classification judgment module, for when receiving I/O Request, judge I/O Request for home site I/O Request still Backup site I/O Request;If backup site I/O Request, then enter third I/O Request processing module;If home site I/O Request, Then enter sync status determination module 20;
Third I/O Request processing module executes backup site I/O Request for stopping cache synchronous service.
As a kind of preferred embodiment, above-mentioned I/O Request classification judgment module can be specifically used for carrying out at parsing I/O Request Reason obtains site information;Determine that I/O Request is home site I/O Request or backup site I/O Request according to site information.
Above method embodiment is please referred to for the introduction of device provided by the present application, this will not be repeated here by the application.
To solve the above problems, referring to FIG. 6, Fig. 6 is the place of I/O Request in a kind of group system provided herein Manage the structural schematic diagram of equipment, the processing equipment can include:
Memory 11, for storing computer program;
Processor 12, realizes following steps when for executing computer program:
When home site breaks down, backup site opens cache synchronous service;When receiving home site I/O Request, Judge whether the corresponding home site cache of home site I/O Request completes to synchronize;If synchronization is completed, stop the synchronous clothes of cache Business executes home site I/O Request by home site cache;It is synchronized if not completing, stops cache synchronous service, and synchronize master Website cache executes home site I/O Request by home site cache.
Above method embodiment is please referred to for the introduction of equipment provided by the present application, this will not be repeated here by the application.
To solve the above problems, referring to FIG. 7, Fig. 7 be a kind of group system provided herein structural schematic diagram, The group system may include home site 1 and backup site 2;Wherein, backup site 2 is for realizing following steps:
When home site 1 breaks down, backup site 2 opens cache synchronous service;When receiving home site I/O Request When, judge whether the corresponding home site cache of home site I/O Request completes to synchronize;If synchronization is completed, it is synchronous to stop cache Service executes home site I/O Request by home site cache;It is synchronized if not completing, stops cache synchronous service, and synchronous Home site cache executes home site I/O Request by home site cache.
Above method embodiment is please referred to for the introduction of group system provided by the present application, the application does not do superfluous herein It states.
To solve the above problems, present invention also provides a kind of computer readable storage medium, the computer-readable storage It is stored with computer program on medium, can be realized when computer program is executed by processor following rapid:
When home site breaks down, backup site opens cache synchronous service;When receiving home site I/O Request, Judge whether the corresponding home site cache of home site I/O Request completes to synchronize;If synchronization is completed, stop the synchronous clothes of cache Business executes home site I/O Request by home site cache;It is synchronized if not completing, stops cache synchronous service, and synchronize master Website cache executes home site I/O Request by home site cache.
The computer readable storage medium may include: USB flash disk, mobile hard disk, read-only memory (Read-OnlyMemory, ROM), random access memory (RandomAccess Memory, RAM), magnetic or disk etc. are various can store program generation The medium of code.
Above method embodiment is please referred to for the introduction of computer readable storage medium provided by the present application, the application exists This is not repeated them here.
Each embodiment is described in a progressive manner in specification, the highlights of each of the examples are with other realities The difference of example is applied, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment Speech, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part illustration ?.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond scope of the present application.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
Above to the processing method of I/O Request in group system provided herein, device, equipment, group system and Computer readable storage medium is described in detail.Principle and embodiment of the specific case to the application used herein It is expounded, the description of the example is only used to help understand the method for the present application and its core ideas.It should be pointed out that For those skilled in the art, under the premise of not departing from the application principle, can also to the application into Row some improvements and modifications, these improvement and modification also fall into the protection scope element of the claim of this application.

Claims (10)

1. the processing method of I/O Request in a kind of group system characterized by comprising
When home site breaks down, backup site opens cache synchronous service;
When receiving home site I/O Request, judge whether the corresponding home site cache of the home site I/O Request completes to synchronize;
If synchronization is completed, stop the cache synchronous service, the home site IO is executed by the home site cache Request;
It is synchronized if not completing, stops the cache synchronous service, and synchronize the home site cache, pass through the home site Cache executes the home site I/O Request.
2. processing method as described in claim 1, which is characterized in that described to judge the corresponding main website of the home site I/O Request Before whether point cache completes to synchronize, further includes:
When receiving I/O Request, judge the I/O Request for the home site I/O Request or backup site I/O Request;
If the backup site I/O Request, then stop the cache synchronous service, executes the backup site I/O Request;
If the home site I/O Request, then execute described whether judge the corresponding home site cache of the home site I/O Request Complete synchronous step.
3. processing method as claimed in claim 2, which is characterized in that described to judge that the I/O Request is asked for the home site IO Seek still backup site I/O Request, comprising:
Dissection process is carried out to the I/O Request, obtains site information;
Determine that the I/O Request is the home site I/O Request or the backup site I/O Request according to the site information.
4. processing method as claimed in claim 3, which is characterized in that further include:
After the completion of I/O Request execution, the cache synchronous service is continued to execute.
5. processing method as claimed in claim 4, which is characterized in that described to execute the cache synchronous service, comprising:
Obtain the current state position of each cache;
If the current state position is 1, the corresponding cache in the current state position is deleted;
If the current state position is 0, the corresponding cache in the current state position is synchronized.
6. the processing unit of I/O Request in a kind of group system characterized by comprising
Cache synchronous service module, for when home site breaks down, backup site to open cache synchronous service;
Sync status determination module, for when receiving home site I/O Request, judging the corresponding master of the home site I/O Request Whether website cache, which completes, synchronizes;If synchronization is completed, enter the first I/O Request processing module;It is synchronized if not completing, into Enter the second I/O Request processing module;
The first I/O Request processing module is executed for stopping the cache synchronous service by the home site cache The home site I/O Request;
The second I/O Request processing module for stopping the cache synchronous service, and synchronizes the home site cache, leads to It crosses the home site cache and executes the home site I/O Request.
7. processing unit as claimed in claim 6, which is characterized in that further include:
I/O Request classification judgment module, for when receiving I/O Request, judging the I/O Request for the home site I/O Request Or backup site I/O Request;If the backup site I/O Request, then enter third I/O Request processing module;If the master Website I/O Request then enters the sync status determination module;
The third I/O Request processing module executes the backup site I/O Request for stopping the cache synchronous service.
8. the processing equipment of I/O Request in a kind of group system characterized by comprising
Memory, for storing computer program;
Processor is realized when for executing the computer program in the group system as described in claim 1 to 5 any one The step of processing method of I/O Request.
9. a kind of group system, which is characterized in that including home site and backup site;
Wherein, the backup site, for realizing I/O Request in the group system as described in claim 1 to 5 any one The step of processing method.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes IO in the group system as described in claim 1 to 5 any one when the computer program is executed by processor The step of processing method of request.
CN201811172993.5A 2018-10-09 2018-10-09 Processing method, device and the relevant device of I/O Request in a kind of group system Pending CN109358812A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811172993.5A CN109358812A (en) 2018-10-09 2018-10-09 Processing method, device and the relevant device of I/O Request in a kind of group system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811172993.5A CN109358812A (en) 2018-10-09 2018-10-09 Processing method, device and the relevant device of I/O Request in a kind of group system

Publications (1)

Publication Number Publication Date
CN109358812A true CN109358812A (en) 2019-02-19

Family

ID=65348773

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811172993.5A Pending CN109358812A (en) 2018-10-09 2018-10-09 Processing method, device and the relevant device of I/O Request in a kind of group system

Country Status (1)

Country Link
CN (1) CN109358812A (en)

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1790285A (en) * 2004-12-17 2006-06-21 日本电气株式会社 A fault tolerant computer system and a synchronization method for the same
CN101354633A (en) * 2008-08-22 2009-01-28 杭州华三通信技术有限公司 Method for improving writing efficiency of virtual storage system and virtual storage system thereof
CN101557320A (en) * 2009-05-25 2009-10-14 杭州华三通信技术有限公司 Disaster tolerance realizing method and communication equipment thereof
US20110013596A1 (en) * 2008-03-07 2011-01-20 Jung In Uk Method for performing handover to reduce interruption time
US20110145367A1 (en) * 2009-12-16 2011-06-16 International Business Machines Corporation Scalable caching of remote file data in a cluster file system
CN102103544A (en) * 2009-12-16 2011-06-22 腾讯科技(深圳)有限公司 Method and device for realizing distributed cache
CN103049225A (en) * 2013-01-05 2013-04-17 浪潮电子信息产业股份有限公司 Double-controller active-active storage system
CN103207841A (en) * 2013-03-06 2013-07-17 青岛海信传媒网络技术有限公司 Method and device for data reading and writing on basis of key-value buffer
CN104331254A (en) * 2014-11-05 2015-02-04 浪潮电子信息产业股份有限公司 Dual-active storage system design method based on dual-active logical volumes
CN104580324A (en) * 2013-10-28 2015-04-29 华为技术有限公司 Data storage method and device
CN106021020A (en) * 2016-05-12 2016-10-12 中国工商银行股份有限公司 Dual-live data site application data mounting method and apparatus
CN106293533A (en) * 2016-08-11 2017-01-04 浪潮(北京)电子信息产业有限公司 A kind of based on the load-balancing method between storage multipath and system
CN106357703A (en) * 2015-07-13 2017-01-25 阿里巴巴集团控股有限公司 Cluster switching method and cluster switching equipment
CN106716377A (en) * 2015-01-12 2017-05-24 斯特拉托斯卡莱有限公司 Synchronization of snapshots in a distributed storage system
CN106850315A (en) * 2017-03-16 2017-06-13 郑州云海信息技术有限公司 One kind automation disaster tolerance system
CN106874150A (en) * 2017-02-28 2017-06-20 郑州云海信息技术有限公司 A kind of virtual machine High Availabitity disaster recovery method and its system
CN108268210A (en) * 2016-12-30 2018-07-10 中移(苏州)软件技术有限公司 A kind of information processing method, calculate node and memory node
CN110515557A (en) * 2019-08-23 2019-11-29 北京浪潮数据技术有限公司 A kind of cluster management method, device, equipment and readable storage medium storing program for executing

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1790285A (en) * 2004-12-17 2006-06-21 日本电气株式会社 A fault tolerant computer system and a synchronization method for the same
US20110013596A1 (en) * 2008-03-07 2011-01-20 Jung In Uk Method for performing handover to reduce interruption time
CN101354633A (en) * 2008-08-22 2009-01-28 杭州华三通信技术有限公司 Method for improving writing efficiency of virtual storage system and virtual storage system thereof
CN101557320A (en) * 2009-05-25 2009-10-14 杭州华三通信技术有限公司 Disaster tolerance realizing method and communication equipment thereof
US20110145367A1 (en) * 2009-12-16 2011-06-16 International Business Machines Corporation Scalable caching of remote file data in a cluster file system
CN102103544A (en) * 2009-12-16 2011-06-22 腾讯科技(深圳)有限公司 Method and device for realizing distributed cache
CN103049225A (en) * 2013-01-05 2013-04-17 浪潮电子信息产业股份有限公司 Double-controller active-active storage system
CN103207841A (en) * 2013-03-06 2013-07-17 青岛海信传媒网络技术有限公司 Method and device for data reading and writing on basis of key-value buffer
CN104580324A (en) * 2013-10-28 2015-04-29 华为技术有限公司 Data storage method and device
CN104331254A (en) * 2014-11-05 2015-02-04 浪潮电子信息产业股份有限公司 Dual-active storage system design method based on dual-active logical volumes
CN106716377A (en) * 2015-01-12 2017-05-24 斯特拉托斯卡莱有限公司 Synchronization of snapshots in a distributed storage system
CN106357703A (en) * 2015-07-13 2017-01-25 阿里巴巴集团控股有限公司 Cluster switching method and cluster switching equipment
CN106021020A (en) * 2016-05-12 2016-10-12 中国工商银行股份有限公司 Dual-live data site application data mounting method and apparatus
CN106293533A (en) * 2016-08-11 2017-01-04 浪潮(北京)电子信息产业有限公司 A kind of based on the load-balancing method between storage multipath and system
CN108268210A (en) * 2016-12-30 2018-07-10 中移(苏州)软件技术有限公司 A kind of information processing method, calculate node and memory node
CN106874150A (en) * 2017-02-28 2017-06-20 郑州云海信息技术有限公司 A kind of virtual machine High Availabitity disaster recovery method and its system
CN106850315A (en) * 2017-03-16 2017-06-13 郑州云海信息技术有限公司 One kind automation disaster tolerance system
CN110515557A (en) * 2019-08-23 2019-11-29 北京浪潮数据技术有限公司 A kind of cluster management method, device, equipment and readable storage medium storing program for executing

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
王光辉: "RAID系统的双控制器研究及实现", 《微型电脑应用》 *
蒋破荒: "基于存储双活技术的数据中心设计和应用", 《电子技术与软件工程》 *

Similar Documents

Publication Publication Date Title
CN104158693B (en) The disaster-tolerant backup method and system of data service
CN104881333B (en) A kind of storage system and its method used
CN105426275B (en) The method and device of disaster tolerance in dual-active group system
US10831741B2 (en) Log-shipping data replication with early log record fetching
WO2017022002A1 (en) Storage device, storage system, and control method for storage system
CN109582502A (en) Storage system fault handling method, device, equipment and readable storage medium storing program for executing
US20070130432A1 (en) Storage system for copying data between storage devices, and method of copying data
CN106919473A (en) A kind of data disaster recovery and backup systems and method for processing business
CN103532731A (en) method and device for preventing network configuration of virtual machine from losing
EP3680787A1 (en) Method for synchronization between primary database and standby database, database system and device
CN102523257A (en) Infrastructure as a service (IAAS)-cloud-platform-based virtual machine fault-tolerance method
CN102497288A (en) Dual-server backup method and dual system implementation device
WO2020192065A1 (en) Method for achieving cross-cluster high availability, apparatus, system, and device
US7890715B2 (en) Suspension of an asynchronous remote copy pair system having a primary controller and a remote controller
CN110618785A (en) Dual-control storage system
CN106331081A (en) Information synchronization method and device
CN109167690A (en) A kind of restoration methods, device and the relevant device of the service of distributed system interior joint
CN103605616A (en) Multi-controller cache data consistency guarantee method
CN110348826A (en) Strange land disaster recovery method, system, equipment and readable storage medium storing program for executing mostly living
CN107357800A (en) A kind of database High Availabitity zero loses solution method
CN104484354B (en) Ensure the Snapshot Method and storage device of data consistency
CN106980556A (en) A kind of method and device of data backup
CN113110948A (en) Disaster tolerance data processing method and device
CN105389123A (en) Storage management method and system based on dual controllers
CN112596371A (en) Control card switching method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190219