CN108287747A - Method and apparatus for virtual machine backup - Google Patents

Method and apparatus for virtual machine backup Download PDF

Info

Publication number
CN108287747A
CN108287747A CN201710014302.8A CN201710014302A CN108287747A CN 108287747 A CN108287747 A CN 108287747A CN 201710014302 A CN201710014302 A CN 201710014302A CN 108287747 A CN108287747 A CN 108287747A
Authority
CN
China
Prior art keywords
virtual machine
backup
backup tasks
tasks
maximum
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
CN201710014302.8A
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.)
China Mobile Communications Group Co Ltd
China Mobile Group Guizhou Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Guizhou 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 China Mobile Communications Group Co Ltd, China Mobile Group Guizhou Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201710014302.8A priority Critical patent/CN108287747A/en
Publication of CN108287747A publication Critical patent/CN108287747A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • 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/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1464Management of the backup or restore process for networked environments
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45562Creating, deleting, cloning virtual machine instances

Abstract

This application provides the methods and apparatus backed up for virtual machine.This is used for method that virtual machine backs up:Determine that the parallel backup number N of the maximum of physical machine, the parallel backup number N of the maximum indicate the maximum number for allowing the virtual machine backup tasks being performed simultaneously in physical machine;Virtual machine backup tasks pending in physical machine are sent in backup tasks queue;All virtual machine backup tasks for asking to execute at current time are obtained from backup tasks queue;Compare the number M of acquired virtual machine backup tasks and maximum parallel backup number N;And virtual machine backup tasks are executed based on result of the comparison, wherein:If M is less than or equal to N, M acquired virtual machine backup tasks are executed;And if M is more than N, execute operations described below:Based on backup tasks priority N number of virtual machine backup tasks are selected from M acquired virtual machine backup tasks;And execute selected N number of virtual machine backup tasks.

Description

Method and apparatus for virtual machine backup
Technical field
This application involves field of computer technology, the method and apparatus for more particularly relating to virtual machine backup.
Background technology
Existing data backup system is usually by data backup client device, backup data management device and Backup Data Storage device forms.Backup data management device is the apparatus for initiating of data backup procedure, when the scheduled backup window time (i.e. Data backup client can carry out the time range of data backup) reach when, backup data management device to data backup visitor Family end device sends out log-on data backup instruction.
In server virtualization environment, physical server (or physical machine), can by runtime server virtualization software To support multiple virtual servers (or virtual machine) to be run on a physical server.Data in standby virtual server When, when the time-interleaving for thering are multiple virtual servers to be performed simultaneously data backup task or execution backup tasks on physical server When, a large amount of CPU, memory load and network bandwidth may be occupied, causes physical resource to consume excessively, therefore influence business just Often load and network communication quality.Therefore, existing data backup system is generally difficult to adapt to virtualization than (virtualized server Quantity:Physical server quantity) higher environment.
Invention content
According to the one side of the embodiment of the present application, a kind of method for virtual machine backup is provided, including:Determine physics The parallel backup number N of maximum of machine, the parallel backup number N of the maximum indicate that the virtual machine being performed simultaneously is allowed to back up in physical machine The maximum number of task;Virtual machine backup tasks pending in physical machine are sent in backup tasks queue;Appoint from backup All virtual machine backup tasks for asking to execute at current time are obtained in business queue;Compare acquired virtual machine backup tasks Number M and maximum parallel backup number N;And virtual machine backup tasks are executed based on result of the comparison, wherein:If M Less than or equal to N, then M acquired virtual machine backup tasks are executed;And if M is more than N, execute operations described below:Base In backup tasks priority N number of virtual machine backup tasks are selected from M acquired virtual machine backup tasks;And execute institute N number of virtual machine backup tasks of selection.
According to the another aspect of the embodiment of the present application, a kind of equipment for virtual machine backup is provided, including:It determines single Member is configured to determine that the parallel backup number N of the maximum of physical machine, the parallel backup number N of the maximum indicate to allow in physical machine The maximum number for the virtual machine backup tasks being performed simultaneously;Transmission unit is configured as virtual machine pending in physical machine Backup tasks are sent in backup tasks queue;Acquiring unit is configured as obtaining all requests from backup tasks queue and exists The virtual machine backup tasks that current time executes;Comparing unit is configured as the number of the virtual machine backup tasks acquired in comparison Mesh M and maximum parallel backup number N;And execution unit, it is configured as appointing to execute virtual machine backup based on result of the comparison Business, wherein:If M is less than or equal to N, M acquired virtual machine backup tasks are executed;And it if M is more than N, holds Row operations described below:N number of virtual machine backup is selected to appoint from M acquired virtual machine backup tasks based on backup tasks priority Business;And execute selected N number of virtual machine backup tasks.
It can be avoided because of virtual machine backup activity according to the method and apparatus for virtual machine backup of the embodiment of the present application Caused by physical resource the problem of consuming excessively, to ensure business normal load and network communication quality.
Description of the drawings
In order to illustrate more clearly of the technical solution of the embodiment of the present application, will make below to required in the embodiment of the present application Attached drawing is briefly described, it should be apparent that, drawings described below is only some embodiments of the present application, for For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings Attached drawing.
Fig. 1 shows the schematic flow chart of the method for virtual machine backup according to the embodiment of the present application;
Fig. 2 shows the schematic block diagrams according to the equipment for virtual machine backup of the embodiment of the present application;
Fig. 3, which is shown, can realize at least one of the method and apparatus for virtual machine backup according to the embodiment of the present application The structure chart of the exemplary hardware architecture of partial computing device.
Specific implementation mode
To keep the purpose, technical scheme and advantage of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, technical solutions in the embodiments of the present application is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the application, rather than whole embodiments.Based on embodiments herein, those of ordinary skill in the art exist The every other embodiment obtained under the premise of not making the creative labor, shall fall in the protection scope of this application.
The feature and exemplary embodiment of the various aspects of the application is described more fully below.In following detailed description In, it is proposed that many details, in order to provide the comprehensive understanding to the application.But to those skilled in the art It will be apparent that the application can be implemented in the case of some details in not needing these details.Below to implementing The description of example is just for the sake of by showing that the example of the application is better understood from the application to provide.The application is not limited to Any concrete configuration set forth below and algorithm, but element, portion are covered under the premise of not departing from spirit herein Any modification, replacement and the improvement of part and algorithm.In the the accompanying drawings and the following description, well known structure and technology is not shown, It is unnecessary fuzzy to avoid causing the application.
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be with a variety of shapes Formula is implemented, and is not understood as limited to embodiment set forth herein;On the contrary, thesing embodiments are provided so that the application more Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.It is identical attached in figure Icon note indicates same or similar structure, thus will omit their detailed description.
In addition, described feature, structure or characteristic can be incorporated in one or more implementations in any suitable manner In example.In the following description, many details are provided to fully understand embodiments herein to provide.However, It will be appreciated by persons skilled in the art that the technical solution of the application can be put into practice without one in the specific detail or more It is more, or other methods, constituent element, material may be used etc..In other cases, be not shown in detail or describe known features, Material or operation to avoid fuzzy the application major technique intention.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 shows the schematic flow chart of the method for virtual machine backup according to the embodiment of the present application.Such as Fig. 1 institutes Show, the method for virtual machine backup may include:S102 determines that the parallel backup number N of the maximum of physical machine, the maximum are parallel Backup number N indicates the maximum number for allowing the virtual machine backup tasks being performed simultaneously in physical machine;S104 will be waited in physical machine The virtual machine backup tasks of execution are sent in backup tasks queue;S106 obtains request current from backup tasks queue All virtual machine backup tasks that moment executes;S108, relatively the number M of acquired virtual machine backup tasks and maximum are parallel Backup number N;And S110, virtual machine backup tasks are executed based on result of the comparison, wherein:If M is less than or equal to N, Then execute M acquired virtual machine backup tasks;And if M is more than N, execute operations described below:It is excellent based on backup tasks First grade selects N number of virtual machine backup tasks from M acquired virtual machine backup tasks;And execute selected N number of void Quasi- machine backup tasks.
Specifically, in step s 102, in some embodiments, maximum parallel backup number N can be based on physical machine It configures and is determined with performance.For example, the administrator of backup data management device can be according to such as physical machine hardware resource, net The parameter of network, framework and storage configuration etc allows the data backup executed in the same time to appoint to be arranged in the physical machine The maximum number of business, such as maximum parallel backup number N can be expressed as.The parallel backup number N of maximum of physical machine can be true The performance caused when being performed simultaneously N number of backup tasks in physical machine is protected to decline on the virtual machine for not interfering with the physical machine The normal operation of all business.
In some embodiments, the method 100 for virtual machine backup can also include:Configuration based on physical machine and property It can change to adjust maximum parallel backup number N.For example, when hardware resource, network, framework and the storage configuration of physical machine When changing, it can come to adjust maximum parallel backup number N in time as needed, to ensure backup efficiency and performance.
In step S104, in some embodiments, pending virtual machine backup tasks can be by request in physical machine The chronological order for executing virtual machine backup tasks is sent to successively in backup tasks queue, and backup tasks queue can To be First Input First Output.For example, each pending virtual machine backup tasks can on-demand request in the desired time Backup tasks are executed, such as can be held with the request execution time to indicate that each pending virtual machine backup tasks are requested The time of row backup tasks.Appoint for example, can backup be sent to request execution time earliest virtual machine backup tasks at first It is engaged in queue, the sequencing of time then can be executed by request and is continued all pending virtual machine backup tasks successively It is sent in backup tasks queue.In this case, backup tasks queue for example can be first in, first out (FIFO) queue, So that the execution time that calls request, virtual machine backup tasks can be executed earlier earlier.
After virtual machine backup tasks pending in physical machine are sent in backup tasks queue, in step S106 In, all virtual machine backup tasks that request executes at current time can be obtained from backup tasks queue.In the embodiment In, acquired all virtual machine backup tasks all it is expected to execute at current time.It, can will be acquired in step S108 The number M of virtual machine backup tasks is compared with maximum parallel backup number N.In this embodiment, M can indicate that request exists The total number for the virtual machine backup tasks that current time executes, and N can indicate to allow to execute in the same time in physical machine The maximum number of data backup task.
In step s 110, virtual machine backup tasks can be executed based on result of the comparison.When M is less than or equal to N, M acquired virtual machine backup tasks can be executed;When M is more than N, then backup tasks priority can be primarily based on from institute The higher N number of virtual machine backup tasks of priority are selected in M virtual machine backup tasks of acquisition, are then executed again selected N number of virtual machine backup tasks.It in some embodiments, can also be by the non-selected lower (M- of priority if M is more than N N) a virtual machine backup tasks are sent back in backup tasks queue, may insure only to allow to execute most in the same time in this way Mostly N number of backup tasks, to avoid the problem that physical resource consumes excessively caused by virtual machine backup activity, to ensure industry Normal load of being engaged in and network communication quality.In some embodiments, if M is more than N, whenever selected N number of virtual machine backs up At the end of having backup tasks execution in task, (M-N) a virtual machine backup tasks that can be returned from backup tasks queue Middle selection virtual machine backup tasks execute, until having executed a virtual machine backup tasks of (M-N) being returned.
In some embodiments, it in the case where there is M more than N, that is, asks to execute the virtual machine of backup at current time When backup tasks total number in preset physical machine more than the maximum number for the virtual machine backup tasks being performed simultaneously is allowed, The backup tasks of this expression plan can not be executed and be completed on time, can be alerted at this time by such as instant message, daily record, is simple The mode of Network Management Protocol (SNMP) alarm etc notifies backup administrator.
In some embodiments, the method for virtual machine backup can also include:If M is more than N, maximum is adjusted simultaneously Row backup number N.For example, after the notice that the backup tasks for receiving plan can not execute on time, backup administrator can root According to needing to adjust accordingly scheduled maximum parallel backup number N, such as current business can not influenced and data are standby In the case of part task, increase maximum parallel backup number N come appropriate to meet current backup based on current backup mission requirements Demand.
Fig. 2 shows the schematic block diagrams according to the equipment for virtual machine backup of the embodiment of the present application.Such as Fig. 2 institutes Show, the equipment 200 for virtual machine backup may include:Determination unit 202 is configured to determine that the maximum of physical machine is parallel standby Part number N, the parallel backup number N of the maximum indicate the maximum number for allowing the virtual machine backup tasks being performed simultaneously in physical machine Mesh;Transmission unit 204 is configured as virtual machine backup tasks pending in physical machine being sent in backup tasks queue; Acquiring unit 206 is configured as obtaining the virtual machine backup times that all requests execute at current time from backup tasks queue Business;Comparing unit 208 is configured as the number M of the virtual machine backup tasks acquired in comparison and maximum parallel backup number N; And execution unit 210, it is configured as executing virtual machine backup tasks based on result of the comparison, wherein:If M is less than or waits In N, then M acquired virtual machine backup tasks are executed;And if M is more than N, execute operations described below:Appointed based on backup Business priority selects N number of virtual machine backup tasks from M acquired virtual machine backup tasks;And execute selected N A virtual machine backup tasks.
In some embodiments, determination unit 202 can be determined maximum parallel standby based on the configuration of physical machine and performance Part number N.For example, determination unit 202 can according to the hardware resource of such as physical machine, network, framework and storage configuration it The parameter of class is arranged the maximum number for the data backup task for allowing to execute in the same time in the physical machine, such as can be with table It is shown as maximum parallel backup number N.The parallel backup number N of maximum of physical machine may insure to be performed simultaneously in physical machine N number of Caused performance declines the normal operation of all business on the virtual machine for not interfering with the physical machine when backup tasks.
In some embodiments, the equipment 200 for virtual machine backup can also include:Adjustment unit (not shown), quilt Configuration and the performance change of physical machine are configured to adjust maximum parallel backup number N.For example, the hardware when physical machine provides When source, network, framework and storage configuration change, it can come to adjust maximum parallel backup number N in time as needed, To ensure backup efficiency and performance.
In some embodiments, transmission unit 204 can be executed the chronological order of virtual machine backup tasks by request Virtual machine backup tasks pending in physical machine are sent in sequence in backup tasks queue, and backup tasks queue can be with It is First Input First Output.For example, each pending virtual machine backup tasks can on-demand request held in the desired time Row backup tasks, such as the time can be executed with request to indicate each pending requested execution of virtual machine backup tasks The time of backup tasks.For example, transmission unit 204 can send request execution time earliest virtual machine backup tasks at first Into backup tasks queue, the sequencing that the time then can be executed by request continues all pending virtual machine backups Task is sent in sequence in backup tasks queue.In this case, backup tasks queue for example can be first in, first out (FIFO) queue, so that the execution time that calls request, virtual machine backup tasks can be executed earlier earlier.
In some embodiments, if M is more than N, execution unit 210 can also be by the non-selected lower (M- of priority N) a virtual machine backup tasks are sent back in backup tasks queue, may insure only to allow to execute most in the same time in this way Mostly N number of backup tasks.In some embodiments, if M is more than N, whenever having backup in selected N number of virtual machine backup tasks At the end of task execution, in (M-N) a virtual machine backup tasks that execution unit 210 can be returned from backup tasks queue Virtual machine backup tasks are selected to execute, until having executed a virtual machine backup tasks of (M-N) being returned.
In some embodiments, the equipment 200 for being used for virtual machine backup can also include notification unit (not shown).Going out In the case that existing M is more than N, notification unit can be notified by way of the alarm of such as instant message, daily record, SNMP alarms etc Adjustment unit.
In some embodiments, adjustment unit can be additionally configured to:If M is more than N, maximum parallel backup number is adjusted Mesh N.For example, after the notice that the backup tasks for receiving plan can not execute on time, adjustment unit can be as needed to pre- The parallel backup number N of fixed maximum adjusts accordingly, such as can be in the feelings for not influencing current business and data backup task Under condition, increase maximum parallel backup number N come appropriate to meet current backup demand based on current backup mission requirements.
Fig. 3, which is shown, can realize at least one of the method and apparatus for virtual machine backup according to the embodiment of the present application The structure chart of the exemplary hardware architecture of partial computing device.
Equipment 200 in conjunction with the method 100 of 1 to Fig. 2 description backed up for virtual machine and for virtual machine backup is extremely A few part can be realized by computing device.Fig. 3, which is shown, can realize according to the embodiment of the present application for Wind turbines The structure chart of the exemplary hardware architecture of error compensating method and at least part of computing device of equipment.As shown in figure 3, meter Calculate equipment 300 may include input equipment 301, input interface 302, central processing unit 303, memory 303, output interface 305, And output equipment 306.Wherein, input interface 302, central processing unit 303, memory 304 and output interface 305 pass through Bus 310 is connected with each other, input equipment 301 and output equipment 306 respectively by input interface 302 and output interface 305 with it is total Line 310 connects, and then is connect with the other assemblies of computing device 300.Specifically, input equipment 301 is received from the defeated of outside Enter information, and input information is transmitted to by central processing unit 303 by input interface 302;Central processing unit 303 is based on memory The computer executable instructions stored in 304 handle to generate output information input information, by output information it is interim or Person is permanently stored in memory 304, and output information is then transmitted to output equipment 306 by output interface 305;Output Output information is output to the outside of computing device 300 by equipment 306.
That is, the equipment 200 shown in Fig. 2 for virtual machine backup can also be implemented as including being stored with calculating The memory of machine executable instruction;And processor, the processor may be implemented to combine when executing computer executable instructions The method 100 for virtual machine backup of Fig. 1 descriptions.
It needs to define, the application is not limited to specific configuration described above and shown in figure and processing.Also, For brevity, the detailed description to known method technology is omitted here.In the above-described embodiments, it has been described and illustrated several Specific step is as example.But the present processes process is not limited to described and illustrated specific steps, this field Technical staff can be variously modified after understanding spirit herein, modification and addition, or between changing the step Sequentially.
Those of ordinary skill in the art may realize that lists described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This A little functions are implemented in hardware or software actually, depend on the specific application and design constraint of technical solution.This Field technology personnel can use different methods to achieve the described function each specific application, but this realization It is not considered that exceeding scope of the present application.
Those skilled in the art can be understood that, for convenience of description and succinctly, the equipment of foregoing description Specific work process, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, apparatus embodiments described above are merely indicative, for example, the division of the unit, only Only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component can be tied Another system is closed or is desirably integrated into, or some features can be ignored or not executed.In addition, shown or discussed phase Coupling, direct-coupling or communication connection between mutually can be INDIRECT COUPLING or the communication by some interfaces, equipment or unit Connection can also be electricity, mechanical or other form connections.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the embodiment of the present application scheme Purpose.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, it can also It is that each unit physically exists alone, can also be during two or more units are integrated in one unit.It is above-mentioned integrated The form that hardware had both may be used in unit is realized, can also be realized in the form of SFU software functional unit.
The above, the only specific implementation mode of the application, but the protection domain of the application is not limited thereto, it is any Those familiar with the art can readily occur in various equivalent modifications or replace in the technical scope that the application discloses It changes, these modifications or substitutions should all cover within the protection domain of the application.Therefore, the protection domain of the application should be with right It is required that protection domain subject to.

Claims (12)

1. a kind of method for virtual machine backup, including:
Determine that the parallel backup number N of the maximum of physical machine, the parallel backup number N of the maximum indicate to allow simultaneously in the physical machine The maximum number of the virtual machine backup tasks of execution;
Virtual machine backup tasks pending in the physical machine are sent in backup tasks queue;
All virtual machine backup tasks for asking to execute at current time are obtained from the backup tasks queue;
Compare the number M of acquired virtual machine backup tasks and the maximum parallel backup number N;And
Virtual machine backup tasks are executed based on result of the comparison, wherein:
If M is less than or equal to N, M acquired virtual machine backup tasks are executed;And
If M is more than N, operations described below is executed:
Based on backup tasks priority N number of virtual machine backup tasks are selected from M acquired virtual machine backup tasks;And
Execute selected N number of virtual machine backup tasks.
2. according to the method described in claim 1, wherein, the maximum parallel backup number N is matching based on the physical machine It sets and determines with performance.
3. according to the method described in claim 2, further including:It is adjusted based on the configuration of the physical machine and performance change described Maximum parallel backup number N.
4. according to the method described in claim 1, wherein, pending virtual machine backup tasks are held by request in the physical machine The chronological order of row virtual machine backup tasks is sent in sequence in the backup tasks queue, and the backup tasks team Row are First Input First Outputs.
5. according to the method described in claim 1, wherein, if M is more than N, also executing operations described below:By non-selected (M-N) A virtual machine backup tasks are sent back in the backup tasks queue.
6. according to the method described in claim 1, further including:If M is more than N, the maximum parallel backup number N is adjusted.
7. a kind of equipment for virtual machine backup, including:
Determination unit is configured to determine that the parallel backup number N of the maximum of physical machine, the parallel backup number N of the maximum indicate institute State the maximum number for the virtual machine backup tasks for allowing to be performed simultaneously in physical machine;
Transmission unit is configured as virtual machine backup tasks pending in the physical machine being sent to backup tasks queue In;
It is standby to be configured as obtaining the virtual machines that all requests execute at current time from the backup tasks queue for acquiring unit Part task;
Comparing unit is configured as the number M of the virtual machine backup tasks acquired in comparison and the maximum parallel backup number N;And
Execution unit is configured as executing virtual machine backup tasks based on result of the comparison, wherein:
If M is less than or equal to N, M acquired virtual machine backup tasks are executed;And
If M is more than N, operations described below is executed:
Based on backup tasks priority N number of virtual machine backup tasks are selected from M acquired virtual machine backup tasks;And
Execute selected N number of virtual machine backup tasks.
8. equipment according to claim 7, wherein the maximum parallel backup number N is matching based on the physical machine It sets and determines with performance.
9. equipment according to claim 7, further includes:Adjustment unit, be configured as configuration based on the physical machine and Performance change adjusts the maximum parallel backup number N.
10. equipment according to claim 7, wherein pending virtual machine backup tasks are by request in the physical machine The chronological order for executing virtual machine backup tasks is sent in sequence in the backup tasks queue, and the backup tasks Queue is First Input First Output.
11. equipment according to claim 7, wherein if M is more than N, the execution unit also executes operations described below:It will A virtual machine backup tasks of non-selected (M-N) are sent back in the backup tasks queue.
12. equipment according to claim 9, wherein the adjustment unit is additionally configured to:If M is more than N, adjust The maximum parallel backup number N.
CN201710014302.8A 2017-01-09 2017-01-09 Method and apparatus for virtual machine backup Pending CN108287747A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710014302.8A CN108287747A (en) 2017-01-09 2017-01-09 Method and apparatus for virtual machine backup

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710014302.8A CN108287747A (en) 2017-01-09 2017-01-09 Method and apparatus for virtual machine backup

Publications (1)

Publication Number Publication Date
CN108287747A true CN108287747A (en) 2018-07-17

Family

ID=62819359

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710014302.8A Pending CN108287747A (en) 2017-01-09 2017-01-09 Method and apparatus for virtual machine backup

Country Status (1)

Country Link
CN (1) CN108287747A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110764873A (en) * 2019-10-21 2020-02-07 深圳金蝶账无忧网络科技有限公司 Virtual machine resource management method, system and related equipment
CN112764890A (en) * 2019-10-21 2021-05-07 伊姆西Ip控股有限责任公司 Method, apparatus and computer program product for scheduling backup tasks
CN113254268A (en) * 2021-05-20 2021-08-13 深信服科技股份有限公司 Data processing method and device, equipment and storage medium
CN115562911A (en) * 2022-12-07 2023-01-03 中科方德软件有限公司 Virtual machine data backup method, device, system, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101414277A (en) * 2008-11-06 2009-04-22 清华大学 Need-based increment recovery disaster-containing system and method based on virtual machine
CN103414762A (en) * 2013-07-23 2013-11-27 中国联合网络通信集团有限公司 Cloud backup method and cloud backup device
CN103744749A (en) * 2014-01-11 2014-04-23 浪潮电子信息产业股份有限公司 Virtual machine intelligent backup method based on prediction algorithm
CN103810058A (en) * 2012-11-12 2014-05-21 华为技术有限公司 Backup method, equipment and system for virtual machine
CN103870600A (en) * 2014-04-02 2014-06-18 中国银行股份有限公司 Data table backup method and device based on Oracle database
CN105378669A (en) * 2013-07-19 2016-03-02 惠普发展公司,有限责任合伙企业 Virtual machine resource management system and method thereof
CN105867998A (en) * 2016-03-24 2016-08-17 国云科技股份有限公司 Virtual machine cluster deployment algorithm
US20160371153A1 (en) * 2015-06-19 2016-12-22 Commvault Systems, Inc. Assignment of proxies for virtual-machine secondary copy operations including streaming backup jobs
CN106294008A (en) * 2016-08-05 2017-01-04 浙江宇视科技有限公司 A kind of data reconstruction method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101414277A (en) * 2008-11-06 2009-04-22 清华大学 Need-based increment recovery disaster-containing system and method based on virtual machine
CN103810058A (en) * 2012-11-12 2014-05-21 华为技术有限公司 Backup method, equipment and system for virtual machine
CN105378669A (en) * 2013-07-19 2016-03-02 惠普发展公司,有限责任合伙企业 Virtual machine resource management system and method thereof
CN103414762A (en) * 2013-07-23 2013-11-27 中国联合网络通信集团有限公司 Cloud backup method and cloud backup device
CN103744749A (en) * 2014-01-11 2014-04-23 浪潮电子信息产业股份有限公司 Virtual machine intelligent backup method based on prediction algorithm
CN103870600A (en) * 2014-04-02 2014-06-18 中国银行股份有限公司 Data table backup method and device based on Oracle database
US20160371153A1 (en) * 2015-06-19 2016-12-22 Commvault Systems, Inc. Assignment of proxies for virtual-machine secondary copy operations including streaming backup jobs
CN105867998A (en) * 2016-03-24 2016-08-17 国云科技股份有限公司 Virtual machine cluster deployment algorithm
CN106294008A (en) * 2016-08-05 2017-01-04 浙江宇视科技有限公司 A kind of data reconstruction method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110764873A (en) * 2019-10-21 2020-02-07 深圳金蝶账无忧网络科技有限公司 Virtual machine resource management method, system and related equipment
CN112764890A (en) * 2019-10-21 2021-05-07 伊姆西Ip控股有限责任公司 Method, apparatus and computer program product for scheduling backup tasks
CN110764873B (en) * 2019-10-21 2022-09-27 深圳金蝶账无忧网络科技有限公司 Virtual machine resource management method, system and related equipment
CN113254268A (en) * 2021-05-20 2021-08-13 深信服科技股份有限公司 Data processing method and device, equipment and storage medium
CN115562911A (en) * 2022-12-07 2023-01-03 中科方德软件有限公司 Virtual machine data backup method, device, system, electronic equipment and storage medium
CN115562911B (en) * 2022-12-07 2023-04-25 中科方德软件有限公司 Virtual machine data backup method, device, system, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105100259B (en) A kind of distributed timing task executing method and system
CN102521044B (en) Distributed task scheduling method and system based on messaging middleware
US8250215B2 (en) Method and system for intelligently leveraging cloud computing resources
US8904341B2 (en) Deriving grounded model of business process suitable for automatic deployment
CN108287747A (en) Method and apparatus for virtual machine backup
US11119829B2 (en) On-demand provisioning of customized developer environments
CN108241528B (en) Dynamic acquisition method for mass network security data customized by user
CN109478147B (en) Adaptive resource management in distributed computing systems
WO2005124553A1 (en) Autonomic monitoring in a grid environment
CN109614227B (en) Task resource allocation method and device, electronic equipment and computer readable medium
CN105095327A (en) Distributed ELT system and scheduling method
CN109245908B (en) Method and device for switching master cluster and slave cluster
CN113742031A (en) Node state information acquisition method and device, electronic equipment and readable storage medium
WO2021143590A1 (en) Distributed container image construction scheduling system and method
EP3118784A1 (en) Method and system for enabling dynamic capacity planning
CN111400041A (en) Server configuration file management method and device and computer readable storage medium
CN103380608A (en) Method for gathering queue information and job information in computation environment
US11663349B2 (en) System and method for managing data object creation
CN111858012A (en) Task scheduling method, device, equipment and medium
JP6303486B2 (en) Information processing system, monitoring method, and program
Bovina et al. The evolution of monitoring system: the INFN-CNAF case study
CN109257256A (en) Apparatus monitoring method, device, computer equipment and storage medium
CN107958414A (en) A kind of method and system of removing CICS systems length transaction
CN114416276A (en) Scheduling method and device of equipment management service, electronic equipment and storage medium
CN114416438A (en) Data export method and device, computer equipment and scheduling service 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180717