Unlock instant, AI-driven research and patent intelligence for your innovation.

Virtual machine upgrading method and device

A technology of virtual machine and virtual machine template, applied in the field of communication, can solve problems such as low efficiency of virtual machine upgrade, and achieve the effect of improving upgrade efficiency

Inactive Publication Date: 2017-05-17
ZTE CORP
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a method and device for upgrading a virtual machine to at least solve the problem in the related art that when there are multiple virtual machines, it is necessary to perform upgrade operations on multiple virtual machines in sequence, resulting in low efficiency of virtual machine upgrading

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Virtual machine upgrading method and device
  • Virtual machine upgrading method and device
  • Virtual machine upgrading method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0033] In this embodiment, a method for upgrading a virtual machine is provided, figure 1 is a flow chart of upgrading a virtual machine according to an embodiment of the present invention, such as figure 1 As shown, the process includes the following steps:

[0034] Step S102, upgrade the virtual machine template before upgrading to obtain the upgraded virtual machine template, wherein the upgraded template disk file is recorded in the upgraded virtual machine template;

[0035] Step S104, searching for a virtual machine created by the pre-upgraded virtual machine template;

[0036] Step S106, using the upgraded template disk file to update the disk file in the virtual machine to obtain the upgraded virtual machine.

[0037]Optionally, in this embodiment, the method for upgrading virtual machines includes, but is not limited to, realizing batch upgrade of virtual machines based on the existing disk snapshots and interfaces between templates and virtual machine templates in ...

Embodiment 1

[0083] In this embodiment, the upgrade of the virtual machine mainly includes the following steps:

[0084] Step S61, converting the virtual machine template into a virtual machine: the virtualization management center provides an interface for converting a template into a virtual machine, and the interface can convert the selected template into a virtual machine. The converted virtual machine can do any operation like a normal virtual machine. During the conversion process, the virtualization management center will statically pull out a leaf file from the existing template disk file, and the converted virtualization will run on the leaf file;

[0085] Step S62, virtual machine software upgrade: enter the virtual machine converted from the virtual machine template, mount the iso installation package required for the upgrade, and perform an upgrade operation on the virtual machine;

[0086] Step S63, upgrade virtual machines in batches: find all the virtual machines under the ...

Embodiment 2

[0089] Optionally, in this embodiment mainly combine Figure 5 Describes in detail how to upgrade a virtual machine. Figure 5 It is a flow chart of upgrading virtual machines in batches according to the embodiment of the present invention, and the specific process is as follows:

[0090] Step S501: converting the virtual machine template into a virtual machine;

[0091] Step S502: upgrading the software of the virtual machine;

[0092] Step S503: converting the upgraded virtual machine into an upgraded virtual machine template;

[0093] Step S504: Find all virtual machines under the virtual machine template;

[0094] Step S505: delete the found disk file of the virtual machine;

[0095] Step S506: Create a new disk file using the upgraded virtual machine template disk file;

[0096] Step S507: Merge the virtual machine template disk files.

[0097] Through the description of the above embodiments, those skilled in the art can clearly understand that the method according...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a virtual machine upgrading method and device. The method includes the steps that a virtual machine template before upgrading is upgraded to obtain an upgraded virtual machine template, wherein a template magnetic disk file obtained after upgrading is recorded in the upgraded virtual machine template; a virtual machine created by the virtual machine template before upgrading is searched for; the template magnetic disk file obtained after upgrading is used for updating magnetic disk files in the virtual machine to obtain the upgraded virtual machine. By means of the virtual machine upgrading method and device, the problem that in a related technology, when multiple virtual machines exist, the virtual machines need to be manually upgraded sequentially to cause low upgrading efficiency of the virtual machines, and the effect of improving the upgrading efficiency of the virtual machines is achieved.

Description

technical field [0001] The present invention relates to the communication field, in particular to a method and device for upgrading a virtual machine. Background technique [0002] In scenarios such as student computer rooms and library querying computers, it is often necessary to upgrade application software for all virtual machines. The most primitive way is to enter all virtual machines separately and install and upgrade software one by one. This method is safer, but it takes time Very long and very cumbersome. The second way is to install specified software in batches through virtual machine agents. It is necessary to send instructions to all virtual machine agents from the management portal. Ideally, all virtual machines can be successfully upgraded by sending them only once. However, the biggest disadvantage of this method is that all virtual machines need to be in normal operation, and all virtual machines must be installed successfully. However, during the message ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/445G06F9/455
CPCG06F9/445G06F8/65G06F9/45533
Inventor 缪星星
Owner ZTE CORP