CN105827738A - Disaster recovery synchronization method under high availability architecture and system - Google Patents
Disaster recovery synchronization method under high availability architecture and system Download PDFInfo
- Publication number
- CN105827738A CN105827738A CN201610365950.3A CN201610365950A CN105827738A CN 105827738 A CN105827738 A CN 105827738A CN 201610365950 A CN201610365950 A CN 201610365950A CN 105827738 A CN105827738 A CN 105827738A
- Authority
- CN
- China
- Prior art keywords
- server
- standby server
- data
- local
- master
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a disaster recovery synchronization method under the high availability architecture and a system. The method comprises steps that the data content updated in a main server is timely acquired by a high availability caching server and is further stored; sharing of the stored updated data of the main server is carried out through the high availability caching server, the data content is then sent to a local standby server of the main server and a non-local standby server, and the data of the local standby server and the non-local standby server is synchronously updated. Through the method, network flows can be effectively saved.
Description
Technical field
The present invention relates to High Availabitity architecture technology field, particularly relate to disaster tolerance synchronous method and system under a kind of High Availabitity framework.
Background technology
At present, cloud computing High Availabitity is a necessary framework requirement, and cloud inherently means that computing capability extends, and safety promotes.High Availabitity just has multiple standby resource wait and is activated.So, the content in caching mechanism, High Availabitity main frame may be should be and delay moment of machine, become hash.If especially all there is the situation of the data that need to synchronize on the different machines of High Availabitity.
In the case of cloud computing technology development, the High Availabitity of the concurrent high IO of High Availabitity height the most easy to use has become as the standard configuration of cloud computing.One master server can be at the standby multiple servers of local and remote side, when this master server carries out data renewal, need also exist for the server to local backup and carry out data syn-chronization, it is also required to the server to remote backup and carries out data syn-chronization, this is accomplished by data synchronization updating that storage has by this master server to local backup server and remote backup server, seek to be sent to the data of renewal in real time local backup server and remote backup server, this process is exactly the process that disaster tolerance synchronizes, but the process of whole data synchronization updating needs master server that the data of renewal are sent to local backup server and remote backup server in real time, it is too many that this results in network flow consumption, the flow repeated is too much.
Summary of the invention
It is an object of the invention to provide disaster tolerance synchronous method and system under a kind of High Availabitity framework, to realize effective saving network flow.
For solving above-mentioned technical problem, the present invention provides disaster tolerance synchronous method under a kind of High Availabitity framework, and the method includes:
High-availability cache server obtains the data content updated in master server in real time and stores;
The data content of the renewal of the master server of storage is shared by high-availability cache server, described data content is sent the local standby server to master server and strange land standby server, synchronized update this locality standby server and the data of strange land standby server.
Preferably, the region location of described high-availability cache server is arranged between local standby server and strange land standby server.
Preferably, described method also includes:
When master server delays machine, local standby server adapter master server, the storage data syn-chronization before machine of being delayed by master server is to local standby server.
Preferably, after the storage data syn-chronization before machine that master server is delayed to local standby server, also include:
High-availability cache server obtains the data content in local standby server and stores;
The data content of the local standby server of storage is shared by high-availability cache server, sends the data content of the local standby server of storage to strange land standby server, updates the data of strange land standby server.
Preferably, in described high-availability cache server, storage has data cached, shares file, and user session is data cached and data content common between master server, local standby server and strange land standby server.
The present invention also provides for disaster tolerance under a kind of High Availabitity framework and synchronizes system, and this system includes:
Master server;
The local standby server of master server and strange land standby server;
High-availability cache server, the data content updated in acquisition master server in real time also stores;The data content of the renewal of the master server of storage is shared, described data content is sent the local standby server to master server and strange land standby server, synchronized update this locality standby server and the data of strange land standby server.
Preferably, the region location of described high-availability cache server is arranged between local standby server and strange land standby server.
Preferably, described local standby server is for when master server delays machine, and adapter master server, the storage data syn-chronization before machine of being delayed by master server is to local standby server.
Preferably, described high-availability cache server is additionally operable to when master server delays machine, obtains the data content in local standby server and stores;The data content of the local standby server of storage is shared, the data content of the local standby server of storage is sent to strange land standby server, updates the data of strange land standby server.
Preferably, in described high-availability cache server, storage has data cached, shares file, and user session is data cached and data content common between master server, local standby server and strange land standby server.
Disaster tolerance synchronous method and system under a kind of High Availabitity framework provided by the present invention, high-availability cache server obtains the data content updated in master server in real time and stores;The data content of the renewal of the master server of storage is shared by high-availability cache server, described data content is sent the local standby server to master server and strange land standby server, synchronized update this locality standby server and the data of strange land standby server.Visible, during data disaster tolerance, need not master server and the data of renewal are sent in real time local backup server and remote backup server, but use high-availability cache server to share the data content updated in master server, the region location of high-availability cache server is arranged between local standby server and strange land standby server, effectively saving network flow, reduce the flow repeated, and carried out data sharing by high-availability cache server, server i.e. this locality standby server and the strange land standby server that need not load balancing everywhere is mutually in step data again, also it is not concerned about some server simultaneously and delays after machine, affect data buffer storage and share.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in describing below is only embodiments of the invention, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to the accompanying drawing provided.
Fig. 1 is the flow chart of disaster tolerance synchronous method under a kind of High Availabitity framework provided by the present invention;
Fig. 2 is server architecture schematic diagram in the present invention;
Fig. 3 is the structural representation that under a kind of High Availabitity framework provided by the present invention, disaster tolerance synchronizes system.
Detailed description of the invention
The core of the present invention is to provide disaster tolerance synchronous method and system under a kind of High Availabitity framework, to realize effective saving network flow.
In order to make those skilled in the art be more fully understood that the present invention program, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art are obtained under not making creative work premise, broadly fall into the scope of protection of the invention.
Refer to Fig. 1, Fig. 1 is the flow chart of disaster tolerance synchronous method under a kind of High Availabitity framework provided by the present invention, and the method includes:
S11: high-availability cache server obtains the data content updated in master server in real time and stores;
S12: the data content of the renewal of the master server of storage is shared by high-availability cache server, data content is sent the local standby server to master server and strange land standby server, synchronized update this locality standby server and the data of strange land standby server.
Visible, during data disaster tolerance, the method need not master server and the data of renewal be sent to local backup server and remote backup server in real time, but use high-availability cache server to share the data content updated in master server, the region location of high-availability cache server is arranged between local standby server and strange land standby server, effectively saving network flow, reduce the flow repeated, and carried out data sharing by high-availability cache server, server i.e. this locality standby server and the strange land standby server that need not load balancing everywhere is mutually in step data again, also it is not concerned about some server simultaneously and delays after machine, affect data buffer storage and share.
Based on said method, concrete, the region location of high-availability cache server is arranged between local standby server and strange land standby server.
Described method also includes: when master server delays machine, local standby server adapter master server, and the storage data syn-chronization before machine of being delayed by master server is to local standby server.
Wherein, after the storage data syn-chronization before machine of being delayed by master server to local standby server, high-availability cache server obtains the data content in local standby server and stores;The data content of the local standby server of storage is shared by high-availability cache server, sends the data content of the local standby server of storage to strange land standby server, updates the data of strange land standby server.
Concrete, in high-availability cache server, storage has data cached, shares file, and user session is data cached and data content common between master server, local standby server and strange land standby server.
Based on said method, in specific implementation process, build high-availability cache server at public network.Caching, shared file, even user's logon data are all left on high-availability cache server.By the high-availability cache server built, effectively reduce file synchronization, Cache Design and the long-distance disaster that produces and the repetition flow produced.
General, 2 mysql servers are in activestandby state, and when having no progeny in A server, B server can take over the work of A server, and, if B server cannot be started in the very first time.B server returns to a stl status before A server interrupts.To ensure that B service can normally start.Mysql server is active and standby service, and if after server of mysql hangs, owing to NFS is the catalogue of same storage, it is more likely that be that another mysql server can not normally start.If running into this situation, it is necessary to standby mysql is set single program, to ensure in the case of cannot directly initiating, it is possible to return back to a stl status before collapse, finally can start up smoothly.
In this method, in specific implementation process, under the conditions of High Availabitity framework, individually set up data storage and the high-availability cache server of caching mechanism, by between each main frame of each High Availabitity or load balancing, common content is stored in caching high-availability cache server architecture.Advantage of this is that, caching or the bigger file of variation can be made to be shared, meanwhile, when High Availabitity changes, there is no the generation of any delay and added flow.By setting up independent high-availability cache server, all data cached and shared file in High Availabitity framework, place in high-availability cache server, the data in high-availability cache server calls standby usage server, reach the purpose of data sharing.High-availability cache server can be built on external network, it is not necessary to builds inside some local, and the region location of high-availability cache server is arranged between local standby server and strange land standby server, so can effectively reduce the flow of repetition.
Use this method, the high availability scheme in the case of network delay or server power-off suddenly can be optimized further, make High Availabitity have lifting further at secure data area.
In specific implementation process, build high-availability cache server at public network.High Availabitity service architecture, by data cached, the file shared, even user session caching is also placed on high-availability cache server.For the high availability scheme of disaster tolerance type, after data sharing, it is not necessary to the server of load balancing everywhere, then it is mutually in step data, is also not concerned about some server simultaneously and delays after machine, affect data buffer storage and shared.
Implement Organization Chart as shown in Figure 2, A, B, C, D are all High Availabitity server architecture, B is the local standby server of A, C, D are that the strange land of A, B is standby, i.e. C, D is the strange land standby server of A, and it is standby that A, B and C, D constitute strange land calamity, and E is to build at the caching of public network and shared high-availability cache server, running for these four servers of A, B, C, D provides storage and buffer service, can effectively reduce the data traffic between A, B and C, D and simultaneously operating.
Refer to Fig. 3, Fig. 3 is the structural representation that under a kind of High Availabitity framework provided by the present invention, disaster tolerance synchronizes system, and this system includes:
Master server 101;
The local standby server 102 of master server and strange land standby server 103;
High-availability cache server 104, the data content updated in acquisition master server in real time also stores;The data content of the renewal of the master server of storage is shared, data content is sent the local standby server to master server and strange land standby server, synchronized update this locality standby server and the data of strange land standby server.
Visible, during data disaster tolerance, this system need not master server and the data of renewal be sent to local backup server and remote backup server in real time, but use high-availability cache server to share the data content updated in master server, the region location of high-availability cache server is arranged between local standby server and strange land standby server, effectively saving network flow, reduce the flow repeated, and carried out data sharing by high-availability cache server, server i.e. this locality standby server and the strange land standby server that need not load balancing everywhere is mutually in step data again, also it is not concerned about some server simultaneously and delays after machine, affect data buffer storage and share.
Based on said system, concrete, the region location of high-availability cache server is arranged between local standby server and strange land standby server.
Wherein, local standby server is for when master server delays machine, and adapter master server, the storage data syn-chronization before machine of being delayed by master server is to local standby server.
Wherein, high-availability cache server is additionally operable to when master server delays machine, obtains the data content in local standby server and stores;The data content of the local standby server of storage is shared, the data content of the local standby server of storage is sent to strange land standby server, updates the data of strange land standby server.
Concrete, in high-availability cache server, storage has data cached, shares file, and user session is data cached and data content common between master server, local standby server and strange land standby server.
In this device, under the conditions of High Availabitity framework, individually setting up data storage and the high-availability cache server of caching mechanism, by between each main frame of each High Availabitity or load balancing, common content is stored in caching high-availability cache server architecture.Advantage of this is that, caching or the bigger file of variation can be made to be shared, meanwhile, when High Availabitity changes, there is no the generation of any delay and added flow.By setting up independent high-availability cache server, all data cached and shared file in High Availabitity framework, place in high-availability cache server, the data in high-availability cache server calls standby usage server, reach the purpose of data sharing.High-availability cache server can be built on external network, it is not necessary to builds inside some local, and the region location of high-availability cache server is arranged between local standby server and strange land standby server, so can effectively reduce the flow of repetition.
Use this device, the high availability scheme in the case of network delay or server power-off suddenly can be optimized further, make High Availabitity have lifting further at secure data area.
To sum up, disaster tolerance synchronous method and system under a kind of High Availabitity framework provided by the present invention, high-availability cache server obtains the data content updated in master server in real time and stores;The data content of the renewal of the master server of storage is shared by high-availability cache server, and data content is sent the local standby server to master server and strange land standby server, synchronized update this locality standby server and the data of strange land standby server.Visible, during data disaster tolerance, need not master server and the data of renewal are sent in real time local backup server and remote backup server, but use high-availability cache server to share the data content updated in master server, the region location of high-availability cache server is arranged between local standby server and strange land standby server, effectively saving network flow, reduce the flow repeated, and carried out data sharing by high-availability cache server, server i.e. this locality standby server and the strange land standby server that need not load balancing everywhere is mutually in step data again, also it is not concerned about some server simultaneously and delays after machine, affect data buffer storage and share.
Above disaster tolerance synchronous method and system under a kind of High Availabitity framework provided by the present invention are described in detail.Principle and the embodiment of the present invention are set forth by specific case used herein, and the explanation of above example is only intended to help to understand method and the core concept thereof of the present invention.It should be pointed out that, for those skilled in the art, under the premise without departing from the principles of the invention, it is also possible to the present invention is carried out some improvement and modification, these improve and modify in the protection domain also falling into the claims in the present invention.
Claims (10)
1. disaster tolerance synchronous method under a High Availabitity framework, it is characterised in that including:
High-availability cache server obtains the data content updated in master server in real time and stores;
The data content of the renewal of the master server of storage is shared by high-availability cache server, described data content is sent the local standby server to master server and strange land standby server, synchronized update this locality standby server and the data of strange land standby server.
2. the method for claim 1, it is characterised in that the region location of described high-availability cache server is arranged between local standby server and strange land standby server.
3. the method for claim 1, it is characterised in that also include:
When master server delays machine, local standby server adapter master server, the storage data syn-chronization before machine of being delayed by master server is to local standby server.
4. method as claimed in claim 3, it is characterised in that after the storage data syn-chronization before machine that master server is delayed to local standby server, also include:
High-availability cache server obtains the data content in local standby server and stores;
The data content of the local standby server of storage is shared by high-availability cache server, sends the data content of the local standby server of storage to strange land standby server, updates the data of strange land standby server.
5. the method as described in any one in Claims 1-4, in described high-availability cache server, storage has data cached, shares file, and user session is data cached and data content common between master server, local standby server and strange land standby server.
6. under a High Availabitity framework, disaster tolerance synchronizes system, it is characterised in that including:
Master server;
The local standby server of master server and strange land standby server;
High-availability cache server, the data content updated in acquisition master server in real time also stores;The data content of the renewal of the master server of storage is shared, described data content is sent the local standby server to master server and strange land standby server, synchronized update this locality standby server and the data of strange land standby server.
7. system as claimed in claim 6, it is characterised in that the region location of described high-availability cache server is arranged between local standby server and strange land standby server.
8. system as claimed in claim 6, it is characterised in that described local standby server is for when master server delays machine, and adapter master server, the storage data syn-chronization before machine of being delayed by master server is to local standby server.
9. system as claimed in claim 8, it is characterised in that described high-availability cache server is additionally operable to when master server delays machine, obtains the data content in local standby server and stores;The data content of the local standby server of storage is shared, the data content of the local standby server of storage is sent to strange land standby server, updates the data of strange land standby server.
10. the system as described in any one in claim 6 to 9, it is characterized in that, in described high-availability cache server, storage has data cached, shares file, and user session is data cached and data content common between master server, local standby server and strange land standby server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610365950.3A CN105827738A (en) | 2016-05-27 | 2016-05-27 | Disaster recovery synchronization method under high availability architecture and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610365950.3A CN105827738A (en) | 2016-05-27 | 2016-05-27 | Disaster recovery synchronization method under high availability architecture and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105827738A true CN105827738A (en) | 2016-08-03 |
Family
ID=56531407
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610365950.3A Pending CN105827738A (en) | 2016-05-27 | 2016-05-27 | Disaster recovery synchronization method under high availability architecture and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105827738A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106452694A (en) * | 2016-09-23 | 2017-02-22 | 郑州云海信息技术有限公司 | Remote station disaster recovery method and device |
CN106452864A (en) * | 2016-09-30 | 2017-02-22 | 北京悦畅科技有限公司 | Parking lot fault protection method, apparatus and system thereof |
WO2019006923A1 (en) * | 2017-07-01 | 2019-01-10 | 深圳市前海安测信息技术有限公司 | Chronic disease file backup apparatus and method based on voice recognition |
CN109426588A (en) * | 2017-08-28 | 2019-03-05 | 中兴通讯股份有限公司 | Realize that the method and system of data protection, data distribution handle module |
CN110321386A (en) * | 2019-07-05 | 2019-10-11 | 中国工商银行股份有限公司 | Setting, data reconstruction method and the system of data synchronous architecture |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060259553A1 (en) * | 2003-02-03 | 2006-11-16 | Jun Kawakita | Synchronization program |
CN101102219A (en) * | 2007-07-30 | 2008-01-09 | 华为技术有限公司 | Software update system and software update method |
CN102629903A (en) * | 2011-12-21 | 2012-08-08 | 奇智软件(北京)有限公司 | System and method for disaster recovery in internet application |
CN105554143A (en) * | 2015-12-25 | 2016-05-04 | 浪潮(北京)电子信息产业有限公司 | High-availability cache server and data processing method and system thereof |
-
2016
- 2016-05-27 CN CN201610365950.3A patent/CN105827738A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060259553A1 (en) * | 2003-02-03 | 2006-11-16 | Jun Kawakita | Synchronization program |
CN101102219A (en) * | 2007-07-30 | 2008-01-09 | 华为技术有限公司 | Software update system and software update method |
CN102629903A (en) * | 2011-12-21 | 2012-08-08 | 奇智软件(北京)有限公司 | System and method for disaster recovery in internet application |
CN105554143A (en) * | 2015-12-25 | 2016-05-04 | 浪潮(北京)电子信息产业有限公司 | High-availability cache server and data processing method and system thereof |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106452694A (en) * | 2016-09-23 | 2017-02-22 | 郑州云海信息技术有限公司 | Remote station disaster recovery method and device |
CN106452864A (en) * | 2016-09-30 | 2017-02-22 | 北京悦畅科技有限公司 | Parking lot fault protection method, apparatus and system thereof |
WO2019006923A1 (en) * | 2017-07-01 | 2019-01-10 | 深圳市前海安测信息技术有限公司 | Chronic disease file backup apparatus and method based on voice recognition |
CN109426588A (en) * | 2017-08-28 | 2019-03-05 | 中兴通讯股份有限公司 | Realize that the method and system of data protection, data distribution handle module |
WO2019042142A1 (en) * | 2017-08-28 | 2019-03-07 | 中兴通讯股份有限公司 | Method and system for implementing data protection, and data distribution processing apparatus |
CN109426588B (en) * | 2017-08-28 | 2023-03-14 | 中兴通讯股份有限公司 | Method and system for realizing data protection and data distribution processing module |
CN110321386A (en) * | 2019-07-05 | 2019-10-11 | 中国工商银行股份有限公司 | Setting, data reconstruction method and the system of data synchronous architecture |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105827738A (en) | Disaster recovery synchronization method under high availability architecture and system | |
US10713135B2 (en) | Data disaster recovery method, device and system | |
CN109831500B (en) | Synchronization method for configuration file and Pod in Kubernetes cluster | |
US9954725B2 (en) | Redundant storage solution | |
CN110140119A (en) | System and method for managing cache server cluster | |
CN105187464B (en) | Method of data synchronization, apparatus and system in a kind of distributed memory system | |
CN109815248B (en) | Zookeeper-based distributed architecture data consistency method | |
WO2017097011A1 (en) | Session synchronization method based on instant copy between cluster nodes | |
CN104468397B (en) | The method and apparatus that a kind of live migration of virtual machine forwards not packet loss | |
CN109753364A (en) | A kind of implementation method, equipment and the medium of network-based distributed lock | |
US9582559B1 (en) | Multi-site storage system with replicated file system synchronization utilizing virtual block storage appliances | |
CN105554106A (en) | Memcache distributed caching system | |
CN104618508A (en) | Load balancing net framework based on Nginx, Memcached and Tomcat | |
CN105630589A (en) | Distributed process scheduling system and process scheduling and execution method | |
CN106250228B (en) | The method and device that virtual machine entity thermophoresis network smoothly switches | |
CN103297543A (en) | Job scheduling method based on computer cluster | |
CN106603696A (en) | High-availability system based on hyper-converged infrastructure | |
US20160170783A1 (en) | Near cache distribution in in-memory data grid (imdg)(no-sql) environments | |
CN105554143A (en) | High-availability cache server and data processing method and system thereof | |
CN102523109A (en) | Resource state updating method, management client ends, and server | |
CN108881379B (en) | Method and device for data synchronization between server clusters | |
CN103986789A (en) | Method for realizing dual redundant of NFS (network file system) nodes in HADOOP HA (home address) cluster based on NFS | |
CN113535391A (en) | Distributed cluster state information management method and system of cross-domain large data platform | |
CN111147312B (en) | Resource allocation management method and device, resource allocation cache management method and device, and allocation management system | |
CN109621408A (en) | A kind of game server scene process load-balancing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into 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: 20160803 |