CN114297033B - Application resource restoration method and device, electronic equipment and storage medium - Google Patents
Application resource restoration method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN114297033B CN114297033B CN202111657667.5A CN202111657667A CN114297033B CN 114297033 B CN114297033 B CN 114297033B CN 202111657667 A CN202111657667 A CN 202111657667A CN 114297033 B CN114297033 B CN 114297033B
- Authority
- CN
- China
- Prior art keywords
- application resource
- cluster
- configuration information
- standby cluster
- standby
- 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
- 238000000034 method Methods 0.000 title claims abstract description 48
- 238000004891 communication Methods 0.000 claims abstract description 21
- 230000002159 abnormal effect Effects 0.000 claims abstract description 17
- 238000012544 monitoring process Methods 0.000 claims abstract description 13
- 230000000977 initiatory effect Effects 0.000 claims abstract description 6
- 238000004590 computer program Methods 0.000 claims description 9
- 238000012545 processing Methods 0.000 claims description 5
- 238000004458 analytical method Methods 0.000 claims description 2
- 230000006870 function Effects 0.000 description 8
- 230000007246 mechanism Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 238000011084 recovery Methods 0.000 description 4
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 3
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 3
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000013508 migration Methods 0.000 description 1
- 230000005012 migration Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Landscapes
- Retry When Errors Occur (AREA)
- Hardware Redundancy (AREA)
Abstract
本申请公开了一种应用资源的还原方法、装置、电子设备及存储介质。该方法包括:监听主用集群对应的运行状态,其中,主用集群与备用集群通信连接;在根据运行状态确定主用集群处于异常状态的情况下,获取主用集群的应用资源在对象存储内备份的配置信息;基于配置信息在备用集群内发起还原任务;基于还原任务在备用集群中执行应用资源的创建操作。本申请实施例提供的方法通过备用集群主用监听主用集群的运行状态,并在确定主用集群的运行状态为异常状态的情况下,备用集群主动获取主用集群中部署应用资源的配置信息,并依据该配置信息进行应用资源的还原,实现了服务能够高可用,并保障了服务系统的稳定性。
The present application discloses a method, device, electronic device and storage medium for restoring application resources. The method includes: monitoring the operating status corresponding to the active cluster, wherein the active cluster is in communication connection with the standby cluster; when it is determined that the active cluster is in an abnormal state according to the operating status, obtaining the configuration information of the application resources of the active cluster backed up in the object storage; initiating a restoration task in the standby cluster based on the configuration information; and executing the application resource creation operation in the standby cluster based on the restoration task. The method provided in the embodiment of the present application monitors the operating status of the active cluster through the standby cluster, and when it is determined that the operating status of the active cluster is an abnormal state, the standby cluster actively obtains the configuration information of the application resources deployed in the active cluster, and restores the application resources according to the configuration information, thereby achieving high availability of the service and ensuring the stability of the service system.
Description
技术领域Technical Field
本申请涉及计算机技术领域,尤其涉及一种应用资源的还原方法、装置、电子设备及存储介质。The present application relates to the field of computer technology, and in particular to a method, device, electronic device and storage medium for restoring application resources.
背景技术Background Art
kubernetes简称k8s,是为容器服务而生的一个可移植容器的编排管理工具,越来越多的公司正在拥抱kuberentes,并且当前kuberentes已经主导了云业务流程,推动了微服务架构等热门技术的普及和落地,正在如火如荼的发展,愈来愈多的系统都基于kuberentes平台来扩展或者运行自己的业务。Kubernetes, abbreviated as k8s, is a portable container orchestration and management tool created for container services. More and more companies are embracing Kubernetes, and currently Kubernetes has dominated cloud business processes, promoted the popularization and implementation of popular technologies such as microservice architecture, and is developing in full swing. More and more systems are based on the Kubernetes platform to expand or run their own businesses.
基于kuberentes平台的强大负载,衍生出很多复杂的业务应用场景,当有可预知的或不可预知的灾难、人为的误操作导致的资源宕机或误删除,导致的业务中断和恢复成本将不可预测。所以,如何保证基于kuberentes平台的业务场景安全、稳定、持续高可用的运维,就需要我们能够提供安全可靠的资源保护机制。Based on the powerful load of the Kubernetes platform, many complex business application scenarios are derived. When there are predictable or unpredictable disasters, human misoperation leading to resource downtime or accidental deletion, the resulting business interruption and recovery costs will be unpredictable. Therefore, how to ensure the safe, stable, and continuously high-availability operation and maintenance of business scenarios based on the Kubernetes platform requires us to provide a safe and reliable resource protection mechanism.
当kuberentes平台的资源出现故障或者资源不足无法继续提供服务时,只能切换到其他平台继续使用,但切换后需要重新搭建资源,无法进行原有资源和数据的同等迁移,数以万计的数据无法复用,造成业务的连续性受阻。即便使用了存储硬件自身的数据备份机制,没有与kubernetes对存储的管理机制对应起来,无法读取备份信息。由此引发的数据丢失在现实生活中也可能会造成重大生产事故,而kuberentes平台服务的部署调试也需要耗费大量的时间和人力成本。When the resources of the Kubernetes platform fail or are insufficient to continue to provide services, the only option is to switch to other platforms for continued use. However, after the switch, resources need to be rebuilt, and the original resources and data cannot be migrated in the same way. Tens of thousands of data cannot be reused, resulting in the obstruction of business continuity. Even if the data backup mechanism of the storage hardware itself is used, it is not matched with the storage management mechanism of Kubernetes, and the backup information cannot be read. The resulting data loss may also cause major production accidents in real life, and the deployment and debugging of Kubernetes platform services also requires a lot of time and manpower costs.
发明内容Summary of the invention
为了解决上述技术问题或者至少部分地解决上述技术问题,本申请提供了一种应用资源的还原方法、装置、电子设备及存储介质。In order to solve the above technical problems or at least partially solve the above technical problems, the present application provides a method, device, electronic device and storage medium for restoring application resources.
根据本申请实施例的一个方面,提供了一种应用资源的还原方法,应用于备用集群,所述方法包括:According to one aspect of an embodiment of the present application, a method for restoring application resources is provided, which is applied to a standby cluster, and the method includes:
监听主用集群对应的运行状态,其中,所述主用集群与所述备用集群通信连接;Monitoring the operating status of the active cluster, wherein the active cluster is in communication connection with the standby cluster;
在根据所述运行状态确定所述主用集群处于异常状态的情况下,获取所述主用集群的应用资源在对象存储内备份的配置信息;When it is determined according to the running status that the active cluster is in an abnormal state, obtaining configuration information of application resources of the active cluster backed up in the object storage;
基于所述配置信息在所述备用集群内发起还原任务;Initiate a restore task in the standby cluster based on the configuration information;
基于所述还原任务在所述备用集群中执行应用资源的创建操作。An application resource creation operation is performed in the standby cluster based on the restoration task.
进一步的,所述监听部署于主用集群中应用资源的运行状态,包括:Furthermore, monitoring the running status of application resources deployed in the active cluster includes:
接收来自于所述主用集群的心跳报文;Receiving a heartbeat message from the active cluster;
根据所述心跳报文确定所述主用集群对应的运行状态;Determine the running status corresponding to the active cluster according to the heartbeat message;
其中,所述根据所述心跳报文确定所述主用集群对应的运行状态,包括:The step of determining the operating state corresponding to the active cluster according to the heartbeat message includes:
在预设时间内接收到所述心跳报文的情况下,确定所述运行状态为正常状态,或,在预设时间内未接收到所述心跳报文的情况下,确定所述运行状态为异常状态。When the heartbeat message is received within a preset time, the operating state is determined to be a normal state; or, when the heartbeat message is not received within the preset time, the operating state is determined to be an abnormal state.
进一步的,所述获取所述主用集群的应用资源在对象存储内备份的配置信息,包括:Further, the obtaining of configuration information of the application resources of the active cluster backed up in the object storage includes:
向所述对象存储发送信息获取请求,其中,所述信息获取请求中携带所述备用集群的地址信息以及认证密文;Sending an information acquisition request to the object storage, wherein the information acquisition request carries the address information and authentication ciphertext of the standby cluster;
接收所述对象存储反馈的配置信息,其中,所述配置信息是所述对象存储在对地址信息以及所述认证密文进行认证通过后发送的。Receive configuration information fed back by the object storage, wherein the configuration information is sent by the object storage after authenticating the address information and the authentication ciphertext.
进一步的,在基于所述配置信息在所述备用集群内发起还原任务之前,所述方法还包括:Furthermore, before initiating a restore task in the standby cluster based on the configuration information, the method further includes:
检测所述备用集群的目标环境空间;Detecting a target environment space of the standby cluster;
在所述目标环境空间满足预设部署需求的情况下,基于所述配置信息向所述备用集群发起还原任务。In the case where the target environment space meets the preset deployment requirements, a restore task is initiated to the standby cluster based on the configuration information.
进一步的,所述基于所述还原任务在所述备用集群中执行应用资源的创建操作,包括:Further, the performing the creation operation of the application resource in the standby cluster based on the restoration task includes:
确定所述备用集群中是否存在与所述原始应用资源相同的应用资源;Determining whether there is an application resource identical to the original application resource in the standby cluster;
在所述备用集群中不存在与所述原始应用资源相同的应用资源的情况下,基于所述还原任务中的配置信息在所述备用集群中创建目标应用资源。In a case where the application resource identical to the original application resource does not exist in the standby cluster, a target application resource is created in the standby cluster based on the configuration information in the restoration task.
进一步的,在所述备用集群中存在与所述原始应用资源相同的应用资源的情况下,所述方法还包括:Furthermore, in the case that the backup cluster has an application resource identical to the original application resource, the method further includes:
获取应用资源对应的还原类型;Get the restore type corresponding to the application resource;
在所述还原类型为强制还原的情况下,将所述备用集群中与所述原始应用资源的应用资源删除,基于所述还原任务中的配置信息在所述备用集群中创建目标应用资源;或,在所述还原类型为非强制还原的情况下,基于所述还原任务中的配置信息在所述备用集群中创建目标应用资源。When the restoration type is forced restoration, the application resources in the standby cluster that are related to the original application resources are deleted, and target application resources are created in the standby cluster based on the configuration information in the restoration task; or, when the restoration type is non-forced restoration, the target application resources are created in the standby cluster based on the configuration information in the restoration task.
进一步的,在基于所述还原任务在所述备用集群中执行应用资源的创建操作之后,所述方法还包括:Further, after executing the creation operation of the application resource in the standby cluster based on the restoration task, the method further includes:
获取所述备用集群中基于所述配置信息创建的目标应用资源;Acquire target application resources created in the standby cluster based on the configuration information;
基于所述目标应用资源对比所述原始应用资源,得到对比结果;Comparing the original application resource based on the target application resource to obtain a comparison result;
在所述对比结果用于指示所述目标应用资源与所述原始应用资源不一致的情况下,生成数据同步任务;If the comparison result indicates that the target application resource is inconsistent with the original application resource, generating a data synchronization task;
基于所述数据同步任务对所述目标应用资源执行数据增量同步操作,直至所述目标应用资源与所述原始应用资源一致。A data incremental synchronization operation is performed on the target application resource based on the data synchronization task until the target application resource is consistent with the original application resource.
根据本申请实施例的另一方面,还提供了一种应用资源的还原装置,包括:According to another aspect of an embodiment of the present application, there is also provided a device for restoring application resources, including:
监听模块,用于监听主用集群对应的运行状态,其中,所述主用集群与所述备用集群通信连接;A monitoring module, used to monitor the operating status corresponding to the active cluster, wherein the active cluster is communicatively connected with the standby cluster;
确定模块,用于在根据所述运行状态确定所述主用集群处于异常状态的情况下,获取所述主用集群的应用资源在对象存储内备份的配置信息;A determination module, configured to obtain configuration information of application resources of the active cluster backed up in the object storage when it is determined according to the running status that the active cluster is in an abnormal state;
获取模块,用于基于所述配置信息向所述备用集群发起还原任务;An acquisition module, used to initiate a restore task to the standby cluster based on the configuration information;
处理模块,用于基于所述还原任务在所述备用集群中执行应用资源的创建操作。A processing module is used to execute a creation operation of application resources in the standby cluster based on the restoration task.
根据本申请实施例的另一方面,还提供了一种存储介质,该存储介质包括存储的程序,程序运行时执行上述的步骤。According to another aspect of an embodiment of the present application, a storage medium is further provided, which includes a stored program, and the above steps are executed when the program is run.
根据本申请实施例的另一方面,还提供了一种电子装置,包括处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;其中:存储器,用于存放计算机程序;处理器,用于通过运行存储器上所存放的程序来执行上述方法中的步骤。According to another aspect of an embodiment of the present application, there is also provided an electronic device, including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; wherein: the memory is used to store computer programs; and the processor is used to execute the steps in the above method by running the program stored in the memory.
本申请实施例还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述方法中的步骤。The embodiment of the present application also provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the steps in the above method.
本申请实施例提供的上述技术方案与现有技术相比具有如下优点:本申请实施例提供的方法通过备用集群主用监听主用集群的运行状态,并在确定主用集群的运行状态为异常状态的情况下,备用集群主动获取主用集群中部署应用资源的配置信息,并依据该配置信息进行应用资源的还原,实现了服务能够高可用,并保障了服务系统的稳定性。The above-mentioned technical scheme provided by the embodiment of the present application has the following advantages over the prior art: the method provided by the embodiment of the present application monitors the operating status of the main cluster through the standby cluster master, and when it is determined that the operating status of the main cluster is abnormal, the standby cluster actively obtains the configuration information of the application resources deployed in the main cluster, and restores the application resources according to the configuration information, thereby achieving high availability of the service and ensuring the stability of the service system.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
图1为本申请实施例提供的一种应用资源的还原方法的流程图;FIG1 is a flow chart of a method for restoring application resources provided in an embodiment of the present application;
图2为本申请另一实施例提供的一种应用资源的还原方法的流程图;FIG2 is a flow chart of a method for restoring application resources provided in another embodiment of the present application;
图3为本申请实施例提供的一种应用资源的还原装置的框图;FIG3 is a block diagram of an application resource restoration device provided in an embodiment of the present application;
图4为本申请实施例提供的一种电子设备的结构示意图。FIG. 4 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
具体实施方式DETAILED DESCRIPTION
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请的一部分实施例,而不是全部的实施例,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. The schematic embodiments of the present application and their descriptions are used to explain the present application and do not constitute improper limitations on the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个类似的实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another similar entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
本申请实施例提供了一种应用资源的还原方法、装置、电子设备及存储介质。本发明实施例所提供的方法可以应用于任意需要的电子设备,例如,可以为服务器、终端等电子设备,在此不做具体限定,为描述方便,后续简称为电子设备。The embodiments of the present application provide a method, device, electronic device and storage medium for restoring application resources. The method provided by the embodiments of the present invention can be applied to any required electronic device, for example, it can be a server, a terminal and other electronic devices, which are not specifically limited here, and for the convenience of description, they are referred to as electronic devices in the following.
根据本申请实施例的一方面,提供了一种应用资源的还原方法的方法实施例。图1为本申请实施例提供的一种应用资源的还原方法的流程图,如图1所示,该方法包括:According to one aspect of an embodiment of the present application, a method embodiment of a method for restoring an application resource is provided. FIG1 is a flow chart of a method for restoring an application resource provided by an embodiment of the present application. As shown in FIG1 , the method includes:
步骤S11,监听主用集群对应的运行状态,其中,主用集群与备用集群通信连接。Step S11 , monitoring the operating status corresponding to the active cluster, wherein the active cluster is in communication connection with the standby cluster.
本申请实施例提供的方法应用于备用集群,备用集群部署在服务系统中,服务系统中还包括:主用集群以及对象存储。其中,主用集群中部署有多个应用资源,应用资源用于对外提供服务。对象存储用于存储主用集群中所部署应用资源的配置信息,可以理解的,集群中部署的各种应用资源可通过备份方式储存到对象存储,基于对象存储强大的储存和上传下载功能,将应用资源的配置信息以配置文件的形式储存,备份恢复时通过对象存储的下载功能拉取应用的配置信息。The method provided in the embodiment of the present application is applied to a backup cluster, and the backup cluster is deployed in a service system, and the service system also includes: a primary cluster and an object storage. Among them, multiple application resources are deployed in the primary cluster, and the application resources are used to provide services to the outside. The object storage is used to store the configuration information of the application resources deployed in the primary cluster. It can be understood that the various application resources deployed in the cluster can be stored in the object storage in a backup manner. Based on the powerful storage and upload and download functions of the object storage, the configuration information of the application resources is stored in the form of a configuration file. During backup and recovery, the configuration information of the application is pulled through the download function of the object storage.
在本申请实施例中,步骤S11,监听部署于主用集群中应用资源的运行状态,包括以下步骤A1-A2:In the embodiment of the present application, step S11, monitoring the running status of application resources deployed in the active cluster, includes the following steps A1-A2:
步骤A1,接收来自于主用集群的心跳报文。Step A1: receiving a heartbeat message from the active cluster.
步骤A2,根据所述心跳报文确定所述主用集群对应的运行状态。Step A2: determining the operating status corresponding to the active cluster according to the heartbeat message.
在本申请实施例中,备用集群会通过监听机制进行实时监控,由于主用集群与备用集群之间会定时通信,因此备用集群会接收来自于主用集群的心跳报文,并根据心跳报文确定部署于主用集群中应用资源的运行状态。其中,如果备用集群在预设时间内未接收到主用集群发送的心跳报文,则确定主用集群以及主用集群中的应用资源出现异常(及运行状态显示异常状态)。如果备用集群在预设时间内接收到主用集群发送的心跳报文,则确定主用集群以及主用集群中的应用资源正常。In an embodiment of the present application, the standby cluster will be monitored in real time through a monitoring mechanism. Since the active cluster and the standby cluster will communicate regularly, the standby cluster will receive the heartbeat message from the active cluster and determine the operating status of the application resources deployed in the active cluster based on the heartbeat message. If the standby cluster does not receive the heartbeat message sent by the active cluster within a preset time, it is determined that the active cluster and the application resources in the active cluster are abnormal (and the operating status shows an abnormal state). If the standby cluster receives the heartbeat message sent by the active cluster within a preset time, it is determined that the active cluster and the application resources in the active cluster are normal.
步骤S12,在根据运行状态确定主用集群处于异常状态的情况下,获取主用集群的应用资源在对象存储内备份的配置信息。Step S12: when it is determined according to the running status that the active cluster is in an abnormal state, configuration information of the application resources of the active cluster backed up in the object storage is obtained.
在本申请实施例中,步骤S12,获取主用集群的应用资源在对象存储内备份的配置信息,包括以下步骤B1-B2:In the embodiment of the present application, step S12, obtaining configuration information of application resources of the active cluster backed up in the object storage, includes the following steps B1-B2:
步骤B1,向对象存储发送信息获取请求,其中,信息获取请求中携带备用集群的地址信息以及认证密文。Step B1: Send an information acquisition request to the object storage, wherein the information acquisition request carries the address information of the standby cluster and the authentication ciphertext.
在本申请实施例中,备用集群在确定主用集群处于异常状态的情况下,会自动启动备份机制,具体的,备用集群会自动生成信息获取请求,信息获取请求用于从对象存储中获取部署在主用集群的应用资源的配置信息。其中,备用集群生成信息获取请求的过程如下:首先确定备用集群的地址信息,然后利用预先生成加密密钥对地址信息进行加密,生成认证密文,最终基于地址信息和认证密文生成信息获取请求,并向对象存储发送该信息获取请求。In an embodiment of the present application, when the standby cluster determines that the active cluster is in an abnormal state, it will automatically start the backup mechanism. Specifically, the standby cluster will automatically generate an information acquisition request, and the information acquisition request is used to obtain the configuration information of the application resources deployed in the active cluster from the object storage. The process of the standby cluster generating the information acquisition request is as follows: first determine the address information of the standby cluster, then use the pre-generated encryption key to encrypt the address information, generate the authentication ciphertext, and finally generate the information acquisition request based on the address information and the authentication ciphertext, and send the information acquisition request to the object storage.
需要说明的是,对象存储会接收来自于主用设备发送的资源备份请求,基于资源备份请求获取主用设备中部署的应用资源对应的配置信息,存储配置信息。需要说明的是,用户根据需要通过镜像仓库进行应用的部署,挂载组件有状态负载、无状态负载、任务、定时任务等组件,是否挂载存储卷等信息,部署好的应用,通过备份功能将部署好的应用配置文件上传到对象存储中进行存储。It should be noted that the object storage will receive resource backup requests sent from the primary device, obtain the configuration information corresponding to the application resources deployed in the primary device based on the resource backup request, and store the configuration information. It should be noted that users deploy applications through the image warehouse as needed, mount components such as stateful loads, stateless loads, tasks, scheduled tasks, whether to mount storage volumes, etc., and upload the deployed application configuration files to the object storage for storage through the backup function.
步骤B2,接收对象存储反馈的配置信息,其中,配置信息是对象存储在对地址信息以及认证密文进行认证通过后发送的。Step B2: receiving configuration information fed back by the object storage, wherein the configuration information is sent by the object storage after the address information and the authentication ciphertext are authenticated.
在本申请实施例中,对象存储在接收到信息获取请求后,会对认证密文进行解密,如果解密得到的解密结果与地址信息一致,则确定信息获取请求认证通过。In the embodiment of the present application, after receiving the information acquisition request, the object storage will decrypt the authentication ciphertext. If the decryption result obtained by decryption is consistent with the address information, it is determined that the information acquisition request authentication is successful.
在本申请实施例中,对象存储通过校验IP和公私钥的形式与备用集群进行对接,使用其提供的存储桶装置,基于对象存储的储存和上传下载功能,将应用资源模块的配置信息以配置文件的形式储存到对象存储中,备份恢复时通过对象存储的下载功能拉取应用的配置信息。In an embodiment of the present application, the object storage is connected to the backup cluster by verifying the IP and public and private keys, and uses the storage bucket device provided by it. Based on the storage and upload and download functions of the object storage, the configuration information of the application resource module is stored in the object storage in the form of a configuration file. During backup and recovery, the configuration information of the application is pulled through the download function of the object storage.
步骤S13,基于配置信息在备用集群内发起还原任务。Step S13: Initiate a restore task in the standby cluster based on the configuration information.
在本申请实施例中,备用集群在从对象存储中下载到配置信息后,会在备用集群内部发起还原任务,还原任务用于根据配置信息在备用集群还原主用集群中的应用资源。In an embodiment of the present application, after downloading the configuration information from the object storage, the standby cluster initiates a restore task within the standby cluster, and the restore task is used to restore the application resources in the active cluster in the standby cluster according to the configuration information.
步骤S14,基于所述还原任务在所述备用集群中执行应用资源的创建操作。Step S14: executing a creation operation of application resources in the standby cluster based on the restoration task.
在本申请实施例中,步骤S14,在基于配置信息向备用集群发起还原任务之前,方法还包括以下步骤C1-C2:In the embodiment of the present application, in step S14, before initiating the restore task to the standby cluster based on the configuration information, the method further includes the following steps C1-C2:
步骤C1,检测备用集群的目标环境空间。Step C1, detecting the target environment space of the standby cluster.
步骤C2,在目标环境空间满足预设部署需求的情况下,基于配置信息向备用集群发起还原任务。Step C2: When the target environment space meets the preset deployment requirements, a restore task is initiated to the standby cluster based on the configuration information.
在本申请实施例中,为了保证应用资源的还原效率,因此在发起还原任务之前,需要检测备用集群的目标环境空间,例如:当前备用集群的中的空间使用率,从而确定备用集群是否处于满载状态。同时空间使用率小于预设使用率的情况下或者剩余空间使用率满足应用资源的配置信息的需求,则确定目标环境空间满足预设部署需求。此时会基于配置信息向备用集群发起还原任务。In the embodiment of the present application, in order to ensure the restoration efficiency of application resources, before initiating the restoration task, it is necessary to detect the target environment space of the standby cluster, for example, the space utilization rate in the current standby cluster, so as to determine whether the standby cluster is in a fully loaded state. At the same time, if the space utilization rate is less than the preset utilization rate or the remaining space utilization rate meets the requirements of the configuration information of the application resources, it is determined that the target environment space meets the preset deployment requirements. At this time, a restoration task will be initiated to the standby cluster based on the configuration information.
在本申请实施例中,基于还原任务在备用集群中执行应用资源的创建操作,包括以下步骤D1-D2:In the embodiment of the present application, the creation operation of the application resource is performed in the standby cluster based on the restoration task, including the following steps D1-D2:
步骤D1,确定备用集群中是否存在与原始应用资源相同的应用资源。Step D1, determining whether there is an application resource identical to the original application resource in the standby cluster.
步骤D2,在备用集群中不存在与原始应用资源相同的应用资源的情况下,基于还原任务中的配置信息在备用集群中创建目标应用资源。Step D2: if the application resource identical to the original application resource does not exist in the standby cluster, create a target application resource in the standby cluster based on the configuration information in the restore task.
在本申请实施例中,为了合理利用备用集群的空间,在执行还原任务的过程中,首先确定备用集群中是否存在与原始应用资源相同的应用资源,如果在备用集群中不存在与原始应用资源相同的应用资源的情况下,基于还原任务中的配置信息在备用集群中创建目标应用资源。In an embodiment of the present application, in order to rationally utilize the space of the standby cluster, during the execution of the restoration task, it is first determined whether there are application resources in the standby cluster that are identical to the original application resources. If there are no application resources in the standby cluster that are identical to the original application resources, the target application resources are created in the standby cluster based on the configuration information in the restoration task.
在本申请实施例中,在备用集群中存在与原始应用资源相同的应用资源的情况下,方法还包括以下步骤E1-E2:In the embodiment of the present application, when there are application resources identical to the original application resources in the standby cluster, the method further includes the following steps E1-E2:
步骤E1,获取应用资源对应的还原类型。Step E1, obtaining the restoration type corresponding to the application resource.
步骤E2,在还原类型为强制还原的情况下,将备用集群中与原始应用资源的应用资源删除,基于还原任务中的配置信息在备用集群中创建目标应用资源;或,在还原类型为非强制还原的情况下,基于还原任务中的配置信息在备用集群中创建目标应用资源。Step E2, when the restore type is forced restore, delete the application resources in the standby cluster and the original application resources, and create the target application resources in the standby cluster based on the configuration information in the restore task; or, when the restore type is non-forced restore, create the target application resources in the standby cluster based on the configuration information in the restore task.
作为一个示例,还原类型分为强制还原和非强制还原,强制还原是当获取到还原某些资源的指令时,检测备用集群是否存在与原始应用资源相同的应用资源,若有存在,则删除该应用资源后再进行还原。非强制还原是当获取到还原某些资源的指令时,检测备用集群是否存在与原始应用资源相同的应用资源,若有存在,则跳过该应用资源,进行下一个应用资源的还原。As an example, the restore type is divided into forced restore and non-forced restore. Forced restore means that when the instruction to restore certain resources is obtained, the backup cluster is checked for application resources that are the same as the original application resources. If so, the application resources are deleted before restoration. Non-forced restore means that when the instruction to restore certain resources is obtained, the backup cluster is checked for application resources that are the same as the original application resources. If so, the application resources are skipped and the next application resource is restored.
本申请实施例提供的方法通过备用集群主用监听主用集群的运行状态,并在确定主用集群的运行状态为异常状态的情况下,备用集群主动获取主用集群中部署应用资源的配置信息,并依据该配置信息进行应用资源的还原,实现了服务能够高可用,并保障了服务系统的稳定性。The method provided in the embodiment of the present application monitors the operating status of the active cluster through the standby cluster master, and when it is determined that the operating status of the active cluster is abnormal, the standby cluster actively obtains the configuration information of the application resources deployed in the active cluster, and restores the application resources based on the configuration information, thereby achieving high availability of the service and ensuring the stability of the service system.
图2为本申请另一实施例提供的一种应用资源的还原方法的流程图,如图2所示,在基于还原任务在备用集群中执行应用资源的创建操作之后,方法还包括:FIG. 2 is a flow chart of a method for restoring an application resource provided by another embodiment of the present application. As shown in FIG. 2 , after performing a creation operation of the application resource in the standby cluster based on the restoration task, the method further includes:
步骤S21,获取备用集群中基于配置信息创建的目标应用资源;Step S21, obtaining target application resources created based on configuration information in the standby cluster;
步骤S22,基于目标应用资源对比原始应用资源,得到对比结果;Step S22, comparing the original application resources based on the target application resources to obtain a comparison result;
步骤S23,在对比结果用于指示目标应用资源与原始应用资源不一致的情况下,生成数据同步任务;Step S23, when the comparison result indicates that the target application resource is inconsistent with the original application resource, generating a data synchronization task;
步骤S24,基于数据同步任务对目标应用资源执行数据增量同步操作,直至目标应用资源与原始应用资源一致。Step S24: performing a data incremental synchronization operation on the target application resource based on the data synchronization task until the target application resource is consistent with the original application resource.
在本申请实施例中,在目标应用资源在备用集群中部署完成后,提取还原后的目标应用资源,并与原有应用资源配置信息进行比对,比对一致后,应用资源恢复成功,若比对不一致,则调用同步任务,进行数据增量同步,直到数据一致。至此,应用资源恢复成功。根据原有的应用空间资源进行一对一的故障迁移恢复,保证了数据的准确性,为用户的系统服务支撑提供了高可用的技术支持,避免了数据的丢失、耗费时间和人力成本,更进一步的提高了系统稳定性。In the embodiment of the present application, after the target application resources are deployed in the backup cluster, the restored target application resources are extracted and compared with the original application resource configuration information. If the comparison is consistent, the application resource is successfully restored. If the comparison is inconsistent, the synchronization task is called to perform incremental data synchronization until the data is consistent. At this point, the application resource is successfully restored. One-to-one fault migration recovery is performed based on the original application space resources, which ensures the accuracy of the data, provides high-availability technical support for the user's system service support, avoids data loss, time and labor costs, and further improves system stability.
本申请实施例还提供了一种服务系统,该系统包括:主用集群、备用集群以及对象存储。主用集群和备用集群中均部署有多个应用资源,对象存储用于存储主用集群和备用集群中应用资源的配置信息。对象存储模块基于对象存储强大的储存和上传下载功能,将应用资源模块的配置信息以配置文件的形式储存到对象存储中。备份还原时通过对象存储的下载功能拉取应用的配置信息。The embodiment of the present application also provides a service system, which includes: a primary cluster, a backup cluster and an object storage. Multiple application resources are deployed in the primary cluster and the backup cluster, and the object storage is used to store the configuration information of the application resources in the primary cluster and the backup cluster. Based on the powerful storage and upload and download functions of the object storage, the object storage module stores the configuration information of the application resource module in the form of a configuration file in the object storage. During backup and restoration, the configuration information of the application is pulled through the download function of the object storage.
同时,备用集群通过心跳机制实时监测主用集群中的运行状态,根据监控反馈的状态决定是否进行资源备份,备份时在新环境上根据获取到的备份配置文件进行应用所需空间的搭建及应用的部署和应用元数据的还原,通过与原有资源进行比对,保证资源数据一致性。At the same time, the standby cluster monitors the operating status of the active cluster in real time through the heartbeat mechanism, and decides whether to back up resources based on the status of the monitoring feedback. During the backup, the space required for the application is built and the application is deployed and the application metadata is restored in the new environment according to the obtained backup configuration file. By comparing with the original resources, the consistency of resource data is ensured.
图3为本申请实施例提供的一种应用资源的还原装置的框图,该装置可以通过软件、硬件或者两者的结合实现成为电子设备的部分或者全部。如图3所示,该装置包括:FIG3 is a block diagram of an application resource restoration device provided in an embodiment of the present application. The device can be implemented as part or all of an electronic device through software, hardware, or a combination of both. As shown in FIG3 , the device includes:
监听模块31,用于监听主用集群对应的运行状态,其中,主用集群与备用集群通信连接;A monitoring module 31 is used to monitor the operation status corresponding to the active cluster, wherein the active cluster is in communication connection with the standby cluster;
确定模块32,用于在根据运行状态确定主用集群处于异常状态的情况下,获取主用集群的应用资源在对象存储内备份的配置信息;The determination module 32 is used to obtain the configuration information of the application resources of the active cluster backed up in the object storage when it is determined that the active cluster is in an abnormal state according to the running state;
获取模块33,用于基于配置信息向备用集群发起还原任务;An acquisition module 33 is used to initiate a restore task to the standby cluster based on the configuration information;
处理模块34,用于基于还原任务在备用集群中执行应用资源的创建操作。The processing module 34 is used to execute a creation operation of application resources in the standby cluster based on the restoration task.
在本申请实施例中,监听模块31,用于接收来自于主用集群的心跳报文;根据心跳报文确定主用集群对应的运行状态;其中,在预设时间内接收到心跳报文的情况下,确定运行状态为正常状态,或,在预设时间内未接收到心跳报文的情况下,确定运行状态为异常状态。。In the embodiment of the present application, the monitoring module 31 is used to receive a heartbeat message from the active cluster; determine the operating state corresponding to the active cluster according to the heartbeat message; wherein, if the heartbeat message is received within a preset time, the operating state is determined to be a normal state, or, if the heartbeat message is not received within the preset time, the operating state is determined to be an abnormal state. .
在本申请实施例中,确定模块32,用于向对象存储发送信息获取请求,其中,信息获取请求中携带备用集群的地址信息以及认证密文;接收对象存储反馈的配置信息,其中,配置信息是对象存储在对地址信息以及认证密文进行认证通过后发送的。In an embodiment of the present application, a determination module 32 is used to send an information acquisition request to the object storage, wherein the information acquisition request carries the address information and the authentication ciphertext of the backup cluster; and receive configuration information fed back by the object storage, wherein the configuration information is sent by the object storage after the address information and the authentication ciphertext are authenticated.
在本申请实施例中,应用资源的还原装置还包括:检测模块,用于检测备用集群的目标环境空间;在目标环境空间满足预设部署需求的情况下,基于配置信息向备用集群发起还原任务。In an embodiment of the present application, the device for restoring application resources further includes: a detection module for detecting a target environment space of a standby cluster; and initiating a restoration task to the standby cluster based on configuration information when the target environment space meets preset deployment requirements.
在本申请实施例中,处理模块34,用于确定备用集群中是否存在与原始应用资源相同的应用资源;在备用集群中不存在与原始应用资源相同的应用资源的情况下,基于还原任务中的配置信息在备用集群中创建目标应用资源。In an embodiment of the present application, processing module 34 is used to determine whether there is an application resource identical to the original application resource in the standby cluster; if there is no application resource identical to the original application resource in the standby cluster, create a target application resource in the standby cluster based on the configuration information in the restoration task.
在本申请实施例中,应用资源的还原装置还包括:分析模块,用于获取应用资源对应的还原类型;在还原类型为强制还原的情况下,将备用集群中与原始应用资源的应用资源删除,基于还原任务中的配置信息在备用集群中创建目标应用资源;或,在还原类型为非强制还原的情况下,基于还原任务中的配置信息在备用集群中创建目标应用资源。In an embodiment of the present application, the application resource restoration device also includes: an analysis module, used to obtain the restoration type corresponding to the application resource; when the restoration type is forced restoration, the application resources in the backup cluster and the original application resources are deleted, and the target application resources are created in the backup cluster based on the configuration information in the restoration task; or, when the restoration type is non-forced restoration, the target application resources are created in the backup cluster based on the configuration information in the restoration task.
在本申请实施例中,应用资源的还原装置还包括:对比模块,用于获取备用集群中基于配置信息创建的目标应用资源;基于目标应用资源对比原始应用资源,得到对比结果;在对比结果用于指示目标应用资源与原始应用资源不一致的情况下,生成数据同步任务;基于数据同步任务对目标应用资源执行数据增量同步操作,直至目标应用资源与原始应用资源一致。In an embodiment of the present application, the application resource restoration device also includes: a comparison module, which is used to obtain a target application resource created in a backup cluster based on configuration information; compare the original application resource based on the target application resource to obtain a comparison result; when the comparison result indicates that the target application resource is inconsistent with the original application resource, generate a data synchronization task; perform an incremental data synchronization operation on the target application resource based on the data synchronization task until the target application resource is consistent with the original application resource.
本申请通过备用集群主用监听主用集群的运行状态,并在确定主用集群的运行状态为异常状态的情况下,备用集群主动获取主用集群中部署应用资源的配置信息,并依据该配置信息进行应用资源的还原,实现了服务能够高可用,并保障了服务系统的稳定性。In this application, the standby cluster monitors the operating status of the main cluster. When it is determined that the operating status of the main cluster is abnormal, the standby cluster actively obtains the configuration information of the application resources deployed in the main cluster, and restores the application resources based on the configuration information, thereby achieving high availability of the service and ensuring the stability of the service system.
本申请实施例还提供一种电子设备,如图4所示,电子设备可以包括:处理器1501、通信接口1502、存储器1503和通信总线1504,其中,处理器1501,通信接口1502,存储器1503通过通信总线1504完成相互间的通信。An embodiment of the present application also provides an electronic device, as shown in Figure 4, the electronic device may include: a processor 1501, a communication interface 1502, a memory 1503 and a communication bus 1504, wherein the processor 1501, the communication interface 1502, and the memory 1503 communicate with each other through the communication bus 1504.
存储器1503,用于存放计算机程序;Memory 1503, used for storing computer programs;
处理器1501,用于执行存储器1503上所存放的计算机程序时,实现上述实施例的步骤。The processor 1501 is used to implement the steps of the above embodiment when executing the computer program stored in the memory 1503.
上述终端提到的通信总线可以是外设部件互连标准(Peripheral ComponentInterconnect,简称PCI)总线或扩展工业标准结构(Extended Industry StandardArchitecture,简称EISA)总线等。该通信总线可以分为地址总线、数据总线、控制总线等。为便于表示,图中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
通信接口用于上述终端与其他设备之间的通信。The communication interface is used for communication between the above terminal and other devices.
存储器可以包括随机存取存储器(Random Access Memory,简称RAM),也可以包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。可选的,存储器还可以是至少一个位于远离前述处理器的存储装置。The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,简称CPU)、网络处理器(Network Processor,简称NP)等;还可以是数字信号处理器(Digital Signal Processing,简称DSP)、专用集成电路(Application SpecificIntegrated Circuit,简称ASIC)、现场可编程门阵列(Field-Programmable Gate Array,简称FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
在本申请提供的又一实施例中,还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述实施例中任一所述的应用资源的还原方法。In another embodiment provided in the present application, a computer-readable storage medium is provided, in which instructions are stored. When the computer-readable storage medium is executed on a computer, the computer executes the method for restoring application resources described in any of the above embodiments.
在本申请提供的又一实施例中,还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述实施例中任一所述的应用资源的还原方法。In another embodiment provided by the present application, a computer program product including instructions is also provided, which, when executed on a computer, enables the computer to execute the method for restoring application resources described in any one of the above embodiments.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据对象存储。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘SolidState Disk)等。In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data object storage such as a server or data center that contains one or more available media integration. The available medium can be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk SolidState Disk), etc.
以上所述仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围。凡在本申请的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本申请的保护范围内。The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application are included in the protection scope of the present application.
以上所述仅是本申请的具体实施方式,使本领域技术人员能够理解或实现本申请。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本申请的精神或范围的情况下,在其它实施例中实现。因此,本申请将不会被限制于本文所示的这些实施例,而是要符合与本文所申请的原理和新颖特点相一致的最宽的范围。The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest range consistent with the principles and novel features applied for herein.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111657667.5A CN114297033B (en) | 2021-12-30 | 2021-12-30 | Application resource restoration method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111657667.5A CN114297033B (en) | 2021-12-30 | 2021-12-30 | Application resource restoration method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114297033A CN114297033A (en) | 2022-04-08 |
CN114297033B true CN114297033B (en) | 2024-10-29 |
Family
ID=80973320
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111657667.5A Active CN114297033B (en) | 2021-12-30 | 2021-12-30 | Application resource restoration method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114297033B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102629906A (en) * | 2012-03-30 | 2012-08-08 | 浪潮电子信息产业股份有限公司 | Design method for improving cluster business availability by using cluster management node as two computers |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9836368B2 (en) * | 2015-10-22 | 2017-12-05 | Netapp, Inc. | Implementing automatic switchover |
CN110730110A (en) * | 2019-10-18 | 2020-01-24 | 深圳市网心科技有限公司 | Node exception handling method, electronic device, system and medium |
CN112527567A (en) * | 2020-12-24 | 2021-03-19 | 北京百度网讯科技有限公司 | System disaster tolerance method, device, equipment and storage medium |
-
2021
- 2021-12-30 CN CN202111657667.5A patent/CN114297033B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102629906A (en) * | 2012-03-30 | 2012-08-08 | 浪潮电子信息产业股份有限公司 | Design method for improving cluster business availability by using cluster management node as two computers |
Also Published As
Publication number | Publication date |
---|---|
CN114297033A (en) | 2022-04-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10826991B2 (en) | Downloading files from a cloud storage being used as temporary cache | |
US20190235973A1 (en) | Automated ransomware identification and recovery | |
WO2021169277A1 (en) | Data synchronization method, apparatus and device, and computer-readable storage medium | |
WO2021051563A1 (en) | Target data archiving method and apparatus, and electronic device and computer non-volatile readable storage medium | |
CN106911648B (en) | A kind of environment isolation method and equipment | |
CN108352995B (en) | A kind of SMB service fault processing method and storage device | |
WO2022267407A1 (en) | Automated operation and maintenance tool-based proxy deployment method and apparatus | |
EP3047386B1 (en) | Webclient notification queuing | |
CN103034560B (en) | A kind of method, Apparatus and system repairing application software | |
EP3776209A1 (en) | Backup and restore validation | |
WO2021121407A1 (en) | Capacity changing method and apparatus for virtual machine | |
CN110890987A (en) | Method, device, equipment and system for automatically creating cluster | |
WO2023165226A1 (en) | Application resource backup method and apparatus, electronic device, and storage medium | |
CN116627721A (en) | Cloud primary database recovery method, device and storage medium based on hybrid cloud | |
CN114297033B (en) | Application resource restoration method and device, electronic equipment and storage medium | |
CN110620798A (en) | Control method, system, equipment and storage medium for FTP connection | |
CN107783826B (en) | A virtual machine migration method, device and system | |
JP2015114952A (en) | Network system, monitoring control unit, and software verification method | |
CN113094211B (en) | Backup data processing method and device | |
CN106909474A (en) | The restoration methods and device of system application on a kind of mobile terminal | |
CN110442367A (en) | The upgrade method and device of program, storage medium and electronic device | |
CN116467118A (en) | Method, system, equipment and medium for incremental backup of object storage | |
CN112506729B (en) | Fault simulation method and device | |
CN114443354A (en) | File recovery method and device, electronic equipment and storage medium | |
JP3215125U (en) | Backup 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 |