CN115599606B - Method, device and medium for generating disaster recovery switching scheme - Google Patents
Method, device and medium for generating disaster recovery switching scheme Download PDFInfo
- Publication number
- CN115599606B CN115599606B CN202211429885.8A CN202211429885A CN115599606B CN 115599606 B CN115599606 B CN 115599606B CN 202211429885 A CN202211429885 A CN 202211429885A CN 115599606 B CN115599606 B CN 115599606B
- Authority
- CN
- China
- Prior art keywords
- disaster recovery
- deployment
- switching
- target
- recovery system
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000011084 recovery Methods 0.000 title claims abstract description 250
- 238000000034 method Methods 0.000 title claims abstract description 55
- 230000008569 process Effects 0.000 claims abstract description 21
- 230000005477 standard model Effects 0.000 claims description 55
- 230000005540 biological transmission Effects 0.000 claims description 7
- 238000005553 drilling Methods 0.000 claims description 3
- 238000012423 maintenance Methods 0.000 abstract description 4
- 238000004458 analytical method Methods 0.000 abstract description 2
- 238000010219 correlation analysis Methods 0.000 abstract 1
- 238000009434 installation Methods 0.000 abstract 1
- 238000004590 computer program Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 5
- 230000008901 benefit Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 238000007689 inspection Methods 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 206010033799 Paralysis Diseases 0.000 description 1
- 230000002411 adverse Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000012800 visualization Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
- G06F11/1469—Backup restoration techniques
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Hardware Redundancy (AREA)
Abstract
The application relates to the field of computer systems based on specific computing models, and discloses a method, equipment and a medium for generating a disaster recovery switching scheme, wherein the method comprises the following steps: confirming a target disaster recovery system corresponding to the target generation task, and acquiring basic data of the target disaster recovery system; the basic data at least comprises system data and application data of a target disaster recovery system; determining a deployment mode and a switching strategy of a target disaster recovery system according to the basic data; configuring logic node information of a target disaster recovery system according to a deployment mode and a switching strategy; and generating a disaster recovery switching scheme of the target disaster recovery system according to the disaster recovery switching algorithm, the deployment mode and the switching strategy. Fast application installation and accurate system configuration can be performed through a relevant deployment architecture. Meanwhile, staff can rely on the related deployment architecture to perform event impact analysis and system correlation analysis in the daily operation and maintenance process, and rapid fault positioning is accelerated.
Description
Technical Field
The present application relates to the field of computer systems based on specific computing models, and in particular, to a method, a device, and a medium for generating a disaster recovery switching scheme.
Background
The disaster backup system is characterized in that two or more IT systems with the same function are established in different places far away from each other, just like backup, when one system has problems, a preset disaster backup switching scheme can be started, and the system service operation is maintained through the other system.
In the prior art, when a disaster recovery switching scheme is generated, a specific generation manner is as follows: the method comprises the steps that a plurality of working personnel face different switching scenes according to self experiences, application or data related to production services needing to be switched are set in advance, meanwhile, necessary inspection measures and the like corresponding to different switching results are set, and due to the fact that thousands of operations such as environment inspection, application starting and result inspection and the like on a plurality of layers such as storage, a database and application are designed in each disaster recovery switching scheme, the efficiency of the disaster recovery switching scheme is low, and the disaster recovery switching scheme is prone to being overlooked due to the subjective problems of the working personnel.
Disclosure of Invention
In order to solve the above problem, the present application provides a method, a device, and a medium for generating a disaster recovery switching scheme, where the method includes:
confirming a target disaster recovery system corresponding to a target generation task, and acquiring basic data of the target disaster recovery system; the basic data at least comprises system data and application data of the target disaster recovery system; determining a deployment mode and a switching strategy of the target disaster recovery system according to the basic data; configuring logic node information of the target disaster recovery system according to the deployment mode and the switching strategy; and generating a disaster recovery switching scheme of the target disaster recovery system according to a disaster recovery switching algorithm, the deployment mode and the switching strategy.
In one example, the determining a deployment mode and a switching policy of the target disaster recovery system according to the basic data specifically includes: determining the running application type of the target disaster recovery system according to the application data; determining a deployment standard model of the target disaster recovery system according to the operation application type and the system data; determining the central level of each disaster recovery center in the target disaster recovery system; and determining a switching strategy of the target disaster recovery system and a deployment mode of each disaster recovery center in the target disaster recovery system according to the center level and the deployment standard model.
In one example, before determining the deployment standard model of the target disaster recovery system according to the running application type and the system data, the method further includes: according to a preset parameter configuration threshold value, generating a plurality of deployment standard models of the disaster recovery system; the parameter type in the parameter configuration threshold comprises at least one of a transaction ratio, an access flow and a resource ratio; and clustering the parameter configuration schemes respectively corresponding to the deployment standard models, and storing clustering results in a database.
In one example, the determining a deployment standard model of the target disaster recovery system according to the type of the running application and the system data specifically includes: determining a first deployment standard model of the target disaster recovery system according to the running application type and the recommended application type of the deployment standard model; clustering the system data to determine a second deployment standard model corresponding to the clustering of the system data of the target disaster recovery system; and determining the deployment standard model of the target disaster recovery system according to the first deployment standard model, the second deployment standard model and a preset proportion.
In an example, the generating a disaster-backup switching scheme of the target disaster-backup system according to the disaster-backup switching algorithm, the deployment mode, and the switching policy specifically includes: determining a switching strategy of the target disaster recovery system and a deployment mode of each disaster recovery center in the target disaster recovery system; determining the data transmission direction of each disaster backup center in the disaster backup switching process according to the switching strategy of the target disaster backup system; determining a deployment mode of a local end disaster-backup center and a deployment mode of an opposite end disaster-backup center in the disaster-backup switching process according to the data transmission direction; and determining a connection relation between a local terminal interface and an opposite terminal deployment unit according to the local terminal disaster recovery standby center deployment mode and the opposite terminal disaster recovery standby center deployment mode so as to obtain a disaster recovery standby switching scheme of the target disaster recovery standby system.
In one example, after the generating the disaster-backup switching scheme of the target disaster-backup system, the method further includes: visualizing the disaster recovery switching scheme to generate a disaster recovery switching view, and marking server data in the disaster recovery switching view; the server data comprises at least one of configuration parameter information and running state information of an application server in the target disaster recovery center; responding to a received system disaster recovery switching task triggering instruction; and executing a disaster backup switching task in the disaster backup system according to the disaster backup switching scheme.
In an example, the executing, according to the disaster-backup switching scheme, a disaster-backup switching task in the disaster-backup system specifically includes: determining the access relation between the local disaster recovery center and the deployment units of other disaster recovery centers in the disaster recovery switching process according to the switching strategy in the disaster recovery switching scheme and the deployment mode of each disaster recovery center; the switching strategy comprises at least one of a first switching strategy, a second switching strategy and a third switching strategy; the disaster recovery center executing the first switching strategy can only access the deployment unit of the disaster recovery center; the disaster recovery center executing the second switching strategy can access the deployment units of other disaster recovery centers according to the application running requirements; and the disaster recovery center executing the third switching strategy can simultaneously access the deployment units of a plurality of disaster recovery centers.
In one example, the deployment mode includes at least one of a first mode, a second mode, and a third mode; the disaster recovery center with the deployment mode being the first mode is used for providing service operation for the outside; the disaster recovery center with the deployment mode being the second mode is used for bearing the switching of a single application fault scene; and the disaster recovery center with the deployment mode being the third mode is used for simulating drilling and overall disaster recovery switching.
The present application further provides a device for generating a disaster recovery switching scheme, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to: confirming a target disaster recovery system corresponding to a target generation task, and acquiring basic data of the target disaster recovery system; the basic data at least comprises system data and application data of the target disaster recovery system; determining a deployment mode and a switching strategy of the target disaster recovery system according to the basic data; configuring logic node information of the target disaster recovery system according to the deployment mode and the switching strategy; and generating a disaster recovery and backup switching scheme of the target disaster recovery and backup system through a disaster recovery and backup switching algorithm, the deployment mode and the switching strategy.
The present application further provides a non-volatile computer storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured to: confirming a target disaster recovery system corresponding to a target generation task, and acquiring basic data of the target disaster recovery system; the basic data at least comprises system data and application data of the target disaster recovery system; determining a deployment mode and a switching strategy of the target disaster recovery system according to the basic data; configuring logic node information of the target disaster recovery system according to the deployment mode and the switching strategy; and generating a disaster recovery switching scheme of the target disaster recovery system according to a disaster recovery switching algorithm, the deployment mode and the switching strategy.
According to the method, the disaster recovery switching scheme of the target disaster recovery system can be generated according to the basic data of the imported target disaster recovery system, and due to the fact that the process of manual generation is reduced, a large amount of manpower can be saved, the generation efficiency is high, the accuracy rate is high, and the adverse effect of disaster faults on operation of an application system is reduced.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic flowchart of a method for generating a disaster recovery switching scheme in an embodiment of the present application;
fig. 2 is a schematic structural diagram of a device for generating a disaster recovery switching scheme in an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, the technical solutions of the present application will be clearly and completely described below with reference to specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Fig. 1 is a schematic flowchart of a method for generating a disaster recovery handover scheme according to one or more embodiments of the present disclosure. The process may be performed by computing devices in the respective domains, with certain input parameters or intermediate results in the process allowing for manual intervention adjustments to help improve accuracy. The analysis method according to the embodiment of the present application may be implemented by a terminal device or a server, and the present application is not limited to this. For convenience of understanding and description, the following embodiments are described in detail by taking a server as an example.
It should be noted that the server may be a single device, or may be a system composed of multiple devices, that is, a distributed server, which is not specifically limited in this application.
As shown in fig. 1, an embodiment of the present application provides a method, including:
s101: confirming a target disaster recovery system corresponding to a target generation task, and acquiring basic data of the target disaster recovery system; the basic data at least comprises system data and application data of the target disaster recovery system.
Firstly, a target disaster recovery system needing to generate a disaster recovery switching scheme is determined, wherein the target disaster recovery system refers to a system formed by a plurality of disaster recovery centers. Basic data of the target disaster-backup system is then obtained, wherein the basic data at least comprises system data and application data of the target disaster-backup system. The system data and the application data are data that can be directly acquired.
The basic data may be stored in a storage device of the computer device in advance, and when the disaster recovery switching scheme needs to be generated, the computer device may select the basic data from the storage device. Of course, the computer device may also obtain the underlying data from other external devices. For example, the basic data is stored in the cloud, and when a disaster recovery switching scheme needs to be generated, the computer device may obtain the basic data from the cloud.
S102: and determining a deployment mode and a switching strategy of the target disaster recovery system according to the basic data.
After the basic data of the target disaster recovery system is acquired, the deployment mode and the switching strategy of the target disaster recovery system need to be determined. The deployment mode refers to the deployment mode of different disaster backup centers in a disaster backup system, taking a traditional main backup mode as an example, in the deployment mode, a service is operated only in one disaster backup center, an enterprise deploys a large number of backup servers in the backup center by combining disaster backup level requirements and service requirements, but the backup center only provides disaster backup services for the service, and only when a disaster occurs and a production data center is paralyzed, the service system of the disaster backup center starts the servers, so that the resource waste of the servers of the backup center is caused, and a wide area network link cannot be fully utilized. The distributed dual-active data center can simultaneously run the same type of service distributed in a plurality of data centers, and can also distribute one service to run in different data centers in a layering manner. If one data center is interrupted, other data centers can still independently respond to the service, and the service switching is not perceived by users. The switching strategy refers to the connection relation between the disaster recovery center and other disaster recovery centers in the process of executing disaster recovery switching.
In one embodiment, when determining the deployment mode and the switching policy of the target disaster recovery system according to the basic data, firstly, the running application type of the target disaster recovery system needs to be determined according to the application data corresponding to the target disaster recovery system in the basic data. The running application type herein refers to the type of application that each disaster recovery center runs. Such as channel type applications, core online transaction systems, non-core big data type applications, etc. And determining a deployment standard model of the target disaster recovery system according to the operation application type and the system data. The deployment standard models are set in advance, are large in number and are respectively suitable for deployment models of different types of disaster recovery systems. And then determining the central level of each disaster recovery center in the target disaster recovery system, wherein the central level can be directly determined according to basic data of the disaster recovery center when the central level is determined. If the disaster recovery system has a disaster recovery center at the level of the main data center, and also has a disaster recovery center at the level of the standby data center. And finally, determining a switching strategy of the target disaster recovery system and a deployment mode of each disaster recovery center according to the center level and the deployment standard model.
Further, before determining a deployment standard model of the target disaster recovery system according to the running application type and the system data, a deployment standard model needs to be generated, and when the deployment standard model is generated, the deployment standard model needs to be generated according to preset thresholds corresponding to parameters such as transaction ratio, access flow, resource ratio, switching strategy and the like. After the deployment standard model is generated, clustering operation needs to be performed on the parameter configuration scheme corresponding to the model, so that a plurality of parameter configuration clusters are generated, and finally, clustering results are stored in a database.
Furthermore, when the deployment standard model of the target disaster recovery system is selected according to the operation application type and the system data, firstly, a first deployment standard model of the target disaster recovery system is determined according to the operation application type of the target disaster recovery system and the opinion application type of the deployment standard model; then, clustering the system data of the target disaster recovery system to determine a second deployment standard model corresponding to the clustering of the system data of the target disaster recovery system; and then determining a deployment standard model of the target disaster recovery system according to the first deployment standard model, the second deployment standard model and a preset proportion.
S103: and configuring the logic node information of the target disaster recovery system according to the deployment mode and the switching strategy.
After the deployment mode and the switching strategy of the target disaster recovery system are obtained, data maintenance needs to be performed on the logic nodes according to the deployment mode and the switching strategy, that is, information of the logic nodes is completely supplemented, that is, the deployment mode and the switching strategy in the logic node information, interface information, access relations between the logic nodes, configuration parameters and other information need to be supplemented.
S104: and generating a disaster recovery switching scheme of the target disaster recovery system according to a disaster recovery switching algorithm, the deployment mode and the switching strategy.
After the data maintenance is completed, a disaster recovery switching algorithm needs to be called, and a disaster recovery switching scheme of the target disaster recovery system is generated according to the deployment mode and the switching strategy.
In an embodiment, when generating the disaster recovery switching scheme of the target disaster recovery system, first, a switching policy of the target disaster recovery system and a deployment mode of each disaster recovery center in the target disaster recovery system need to be determined, then, a data transmission direction of each disaster recovery center in the disaster recovery switching process is determined according to the switching policy of the target disaster recovery system, then, a deployment mode of the local terminal disaster recovery center and a deployment mode of the opposite terminal disaster recovery center in the disaster recovery switching process are determined according to the data transmission direction, and finally, a connection relationship between the local terminal interface and the opposite terminal deployment unit is determined according to the deployment mode of the local terminal disaster recovery center and the deployment mode of the opposite terminal disaster recovery center, so that the disaster recovery switching scheme of the target disaster recovery system is obtained.
In an embodiment, after the disaster recovery switching scheme is generated, in order to facilitate mutual understanding and effective connection of services, development, operation and maintenance, the disaster recovery switching scheme may be visualized, so that a disaster recovery switching view of an application may be viewed at a visualization end, and in addition, server data may be marked in the disaster recovery switching view, where the server data includes at least one of configuration parameter information and running state information of an application server in a target disaster recovery center.
When the disaster recovery switching scheme is used, firstly, a received system disaster recovery switching task triggering instruction needs to be responded, and then the disaster recovery switching task is executed in the disaster recovery system according to the disaster recovery switching scheme. In the course of the execution of the task,
according to a switching strategy in a disaster recovery switching scheme and a deployment mode of each disaster recovery center, determining an access relation between deployment units of a local disaster recovery center and other disaster recovery centers in a disaster recovery switching process, thereby completing a disaster recovery switching task. The switching policy is exemplified by a first switching policy (LO), a second switching policy (AO), and a third switching policy:
the disaster recovery center executing the first switching strategy can only access the deployment unit of the disaster recovery center, so that the method has the advantages of reducing the working content of interface switching, realizing the integral switching of the application only by controlling the external interface switching, and being beneficial to the integral switching of the application. The disadvantage is that the deployment unit needs to be switched with the visitor to realize failure recovery when the deployment unit fails.
The disaster recovery center executing the second switching strategy can access the deployment units of other disaster recovery centers according to the running application requirements, and has the advantages that the deployment units (ADUs) can be flexibly switched, for example, the DNS that the double-center WEB points to the active AP of a certain center, if the AP fails, the DNS is responsible for pointing the IP to the normal AP, so that the recovery can be realized, and the recovery speed is improved. The disadvantages are that: if overall faults occur or more units are deployed, more switching actions of the whole physical subsystem are performed.
The disaster recovery center executing the third switching strategy can simultaneously access the deployment units of a plurality of disaster recovery centers, and the model requires that the interfaces have automatic detection capability and has the advantage of automatic switching; the premise is that stateless applications are required to support the random switching capability of services.
The deployment modes are exemplified by a first deployment mode (A-Active, A mode), a second deployment mode (S-StandBy, S mode), and a third deployment mode (C-Cold, C mode): wherein the first deployment mode provides service operation to the outside. The second deployment mode carries the switching of a single application failure scene, such as emergent switching of a certain accidental application and database exception. The third deployment mode is used for simulation drilling and overall disaster recovery switching, so all configuration interfaces are Local.
On the basis of the three deployment modes, the deployment standard model can be an AAC deployment model, namely, two data centers are the first deployment mode and the other data center is the third deployment mode in the data centers of the two places and the three centers. In addition, the method can also be an ASC deployment standard model, an AS deployment standard model and the like.
On the basis of the three deployment modes and the three switching strategies, the disaster recovery switching algorithm is shown in the following table:
the above table is illustrated by way of example: when the deployment mode of the local terminal is A:
the connection relation between the home terminal interface and the deployment unit is connection; when the opposite terminal mode A is adopted, the connection between the interface and the deployment unit is none, switching and connection respectively; when the opposite terminal mode S is adopted, the connection between the interface and the deployment unit is respectively none, switching and switching; when the terminal mode C is used, the connection between the interface and the deployment unit is none.
As shown in fig. 2, an embodiment of the present application further provides a device for generating a disaster recovery switching scheme, where the device includes:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
confirming a target disaster recovery system corresponding to a target generation task, and acquiring basic data of the target disaster recovery system; the basic data at least comprises system data and application data of the target disaster recovery system; determining a deployment mode and a switching strategy of the target disaster recovery system according to the basic data; configuring logic node information of the target disaster recovery system according to the deployment mode and the switching strategy; and generating a disaster recovery switching scheme of the target disaster recovery system according to a disaster recovery switching algorithm, the deployment mode and the switching strategy.
An embodiment of the present application further provides a non-volatile computer storage medium storing computer-executable instructions, where the computer-executable instructions are configured to:
confirming a target disaster recovery system corresponding to a target generation task, and acquiring basic data of the target disaster recovery system; the basic data at least comprises system data and application data of the target disaster recovery system; determining a deployment mode and a switching strategy of the target disaster recovery system according to the basic data; configuring logic node information of the target disaster recovery system according to the deployment mode and the switching strategy; and generating a disaster recovery switching scheme of the target disaster recovery system according to a disaster recovery switching algorithm, the deployment mode and the switching strategy.
The embodiments in the present application are described in a progressive manner, and the same and similar parts among the embodiments can be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the device and media embodiments, the description is relatively simple as it is substantially similar to the method embodiments, and reference may be made to some descriptions of the method embodiments for relevant points.
The device and the medium provided by the embodiment of the application correspond to the method one by one, so the device and the medium also have the beneficial technical effects similar to the corresponding method.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims (8)
1. A method for generating a disaster recovery switching scheme is characterized by comprising the following steps:
confirming a target disaster recovery system corresponding to a target generation task, and acquiring basic data of the target disaster recovery system; the basic data at least comprises system data and application data of the target disaster recovery system;
determining a deployment mode and a switching strategy of the target disaster recovery system according to the basic data;
configuring logic node information of the target disaster recovery system according to the deployment mode and the switching strategy; the deployment mode is a deployment mode of different disaster recovery centers in the disaster recovery system; the switching strategy is the connection relation between the disaster recovery center and other disaster recovery centers in the disaster recovery switching process;
generating a disaster recovery switching scheme of the target disaster recovery system according to a disaster recovery switching algorithm, the deployment mode and the switching strategy; the disaster recovery switching algorithm is a connection relation between disaster recovery centers under a specified deployment mode and a switching strategy;
the determining a deployment mode and a switching strategy of the target disaster recovery system according to the basic data specifically includes:
determining the running application type of the target disaster recovery system according to the application data;
determining a deployment standard model of the target disaster recovery system according to the operation application type and the system data; the deployment standard model is a preset deployment model;
determining the central level of each disaster recovery center in the target disaster recovery system;
determining a switching strategy of the target disaster recovery system and a deployment mode of each disaster recovery center in the target disaster recovery system according to the center level and the deployment standard model;
before determining the deployment standard model of the target disaster recovery system according to the running application type and the system data, the method further includes:
according to a preset parameter configuration threshold value, generating a plurality of deployment standard models of the disaster recovery system; the parameter type in the parameter configuration threshold comprises at least one of a transaction ratio, an access flow and a resource ratio;
and clustering the parameter configuration schemes respectively corresponding to the deployment standard models, and storing clustering results in a database.
2. The method according to claim 1, wherein the determining a deployment standard model of the target disaster recovery system according to the type of the running application and the system data specifically comprises:
determining a first deployment standard model of the target disaster recovery system according to the running application type and the recommended application type of the deployment standard model;
clustering the system data to determine a second deployment standard model corresponding to the clustering of the system data of the target disaster recovery system;
and determining the deployment standard model of the target disaster recovery system according to the first deployment standard model, the second deployment standard model and a preset proportion.
3. The method according to claim 1, wherein the generating of the disaster recovery switching scheme of the target disaster recovery system through the disaster recovery switching algorithm, the deployment mode, and the switching policy specifically includes:
determining a switching strategy of the target disaster recovery system and a deployment mode of each disaster recovery center in the target disaster recovery system;
determining the data transmission direction of each disaster backup center in the disaster backup switching process according to the switching strategy of the target disaster backup system;
determining a deployment mode of a local end disaster-backup center and a deployment mode of an opposite end disaster-backup center in the disaster-backup switching process according to the data transmission direction;
and determining a connection relation between a local terminal interface and an opposite terminal deployment unit according to the local terminal disaster recovery standby center deployment mode and the opposite terminal disaster recovery standby center deployment mode so as to obtain a disaster recovery standby switching scheme of the target disaster recovery standby system.
4. The method of claim 1, wherein after the generating the disaster-backup switching scheme for the target disaster-backup system, the method further comprises:
visualizing the disaster recovery switching scheme to generate a disaster recovery switching view, and marking server data in the disaster recovery switching view; the server data comprises at least one of configuration parameter information and running state information of an application server in the target disaster recovery center;
responding to a received system disaster recovery switching task triggering instruction;
and executing a disaster backup switching task in the disaster backup system according to the disaster backup switching scheme.
5. The method according to claim 4, wherein the performing, according to the disaster-backup switching scheme, the disaster-backup switching task in the disaster-backup system specifically includes:
determining the access relation between the local disaster recovery center and the deployment units of other disaster recovery centers in the disaster recovery switching process according to the switching strategy in the disaster recovery switching scheme and the deployment mode of each disaster recovery center;
the switching strategy comprises at least one of a first switching strategy, a second switching strategy and a third switching strategy;
the disaster recovery center executing the first switching strategy can only access the deployment unit of the disaster recovery center;
the disaster recovery center executing the second switching strategy can access the deployment units of other disaster recovery centers according to the application running requirements;
and the disaster recovery center executing the third switching strategy can simultaneously access the deployment units of a plurality of disaster recovery centers.
6. The method of claim 5, wherein the deployment mode comprises at least one of a first mode, a second mode, and a third mode;
the disaster recovery center with the first mode as a deployment mode is used for providing service operation for the outside;
the disaster recovery center with the deployment mode being the second mode is used for bearing the switching of a single application fault scene;
and the disaster recovery center with the deployment mode being the third mode is used for simulating drilling and overall disaster recovery switching.
7. A device for generating a disaster recovery switching scheme is characterized by comprising:
at least one processor; and a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to cause the at least one processor to perform:
confirming a target disaster recovery system corresponding to a target generation task, and acquiring basic data of the target disaster recovery system; the basic data at least comprises system data and application data of the target disaster recovery system;
determining a deployment mode and a switching strategy of the target disaster recovery system according to the basic data;
configuring logic node information of the target disaster recovery system according to the deployment mode and the switching strategy; the deployment mode is a deployment mode of different disaster recovery centers in the disaster recovery system; the switching strategy is the connection relation between the disaster recovery center and other disaster recovery centers in the disaster recovery switching process;
generating a disaster recovery switching scheme of the target disaster recovery system according to a disaster recovery switching algorithm, the deployment mode and the switching strategy; the disaster recovery switching algorithm is a connection relation between disaster recovery centers under a specified deployment mode and a switching strategy;
the determining a deployment mode and a switching strategy of the target disaster recovery system according to the basic data specifically includes:
determining the running application type of the target disaster recovery system according to the application data;
determining a deployment standard model of the target disaster recovery system according to the operation application type and the system data; the deployment standard model is a preset deployment model;
determining the central level of each disaster recovery center in the target disaster recovery system;
determining a switching strategy of the target disaster recovery system and a deployment mode of each disaster recovery center in the target disaster recovery system according to the center level and the deployment standard model;
before determining a deployment standard model of the target disaster recovery system according to the running application type and the system data, generating a plurality of deployment standard models of the disaster recovery system according to a preset parameter configuration threshold; the parameter type in the parameter configuration threshold comprises at least one of a transaction ratio, an access flow and a resource ratio;
and clustering the parameter configuration schemes respectively corresponding to the deployment standard models, and storing clustering results in a database.
8. A non-transitory computer storage medium storing computer-executable instructions, the computer-executable instructions configured to:
confirming a target disaster recovery system corresponding to a target generation task, and acquiring basic data of the target disaster recovery system; the basic data at least comprises system data and application data of the target disaster recovery system;
determining a deployment mode and a switching strategy of the target disaster recovery system according to the basic data;
configuring logic node information of the target disaster recovery system according to the deployment mode and the switching strategy; the deployment mode is a deployment mode of different disaster recovery centers in the disaster recovery system; the switching strategy is the connection relation between the disaster recovery center and other disaster recovery centers in the disaster recovery switching process;
generating a disaster recovery switching scheme of the target disaster recovery system according to a disaster recovery switching algorithm, the deployment mode and the switching strategy; the disaster recovery switching algorithm is a connection relation between disaster recovery centers under a specified deployment mode and a switching strategy;
the determining a deployment mode and a switching strategy of the target disaster recovery system according to the basic data specifically includes:
determining the running application type of the target disaster recovery system according to the application data;
determining a deployment standard model of the target disaster recovery system according to the operation application type and the system data; the deployment standard model is a preset deployment model;
determining the central level of each disaster recovery center in the target disaster recovery system;
determining a switching strategy of the target disaster recovery system and a deployment mode of each disaster recovery center in the target disaster recovery system according to the center level and the deployment standard model;
before determining a deployment standard model of the target disaster recovery system according to the running application type and the system data, generating a plurality of deployment standard models of the disaster recovery system according to a preset parameter configuration threshold; the parameter type in the parameter configuration threshold comprises at least one of a transaction ratio, an access flow and a resource ratio;
and clustering the parameter configuration schemes respectively corresponding to the deployment standard models, and storing clustering results in a database.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211429885.8A CN115599606B (en) | 2022-11-16 | 2022-11-16 | Method, device and medium for generating disaster recovery switching scheme |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211429885.8A CN115599606B (en) | 2022-11-16 | 2022-11-16 | Method, device and medium for generating disaster recovery switching scheme |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115599606A CN115599606A (en) | 2023-01-13 |
CN115599606B true CN115599606B (en) | 2023-03-21 |
Family
ID=84852580
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211429885.8A Active CN115599606B (en) | 2022-11-16 | 2022-11-16 | Method, device and medium for generating disaster recovery switching scheme |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115599606B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111966530A (en) * | 2020-07-21 | 2020-11-20 | 招联消费金融有限公司 | Disaster recovery switching method and device for application system, computer equipment and storage medium |
CN114422331A (en) * | 2022-01-21 | 2022-04-29 | 中国工商银行股份有限公司 | Disaster tolerance switching method, device and system |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102012789B (en) * | 2009-09-07 | 2014-03-12 | 云端容灾有限公司 | Centralized management type backup and disaster recovery system |
CN104461789A (en) * | 2014-12-30 | 2015-03-25 | 华夏银行股份有限公司 | Control method and system for achieving host and backup switching of disaster backup system |
CN106254166B (en) * | 2016-09-30 | 2020-06-23 | 中国银联股份有限公司 | Disaster recovery center-based cloud platform resource configuration method and system |
CN107977287A (en) * | 2016-10-21 | 2018-05-01 | 中兴通讯股份有限公司 | One kind is using disaster tolerance implementation method, apparatus and system |
CN113466906B (en) * | 2020-03-30 | 2022-07-26 | 千寻位置网络有限公司 | Double-center satellite navigation satellite-based augmentation system and correction data broadcasting method |
CN112732490A (en) * | 2021-01-14 | 2021-04-30 | 国网上海市电力公司 | Information determination method, device, equipment and storage medium |
-
2022
- 2022-11-16 CN CN202211429885.8A patent/CN115599606B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111966530A (en) * | 2020-07-21 | 2020-11-20 | 招联消费金融有限公司 | Disaster recovery switching method and device for application system, computer equipment and storage medium |
CN114422331A (en) * | 2022-01-21 | 2022-04-29 | 中国工商银行股份有限公司 | Disaster tolerance switching method, device and system |
Also Published As
Publication number | Publication date |
---|---|
CN115599606A (en) | 2023-01-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113037560B (en) | Service flow switching method and device, storage medium and electronic equipment | |
US10567232B2 (en) | System and method for mapping a connectivity state of a network | |
CN113259148B (en) | Alarm correlation detection method, system and medium based on federal learning | |
CN105183619A (en) | System fault early-warning method and system | |
CN104850394A (en) | Management method of distributed application program and distributed system | |
CN113347654B (en) | Method and device for determining fault type of out-of-service base station | |
CN114815673A (en) | Interface machine access system and method based on urban intelligent street lamp monitoring system | |
CN115080436A (en) | Test index determination method and device, electronic equipment and storage medium | |
CN113126925B (en) | Member list determining method, device and equipment and readable storage medium | |
CN115599606B (en) | Method, device and medium for generating disaster recovery switching scheme | |
CN113434320A (en) | Information system fault positioning method, device, equipment and storage medium | |
CN113157701A (en) | Dual-activity mechanism deployment method and device of ORACLE database | |
CN112579383A (en) | Method and device for simulating system fault | |
CN109359800B (en) | Evaluation method and system for running state of power distribution automation master station system | |
CN114422336B (en) | Control plane debugging method, device, node and storage medium | |
CN114039838B (en) | Power communication network fault analysis method and related equipment based on maximum disjoint double routes | |
CN114500289B (en) | Control plane recovery method, device, control node and storage medium | |
CN113472849B (en) | Node management method, system, device and medium | |
CN115080309A (en) | Data backup system, method, storage medium, and electronic device | |
CN113630317A (en) | Data transmission method and device, nonvolatile storage medium and electronic device | |
CN113986677A (en) | Method and device for monitoring service resources | |
TW201800963A (en) | Data processing method and device | |
CN110780891A (en) | Deployment method and deployment device of monitoring system | |
CN116567095B (en) | Cloud computing distributed scheduling third party service grid system and method | |
CN109039750B (en) | Method for improving multi-city multi-park deployment disaster recovery capability of block chain application system |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |