[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN105740003A - Method and device for recovering virtual machine, as well as method and device for upgrading virtual machine - Google Patents

Method and device for recovering virtual machine, as well as method and device for upgrading virtual machine Download PDF

Info

Publication number
CN105740003A
CN105740003A CN201410763813.6A CN201410763813A CN105740003A CN 105740003 A CN105740003 A CN 105740003A CN 201410763813 A CN201410763813 A CN 201410763813A CN 105740003 A CN105740003 A CN 105740003A
Authority
CN
China
Prior art keywords
virtual machine
new
node
template
child node
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.)
Withdrawn
Application number
CN201410763813.6A
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201410763813.6A priority Critical patent/CN105740003A/en
Priority to PCT/CN2015/081881 priority patent/WO2016090890A1/en
Publication of CN105740003A publication Critical patent/CN105740003A/en
Withdrawn 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a method and device for recovering a virtual machine, as well as a method and device for upgrading the virtual machine. The method for recovering the virtual machine comprises the steps of deleting a selected virtual machine, and retaining disk information and registry information of the virtual machine; creating a VHD virtual machine via a virtual machine template; and importing the disk information and the registry information of the virtual machine into the VHD virtual machine. The method for upgrading the virtual machine comprises the steps of converting the virtual machine template into a new virtual machine, and mounting a new application or a patch in the new virtual machine; converting the new virtual machine with the new application or the patch mounted into a new virtual machine template; and integrating a child node and a father node of the new virtual machine template to obtain a new father node to replace the original father node of the new virtual machine template. The invention provides optimization methods for recovering the virtual machine and upgrading the virtual machine, so that the virtual machine is recovered quickly and intelligently after collapse, and convenient batch upgrade of the virtual machine is carried out by the optimization method for upgrading the virtual machine.

Description

A kind of recovery, the method for upgrading virtual machine and device
Technical field
The present invention relates to cloud desktop field, particularly relate to a kind of recovery, the method for upgrading virtual machine and device.
Background technology
Cloud desktop, is based on and computer hardware resource is implemented Intel Virtualization Technology so that it is invented multiple virtual machine, and can directly run the desktop operating system without any change on virtual machine.Also providing for supporting the operating system of class Intel Virtualization Technology, application can directly run on this desktop operating system simultaneously.Cloud desktop system includes administrative center, host services end, memory module and client.Administrative center is responsible for the establishment of resource, maintenance and distribution;Host services end provides network, block device I/O supports;Memory module is responsible for preservation and the access of user data;Client is responsible for connection and the display of cloud resource.
Virtual machine is generally divided into desktop virtual machine and General Virtual Machine.Desktop virtual machine is usually and is supplied to what user directly used, after user logs in virtual machine, can directly being used as common PC by this virtual machine, the type virtual machine mainly considers the use support of types of applications, and common desktop operating system has xp, win7, win8 etc..General Virtual Machine is usually and uses as server, need not distribute to user and directly use, and supports that conventional server OS has windows2003, windows2008, windows2010 and an all kinds of Linux system.
Virtual desktop login authentication mode common are local authentication and AD (ActiveDirectory) territory control certification two ways.Be there is local data base by local authentication mode in the username and password of user.Information is existed on special AD server by the control of AD territory, security integrated management, uniform security policies.The suitable entrance guard of effect of AD domain controller, it contains by the data base of the information structures such as the account password in this territory, management strategy.When a computer logs in territory, domain controller first has to differentiate whether this computer is belonging to this territory, and whether login account and password that user uses be correct.If correct, computer is allowed to login this territory, it is used in this territory to have permission any resource of access, as file server, printing server (that is domain controller only plays a checking effect, accesses other resources and is not required to pull co-relation with domain controller again);If incorrect, not allowing computer to login, this computer-chronograph will be unable to any resource in access domain, and this protects enterprise network resources to a certain extent.
Now usual virtual machine recovery policy is that virtual machine is backuped, and during virtual machine exception, uses backup to recover.The one of this recovery has the drawback that greatly and can not the virtual machine operations after backup be recovered.
The mode issued by territory control in prior art carries out the batch upgrade of software, and software batch can only be issued to each virtual machine by territory control, notifies that user oneself goes installation or manager to enter desktop virtual machine and goes a platform to install.
Summary of the invention
It is an object of the invention to provide a kind of recovery, the method for upgrading virtual machine and device so that virtual machine obtain quick, intelligent, fully recover, the convenient mass upgrading of virtual machine under presence can be completed simultaneously.
In order to achieve the above object, the present invention provides a kind of method recovering virtual machine, including:
Deleting selected virtual machine, and retain disc information and the registry information of virtual machine, wherein disc information at least includes: system disk information;
VHD virtual machine is created by virtual machine template;And
The disc information of virtual machine and registry information are imported in VHD virtual machine.
Wherein, delete selected virtual machine, and retain disc information and the registry information of virtual machine, particularly as follows:
Disk node tree structure is deleted the first child node of selected virtual machine, the registry information of virtual machine is stored in the disc information of virtual machine, and retain the disc information of virtual machine.
Wherein, create VHD virtual machine by virtual machine template, particularly as follows:
In disk node tree structure, the first child node chosen with virtual machine has the second child node of the virtual machine template of identical father node, and by the 3rd child node of the second child node establishment VHD virtual machine of virtual machine template, form VHD virtual machine by father node, the second child node of virtual machine template and the 3rd child node of VHD virtual machine.
Wherein, the method also includes:
Second child node of virtual machine template is sentenced do-nothing operation, when the second child node of virtual machine template is empty node, deletes the second child node of virtual machine template.
Wherein, the disc information of virtual machine and registry information are imported in VHD virtual machine, specifically include:
The system disk information of virtual machine is imported VHD virtual machine, as the data disks information of VHD virtual machine;
The registry information of virtual machine is imported in the registration table of VHD virtual machine, the registry information according to the data disks information updating VHD virtual machine in VHD virtual machine.
The embodiment of the present invention also provides for a kind of method of upgrading virtual machine, including:
Virtual machine template is converted to new virtual machine, and new opplication or patch are installed in new virtual machine;
New virtual machine after installing new opplication or patch is converted to new virtual machine template;
Undertaken the father node of the child node of new virtual machine template and new virtual machine template integrating the former father node obtaining a new father node to replace new virtual machine template.
Wherein, new opplication or patch are installed in new virtual machine, particularly as follows:
The child node of selected new virtual machine in disk node tree structure, installs new opplication or patch in the child node of new virtual machine.
Wherein, undertaken the father node of the child node of new virtual machine template and new virtual machine template integrating the former father node obtaining a new father node to replace new virtual machine template, specifically include:
In disk node tree structure, the child node of selected new virtual machine template and the father node of new virtual machine template replace the former father node of new virtual machine template as the new father node of new virtual machine template;
The father node of the child node of new virtual machine template and new virtual machine template is integrated, obtains the new father node of new virtual machine template.
The embodiment of the present invention additionally provides a kind of device recovering virtual machine, including:
Processing module, for deleting selected virtual machine, and retains disc information and the registry information of virtual machine, and wherein disc information at least includes: system disk information;
Creation module, for creating VHD virtual machine by virtual machine template;
Import module, for disc information and the registry information of virtual machine being imported in VHD virtual machine.
Wherein, processing module is further used for:
Disk node tree structure is deleted the first child node of selected virtual machine, the registry information of virtual machine is stored in the disc information of virtual machine, and retain the disc information of virtual machine.
Wherein, creation module is further used for:
In disk node tree structure, the first child node chosen with virtual machine has the second child node of the virtual machine template of identical father node, and by the 3rd child node of the second child node establishment VHD virtual machine of virtual machine template, form VHD virtual machine by father node, the second child node of virtual machine template and the 3rd child node of VHD virtual machine.
Wherein, this device also includes:
Determination module, for the second child node of virtual machine template is sentenced do-nothing operation, when the second child node of virtual machine template is empty node, deletes the second child node of virtual machine template.
Wherein, import module to include:
First imports unit, for the system disk information of virtual machine is imported VHD virtual machine, as the data disks information of VHD virtual machine;
Second imports unit, for the registry information of virtual machine being imported in the registration table of VHD virtual machine, and the registry information according to the data disks information updating VHD virtual machine in VHD virtual machine.
The embodiment of the present invention also provides for the device of a kind of upgrading virtual machine, including:
First modular converter, for virtual machine template converts to new virtual machine, and installs new opplication or patch in new virtual machine;
Second modular converter, for being converted to new virtual machine template by the new virtual machine after installation new opplication or patch;
Integrate module, for being undertaken integrating the former father node obtaining a new father node to replace new virtual machine template by the child node of new virtual machine template and the father node of new virtual machine template.
Wherein, the first modular converter is further used for:
The child node of selected new virtual machine in disk node tree structure, installs new opplication or patch in the child node of new virtual machine.
Wherein, integrate module to specifically include:
Replace unit, replace the former father node of new virtual machine template for the child node of new virtual machine template selected in disk node tree structure and the father node of new virtual machine template as the new father node of new virtual machine template;
Integral unit, for the child node of new virtual machine template and the father node of new virtual machine template being integrated, obtains the new father node of new virtual machine template.
The invention has the beneficial effects as follows: by virtual machine system disk being converted to data disks, simultaneously edit the registry information, recovering application program and the data of virtual machine, quickly, intelligence, fully recover virtual machine.By using the father node installing new opplication or patch to replace original father node, make all of virtual machine can use this new opplication or patch, virtual machine is carried out convenient mass upgrading.
Accompanying drawing explanation
Fig. 1 represents the schematic diagram utilizing virtual machine template to create virtual machine 1;
Fig. 2 represents the schematic diagram utilizing virtual machine template to create virtual machine 2;
Fig. 3 represents the schematic diagram deleting empty father node;
Fig. 4 represents that virtual machine template creates the disk node tree diagram of virtual machine;
Fig. 5 represents that the embodiment of the present invention recovers the method step flow chart of virtual machine;
Fig. 6 represent the embodiment of the present invention recover virtual machine method in delete virtual machine 1 disk node tree shape variation diagram;
Fig. 7 represents that the embodiment of the present invention is recovered to create the disk node tree shape variation diagram after virtual machine 3 in the method for virtual machine;
Fig. 8 represents that the method interior joint of embodiment of the present invention recovery virtual machine sentences the disk node tree shape variation diagram of sky;
Fig. 9 represents that the embodiment of the present invention recovers the disc information of virtual machine and registry information to be imported in the method for virtual machine the flow chart of steps of VHD virtual machine;
Figure 10 represents that the embodiment of the present invention is recovered to import the disk node tree shape variation diagram after data disks in the method for virtual machine;
Figure 11 represents the method step flow chart of embodiment of the present invention upgrading virtual machine;
Figure 12 represents that in the method for embodiment of the present invention upgrading virtual machine, virtual machine template changes into the disk node tree shape variation diagram of virtual machine 4;
Figure 13 represents that in the method for embodiment of the present invention upgrading virtual machine, virtual machine 4 changes into the disk node tree shape variation diagram of new virtual machine template;
Figure 14 represents the flow chart of steps replacing father node in the method for embodiment of the present invention upgrading virtual machine;
Figure 15 represents the disk node tree shape variation diagram after replacing father node in the method for embodiment of the present invention upgrading virtual machine;
Figure 16 represents and integrates father node disk node tree shape variation diagram in the method for embodiment of the present invention upgrading virtual machine;
Figure 17 represents that the embodiment of the present invention recovers the device block diagram of virtual machine;
Figure 18 represent the embodiment of the present invention recover virtual machine device in import module frame chart;
Figure 19 represents the device block diagram of embodiment of the present invention upgrading virtual machine;
Figure 20 represents and integrates module frame chart in the device of embodiment of the present invention upgrading virtual machine.
Detailed description of the invention
For making the technical problem to be solved in the present invention, technical scheme and advantage clearly, it is described in detail below in conjunction with the accompanying drawings and the specific embodiments.
In prior art, the detailed process utilizing virtual machine template establishment virtual machine is as follows:
As it is shown in figure 1, notice virtual machine template creates virtual machine 1, disk node A drop-down 2 child node B, M in virtual machine template out, respectively become the child node of virtual machine 1 and virtual machine template.Now node A becomes virtual machine template and the common parent of virtual machine 1, and B, M are because being newly-built node (not being operated on node), and this actual space taken of 2 disk nodes is only small even without data.Therefore the process created very fast (about 10S).
As in figure 2 it is shown, notice virtual machine template creates virtual machine 2, child node M drop-down 2 child node C, D in virtual machine template out, respectively become the child node of virtual machine 2 and virtual machine template.In like manner, C, D are newly-built nodes, and this actual space taken of 2 disk nodes is only small even without data.Therefore the process creating virtual machine 2 is also very fast (about 10S).
As it is shown on figure 3, the father node of virtual machine and virtual machine template is sentenced sky, if being empty, delete the father node of this sky.The father node M of virtual machine 2 and virtual machine template is sky node, deletes this node.Eventually form virtual machine template as shown in Figure 4 and create the disk node tree diagram of virtual machine.
The present invention provides a kind of method recovering virtual machine based on above-mentioned prior art, as it is shown in figure 5, include:
Step S100, deleting selected virtual machine, and retain disc information and the registry information of virtual machine, wherein disc information at least includes: system disk information;
Step S200, by virtual machine template create VHD virtual machine;
Step S300, disc information and the registry information of virtual machine are imported in VHD virtual machine.
Specifically, retain disc information and the registry information of selected virtual machine, VHD virtual machine is created according to virtual machine template, the disc information of the virtual machine of preservation and registry information are imported in newly created VHD virtual machine, recover the application program of virtual machine and data, quickly, intelligence, fully recover virtual machine.
In the above embodiment of the present invention, delete selected virtual machine, and retain disc information and the registry information of virtual machine, particularly as follows:
Disk node tree structure is deleted the first child node of selected virtual machine, the registry information of virtual machine is stored in the disc information of virtual machine, and retain the disc information of virtual machine.
As shown in Figure 6, delete the child node B of selected virtual machine 1, retain all disks of virtual machine 1 (including system disk C) information, and automatically retain the registry information of virtual machine 1, registry information is stored in the disc information of virtual machine, the disk node A+B of virtual machine 1 is integrated into independent disk a.
In the above embodiment of the present invention, create VHD virtual machine by virtual machine template, particularly as follows:
In disk node tree structure, the first child node chosen with virtual machine has the second child node of the virtual machine template of identical father node, and by the 3rd child node of the second child node establishment VHD virtual machine of virtual machine template, form VHD virtual machine by father node, the second child node of virtual machine template and the 3rd child node of VHD virtual machine.
As it is shown in fig. 7, use virtual machine template quickly to create VHD virtual machine and virtual machine 3 (about 10S), create process: child node D drop-down 2 child node E, F in virtual machine template out, respectively become the child node of virtual machine 3 and virtual machine template.To create the disk node tree shape variation diagram after virtual machine 3 be: from the child node D of virtual machine template drop-down 2 child node E, F, defining virtual machine 3, the node of such virtual machine 3 is A+D+E, and the node of virtual machine template is A+D+F.
In the above embodiment of the present invention, the method also includes:
Second child node of virtual machine template is sentenced do-nothing operation, when the second child node of virtual machine template is empty node, deletes the second child node of virtual machine template.
In order to prevent, virtual machine node is immoderate to be increased, and child node can judge that whether father node is as empty, if being sky, deletes sky node.As shown in Figure 8, D node is sky node (the inside does not have content), deletes after sentencing sky.
In the above embodiment of the present invention, the disc information of virtual machine and registry information are imported in VHD virtual machine, as it is shown in figure 9, specifically include:
Step S301, the system disk information of virtual machine is imported VHD virtual machine, as the data disks information of VHD virtual machine;
Step S302, the registry information of virtual machine is imported in the registration table of VHD virtual machine, the registry information according to the data disks information updating VHD virtual machine in VHD virtual machine.
As shown in Figure 10, at the disc information (i.e. independent disk a) that new virtual machine (empty machine 3) upper mount virtual machine 1 retains, as the data disks of new virtual machine.Wherein using the system disk C of the virtual machine 1 data disks E as new virtual machine, in the registry information of the virtual machine 1 that amendment preserves, C dish is E dish.The registry information preserving virtual machine 1 is imported in new virtual machine.So can recover various application and the data of virtual machine 1 as much as possible, need not reinstall.
The embodiment of the present invention also provides for a kind of method of upgrading virtual machine, as shown in figure 11, and including:
Step S400 to, virtual machine template is converted new virtual machine, and new opplication or patch are installed in new virtual machine;
Step S500, the new virtual machine after installing new opplication or patch is converted to new virtual machine template;
Step S600, undertaken integrating the former father node obtaining a new father node to replace new virtual machine template by the father node of the child node of new virtual machine template and new virtual machine template.
Concrete, as shown in Figures 12 and 13, by installing new opplication or patch in new virtual machine, new virtual machine after installing new opplication or patch is converted to new virtual machine template, this stylish virtual machine template contains new application or patch, by the mode that father node is replaced, it is possible to achieve virtual machine internal new opplication is installed and patch upgrading, accomplishing batch, automatically installation or upgrading completely, efficiency is obviously improved.
In the above embodiment of the present invention, step S400 installs in new virtual machine new opplication or patch, particularly as follows:
The child node of selected new virtual machine in disk node tree structure, installs new opplication or patch in the child node of new virtual machine.
As shown in figure 12, installing new application or patch in virtual machine 4, the installation of application or patch is to be operated on the child node D of virtual machine 4, does not affect the online use of other virtual machines.
In the above embodiment of the present invention, as shown in figure 14, step S600 specifically includes:
Step S601, in disk node tree structure, the child node of selected new virtual machine template and the father node of new virtual machine template replace the former father node of new virtual machine template as the new father node of new virtual machine template;
Step S602, the father node of the child node of new virtual machine template and new virtual machine template is integrated, obtain the new father node of new virtual machine template.
As shown in figure 15, the father node of new virtual machine template and child node are integrated the father node that replacement is original.The father node of virtual machine 1 after replacement, virtual machine 2 and new virtual machine template is A+D, difference child node respectively B, C, E of virtual machine 1, virtual machine 2 and new virtual machine template.Father node A+D is integrated into a node F, integrating father node disk node tree shape variation diagram with reference to Figure 16 is: the father node after virtual machine 1, virtual machine 2 and new virtual machine template integration is F, difference child node respectively B, C, E of virtual machine 1, virtual machine 2 and new virtual machine template.
The embodiment of the present invention additionally provides a kind of device recovering virtual machine, as shown in figure 17, and including:
Processing module 10, for deleting selected virtual machine, and retains disc information and the registry information of virtual machine, and wherein disc information at least includes: system disk information;
Creation module 20, for creating VHD virtual machine by virtual machine template;
Import module 30, for disc information and the registry information of virtual machine being imported in VHD virtual machine.
In the above embodiment of the present invention, processing module 10 is further used for:
Disk node tree structure is deleted the first child node of selected virtual machine, the registry information of virtual machine is stored in the disc information of virtual machine, and retain the disc information of virtual machine.
In the above embodiment of the present invention, creation module 20 is further used for:
In disk node tree structure, the first child node chosen with virtual machine has the second child node of the virtual machine template of identical father node, and by the 3rd child node of the second child node establishment VHD virtual machine of virtual machine template, form VHD virtual machine by father node, the second child node of virtual machine template and the 3rd child node of VHD virtual machine.
In the above embodiment of the present invention, this device also includes:
Determination module 40, for the second child node of virtual machine template is sentenced do-nothing operation, when the second child node of virtual machine template is empty node, deletes the second child node of virtual machine template.
In the above embodiment of the present invention, as shown in figure 18, import module 30 to include:
First imports unit 31, for the system disk information of virtual machine is imported VHD virtual machine, as the data disks information of VHD virtual machine;
Second imports unit 32, for the registry information of virtual machine being imported in the registration table of VHD virtual machine, and the registry information according to the data disks information updating VHD virtual machine in VHD virtual machine.
The embodiment of the present invention also provides for the device of a kind of upgrading virtual machine, as shown in figure 19, and including:
First modular converter 50, for virtual machine template converts to new virtual machine, and installs new opplication or patch in new virtual machine;
Second modular converter 60, for being converted to new virtual machine template by the new virtual machine after installation new opplication or patch;
Integrate module 70, for being undertaken integrating the former father node obtaining a new father node to replace new virtual machine template by the child node of new virtual machine template and the father node of new virtual machine template.
In the above embodiment of the present invention, the first modular converter 50 is further used for:
The child node of selected new virtual machine in disk node tree structure, installs new opplication or patch in the child node of new virtual machine.
In the above embodiment of the present invention, as shown in figure 20, integrate module 70 to specifically include:
Replace unit 71, replace the former father node of new virtual machine template for the child node of new virtual machine template selected in disk node tree structure and the father node of new virtual machine template as the new father node of new virtual machine template;
Integral unit 72, for the child node of new virtual machine template and the father node of new virtual machine template being integrated, obtains the new father node of new virtual machine template.
The embodiment of the present invention is recovered, in the method for upgrading virtual machine, by virtual machine system disk being converted to data disks, edit the registry information simultaneously, recover application program and the data of virtual machine, quickly, intelligence, fully recover virtual machine.By using the father node installing new opplication or patch to replace original father node, make all of virtual machine can use this new opplication or patch, virtual machine is carried out convenient mass upgrading.
It should be noted that the present invention provides recovery, the device of upgrading virtual machine be should device in aforementioned manners, then all embodiments of said method are all suitable in this device, and all can reach same or analogous beneficial effect.
The above is the preferred embodiment of the present invention; should be understood that for those skilled in the art; can also making some improvements and modifications under the premise without departing from principle of the present invention, these improvements and modifications also should be regarded as protection scope of the present invention.

Claims (16)

1. the method recovering virtual machine, it is characterised in that described method includes:
Deleting selected virtual machine, and retain disc information and the registry information of described virtual machine, wherein said disc information at least includes: system disk information;
VHD virtual machine is created by virtual machine template;And
The disc information of described virtual machine and registry information are imported in described VHD virtual machine.
2. the method for claim 1, it is characterised in that the virtual machine that described deletion is selected, and retain disc information and the registry information of described virtual machine, particularly as follows:
Disk node tree structure is deleted the first child node of selected virtual machine, the registry information of described virtual machine is stored in the disc information of described virtual machine, and retain the disc information of described virtual machine.
3. method as claimed in claim 2, it is characterised in that described by virtual machine template establishment VHD virtual machine, particularly as follows:
Described disk node tree structure is chosen the second child node that the first child node with described virtual machine has the virtual machine template of identical father node, and by the 3rd child node of the second child node establishment VHD virtual machine of described virtual machine template, form described VHD virtual machine by described father node, the second child node of described virtual machine template and the 3rd child node of described VHD virtual machine.
4. method as claimed in claim 3, it is characterised in that described method also includes:
Second child node of described virtual machine template is sentenced do-nothing operation, when the second child node of described virtual machine template is empty node, deletes the second child node of described virtual machine template.
5. the method for claim 1, it is characterised in that the described disc information by described virtual machine and registry information import in described VHD virtual machine, specifically include:
The system disk information of described virtual machine is imported described VHD virtual machine, as the data disks information of described VHD virtual machine;
The registry information of described virtual machine is imported in the registration table of described VHD virtual machine, the registry information of VHD virtual machine according to the data disks information updating in described VHD virtual machine.
6. the method for a upgrading virtual machine, it is characterised in that described method includes:
Virtual machine template is converted to new virtual machine, and new opplication or patch are installed in described new virtual machine;
Described new virtual machine after installing new opplication or patch is converted to new virtual machine template;
Undertaken the father node of the child node of described new virtual machine template and described new virtual machine template integrating the former father node obtaining a new father node to replace described new virtual machine template.
7. method as claimed in claim 6, it is characterised in that described installation new opplication or patch in described new virtual machine, particularly as follows:
The child node of selected described new virtual machine in disk node tree structure, installs new opplication or patch in the child node of described new virtual machine.
8. method as claimed in claim 7, it is characterized in that, the father node of the described child node by described new virtual machine template and described new virtual machine template carries out integrating the former father node obtaining a new father node to replace described new virtual machine template, specifically includes:
In described disk node tree structure, the child node of selected described new virtual machine template and the father node of described new virtual machine template replace the former father node of described new virtual machine template as the new father node of described new virtual machine template;
The father node of the child node of described new virtual machine template and described new virtual machine template is integrated, obtains the new father node of described new virtual machine template.
9. the device recovering virtual machine, it is characterised in that described device includes:
Processing module, for deleting selected virtual machine, and retains disc information and the registry information of described virtual machine, and wherein said disc information at least includes: system disk information;
Creation module, for creating VHD virtual machine by virtual machine template;
Import module, for disc information and the registry information of described virtual machine being imported in described VHD virtual machine.
10. device as claimed in claim 9, it is characterised in that described processing module is further used for:
Disk node tree structure is deleted the first child node of selected virtual machine, the registry information of described virtual machine is stored in the disc information of described virtual machine, and retain the disc information of described virtual machine.
11. device as claimed in claim 10, it is characterised in that described creation module is further used for:
Described disk node tree structure is chosen the second child node that the first child node with described virtual machine has the virtual machine template of identical father node, and by the 3rd child node of the second child node establishment VHD virtual machine of described virtual machine template, form described VHD virtual machine by described father node, the second child node of described virtual machine template and the 3rd child node of described VHD virtual machine.
12. device as claimed in claim 11, it is characterised in that described device also includes:
Determination module, for the second child node of described virtual machine template is sentenced do-nothing operation, when the second child node of described virtual machine template is empty node, deletes the second child node of described virtual machine template.
13. device as claimed in claim 9, it is characterised in that described importing module includes:
First imports unit, for the system disk information of described virtual machine is imported described VHD virtual machine, as the data disks information of described VHD virtual machine;
Second imports unit, for the registry information of described virtual machine being imported in the registration table of described VHD virtual machine, and the registry information of VHD virtual machine according to the data disks information updating in described VHD virtual machine.
14. the device of a upgrading virtual machine, it is characterised in that described device includes:
First modular converter, for virtual machine template converts to new virtual machine, and installs new opplication or patch in described new virtual machine;
Second modular converter, for being converted to new virtual machine template by the described new virtual machine after installation new opplication or patch;
Integrate module, for being undertaken integrating the former father node obtaining a new father node to replace described new virtual machine template by the child node of described new virtual machine template and the father node of described new virtual machine template.
15. device as claimed in claim 14, it is characterised in that described first modular converter is further used for:
The child node of selected described new virtual machine in disk node tree structure, installs new opplication or patch in the child node of described new virtual machine.
16. device as claimed in claim 15, it is characterised in that described integration module specifically includes:
Replace unit, replace the former father node of described new virtual machine template for the child node of described new virtual machine template selected in described disk node tree structure and the father node of described new virtual machine template as the new father node of described new virtual machine template;
Integral unit, for the child node of described new virtual machine template and the father node of described new virtual machine template being integrated, obtains the new father node of described new virtual machine template.
CN201410763813.6A 2014-12-11 2014-12-11 Method and device for recovering virtual machine, as well as method and device for upgrading virtual machine Withdrawn CN105740003A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410763813.6A CN105740003A (en) 2014-12-11 2014-12-11 Method and device for recovering virtual machine, as well as method and device for upgrading virtual machine
PCT/CN2015/081881 WO2016090890A1 (en) 2014-12-11 2015-06-18 Method and device for recovering and updating virtual machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410763813.6A CN105740003A (en) 2014-12-11 2014-12-11 Method and device for recovering virtual machine, as well as method and device for upgrading virtual machine

Publications (1)

Publication Number Publication Date
CN105740003A true CN105740003A (en) 2016-07-06

Family

ID=56106579

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410763813.6A Withdrawn CN105740003A (en) 2014-12-11 2014-12-11 Method and device for recovering virtual machine, as well as method and device for upgrading virtual machine

Country Status (2)

Country Link
CN (1) CN105740003A (en)
WO (1) WO2016090890A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107291507A (en) * 2017-06-28 2017-10-24 联想(北京)有限公司 The upgrade method and electronic equipment of a kind of virtual machine virtual hard disk
CN107395429A (en) * 2017-08-15 2017-11-24 郑州云海信息技术有限公司 The method and apparatus that virtual machine is managed in cloud data center
WO2018032770A1 (en) * 2016-08-19 2018-02-22 华为技术有限公司 Application component deployment method and deployment node
CN108021408A (en) * 2016-11-01 2018-05-11 阿里巴巴集团控股有限公司 Upgrade method and device
CN109324867A (en) * 2017-07-31 2019-02-12 郑州云海信息技术有限公司 A virtual machine temporary storage method, recovery method and device
CN110147529A (en) * 2018-02-13 2019-08-20 珠海金山办公软件有限公司 Restore the method and device of PDF annotation comment
CN110808943A (en) * 2018-08-06 2020-02-18 中兴通讯股份有限公司 Client connection emergency management method, client and computer readable storage medium
CN114595028A (en) * 2022-01-28 2022-06-07 新华三云计算技术有限公司 Cloud desktop system disk updating method and device and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11221865B2 (en) 2018-07-31 2022-01-11 Nutanix, Inc. Batch management of operations over virtualized entities

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799464B (en) * 2012-06-25 2015-11-11 北京奇虎科技有限公司 Virtual machine creation method and system, virtual machine reloading method and system
CN102981888B (en) * 2012-10-16 2016-02-03 北京华胜天成科技股份有限公司 For the virtualization implementation method of Power server
CN103440157B (en) * 2013-06-25 2016-12-28 百度在线网络技术(北京)有限公司 A kind of method and apparatus of the template for obtaining virtual machine

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10684850B2 (en) 2016-08-19 2020-06-16 Huawei Technologies Co., Ltd. Application component deployment method and deployment node
CN107769949B (en) * 2016-08-19 2021-02-12 华为技术有限公司 Application component deployment method and deployment node
WO2018032770A1 (en) * 2016-08-19 2018-02-22 华为技术有限公司 Application component deployment method and deployment node
CN107769949A (en) * 2016-08-19 2018-03-06 华为技术有限公司 A kind of application component dispositions method and deployment node
CN108021408A (en) * 2016-11-01 2018-05-11 阿里巴巴集团控股有限公司 Upgrade method and device
CN107291507B (en) * 2017-06-28 2020-10-27 联想(北京)有限公司 Upgrading method for virtual hard disk of virtual machine and electronic equipment
CN107291507A (en) * 2017-06-28 2017-10-24 联想(北京)有限公司 The upgrade method and electronic equipment of a kind of virtual machine virtual hard disk
CN109324867A (en) * 2017-07-31 2019-02-12 郑州云海信息技术有限公司 A virtual machine temporary storage method, recovery method and device
CN107395429A (en) * 2017-08-15 2017-11-24 郑州云海信息技术有限公司 The method and apparatus that virtual machine is managed in cloud data center
CN110147529A (en) * 2018-02-13 2019-08-20 珠海金山办公软件有限公司 Restore the method and device of PDF annotation comment
CN110147529B (en) * 2018-02-13 2023-06-30 珠海金山办公软件有限公司 Method and device for recovering PDF comment
CN110808943A (en) * 2018-08-06 2020-02-18 中兴通讯股份有限公司 Client connection emergency management method, client and computer readable storage medium
CN114595028A (en) * 2022-01-28 2022-06-07 新华三云计算技术有限公司 Cloud desktop system disk updating method and device and storage medium

Also Published As

Publication number Publication date
WO2016090890A1 (en) 2016-06-16

Similar Documents

Publication Publication Date Title
CN105740003A (en) Method and device for recovering virtual machine, as well as method and device for upgrading virtual machine
US9323820B1 (en) Virtual datacenter redundancy
US12273245B2 (en) Scalable, standardized I.T. deployment platform
US9075536B1 (en) Enhanced software application platform
Lowe Mastering vmware vsphere 5
US20180343300A1 (en) Methods and apparatus to perform data migration in a distributed environment
CN101416175B (en) Creating templates of offline resources
WO2022015855A1 (en) Cloud data fake platform and saas orchestration
US8943496B2 (en) Providing a hosted appliance and migrating the appliance to an on-premise environment
CN104281484B (en) A kind of virtual machine migration method and device
JP5106625B2 (en) Method, system, and computer program for configuring a firewall
CN107608681A (en) Installation method of operating system, device and server
US10042657B1 (en) Provisioning virtual applciations from virtual application templates
CN105094964A (en) Virtual machine migration method and system
CN103327108A (en) Cross-platform software management platform based on cloud and construction method thereof
CN106708573B (en) A system and method for automatic installation of Hadoop cluster
CN116601605A (en) Declaratively provisioning resources on a cloud platform
CN104360839A (en) Method for automatically migrating LINUX system to WINDOWS system
CN107704249A (en) A kind of system and method for installing configuration automatically for physical machine
CN106209445A (en) A kind of Visualized data centre by network design
CN103051668B (en) A kind of server resource management system and management method
CN105653305A (en) Application software automatic update method, server, client side and system of same
CN107222355A (en) A kind of server updating method and device
KR20100092870A (en) Computer system to change authentification information and method thereof, and computer program
US12184504B1 (en) Decomposition of monoliths into multi-account provider network structures

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20160706