CN107436825A - A kind of cloud platform system recovery method and device - Google Patents

A kind of cloud platform system recovery method and device Download PDF

Info

Publication number
CN107436825A
CN107436825A CN201710660134.XA CN201710660134A CN107436825A CN 107436825 A CN107436825 A CN 107436825A CN 201710660134 A CN201710660134 A CN 201710660134A CN 107436825 A CN107436825 A CN 107436825A
Authority
CN
China
Prior art keywords
recovery
nodes
tasks
main
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.)
Pending
Application number
CN201710660134.XA
Other languages
Chinese (zh)
Inventor
吕宪国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710660134.XA priority Critical patent/CN107436825A/en
Publication of CN107436825A publication Critical patent/CN107436825A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level

Abstract

The embodiment of the invention discloses a kind of cloud platform system recovery method and device, methods described to include:Main recovery nodes obtain recovery tasks, and the recovery tasks are split, and the recovery tasks split are handed down into each standby recovery nodes respectively;The standby recovery nodes perform node recovery operation according to the recovery tasks that issue, and rear return implementing result to the main recovery nodes what the node recovery operation was finished.The embodiment of the present invention improves the ease for use that cloud data center management platform system recovers efficiency and system.

Description

A kind of cloud platform system recovery method and device
Technical field
The present invention relates to cloud computing technology, espespecially a kind of cloud platform system recovery method and device.
Background technology
In cloud computing era, micro services framework is applied among the exploitation and deployment of system.Micro services are will be original Single operation system be split as it is multiple can be with the small application of stand-alone development, design, operation and O&M, can be in multiple main frames node Dispose the reliability that the small application of multiple identicals improves operation system.The node procedure that micro services can possess magnanimity provides clothes Business.
The system reset mode of prior art, user need to be recovered in the main frame of each micro services bottom, can not be fully sharp System is recovered with the operational capability of each node, causes the waste of service node resource so as to individual node one by one It will be very big workload to be recovered, and process is complicated, and efficiency is low.
The content of the invention
In order to solve the above-mentioned technical problem, the embodiments of the invention provide a kind of cloud platform system recovery method and device, The efficiency of cloud data center management platform system recovery can be improved, easily used.
In order to reach the object of the invention, on the one hand, the embodiments of the invention provide a kind of cloud platform system recovery method, bag Include:
Main recovery nodes obtain recovery tasks, and the recovery tasks are split, by the recovery tasks split point Each standby recovery nodes are not handed down to;
The standby recovery nodes perform node recovery operation according to the recovery tasks issued, and in the node recovery operation The backward main recovery nodes passback implementing result being finished.
Compared with prior art, the present invention obtains recovery tasks by main recovery nodes, and the recovery tasks are carried out Split, the recovery tasks split are handed down to each standby recovery nodes respectively;The standby recovery nodes are according to the recovery issued Tasks carrying node recovery operation, and rear returned to the main recovery nodes being finished in the node recovery operation performs As a result.The embodiment of the present invention improves the ease for use that cloud data center management platform system recovers efficiency and system.
Further, after main recovery nodes obtain recovery tasks, in addition to:The main recovery nodes collect backup number According to so that each standby recovery nodes perform the recovery tasks according to the Backup Data;
After the standby recovery nodes return implementing result to the main recovery nodes, in addition to:
The main recovery nodes are integrated to the implementing result of each standby recovery nodes passback, described extensive to combine Multiple task.
Further, the main recovery nodes are one or one group complete micro services nodes;
It is described fractionation is carried out to the recovery tasks to include:Carried out according to the load of each standby recovery nodes and configuration Recovery tasks are split.
Further, include in each standby recovery nodes:Recover client;
The standby recovery nodes perform node recovery operation according to the recovery tasks issued to be included:
The client of recovering receives the main recovery nodes instruction and corresponding first recovery tasks issued;
The recovery client performs first recovery tasks according to the instruction and monitors implementation procedure;
It is described rear to include what the node recovery operation was finished to the main recovery nodes passback implementing result:
The recovery client returns recovery tasks result and monitoring information to the main recovery nodes.
Further, before being split to the recovery tasks, in addition to:
The first of the recovery client judgement place is for the resource in the main frame configuration of recovery nodes and preset time The utilization rate of configuration, and it is extensive according to the utilization rate calculating main recovery nodes execution of main frame configuration and the resource distribution First for weighted value corresponding to recovery nodes described in when multiple task is split, and the weighted value calculated is fed back into the master Recovery nodes.
Further, carrying out recovery tasks fractionation according to the load of each standby recovery nodes and configuration includes:
The recovery tasks are split according to the weighted value that each standby recovery nodes return in proportion.
Further, in addition to:
During the recovery tasks are performed, other function normal uses of the main recovery nodes and standby recovery nodes.
On the other hand, the embodiment of the present invention additionally provides a kind of cloud platform system recovery device, including:
Task module is handled, recovery tasks are obtained for main recovery nodes, and the recovery tasks are split, will be torn open The recovery tasks divided are handed down to each standby recovery nodes respectively;
Task module is performed, node recovery operation is performed according to the recovery tasks issued for the standby recovery nodes, and It is finished in the node recovery operation rear to the main recovery nodes passback implementing result.
Further, the processing task module is additionally operable to:
The main recovery nodes collect Backup Data, so that each standby recovery nodes perform according to the Backup Data The recovery tasks;
The main recovery nodes are integrated to the implementing result of each standby recovery nodes passback, described extensive to combine Multiple task.
Further, the main recovery nodes are one or one group complete micro services nodes;
The processing task module is additionally operable to:Recovery tasks are carried out according to the load of each standby recovery nodes and configuration Split.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by specification, rights Specifically noted structure is realized and obtained in claim and accompanying drawing.
Brief description of the drawings
Accompanying drawing is used for providing further understanding technical solution of the present invention, and a part for constitution instruction, with this The embodiment of application is used to explain technical scheme together, does not form the limitation to technical solution of the present invention.
Fig. 1 is the flow chart of cloud platform system recovery method of the embodiment of the present invention;
Fig. 2 is the schematic diagram of cloud platform system recovery method of the embodiment of the present invention;
Fig. 3 is the structure chart of cloud platform system recovery device of the embodiment of the present invention.
Embodiment
For the object, technical solutions and advantages of the present invention are more clearly understood, below in conjunction with accompanying drawing to the present invention Embodiment be described in detail.It should be noted that in the case where not conflicting, in the embodiment and embodiment in the application Feature can mutually be combined.
Can be in the computer system of such as one group computer executable instructions the flow of accompanying drawing illustrates the step of Perform.Also, although logical order is shown in flow charts, in some cases, can be with suitable different from herein Sequence performs shown or described step.
As shown in figure 1, be the flow chart of cloud platform system recovery method of the embodiment of the present invention, the method for the embodiment of the present invention Comprise the following steps:
Step 100:Main recovery nodes obtain recovery tasks, and the recovery tasks are split, extensive by what is split Multiple task is handed down to each standby recovery nodes respectively;
Specifically, by main recovery nodes and standby recovery nodes, backup tasks decompose, distribute and manage, filled Divide and make use of multinode operational capability, do not influence system normal operation.
Step 101:The standby recovery nodes perform node recovery operation according to the recovery tasks issued, and in the node The backward main recovery nodes passback implementing result that recovery operation is finished.
In the embodiment of the present invention, user is recovered without the main frame of each micro services bottom, but is directly entered system, and one Key recovers automatically, in recovery process, can make full use of the operational capability of each node, and system is without offline.The present invention passes through Main recovery nodes obtain recovery tasks, and the recovery tasks are split, and the recovery tasks split are handed down to respectively Each standby recovery nodes;The standby recovery nodes perform node recovery operation according to the recovery tasks issued, and in the node The backward main recovery nodes passback implementing result that recovery operation is finished.The embodiment of the present invention improves cloud data center Management platform system recovers the ease for use of efficiency and system.
Further, after main recovery nodes obtain recovery tasks, in addition to:The main recovery nodes collect backup number According to so that each standby recovery nodes perform the recovery tasks according to the Backup Data;
After the standby recovery nodes return implementing result to the main recovery nodes, in addition to:
The main recovery nodes are integrated to the implementing result of each standby recovery nodes passback, described extensive to combine Multiple task.
Further, the main recovery nodes are one or one group complete micro services nodes;Possess backup tasks undertaking, Split, issue, combination etc. is main to recover function.
It is described fractionation is carried out to the recovery tasks to include:Carried out according to the load of each standby recovery nodes and configuration Recovery tasks are split.
Further, include in each standby recovery nodes:Recover client;
It is a respond module in other recoveries perform node to recover client, possesses calculating and splits weights, performs The recovery tasks split, implementation procedure is monitored, receive the functions such as main recovery nodes instruction.
The standby recovery nodes perform node recovery operation according to the recovery tasks issued to be included:
The client of recovering receives the main recovery nodes instruction and corresponding first recovery tasks issued;
The recovery client performs first recovery tasks according to the instruction and monitors implementation procedure;
It is described rear to include what the node recovery operation was finished to the main recovery nodes passback implementing result:
The recovery client returns recovery tasks result and monitoring information to the main recovery nodes.
Specifically, the embodiment of the present invention can split recovery tasks according to each node load and configuration;And possesses support system The ability of system normal use during restoration;Possess main recovery nodes and recover client logic, carry out each micro services node Coordinate and work is transmitted in instruction.
Further, before being split to the recovery tasks, in addition to:
The first of the recovery client judgement place is for the resource in the main frame configuration of recovery nodes and preset time The utilization rate of configuration, and it is extensive according to the utilization rate calculating main recovery nodes execution of main frame configuration and the resource distribution First for weighted value corresponding to recovery nodes described in when multiple task is split, and the weighted value calculated is fed back into the master Recovery nodes.
Further, carrying out recovery tasks fractionation according to the load of each standby recovery nodes and configuration includes:
The recovery tasks are split according to the weighted value that each standby recovery nodes return in proportion.
Specifically, according to each node load and configuration, splitting the method for recovery tasks includes:Recover custom end intelligent to judge The configuration of present node main frame, and the utilization rate of the resource distribution in a period of time, calculate the weighted value of a segmentation task Main recovery nodes are fed back to, the weighted value by main recovery nodes according to each node, are split in proportion.
Further, in addition to:
During the recovery tasks are performed, other function normal uses of the main recovery nodes and standby recovery nodes.
Fig. 2 is the schematic diagram of cloud platform system recovery method of the embodiment of the present invention, as shown in Fig. 2 specifically, the reality of recovery Existing method includes:Main recovery nodes issue backup tasks, monitor node state to client is recovered;
Recover client and receive main recovery nodes instruction, perform recovery tasks, monitor implementation procedure, and give main recovery nodes Return recovery tasks result and monitoring information.
The embodiment of the present invention is the system recovery method under a kind of micro services framework.Pass through main recovery nodes and each micro services Node recovers the Backup Data preserved and the Backup and Restore flow by design, realizes the cloud data under micro services framework Automation that central management platform system is recovered, service node resource make full use of, and whole system in recovery process still It can use.
The premise of system recovery method in the embodiment of the present invention under micro services framework is that system has been backed up, The specific implementation process of recovery is as follows:
Main recovery nodes obtain recovery tasks;
Main recovery nodes collect Backup Data;
Main recovery nodes carry out recovery tasks fractionation according to each node load;
Main recovery nodes issue recovery tasks and give system other each nodes;
Recovery tasks in other each nodes perform node and perform recovery tasks;
Recovery tasks perform node and return recovery tasks result to main recovery nodes;
Main recovery nodes combine recovery tasks;
Backup procedure is completed.
Fig. 3 is the structure chart of cloud platform system recovery device of the embodiment of the present invention, as shown in figure 3, the embodiment of the present invention is another On the one hand a kind of cloud platform system recovery device provided, including:
Task module 301 is handled, recovery tasks are obtained for main recovery nodes, and the recovery tasks are split, The recovery tasks split are handed down to each standby recovery nodes respectively;
Task module 302 is performed, node recovery operation is performed according to the recovery tasks issued for the standby recovery nodes, And it is rear to the main recovery nodes passback implementing result to be finished in the node recovery operation.
Further, the processing task module 301 is additionally operable to:
The main recovery nodes collect Backup Data, so that each standby recovery nodes perform according to the Backup Data The recovery tasks;
The main recovery nodes are integrated to the implementing result of each standby recovery nodes passback, described extensive to combine Multiple task.
Further, the main recovery nodes are one or one group complete micro services nodes;
The processing task module 301 is additionally operable to:Recovered according to the load of each standby recovery nodes and configuration Task is split.
The embodiment of the present invention proposes the online cloud data center management platform restoration methods under a kind of micro services framework, uses Family is recovered without the main frame of each micro services bottom, but is directly entered system, and a key recovers automatically, can in recovery process To make full use of the operational capability of each node.The method of the embodiment of the present invention improves system and recovers the easy-to-use of efficiency and system Property.
Although disclosed herein embodiment as above, described content be only readily appreciate the present invention and use Embodiment, it is not limited to the present invention.Technical staff in any art of the present invention, taken off not departing from the present invention On the premise of the spirit and scope of dew, any modification and change, but the present invention can be carried out in the form and details of implementation Scope of patent protection, still should be subject to the scope of the claims as defined in the appended claims.

Claims (10)

  1. A kind of 1. cloud platform system recovery method, it is characterised in that including:
    Main recovery nodes obtain recovery tasks, and the recovery tasks are split, by the recovery tasks split respectively under Issue each standby recovery nodes;
    The standby recovery nodes perform node recovery operation according to the recovery tasks issued, and are performed in the node recovery operation The backward main recovery nodes passback implementing result finished.
  2. 2. cloud platform system recovery method according to claim 1, it is characterised in that
    After main recovery nodes obtain recovery tasks, in addition to:The main recovery nodes collect Backup Data, so that described each Individual standby recovery nodes perform the recovery tasks according to the Backup Data;
    After the standby recovery nodes return implementing result to the main recovery nodes, in addition to:
    The main recovery nodes are integrated to the implementing result of each standby recovery nodes passback, are appointed with combining the recovery Business.
  3. 3. cloud platform system recovery method according to claim 1, it is characterised in that the main recovery nodes be one or One group of complete micro services node;
    It is described fractionation is carried out to the recovery tasks to include:Recovered according to the load of each standby recovery nodes and configuration Task is split.
  4. 4. according to the cloud platform system recovery method described in claim 1-3 any one, it is characterised in that described each standby extensive Include in knot cluster point:Recover client;
    The standby recovery nodes perform node recovery operation according to the recovery tasks issued to be included:
    The client of recovering receives the main recovery nodes instruction and corresponding first recovery tasks issued;
    The recovery client performs first recovery tasks according to the instruction and monitors implementation procedure;
    It is described rear to include what the node recovery operation was finished to the main recovery nodes passback implementing result:
    The recovery client returns recovery tasks result and monitoring information to the main recovery nodes.
  5. 5. cloud platform system recovery method according to claim 3, it is characterised in that torn open to the recovery tasks / preceding, in addition to:
    The first of the recovery client judgement place is for the resource distribution in the main frame configuration of recovery nodes and preset time Utilization rate, and calculate the main recovery nodes according to the utilization rate of main frame configuration and the resource distribution and perform and recover to appoint First for weighted value corresponding to recovery nodes described in when business is split, and the weighted value calculated is fed back into the main recovery Node.
  6. 6. cloud platform system recovery method according to claim 5, it is characterised in that according to each standby recovery nodes Load and configuration carry out recovery tasks split include:
    The recovery tasks are split according to the weighted value that each standby recovery nodes return in proportion.
  7. 7. cloud platform system recovery method according to claim 1, it is characterised in that also include:
    During the recovery tasks are performed, other function normal uses of the main recovery nodes and standby recovery nodes.
  8. A kind of 8. cloud platform system recovery device, it is characterised in that including:
    Task module is handled, recovery tasks are obtained for main recovery nodes, and the recovery tasks are split, will be split Recovery tasks be handed down to each standby recovery nodes respectively;
    Task module is performed, node recovery operation is performed according to the recovery tasks issued for the standby recovery nodes, and in institute State the backward main recovery nodes passback implementing result that node recovery operation is finished.
  9. 9. cloud platform system recovery device according to claim 8, it is characterised in that the processing task module is also used In:
    The main recovery nodes collect Backup Data, so that each standby recovery nodes are according to performing the Backup Data Recovery tasks;
    The main recovery nodes are integrated to the implementing result of each standby recovery nodes passback, are appointed with combining the recovery Business.
  10. 10. cloud platform system recovery device according to claim 8, it is characterised in that the main recovery nodes are one Or one group of complete micro services node;
    The processing task module is additionally operable to:Recovery tasks are carried out according to the load of each standby recovery nodes and configuration to tear open Point.
CN201710660134.XA 2017-08-04 2017-08-04 A kind of cloud platform system recovery method and device Pending CN107436825A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710660134.XA CN107436825A (en) 2017-08-04 2017-08-04 A kind of cloud platform system recovery method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710660134.XA CN107436825A (en) 2017-08-04 2017-08-04 A kind of cloud platform system recovery method and device

Publications (1)

Publication Number Publication Date
CN107436825A true CN107436825A (en) 2017-12-05

Family

ID=60459895

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710660134.XA Pending CN107436825A (en) 2017-08-04 2017-08-04 A kind of cloud platform system recovery method and device

Country Status (1)

Country Link
CN (1) CN107436825A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111382134A (en) * 2018-12-29 2020-07-07 清华大学 Data recovery method and device in large-scale distributed storage system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090248749A1 (en) * 2006-05-04 2009-10-01 International Business Machines Corporation System and Method for Scalable Processing of Multi-Way Data Stream Correlations
CN102710785A (en) * 2012-06-15 2012-10-03 哈尔滨工业大学 Cloud service node architecture in self-service tourism system, and service collaborating and balancing module and method among service nodes in self-service tourism system
CN103473119A (en) * 2012-06-06 2013-12-25 百度在线网络技术(北京)有限公司 Task cooperation device and method
CN103677759A (en) * 2013-11-08 2014-03-26 国家电网公司 Objectification parallel computing method and system for information system performance improvement

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090248749A1 (en) * 2006-05-04 2009-10-01 International Business Machines Corporation System and Method for Scalable Processing of Multi-Way Data Stream Correlations
CN103473119A (en) * 2012-06-06 2013-12-25 百度在线网络技术(北京)有限公司 Task cooperation device and method
CN102710785A (en) * 2012-06-15 2012-10-03 哈尔滨工业大学 Cloud service node architecture in self-service tourism system, and service collaborating and balancing module and method among service nodes in self-service tourism system
CN103677759A (en) * 2013-11-08 2014-03-26 国家电网公司 Objectification parallel computing method and system for information system performance improvement

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李磊: "分布式计算引擎的集群管理及负载均衡策略研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111382134A (en) * 2018-12-29 2020-07-07 清华大学 Data recovery method and device in large-scale distributed storage system
CN111382134B (en) * 2018-12-29 2022-10-18 清华大学 Data recovery method and device in large-scale distributed storage system

Similar Documents

Publication Publication Date Title
CN104268695B (en) A kind of multicenter basin water environment distributed type assemblies management system and method
CN102629224B (en) Method and device of integrated data disaster recovery based on cloud platform
CN104461752B (en) A kind of multimedia distributed task processing method of two-stage failure tolerant
CN106982266A (en) A kind of method and apparatus of automatically dispose cluster
CN105721582B (en) Multinode file backup system
CN103297543A (en) Job scheduling method based on computer cluster
CN106528327A (en) Data processing method and backup server
CN106598700A (en) Second-level high availability realization method of virtual machine based on pacemaker
CN105847053A (en) Method and system for automatically setting arbitrary bonding for multi-network card and multi-network segment under LINUX system
CN114691050B (en) Cloud native storage method, device, equipment and medium based on kubernets
CN104484228B (en) Distributed parallel task processing system based on Intelli DSC
CN114519493A (en) Emergency plan generation method and device, storage medium and electronic equipment
CN117130730A (en) Metadata management method for federal Kubernetes cluster
CN111897604A (en) Calling data processing method and device for service calling
CN107436825A (en) A kind of cloud platform system recovery method and device
CN107861838A (en) Method and device of the automated back-up MySQL database from storehouse
CN108959547A (en) A kind of PV snapshot distributed experiment & measurement system restoration methods
CN110737501A (en) Method and system for realizing functions of check point and recovery point in Docker container
CN103631594B (en) Asynchronous scheduling method and asynchronous scheduling system for general flow
CN104991814A (en) Task execution result acquiring method and system
CN111614702B (en) Edge calculation method and edge calculation system
CN103457771B (en) The management method of the cluster virtual machine of a kind of HA and equipment
CN116820500A (en) Cluster mirror image deployment method, device, equipment and storage medium
CN107231437A (en) A kind of task backup management method and device
CN111008095A (en) State snapshot generation and recovery method facing edge cloud

Legal Events

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

Application publication date: 20171205

RJ01 Rejection of invention patent application after publication