WO2017096951A1 - Virtual machine update method and device - Google Patents

Virtual machine update method and device Download PDF

Info

Publication number
WO2017096951A1
WO2017096951A1 PCT/CN2016/096404 CN2016096404W WO2017096951A1 WO 2017096951 A1 WO2017096951 A1 WO 2017096951A1 CN 2016096404 W CN2016096404 W CN 2016096404W WO 2017096951 A1 WO2017096951 A1 WO 2017096951A1
Authority
WO
WIPO (PCT)
Prior art keywords
virtual machine
computer name
template
reset
information
Prior art date
Application number
PCT/CN2016/096404
Other languages
French (fr)
Chinese (zh)
Inventor
卞登奎
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017096951A1 publication Critical patent/WO2017096951A1/en

Links

Images

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
    • 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/45504Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
    • G06F9/45529Embedded in an application, e.g. JavaScript in a Web browser
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • 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
    • 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/45575Starting, stopping, suspending or resuming virtual machine instances

Definitions

  • the present invention relates to the field of virtualization technologies, and in particular, to a virtual machine update method and apparatus.
  • Cloud computing refers to a new computing model that shares IT resources through virtualization based on networks such as the Internet.
  • the core idea is to manage and schedule computing, storage, network, software and other resources through the network to achieve resource integration and configuration optimization.
  • the cloud computing environment can be divided into a desktop cloud computing environment and a server cloud computing environment, wherein the desktop cloud computing focuses on virtualizing the physical desktop in the cloud computing environment to achieve the security and flexibility of the desktop use.
  • Users can access their own desktop systems in the desktop cloud computing environment from any device, anytime, anywhere.
  • users create multiple identical virtual machines based on a unified virtual machine template for users to use.
  • the virtual machine deployment process is as follows: the teacher creates a unified virtual machine template, and then uses it to create a corresponding desktop virtual machine, and the students use the same desktop virtual machine for classroom experiments.
  • virtual machines need to be updated frequently. For example, in the process of using classrooms and teaching computers in colleges and universities, due to the scattered time of students, it is often necessary to use different desktop templates in specific time periods. And application software is provided for use in school. For example, there is a physics course in the morning and a computer course in the afternoon. In the same virtual machine, different desktop templates and software are required for different courses in the morning and afternoon. Therefore, the virtual machine needs to be updated before each different course.
  • both of these methods require a cumbersome update process, taking the virtual machine used in the above-mentioned colleges and classrooms as an example.
  • the teacher needs to update the virtual machine used for teaching, if the teacher follows the first method, the teacher needs Update the corresponding software or other applications on each virtual machine separately. If the second way, the teacher needs to recreate a new virtual machine template, then use the virtual machine template to recreate all the virtual machines and delete all the old ones. Virtual machine. It takes a lot of time and effort to delete all virtual machines and re-create all the virtual machines, compared to the time it takes to update the corresponding software and applications on each virtual machine. This is a cumbersome process, adding teachers. The amount of work.
  • the embodiment of the present invention provides a virtual machine update method and apparatus, which can improve the efficiency of virtual machine update.
  • an embodiment of the present invention provides a virtual machine update method, where the virtual machine update method includes:
  • the updating the virtual machine template includes:
  • the virtual machine update method before the recording the private information of each virtual machine corresponding to the virtual machine template, the virtual machine update method further includes:
  • the private information of each virtual machine corresponding to the record virtual machine template includes at least one of the following operations:
  • Operation 1-1 recording IP address information corresponding to each virtual machine
  • Operation 1-2 recording computer name information corresponding to each virtual machine
  • the setting the corresponding virtual machine according to the recorded private information includes at least one of the following operations:
  • Operation 2-1 respectively, setting an IP address corresponding to each virtual machine according to the recorded IP address information
  • Operation 2-2 records the computer name information corresponding to each virtual machine, and sets the computer name corresponding to each virtual machine.
  • the virtual machine updating method further includes:
  • the domain operation is performed on the virtual machine, and after the domain is completed, the domain operation is performed on the virtual machine.
  • the setting the IP addresses corresponding to the respective virtual machines separately includes:
  • the virtual machine agent After receiving the corresponding reset IP request, the virtual machine agent sets the IP address of the virtual machine according to the recorded IP address information;
  • the respectively setting the computer name corresponding to each virtual machine includes:
  • the virtual machine agent After receiving the corresponding reset computer name request, the virtual machine agent sets the computer name of the virtual machine according to the recorded computer name address information;
  • the corresponding reset computer name response information is forwarded to the WEB through the message queue.
  • an embodiment of the present invention further provides a virtual machine updating apparatus, where the virtual machine updating apparatus includes:
  • a template update unit configured to update a virtual machine template
  • the private information storage unit is configured to record private information of each virtual machine corresponding to the virtual machine template
  • An update unit configured to replace a system disk of each virtual machine according to the updated virtual machine template
  • the private information setting unit is configured to set the corresponding virtual machine according to the recorded private information.
  • the template update unit comprises:
  • a first conversion module configured to convert the virtual machine template into a virtual machine
  • the second conversion module is configured to convert the updated virtual machine into a virtual machine template to obtain an updated virtual machine template.
  • the virtual machine update device further includes:
  • the startup checking unit is configured to check whether a chain reset operation of the virtual machine can be performed, and if so, perform the step of recording the private information of each virtual machine corresponding to the virtual machine template.
  • the private information holding unit comprises at least one of the following modules:
  • the first saving module is configured to record IP address information corresponding to each virtual machine
  • a second saving module configured to record computer name information corresponding to each virtual machine
  • the private information setting unit includes at least one of the following modules:
  • the first setting module is configured to separately set an IP address corresponding to each virtual machine according to the recorded IP address information
  • the second setting module is configured to record computer name information corresponding to each virtual machine, and respectively set a computer name corresponding to each virtual machine.
  • the virtual machine updating apparatus further includes: a adding domain unit, configured to check whether the updated virtual machine has been added to the domain; and if the virtual machine has not added a domain, perform a domain adding operation on the virtual machine; In the case that the virtual machine has been added to the domain, the domain operation is performed on the virtual machine, and after the domain is completed, the domain operation is performed on the virtual machine.
  • a adding domain unit configured to check whether the updated virtual machine has been added to the domain; and if the virtual machine has not added a domain, perform a domain adding operation on the virtual machine; In the case that the virtual machine has been added to the domain, the domain operation is performed on the virtual machine, and after the domain is completed, the domain operation is performed on the virtual machine.
  • the first setting module is specifically configured to:
  • the virtual machine agent After receiving the corresponding reset IP request, the virtual machine agent sets the IP address of the virtual machine according to the recorded IP address information;
  • the second setting module is specifically configured to:
  • the virtual machine agent After receiving the corresponding reset computer name request, the virtual machine agent sets the computer name of the virtual machine according to the recorded computer name address information;
  • the corresponding reset computer name response information is forwarded to the WEB through the message queue.
  • a computer storage medium is further provided, and the computer storage medium may store an execution instruction for executing the implementation of the virtual machine update method in the foregoing embodiment.
  • the technical solution provided by the embodiment of the present invention includes: updating a virtual machine template; recording private information of each virtual machine corresponding to the virtual machine template; and replacing each virtual machine system according to the updated virtual machine template. Disk; set the corresponding virtual machine according to the recorded private information.
  • the virtual machine used for teaching needs to be updated, the user only needs to set a new template and replace the system disk of each virtual machine according to the new template, so the user data in the virtual machine is not changed, as opposed to the current
  • the update process is faster, saves a lot of manpower and time, and the user data in the virtual machine is saved, thereby improving the user experience.
  • FIG. 1 is a flowchart of a method for updating a virtual machine according to an embodiment of the present invention
  • FIG. 2A is a schematic flowchart of setting an IP address corresponding to each virtual machine according to an embodiment of the present invention
  • 2B is a schematic flowchart of setting a computer name corresponding to each virtual machine according to an embodiment of the present invention
  • FIG. 3 and FIG. 4 are respectively a schematic structural diagram of a virtual machine updating apparatus according to an embodiment of the present invention.
  • the present invention provides a virtual machine update method, where the method includes:
  • Step 110 Update a virtual machine template.
  • Step 150 Record private information of each virtual machine corresponding to the virtual machine template.
  • Step 160 Replace the system disk of each virtual machine according to the updated virtual machine template.
  • the update process is only to replace the system disk of each virtual machine, so the user data in the virtual machine is not changed.
  • the virtual machine updating method in the embodiment of the present invention The user data in the virtual machine is saved.
  • the system disk of the virtual machine needs to be deleted, and then the system disk is rebuilt.
  • the prior art method requires more cost. Long time.
  • Step 170 Set a corresponding virtual machine according to the recorded private information.
  • the updating the virtual machine template includes:
  • Step 1101 Convert a virtual machine template into a virtual machine.
  • Step 1102 Update software or an application in the virtual machine.
  • Step 1103 Convert the updated virtual machine into a virtual machine template, so as to obtain the updated virtual machine template.
  • the virtual machine update method before the step 150, the virtual machine update method further includes:
  • step 130 it is checked whether a chain reset operation of the virtual machine can be performed. If the chain reset operation of the virtual machine can be performed, step 150 is performed.
  • step 132 is performed: displaying a prompt message for reminding that the virtual machine update process cannot be performed.
  • the reason why the execution cannot be performed may be that the virtual machine is performing other update or upgrade operations, and has not been executed yet.
  • the virtual machine update method further includes:
  • Step 120 Start a virtual machine update process according to a reset request of the user.
  • step 120 the entire virtual machine update process is automatically executed, and the user is not required to perform manual operations.
  • the update process is faster, saves a lot of manpower and time, and improves the user experience.
  • the virtual machine update method further includes:
  • Step 140 Perform a template merge operation.
  • the template merge operation refers to the merging operation of the leaf nodes generated by the virtual machines in the process of creation, backup, and restoration in order to improve the efficiency of the template reset.
  • a virtual machine may be composed of nodes with multi-level relationships such as A1-->A1-1-->A1-1-1 (here is the end of the virtualization layer, A1 and A1-1 are parent-child relationships).
  • A1-1-1 is a leaf node pulled out), merge these nodes and merge them into one whole node A*.
  • the private information of each virtual machine corresponding to the virtual machine template includes at least one of the following operations:
  • Operation 1-1 recording IP address information corresponding to each virtual machine
  • Operation 1-2 recording computer name information corresponding to each virtual machine
  • the setting the corresponding virtual machine according to the recorded private information includes at least one of the following operations:
  • Operation 2-1 respectively, setting an IP address corresponding to each virtual machine according to the recorded IP address information
  • Operation 2-2 records the computer name information corresponding to each virtual machine, and sets the computer name corresponding to each virtual machine.
  • the operation 2-1 is corresponding to the operation 1-1.
  • the corresponding virtual machine according to the recorded private information includes the operation 2 -1;
  • operation 2-2 is corresponding to operation 1-2.
  • the private information of each virtual machine corresponding to the virtual machine template is recorded, including operation 1-2, the corresponding virtual information is set according to the recorded private information.
  • the machine includes operations 2-2.
  • the virtual machine update method further includes:
  • Step 180 Check whether the updated virtual machine has been added with a domain
  • Step 181 Perform a domain addition operation on the virtual machine if the virtual machine has not added a domain.
  • Step 182 Perform a domain queuing operation on the virtual machine if the virtual machine has been added, and perform step 181 after the domain is completed.
  • the setting process of the IP address and computer name corresponding to the virtual machine involves the interaction process between the WEB (management platform), the message queue, the host agent, and the virtual machine agent.
  • WEB management platform
  • the message queue is used in the console for receiving and caching various request messages
  • the host agent is set on the physical machine for managing the virtual machine running on the physical machine
  • the virtual machine agent realizes the information interaction between the virtual machine and the physical machine through communication with the host agent.
  • the IP address and the computer name corresponding to the virtual machine are set by the interaction process between the WEB, the message queue, the host agent, and the virtual machine agent, and the IP corresponding to the virtual machine is remotely set.
  • the address and the computer name do not need to be logged in to each virtual machine to set the IP address and computer name corresponding to each virtual machine. Instead, the WEB uniformly completes the setting of each virtual machine, saving manpower and time and improving the user experience.
  • the setting of the IP addresses corresponding to the respective virtual machines includes:
  • Step 210 The WEB initiates a reset IP request to the message queue.
  • Step 220 The message queue forwards a corresponding reset IP request to the host agent.
  • Step 230 The host agent forwards a corresponding reset IP request to the virtual machine proxy.
  • Step 240 After receiving the corresponding reset IP request, the virtual machine agent sets the IP address of the virtual machine according to the recorded IP address information.
  • Step 250 The virtual machine agent sends a corresponding reset IP response message to the host agent.
  • Step 260 The host agent forwards the corresponding reset IP response information to the message queue.
  • Step 270 The message queue forwards the corresponding reset IP response information to the WEB.
  • the respectively setting the computer name corresponding to each virtual machine includes:
  • Step 310 The WEB initiates a reset computer name request to the message queue.
  • Step 320 The message queue forwards a corresponding reset computer name request to the host agent.
  • Step 330 The host agent forwards a corresponding reset computer name request to the virtual machine agent.
  • Step 340 After receiving the corresponding reset computer name request, the virtual machine agent sets the computer name of the virtual machine according to the recorded computer name address information.
  • Step 350 The virtual machine agent sends a corresponding reset computer name response information to the host agent.
  • Step 360 The host agent forwards the corresponding reset computer name response information to the message queue.
  • Step 370 The message queue forwards the corresponding reset computer name response information to the WEB.
  • a virtual machine updating apparatus includes:
  • the template updating unit 10 is configured to update the virtual machine template
  • the private information storage unit 50 is configured to record private information of each virtual machine corresponding to the virtual machine template.
  • the updating unit 60 is configured to replace the system disk of each virtual machine according to the updated virtual machine template
  • the private information setting unit 70 is configured to set a corresponding virtual machine according to the recorded private information.
  • the template updating unit 10 includes:
  • the first conversion module 11 is configured to convert the virtual machine template into a virtual machine
  • the application update module 12 is configured to update software or an application in the virtual machine
  • the second conversion module 13 is configured to convert the updated virtual machine into a virtual machine template to obtain an updated virtual machine template.
  • the virtual machine updating apparatus further includes:
  • the startup checking unit 30 is configured to check whether a chain reset operation of the virtual machine can be performed, and if so, perform the step of recording the private information of each virtual machine corresponding to the virtual machine template.
  • the virtual machine updating apparatus further includes:
  • the update request receiving unit 20 is configured to notify the startup check unit 30 to start the virtual machine update process according to the reset request of the user.
  • the template merging unit 40 is configured to perform a template merging operation.
  • the private information holding unit 50 includes at least one of the following modules:
  • the first saving module 51 is configured to record IP address information corresponding to each virtual machine
  • the second saving module 52 is configured to record computer name information corresponding to each virtual machine
  • the private information setting unit 70 includes at least one of the following modules:
  • the first setting module 71 is configured to separately set an IP address corresponding to each virtual machine according to the recorded IP address information
  • the second setting module 72 is configured to record computer name information corresponding to each virtual machine, and respectively set a computer name corresponding to each virtual machine.
  • the virtual machine updating apparatus further includes: a adding domain unit 80, configured to check whether the updated virtual machine has been added to the domain; and if the virtual machine has not added a domain, execute the virtual machine Adding a domain operation; performing a domain-removal operation on the virtual machine after the virtual machine has been added, and performing a domain-adding operation on the virtual machine after the domain is completed.
  • a adding domain unit 80 configured to check whether the updated virtual machine has been added to the domain; and if the virtual machine has not added a domain, execute the virtual machine Adding a domain operation; performing a domain-removal operation on the virtual machine after the virtual machine has been added, and performing a domain-adding operation on the virtual machine after the domain is completed.
  • the first setting module 71 is specifically configured to:
  • the virtual machine agent After receiving the corresponding reset IP request, the virtual machine agent sets the IP address of the virtual machine according to the recorded IP address information;
  • the second setting module 72 is specifically configured to:
  • the virtual machine agent After receiving the corresponding reset computer name request, the virtual machine agent sets the computer name of the virtual machine according to the recorded computer name address information;
  • the corresponding reset computer name response information is forwarded to the WEB through the message queue.
  • the technical solution of the embodiment of the present invention can be applied to the virtual machine update process by updating the virtual machine template; recording the private information of each virtual machine corresponding to the virtual machine template; and replacing each virtual machine according to the updated virtual machine template.
  • System disk set the corresponding virtual machine according to the recorded private information.

Abstract

A virtual machine update method and device. The method comprises: updating a virtual machine template (110); recording private information about each virtual machine corresponding to the virtual machine template (150); replacing a system disk of each virtual machine according to updated virtual machine template (160); and setting a corresponding virtual machine according to the recorded private information (170). By means of the method, when it is necessary to update a virtual machine used in teaching, a user only needs to set a new template and replace a system disk of each virtual machine according to the new template, and therefore user data in the virtual machine is not changed. With respect to a process of deleting and rebuilding a virtual machine in the prior art, the virtual machine update method has a faster update process, saves much manpower and time, and saves user data in a virtual machine, thereby improving the user experience.

Description

一种虚拟机更新方法和装置Virtual machine updating method and device 技术领域Technical field
本发明涉及虚拟化技术领域,尤指一种虚拟机更新方法和装置。The present invention relates to the field of virtualization technologies, and in particular, to a virtual machine update method and apparatus.
背景技术Background technique
云计算是指基于互联网等网络,通过虚拟化方式共享IT资源的新型计算模式。其核心思想是通过网络统一管理和调度计算、存储、网络、软件等资源,实现资源整合与配置优化。Cloud computing refers to a new computing model that shares IT resources through virtualization based on networks such as the Internet. The core idea is to manage and schedule computing, storage, network, software and other resources through the network to achieve resource integration and configuration optimization.
云计算环境可分为桌面云计算环境与服务器云计算环境,其中桌面云计算侧重于在云计算环境中实现物理桌面的虚拟化,以达到桌面使用的安全性和灵活性。用户可以通过任何设备,在任何地点,任何时间访问桌面云计算环境中的属于他们个人的桌面系统。桌面云计算的应用场景很多,在其中一类应用场景中,用户基于统一的虚拟机模板建立多个相同的虚拟机以便用户使用。例如在学校教学场景中虚拟机部署流程如下:教师制作好统一的虚拟机模板,然后用其创建相应的桌面虚拟机,学生们使用相同的桌面虚拟机进行课堂实验。The cloud computing environment can be divided into a desktop cloud computing environment and a server cloud computing environment, wherein the desktop cloud computing focuses on virtualizing the physical desktop in the cloud computing environment to achieve the security and flexibility of the desktop use. Users can access their own desktop systems in the desktop cloud computing environment from any device, anytime, anywhere. There are many application scenarios for desktop cloud computing. In one of the application scenarios, users create multiple identical virtual machines based on a unified virtual machine template for users to use. For example, in the school teaching scenario, the virtual machine deployment process is as follows: the teacher creates a unified virtual machine template, and then uses it to create a corresponding desktop virtual machine, and the students use the same desktop virtual machine for classroom experiments.
在某些应用场景下,需要频繁地对虚拟机进行更新,例如,在高校的电教室和教学用计算机使用的过程中,由于学生上课时间分散,经常需要在特定的时间段使用不同的桌面模板和应用软件提供给学上课使用。如上午有物理课程,下午有计算机课程,在同一个虚拟机中,需要针对上午和下午的不同课程提供不同的桌面模板和软件。因此,需要在每次不同的课程之前,对虚拟机进行更新。In some application scenarios, virtual machines need to be updated frequently. For example, in the process of using classrooms and teaching computers in colleges and universities, due to the scattered time of students, it is often necessary to use different desktop templates in specific time periods. And application software is provided for use in school. For example, there is a physics course in the morning and a computer course in the afternoon. In the same virtual machine, different desktop templates and software are required for different courses in the morning and afternoon. Therefore, the virtual machine needs to be updated before each different course.
当虚拟机模板更新时,需要批量更新根据该虚拟机模板建立的所有虚拟机,目前的更新有两种方案,一种是,手工在所有的虚拟机上更新软件或者其他应用;另一种是删除所有的虚拟机,然后只更新模板,并通过最新的模板重新创建一个教室的虚拟机,然后再批量修改计算机名称、修改IP地址,加域等操作。When a VM template is updated, all VMs created based on the VM template need to be updated in batches. There are two options for the current update. One is to manually update software or other applications on all VMs; the other is Delete all virtual machines, then only update the template, and re-create a classroom virtual machine through the latest template, and then modify the computer name, modify the IP address, add domain and so on.
然而,这两种方式都需要繁琐的更新过程,以上述高校的电教室和教学用计算机使用的虚拟机为例,当教师需要更新教学使用的虚拟机时,如果按照第一种方式,教师需要在每个虚拟机上分别更新相应的软件或者其他应用,如果按照第二种方式,教师需要重新制作一个新的虚拟机模板,然后使用该虚拟机模板重新创建所有的虚拟机,并删除所有旧的虚拟机。相对于在每个虚拟机上分别更新相应的软件和应用所耗费的时间,删除全部虚拟机并重新创建所有的虚拟机同样需要耗费大量的时间和精力,这是一个繁琐的过程,增加了教师的工作量。However, both of these methods require a cumbersome update process, taking the virtual machine used in the above-mentioned colleges and classrooms as an example. When the teacher needs to update the virtual machine used for teaching, if the teacher follows the first method, the teacher needs Update the corresponding software or other applications on each virtual machine separately. If the second way, the teacher needs to recreate a new virtual machine template, then use the virtual machine template to recreate all the virtual machines and delete all the old ones. Virtual machine. It takes a lot of time and effort to delete all virtual machines and re-create all the virtual machines, compared to the time it takes to update the corresponding software and applications on each virtual machine. This is a cumbersome process, adding teachers. The amount of work.
因此,现有技术的两种更新方式流程较为繁琐,增加了人工操作的工作量。 Therefore, the two update methods of the prior art are cumbersome and increase the workload of manual operations.
发明内容Summary of the invention
为了解决上述问题,本发明实施例提出了一种虚拟机更新方法和装置,能够提高虚拟机更新的效率。In order to solve the above problem, the embodiment of the present invention provides a virtual machine update method and apparatus, which can improve the efficiency of virtual machine update.
为了达到上述目的,本发明实施例提出了一种虚拟机更新方法,所述虚拟机更新方法包括:In order to achieve the above object, an embodiment of the present invention provides a virtual machine update method, where the virtual machine update method includes:
对虚拟机模板进行更新;Update the virtual machine template;
记录虚拟机模板对应的各个虚拟机的私有信息;Record private information of each virtual machine corresponding to the virtual machine template;
根据更新后的虚拟机模板替换各个虚拟机的系统盘;Replace the system disk of each virtual machine according to the updated virtual machine template;
根据记录的私有信息设置对应的虚拟机。Set the corresponding virtual machine based on the recorded private information.
优选地,所述对虚拟机模板进行更新包括:Preferably, the updating the virtual machine template includes:
将虚拟机模板转换为虚拟机;Convert a virtual machine template to a virtual machine;
更新虚拟机中的软件或应用;Update software or applications in a virtual machine;
将更新后的虚拟机转换为虚拟机模板,从而得到更新后的虚拟机模板。Convert the updated virtual machine to a virtual machine template to get the updated virtual machine template.
优选地,在所述记录虚拟机模板对应的各个虚拟机的私有信息之前,所述虚拟机更新方法还包括:Preferably, before the recording the private information of each virtual machine corresponding to the virtual machine template, the virtual machine update method further includes:
判断是否可以进行虚拟机的链式重置操作,如果可以,则执行所述记录虚拟机模板对应的各个虚拟机的私有信息的步骤。It is determined whether the chain reset operation of the virtual machine can be performed, and if so, the step of recording the private information of each virtual machine corresponding to the virtual machine template is performed.
优选地,所述记录虚拟机模板对应的各个虚拟机的私有信息包括如下操作的至少一种:Preferably, the private information of each virtual machine corresponding to the record virtual machine template includes at least one of the following operations:
操作1-1,记录各个虚拟机对应的IP地址信息;Operation 1-1, recording IP address information corresponding to each virtual machine;
操作1-2,记录各个虚拟机对应的计算机名称信息;Operation 1-2, recording computer name information corresponding to each virtual machine;
所述根据记录的私有信息设置对应的虚拟机包括如下操作的至少一种:The setting the corresponding virtual machine according to the recorded private information includes at least one of the following operations:
操作2-1,根据记录的IP地址信息,分别设置各个虚拟机对应的IP地址;Operation 2-1, respectively, setting an IP address corresponding to each virtual machine according to the recorded IP address information;
操作2-2,记录各个虚拟机对应的计算机名称信息,分别设置各个虚拟机对应的计算机名称。Operation 2-2 records the computer name information corresponding to each virtual machine, and sets the computer name corresponding to each virtual machine.
优选地,在所述根据记录的私有信息设置对应的虚拟机之后,所述虚拟机更新方法还包括:Preferably, after the setting the corresponding virtual machine according to the recorded private information, the virtual machine updating method further includes:
检查更新后的虚拟机是否已经加域;Check if the updated virtual machine has been added to the domain;
在所述虚拟机还没有加域的情况下,对虚拟机执行加域操作; Performing a domain addition operation on the virtual machine if the virtual machine has not been added to the domain;
在所述虚拟机已经加域的情况下,对所述虚拟机执行退域操作,并在所述退域完成之后,对所述虚拟机执行加域操作。In the case that the virtual machine has been added to the domain, the domain operation is performed on the virtual machine, and after the domain is completed, the domain operation is performed on the virtual machine.
优选地,所述分别设置各个虚拟机对应的IP地址包括:Preferably, the setting the IP addresses corresponding to the respective virtual machines separately includes:
通过WEB向消息队列发起重置IP请求;Initiating a reset IP request to the message queue through the WEB;
通过消息队列向主机代理转发对应的重置IP请求;Forwarding a corresponding reset IP request to the host agent through the message queue;
通过主机代理向虚机代理转发对应的重置IP请求;Forwarding a corresponding reset IP request to the virtual machine proxy by the host agent;
虚机代理在接收对应的重置IP请求之后,根据所述记录的IP地址信息,对虚拟机的IP地址进行设置;After receiving the corresponding reset IP request, the virtual machine agent sets the IP address of the virtual machine according to the recorded IP address information;
通过虚机代理向主机代理发送对应的重置IP响应信息;Sending corresponding reset IP response information to the host agent through the virtual machine proxy;
通过主机代理向消息队列转发对应的重置IP响应信息;Forwarding corresponding reset IP response information to the message queue by the host agent;
通过消息队列向WEB转发对应的重置IP响应信息;Forwarding corresponding reset IP response information to the WEB through the message queue;
所述分别设置各个虚拟机对应的计算机名称包括:The respectively setting the computer name corresponding to each virtual machine includes:
通过WEB向消息队列发起重置计算机名称请求;Initiating a reset computer name request to the message queue through the WEB;
通过消息队列向主机代理转发对应的重置计算机名称请求;Forwarding a corresponding reset computer name request to the host agent through the message queue;
通过主机代理向虚机代理转发对应的重置计算机名称请求;Forwarding a corresponding reset computer name request to the virtual machine agent through the host agent;
虚机代理在接收对应的重置计算机名称请求之后,根据所述记录的计算机名称地址信息,对虚拟机的计算机名称进行设置;After receiving the corresponding reset computer name request, the virtual machine agent sets the computer name of the virtual machine according to the recorded computer name address information;
通过虚机代理向主机代理发送对应的重置计算机名称响应信息;Sending corresponding reset computer name response information to the host agent through the virtual machine proxy;
通过主机代理向消息队列转发对应的重置计算机名称响应信息;Forwarding corresponding reset computer name response information to the message queue through the host agent;
通过消息队列向WEB转发对应的重置计算机名称响应信息。The corresponding reset computer name response information is forwarded to the WEB through the message queue.
为了达到上述目的,本发明实施例还提出了一种虚拟机更新装置,所述虚拟机更新装置包括:In order to achieve the above object, an embodiment of the present invention further provides a virtual machine updating apparatus, where the virtual machine updating apparatus includes:
模板更新单元,设置为对虚拟机模板进行更新;A template update unit, configured to update a virtual machine template;
私有信息保存单元,设置为记录虚拟机模板对应的各个虚拟机的私有信息;The private information storage unit is configured to record private information of each virtual machine corresponding to the virtual machine template;
更新单元,设置为根据更新后的虚拟机模板替换各个虚拟机的系统盘;An update unit, configured to replace a system disk of each virtual machine according to the updated virtual machine template;
私有信息设置单元,设置为根据记录的私有信息设置对应的虚拟机。The private information setting unit is configured to set the corresponding virtual machine according to the recorded private information.
优选地,所述模板更新单元包括: Preferably, the template update unit comprises:
第一转换模块,设置为将虚拟机模板转换为虚拟机;a first conversion module configured to convert the virtual machine template into a virtual machine;
应用更新模块,设置为更新虚拟机中的软件或应用;Apply the update module, set to update the software or application in the virtual machine;
第二转换模块,设置为将更新后的虚拟机转换为虚拟机模板,从而得到更新后的虚拟机模板。The second conversion module is configured to convert the updated virtual machine into a virtual machine template to obtain an updated virtual machine template.
优选地,所述虚拟机更新装置还包括:Preferably, the virtual machine update device further includes:
启动检查单元,设置为检查是否可以进行虚拟机的链式重置操作,如果可以,则执行所述记录虚拟机模板对应的各个虚拟机的私有信息的步骤。The startup checking unit is configured to check whether a chain reset operation of the virtual machine can be performed, and if so, perform the step of recording the private information of each virtual machine corresponding to the virtual machine template.
优选地,所述私有信息保存单元包括如下模块的至少一个:Preferably, the private information holding unit comprises at least one of the following modules:
第一保存模块,设置为记录各个虚拟机对应的IP地址信息;The first saving module is configured to record IP address information corresponding to each virtual machine;
第二保存模块,设置为记录各个虚拟机对应的计算机名称信息;a second saving module, configured to record computer name information corresponding to each virtual machine;
所述私有信息设置单元包括如下模块的至少一个:The private information setting unit includes at least one of the following modules:
第一设置模块,设置为根据记录的IP地址信息,分别设置各个虚拟机对应的IP地址;The first setting module is configured to separately set an IP address corresponding to each virtual machine according to the recorded IP address information;
第二设置模块,设置为记录各个虚拟机对应的计算机名称信息,分别设置各个虚拟机对应的计算机名称。The second setting module is configured to record computer name information corresponding to each virtual machine, and respectively set a computer name corresponding to each virtual machine.
优选地,所述虚拟机更新装置还包括:加域单元,设置为检查更新后的虚拟机是否已经加域;在所述虚拟机还没有加域的情况下,对虚拟机执行加域操作;在所述虚拟机已经加域的情况下,对所述虚拟机执行退域操作,并在所述退域完成之后,对所述虚拟机执行加域操作。Preferably, the virtual machine updating apparatus further includes: a adding domain unit, configured to check whether the updated virtual machine has been added to the domain; and if the virtual machine has not added a domain, perform a domain adding operation on the virtual machine; In the case that the virtual machine has been added to the domain, the domain operation is performed on the virtual machine, and after the domain is completed, the domain operation is performed on the virtual machine.
优选地,所述第一设置模块具体设置为:Preferably, the first setting module is specifically configured to:
通过WEB向消息队列发起重置IP请求;Initiating a reset IP request to the message queue through the WEB;
通过消息队列向主机代理转发对应的重置IP请求;Forwarding a corresponding reset IP request to the host agent through the message queue;
通过主机代理向虚机代理转发对应的重置IP请求;Forwarding a corresponding reset IP request to the virtual machine proxy by the host agent;
虚机代理在接收对应的重置IP请求之后,根据所述记录的IP地址信息,对虚拟机的IP地址进行设置;After receiving the corresponding reset IP request, the virtual machine agent sets the IP address of the virtual machine according to the recorded IP address information;
通过虚机代理向主机代理发送对应的重置IP响应信息;Sending corresponding reset IP response information to the host agent through the virtual machine proxy;
通过主机代理向消息队列转发对应的重置IP响应信息;Forwarding corresponding reset IP response information to the message queue by the host agent;
通过消息队列向WEB转发对应的重置IP响应信息;Forwarding corresponding reset IP response information to the WEB through the message queue;
所述第二设置模块具体设置为: The second setting module is specifically configured to:
通过WEB向消息队列发起重置计算机名称请求;Initiating a reset computer name request to the message queue through the WEB;
通过消息队列向主机代理转发对应的重置计算机名称请求;Forwarding a corresponding reset computer name request to the host agent through the message queue;
通过主机代理向虚机代理转发对应的重置计算机名称请求;Forwarding a corresponding reset computer name request to the virtual machine agent through the host agent;
虚机代理在接收对应的重置计算机名称请求之后,根据所述记录的计算机名称地址信息,对虚拟机的计算机名称进行设置;After receiving the corresponding reset computer name request, the virtual machine agent sets the computer name of the virtual machine according to the recorded computer name address information;
通过虚机代理向主机代理发送对应的重置计算机名称响应信息;Sending corresponding reset computer name response information to the host agent through the virtual machine proxy;
通过主机代理向消息队列转发对应的重置计算机名称响应信息;Forwarding corresponding reset computer name response information to the message queue through the host agent;
通过消息队列向WEB转发对应的重置计算机名称响应信息。The corresponding reset computer name response information is forwarded to the WEB through the message queue.
在本发明实施例中,还提供了一种计算机存储介质,该计算机存储介质可以存储有执行指令,该执行指令用于执行上述实施例中的虚拟机更新方法的实现。In the embodiment of the present invention, a computer storage medium is further provided, and the computer storage medium may store an execution instruction for executing the implementation of the virtual machine update method in the foregoing embodiment.
与现有技术相比,本发明实施例提供的技术方案包括:对虚拟机模板进行更新;记录虚拟机模板对应的各个虚拟机的私有信息;根据更新后的虚拟机模板替换各个虚拟机的系统盘;根据记录的私有信息设置对应的虚拟机。通过本发明的方案,在需要更新教学使用的虚拟机时,用户只需要设置新的模板,并根据新的模板替换各个虚拟机的系统盘,因此没有更改虚拟机中的用户数据,相对于现有技术中删除并重建虚拟机的过程,本发明实施例的虚拟机更新方法中,更新过程更加快捷,节省了大量的人力和时间,虚拟机中的用户数据得到了保存,提高了用户体验。Compared with the prior art, the technical solution provided by the embodiment of the present invention includes: updating a virtual machine template; recording private information of each virtual machine corresponding to the virtual machine template; and replacing each virtual machine system according to the updated virtual machine template. Disk; set the corresponding virtual machine according to the recorded private information. With the solution of the present invention, when the virtual machine used for teaching needs to be updated, the user only needs to set a new template and replace the system disk of each virtual machine according to the new template, so the user data in the virtual machine is not changed, as opposed to the current In the virtual machine update method of the embodiment of the present invention, the update process is faster, saves a lot of manpower and time, and the user data in the virtual machine is saved, thereby improving the user experience.
附图说明DRAWINGS
下面对本发明实施例中的附图进行说明,实施例中的附图是用于对本发明的进一步理解,与说明书一起用于解释本发明,并不构成对本发明保护范围的限制。The drawings in the following description of the embodiments of the present invention are intended to illustrate the invention, and are not intended to limit the scope of the invention.
图1为本发明实施例提供的虚拟机更新方法的流程图;FIG. 1 is a flowchart of a method for updating a virtual machine according to an embodiment of the present invention;
图2A为本发明实施例中设置各个虚拟机对应的IP地址的流程示意图;2A is a schematic flowchart of setting an IP address corresponding to each virtual machine according to an embodiment of the present invention;
图2B为本发明实施例中设置各个虚拟机对应的计算机名称的流程示意图;2B is a schematic flowchart of setting a computer name corresponding to each virtual machine according to an embodiment of the present invention;
图3和图4分别为本发明实施例提供的一种虚拟机更新装置的结构组成示意图。FIG. 3 and FIG. 4 are respectively a schematic structural diagram of a virtual machine updating apparatus according to an embodiment of the present invention.
具体实施方式detailed description
为了便于本领域技术人员的理解,下面结合附图对本发明作进一步的描述,并不能用来限制本发明的保护范围。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的各种方式可以相互组合。In order to facilitate the understanding of those skilled in the art, the present invention is further described below in conjunction with the accompanying drawings, and is not intended to limit the scope of the present invention. It should be noted that the embodiments in the present application and the various manners in the embodiments may be combined with each other without conflict.
参见图1,本发明提出了一种虚拟机更新方法,所述方法包括: Referring to FIG. 1, the present invention provides a virtual machine update method, where the method includes:
步骤110,对虚拟机模板进行更新;Step 110: Update a virtual machine template.
步骤150,记录虚拟机模板对应的各个虚拟机的私有信息;Step 150: Record private information of each virtual machine corresponding to the virtual machine template.
步骤160,根据更新后的虚拟机模板替换各个虚拟机的系统盘。Step 160: Replace the system disk of each virtual machine according to the updated virtual machine template.
步骤160中,由于更新过程只是替换各个虚拟机的系统盘,因此没有更改虚拟机中的用户数据,相对于现有技术中删除并重建虚拟机的过程,本发明实施例的虚拟机更新方法中,虚拟机中的用户数据得到了保存。现有技术的删除并重建虚拟机的过程中,需要删除虚拟机的系统盘,然后重建系统盘,相对于本发明实施例中的替换各个虚拟机的系统盘,现有技术的方式需要耗费更长的时间。In the step 160, the update process is only to replace the system disk of each virtual machine, so the user data in the virtual machine is not changed. Compared with the process of deleting and rebuilding the virtual machine in the prior art, the virtual machine updating method in the embodiment of the present invention The user data in the virtual machine is saved. In the process of deleting and rebuilding a virtual machine in the prior art, the system disk of the virtual machine needs to be deleted, and then the system disk is rebuilt. Compared with the system disk of each virtual machine in the embodiment of the present invention, the prior art method requires more cost. Long time.
步骤170,根据记录的私有信息设置对应的虚拟机。Step 170: Set a corresponding virtual machine according to the recorded private information.
本发明实施例中,所述对虚拟机模板进行更新包括:In the embodiment of the present invention, the updating the virtual machine template includes:
步骤1101,将虚拟机模板转换为虚拟机;Step 1101: Convert a virtual machine template into a virtual machine.
步骤1102,更新虚拟机中的软件或应用;Step 1102: Update software or an application in the virtual machine.
步骤1103,将更新后的虚拟机转换为虚拟机模板,从而得到更新后的虚拟机模板。Step 1103: Convert the updated virtual machine into a virtual machine template, so as to obtain the updated virtual machine template.
本发明实施例中,在步骤150之前,所述虚拟机更新方法还包括:In the embodiment of the present invention, before the step 150, the virtual machine update method further includes:
步骤130,检查是否可以进行虚拟机的链式重置操作,如果可以进行虚拟机的链式重置操作,则执行步骤150。In step 130, it is checked whether a chain reset operation of the virtual machine can be performed. If the chain reset operation of the virtual machine can be performed, step 150 is performed.
如果不能进行虚拟机的链式重置操作,则执行步骤132:显示用于提醒不能执行虚拟机更新过程的提示消息。其中,不能执行的原因可能是虚拟机正在执行其他的更新或升级操作,还没有执行完毕等。If the chain reset operation of the virtual machine cannot be performed, step 132 is performed: displaying a prompt message for reminding that the virtual machine update process cannot be performed. The reason why the execution cannot be performed may be that the virtual machine is performing other update or upgrade operations, and has not been executed yet.
在步骤110之后、步骤130之前,所述虚拟机更新方法还包括:After the step 110 and before the step 130, the virtual machine update method further includes:
步骤120、根据用户的重置请求,启动虚拟机更新过程。Step 120: Start a virtual machine update process according to a reset request of the user.
在步骤120之后,整个虚拟机更新过程自动执行,不需要用户进行人工操作,更新过程更加快捷,节省了大量的人力和时间,提高了用户体验。After step 120, the entire virtual machine update process is automatically executed, and the user is not required to perform manual operations. The update process is faster, saves a lot of manpower and time, and improves the user experience.
优选地,在步骤130之后,判断为可以进行虚拟机的链式重置操作的情况下,在步骤150之前,所述虚拟机更新方法还包括:Preferably, after the step 130, it is determined that the virtual machine chain reset operation is possible, and before the step 150, the virtual machine update method further includes:
步骤140、执行模板合并操作。Step 140: Perform a template merge operation.
其中,模板合并操作,是指为了提高模板重置的效率,将模板下的各虚拟机在创建、备份、还原中过程中产生的叶子节点做合并操作。例如,一个虚拟机可能是由A1-->A1-1-->A1-1-1等多级关系的节点组成的(这里是虚拟化层面的结束,A1和A1-1是有父子关系的,一般称A1-1-1是拉出来的一个叶子节点),对这些节点做合并,合并成一个整个的节点A*。 The template merge operation refers to the merging operation of the leaf nodes generated by the virtual machines in the process of creation, backup, and restoration in order to improve the efficiency of the template reset. For example, a virtual machine may be composed of nodes with multi-level relationships such as A1-->A1-1-->A1-1-1 (here is the end of the virtualization layer, A1 and A1-1 are parent-child relationships). , generally called A1-1-1 is a leaf node pulled out), merge these nodes and merge them into one whole node A*.
本发明实施例中,所述记录虚拟机模板对应的各个虚拟机的私有信息包括如下操作的至少一种:In the embodiment of the present invention, the private information of each virtual machine corresponding to the virtual machine template includes at least one of the following operations:
操作1-1,记录各个虚拟机对应的IP地址信息;Operation 1-1, recording IP address information corresponding to each virtual machine;
操作1-2,记录各个虚拟机对应的计算机名称信息;Operation 1-2, recording computer name information corresponding to each virtual machine;
所述根据记录的私有信息设置对应的虚拟机包括如下操作的至少一种:The setting the corresponding virtual machine according to the recorded private information includes at least one of the following operations:
操作2-1,根据记录的IP地址信息,分别设置各个虚拟机对应的IP地址;Operation 2-1, respectively, setting an IP address corresponding to each virtual machine according to the recorded IP address information;
操作2-2,记录各个虚拟机对应的计算机名称信息,分别设置各个虚拟机对应的计算机名称。Operation 2-2 records the computer name information corresponding to each virtual machine, and sets the computer name corresponding to each virtual machine.
其中,操作2-1是和操作1-1对应的,当记录虚拟机模板对应的各个虚拟机的私有信息包括操作1-1时,所述根据记录的私有信息设置对应的虚拟机包括操作2-1;同样地,操作2-2是和操作1-2对应的,当记录虚拟机模板对应的各个虚拟机的私有信息包括操作1-2时,所述根据记录的私有信息设置对应的虚拟机包括操作2-2。The operation 2-1 is corresponding to the operation 1-1. When the private information of each virtual machine corresponding to the virtual machine template is recorded, including the operation 1-1, the corresponding virtual machine according to the recorded private information includes the operation 2 -1; Similarly, operation 2-2 is corresponding to operation 1-2. When the private information of each virtual machine corresponding to the virtual machine template is recorded, including operation 1-2, the corresponding virtual information is set according to the recorded private information. The machine includes operations 2-2.
本发明实施例中,在步骤170之后,所述虚拟机更新方法还包括:In the embodiment of the present invention, after the step 170, the virtual machine update method further includes:
步骤180、检查更新后的虚拟机是否已经加域;Step 180: Check whether the updated virtual machine has been added with a domain;
步骤181、在所述虚拟机还没有加域的情况下,对虚拟机执行加域操作;Step 181: Perform a domain addition operation on the virtual machine if the virtual machine has not added a domain.
步骤182、在所述虚拟机已经加域的情况下,对所述虚拟机执行退域操作,并在所述退域完成之后,执行步骤181。Step 182: Perform a domain queuing operation on the virtual machine if the virtual machine has been added, and perform step 181 after the domain is completed.
下面对虚拟机对应的IP地址和计算机名称的设置过程进行说明,IP地址和计算机名称的设置涉及到WEB(管理平台)、消息队列、主机代理、和虚机代理之间的交互过程。其中,WEB设置在控制台、消息队列为控制台中用于接收和缓存各种请求消息的地方、主机代理设置在物理机器上,用于对运行在物理机器上的虚拟机进行管理、虚机代理设置在的虚拟机中,虚机代理通过和主机代理之间的通信,实现虚拟机和物理机器之间的信息交互。The following describes the setting process of the IP address and computer name corresponding to the virtual machine. The setting of the IP address and the computer name involves the interaction process between the WEB (management platform), the message queue, the host agent, and the virtual machine agent. Wherein, the WEB is set in the console, the message queue is used in the console for receiving and caching various request messages, and the host agent is set on the physical machine for managing the virtual machine running on the physical machine, and the virtual machine agent In the virtual machine set up, the virtual machine agent realizes the information interaction between the virtual machine and the physical machine through communication with the host agent.
本发明实施例中,通过上述WEB、消息队列、主机代理、和虚机代理之间的交互过程来实现虚拟机对应的IP地址和计算机名称的设置,提供了一种远程设置虚拟机对应的IP地址和计算机名称,不需要登录到各个虚拟机中对各个虚拟机对应的IP地址和计算机名称进行设置,而是由WEB统一完成各个虚拟机的设置,节约了人力和时间,提高了用户体验。In the embodiment of the present invention, the IP address and the computer name corresponding to the virtual machine are set by the interaction process between the WEB, the message queue, the host agent, and the virtual machine agent, and the IP corresponding to the virtual machine is remotely set. The address and the computer name do not need to be logged in to each virtual machine to set the IP address and computer name corresponding to each virtual machine. Instead, the WEB uniformly completes the setting of each virtual machine, saving manpower and time and improving the user experience.
参见图2A,本发明提出的虚拟机更新方法中,操作2-1中,所述分别设置各个虚拟机对应的IP地址包括:Referring to FIG. 2A, in the method for updating a virtual machine according to the present invention, in the operation 2-1, the setting of the IP addresses corresponding to the respective virtual machines includes:
步骤210、WEB向消息队列发起重置IP请求;Step 210: The WEB initiates a reset IP request to the message queue.
步骤220、消息队列向主机代理转发对应的重置IP请求;Step 220: The message queue forwards a corresponding reset IP request to the host agent.
步骤230、主机代理向虚机代理转发对应的重置IP请求; Step 230: The host agent forwards a corresponding reset IP request to the virtual machine proxy.
步骤240、虚机代理在接收对应的重置IP请求之后,根据所述记录的IP地址信息,对虚拟机的IP地址进行设置;Step 240: After receiving the corresponding reset IP request, the virtual machine agent sets the IP address of the virtual machine according to the recorded IP address information.
步骤250、虚机代理向主机代理发送对应的重置IP响应信息;Step 250: The virtual machine agent sends a corresponding reset IP response message to the host agent.
步骤260、主机代理向消息队列转发对应的重置IP响应信息;Step 260: The host agent forwards the corresponding reset IP response information to the message queue.
步骤270、消息队列向WEB转发对应的重置IP响应信息;Step 270: The message queue forwards the corresponding reset IP response information to the WEB.
参见图2B,本发明提出的虚拟机更新方法中,操作2-2中,所述分别设置各个虚拟机对应的计算机名称包括:Referring to FIG. 2B, in the method for updating a virtual machine according to the present invention, in the operation 2-2, the respectively setting the computer name corresponding to each virtual machine includes:
步骤310、WEB向消息队列发起重置计算机名称请求;Step 310: The WEB initiates a reset computer name request to the message queue.
步骤320、消息队列向主机代理转发对应的重置计算机名称请求;Step 320: The message queue forwards a corresponding reset computer name request to the host agent.
步骤330、主机代理向虚机代理转发对应的重置计算机名称请求;Step 330: The host agent forwards a corresponding reset computer name request to the virtual machine agent.
步骤340、虚机代理在接收对应的重置计算机名称请求之后,根据所述记录的计算机名称地址信息,对虚拟机的计算机名称进行设置;Step 340: After receiving the corresponding reset computer name request, the virtual machine agent sets the computer name of the virtual machine according to the recorded computer name address information.
步骤350、虚机代理向主机代理发送对应的重置计算机名称响应信息;Step 350: The virtual machine agent sends a corresponding reset computer name response information to the host agent.
步骤360、主机代理向消息队列转发对应的重置计算机名称响应信息;Step 360: The host agent forwards the corresponding reset computer name response information to the message queue.
步骤370、消息队列向WEB转发对应的重置计算机名称响应信息。Step 370: The message queue forwards the corresponding reset computer name response information to the WEB.
基于与上述实施例相同或相似的构思,本发明实施例还提供一种虚拟机更新装置,参见图3,本发明提出的一种虚拟机更新装置包括:Based on the same or similar concepts as the above embodiments, the embodiment of the present invention further provides a virtual machine updating apparatus. Referring to FIG. 3, a virtual machine updating apparatus according to the present invention includes:
模板更新单元10,设置为对虚拟机模板进行更新;The template updating unit 10 is configured to update the virtual machine template;
私有信息保存单元50,设置为记录虚拟机模板对应的各个虚拟机的私有信息;The private information storage unit 50 is configured to record private information of each virtual machine corresponding to the virtual machine template.
更新单元60,设置为根据更新后的虚拟机模板替换各个虚拟机的系统盘;The updating unit 60 is configured to replace the system disk of each virtual machine according to the updated virtual machine template;
私有信息设置单元70,设置为根据记录的私有信息设置对应的虚拟机。The private information setting unit 70 is configured to set a corresponding virtual machine according to the recorded private information.
参见图4,在图3所示的虚拟机更新装置上,本发明提出的另一种虚拟机更新装置,该虚拟机更新装置中,模板更新单元10包括:Referring to FIG. 4, in the virtual machine updating apparatus shown in FIG. 3, another virtual machine updating apparatus according to the present invention, in the virtual machine updating apparatus, the template updating unit 10 includes:
第一转换模块11,设置为将虚拟机模板转换为虚拟机;The first conversion module 11 is configured to convert the virtual machine template into a virtual machine;
应用更新模块12,设置为更新虚拟机中的软件或应用;The application update module 12 is configured to update software or an application in the virtual machine;
第二转换模块13,设置为将更新后的虚拟机转换为虚拟机模板,从而得到更新后的虚拟机模板。The second conversion module 13 is configured to convert the updated virtual machine into a virtual machine template to obtain an updated virtual machine template.
本发明实施例中,所述虚拟机更新装置还包括: In the embodiment of the present invention, the virtual machine updating apparatus further includes:
启动检查单元30,设置为检查是否可以进行虚拟机的链式重置操作,如果可以,则执行所述记录虚拟机模板对应的各个虚拟机的私有信息的步骤。The startup checking unit 30 is configured to check whether a chain reset operation of the virtual machine can be performed, and if so, perform the step of recording the private information of each virtual machine corresponding to the virtual machine template.
本发明实施例中,所述虚拟机更新装置还包括:In the embodiment of the present invention, the virtual machine updating apparatus further includes:
更新请求接收单元20,设置为根据用户的重置请求,通知启动检查单元30启动虚拟机更新过程。The update request receiving unit 20 is configured to notify the startup check unit 30 to start the virtual machine update process according to the reset request of the user.
以及、模板合并单元40、设置为执行模板合并操作。And, the template merging unit 40 is configured to perform a template merging operation.
本发明实施例中,所述私有信息保存单元50包括如下模块的至少一个:In the embodiment of the present invention, the private information holding unit 50 includes at least one of the following modules:
第一保存模块51,设置为记录各个虚拟机对应的IP地址信息;The first saving module 51 is configured to record IP address information corresponding to each virtual machine;
第二保存模块52,设置为记录各个虚拟机对应的计算机名称信息;The second saving module 52 is configured to record computer name information corresponding to each virtual machine;
所述私有信息设置单元70包括如下模块的至少一个:The private information setting unit 70 includes at least one of the following modules:
第一设置模块71,设置为根据记录的IP地址信息,分别设置各个虚拟机对应的IP地址;The first setting module 71 is configured to separately set an IP address corresponding to each virtual machine according to the recorded IP address information;
第二设置模块72,设置为记录各个虚拟机对应的计算机名称信息,分别设置各个虚拟机对应的计算机名称。The second setting module 72 is configured to record computer name information corresponding to each virtual machine, and respectively set a computer name corresponding to each virtual machine.
本发明实施例中,所述虚拟机更新装置还包括:加域单元80,设置为检查更新后的虚拟机是否已经加域;在所述虚拟机还没有加域的情况下,对虚拟机执行加域操作;在所述虚拟机已经加域的情况下,对所述虚拟机执行退域操作,并在所述退域完成之后,对所述虚拟机执行加域操作。In the embodiment of the present invention, the virtual machine updating apparatus further includes: a adding domain unit 80, configured to check whether the updated virtual machine has been added to the domain; and if the virtual machine has not added a domain, execute the virtual machine Adding a domain operation; performing a domain-removal operation on the virtual machine after the virtual machine has been added, and performing a domain-adding operation on the virtual machine after the domain is completed.
本发明实施例中,所述第一设置模块71具体设置为:In the embodiment of the present invention, the first setting module 71 is specifically configured to:
通过WEB向消息队列发起重置IP请求;Initiating a reset IP request to the message queue through the WEB;
通过消息队列向主机代理转发对应的重置IP请求;Forwarding a corresponding reset IP request to the host agent through the message queue;
通过主机代理向虚机代理转发对应的重置IP请求;Forwarding a corresponding reset IP request to the virtual machine proxy by the host agent;
虚机代理在接收对应的重置IP请求之后,根据所述记录的IP地址信息,对虚拟机的IP地址进行设置;After receiving the corresponding reset IP request, the virtual machine agent sets the IP address of the virtual machine according to the recorded IP address information;
通过虚机代理向主机代理发送对应的重置IP响应信息;Sending corresponding reset IP response information to the host agent through the virtual machine proxy;
通过主机代理向消息队列转发对应的重置IP响应信息;Forwarding corresponding reset IP response information to the message queue by the host agent;
通过消息队列向WEB转发对应的重置IP响应信息;Forwarding corresponding reset IP response information to the WEB through the message queue;
所述第二设置模块72具体设置为:The second setting module 72 is specifically configured to:
通过WEB向消息队列发起重置计算机名称请求; Initiating a reset computer name request to the message queue through the WEB;
通过消息队列向主机代理转发对应的重置计算机名称请求;Forwarding a corresponding reset computer name request to the host agent through the message queue;
通过主机代理向虚机代理转发对应的重置计算机名称请求;Forwarding a corresponding reset computer name request to the virtual machine agent through the host agent;
虚机代理在接收对应的重置计算机名称请求之后,根据所述记录的计算机名称地址信息,对虚拟机的计算机名称进行设置;After receiving the corresponding reset computer name request, the virtual machine agent sets the computer name of the virtual machine according to the recorded computer name address information;
通过虚机代理向主机代理发送对应的重置计算机名称响应信息;Sending corresponding reset computer name response information to the host agent through the virtual machine proxy;
通过主机代理向消息队列转发对应的重置计算机名称响应信息;Forwarding corresponding reset computer name response information to the message queue through the host agent;
通过消息队列向WEB转发对应的重置计算机名称响应信息。The corresponding reset computer name response information is forwarded to the WEB through the message queue.
需要说明的是,以上所述的实施例仅是为了便于本领域的技术人员理解而已,并不用于限制本发明的保护范围,在不脱离本发明的发明构思的前提下,本领域技术人员对本发明所做出的任何显而易见的替换和改进等均在本发明的保护范围之内。It should be noted that the above-mentioned embodiments are only for the purpose of facilitating the understanding of those skilled in the art, and are not intended to limit the scope of the present invention, and those skilled in the art will Any obvious substitutions and improvements made by the invention are within the scope of the invention.
工业实用性Industrial applicability
本发明实施例的技术方案,可以应用于虚拟机更新过程中,通过对虚拟机模板进行更新;记录虚拟机模板对应的各个虚拟机的私有信息;根据更新后的虚拟机模板替换各个虚拟机的系统盘;根据记录的私有信息设置对应的虚拟机。通过本发明的方案,在需要更新教学使用的虚拟机时,用户只需要设置新的模板,并根据新的模板替换各个虚拟机的系统盘,因此没有更改虚拟机中的用户数据,相对于现有技术中删除并重建虚拟机的过程,本发明实施例的虚拟机更新方法中,更新过程更加快捷,节省了大量的人力和时间,虚拟机中的用户数据得到了保存,提高了用户体验。 The technical solution of the embodiment of the present invention can be applied to the virtual machine update process by updating the virtual machine template; recording the private information of each virtual machine corresponding to the virtual machine template; and replacing each virtual machine according to the updated virtual machine template. System disk; set the corresponding virtual machine according to the recorded private information. With the solution of the present invention, when the virtual machine used for teaching needs to be updated, the user only needs to set a new template and replace the system disk of each virtual machine according to the new template, so the user data in the virtual machine is not changed, as opposed to the current In the virtual machine update method of the embodiment of the present invention, the update process is faster, saves a lot of manpower and time, and the user data in the virtual machine is saved, thereby improving the user experience.

Claims (12)

  1. 一种虚拟机更新方法,所述虚拟机更新方法包括:A virtual machine update method, where the virtual machine update method includes:
    对虚拟机模板进行更新;Update the virtual machine template;
    记录虚拟机模板对应的各个虚拟机的私有信息;Record private information of each virtual machine corresponding to the virtual machine template;
    根据更新后的虚拟机模板替换各个虚拟机的系统盘;Replace the system disk of each virtual machine according to the updated virtual machine template;
    根据记录的私有信息设置对应的虚拟机。Set the corresponding virtual machine based on the recorded private information.
  2. 根据权利要求1所述的虚拟机更新方法,其中,所述对虚拟机模板进行更新包括:The virtual machine update method according to claim 1, wherein the updating the virtual machine template comprises:
    将虚拟机模板转换为虚拟机;Convert a virtual machine template to a virtual machine;
    更新虚拟机中的软件或应用;Update software or applications in a virtual machine;
    将更新后的虚拟机转换为虚拟机模板,从而得到更新后的虚拟机模板。Convert the updated virtual machine to a virtual machine template to get the updated virtual machine template.
  3. 根据权利要求1所述的虚拟机更新方法,其中,在所述记录虚拟机模板对应的各个虚拟机的私有信息之前,所述虚拟机更新方法还包括:The virtual machine updating method according to claim 1, wherein the virtual machine updating method further comprises: before the recording the private information of each virtual machine corresponding to the virtual machine template, the virtual machine updating method further comprises:
    判断是否可以进行虚拟机的链式重置操作,如果可以,则执行所述记录虚拟机模板对应的各个虚拟机的私有信息的步骤。It is determined whether the chain reset operation of the virtual machine can be performed, and if so, the step of recording the private information of each virtual machine corresponding to the virtual machine template is performed.
  4. 根据权利要求1所述的虚拟机更新方法,其中,所述记录虚拟机模板对应的各个虚拟机的私有信息包括如下操作的至少一种:The virtual machine update method according to claim 1, wherein the private information of each virtual machine corresponding to the record virtual machine template comprises at least one of the following operations:
    操作1-1,记录各个虚拟机对应的IP地址信息;Operation 1-1, recording IP address information corresponding to each virtual machine;
    操作1-2,记录各个虚拟机对应的计算机名称信息;Operation 1-2, recording computer name information corresponding to each virtual machine;
    所述根据记录的私有信息设置对应的虚拟机包括如下操作的至少一种:The setting the corresponding virtual machine according to the recorded private information includes at least one of the following operations:
    操作2-1,根据记录的IP地址信息,分别设置各个虚拟机对应的IP地址;Operation 2-1, respectively, setting an IP address corresponding to each virtual machine according to the recorded IP address information;
    操作2-2,记录各个虚拟机对应的计算机名称信息,分别设置各个虚拟机对应的计算机名称。Operation 2-2 records the computer name information corresponding to each virtual machine, and sets the computer name corresponding to each virtual machine.
  5. 根据权利要求1所述的虚拟机更新方法,其中,在所述根据记录的私有信息设置对应的虚拟机之后,所述虚拟机更新方法还包括:The virtual machine updating method according to claim 1, wherein after the setting of the corresponding virtual machine according to the recorded private information, the virtual machine updating method further comprises:
    检查更新后的虚拟机是否已经加域;Check if the updated virtual machine has been added to the domain;
    在所述虚拟机还没有加域的情况下,对虚拟机执行加域操作;Performing a domain addition operation on the virtual machine if the virtual machine has not been added to the domain;
    在所述虚拟机已经加域的情况下,对所述虚拟机执行退域操作,并在所述退域完成之后,对所述虚拟机执行加域操作。In the case that the virtual machine has been added to the domain, the domain operation is performed on the virtual machine, and after the domain is completed, the domain operation is performed on the virtual machine.
  6. 根据权利要求4所述的虚拟机更新方法,其中, The virtual machine updating method according to claim 4, wherein
    所述分别设置各个虚拟机对应的IP地址包括:The setting the IP addresses corresponding to the respective virtual machines separately includes:
    通过WEB向消息队列发起重置IP请求;Initiating a reset IP request to the message queue through the WEB;
    通过消息队列向主机代理转发对应的重置IP请求;Forwarding a corresponding reset IP request to the host agent through the message queue;
    通过主机代理向虚机代理转发对应的重置IP请求;Forwarding a corresponding reset IP request to the virtual machine proxy by the host agent;
    虚机代理在接收对应的重置IP请求之后,根据所述记录的IP地址信息,对虚拟机的IP地址进行设置;After receiving the corresponding reset IP request, the virtual machine agent sets the IP address of the virtual machine according to the recorded IP address information;
    通过虚机代理向主机代理发送对应的重置IP响应信息;Sending corresponding reset IP response information to the host agent through the virtual machine proxy;
    通过主机代理向消息队列转发对应的重置IP响应信息;Forwarding corresponding reset IP response information to the message queue by the host agent;
    通过消息队列向WEB转发对应的重置IP响应信息;Forwarding corresponding reset IP response information to the WEB through the message queue;
    所述分别设置各个虚拟机对应的计算机名称包括:The respectively setting the computer name corresponding to each virtual machine includes:
    通过WEB向消息队列发起重置计算机名称请求;Initiating a reset computer name request to the message queue through the WEB;
    通过消息队列向主机代理转发对应的重置计算机名称请求;Forwarding a corresponding reset computer name request to the host agent through the message queue;
    通过主机代理向虚机代理转发对应的重置计算机名称请求;Forwarding a corresponding reset computer name request to the virtual machine agent through the host agent;
    虚机代理在接收对应的重置计算机名称请求之后,根据所述记录的计算机名称地址信息,对虚拟机的计算机名称进行设置;After receiving the corresponding reset computer name request, the virtual machine agent sets the computer name of the virtual machine according to the recorded computer name address information;
    通过虚机代理向主机代理发送对应的重置计算机名称响应信息;Sending corresponding reset computer name response information to the host agent through the virtual machine proxy;
    通过主机代理向消息队列转发对应的重置计算机名称响应信息;Forwarding corresponding reset computer name response information to the message queue through the host agent;
    通过消息队列向WEB转发对应的重置计算机名称响应信息。The corresponding reset computer name response information is forwarded to the WEB through the message queue.
  7. 一种虚拟机更新装置,所述虚拟机更新装置包括:A virtual machine updating apparatus, where the virtual machine updating apparatus includes:
    模板更新单元,设置为对虚拟机模板进行更新;A template update unit, configured to update a virtual machine template;
    私有信息保存单元,设置为记录虚拟机模板对应的各个虚拟机的私有信息;The private information storage unit is configured to record private information of each virtual machine corresponding to the virtual machine template;
    更新单元,设置为根据更新后的虚拟机模板替换各个虚拟机的系统盘;An update unit, configured to replace a system disk of each virtual machine according to the updated virtual machine template;
    私有信息设置单元,设置为根据记录的私有信息设置对应的虚拟机。The private information setting unit is configured to set the corresponding virtual machine according to the recorded private information.
  8. 根据权利要求7所述的虚拟机更新装置,其中,所述模板更新单元包括:The virtual machine updating apparatus according to claim 7, wherein the template updating unit comprises:
    第一转换模块,设置为将虚拟机模板转换为虚拟机;a first conversion module configured to convert the virtual machine template into a virtual machine;
    应用更新模块,设置为更新虚拟机中的软件或应用;Apply the update module, set to update the software or application in the virtual machine;
    第二转换模块,设置为将更新后的虚拟机转换为虚拟机模板,从而得到更新后的虚 拟机模板。a second conversion module, configured to convert the updated virtual machine into a virtual machine template, thereby obtaining an updated virtual Proximity template.
  9. 根据权利要求7所述的虚拟机更新装置,其中,所述虚拟机更新装置还包括:The virtual machine updating apparatus according to claim 7, wherein the virtual machine updating apparatus further comprises:
    启动检查单元,设置为检查是否可以进行虚拟机的链式重置操作,如果可以,则执行所述记录虚拟机模板对应的各个虚拟机的私有信息的步骤。The startup checking unit is configured to check whether a chain reset operation of the virtual machine can be performed, and if so, perform the step of recording the private information of each virtual machine corresponding to the virtual machine template.
  10. 根据权利要求7所述的虚拟机更新装置,其中,所述私有信息保存单元包括如下模块的至少一个:The virtual machine updating apparatus according to claim 7, wherein said private information holding unit comprises at least one of the following modules:
    第一保存模块,设置为记录各个虚拟机对应的IP地址信息;The first saving module is configured to record IP address information corresponding to each virtual machine;
    第二保存模块,设置为记录各个虚拟机对应的计算机名称信息;a second saving module, configured to record computer name information corresponding to each virtual machine;
    所述私有信息设置单元包括如下模块的至少一个:The private information setting unit includes at least one of the following modules:
    第一设置模块,设置为根据记录的IP地址信息,分别设置各个虚拟机对应的IP地址;The first setting module is configured to separately set an IP address corresponding to each virtual machine according to the recorded IP address information;
    第二设置模块,设置为记录各个虚拟机对应的计算机名称信息,分别设置各个虚拟机对应的计算机名称。The second setting module is configured to record computer name information corresponding to each virtual machine, and respectively set a computer name corresponding to each virtual machine.
  11. 根据权利要求7所述的虚拟机更新装置,其中,所述虚拟机更新装置还包括:加域单元,设置为检查更新后的虚拟机是否已经加域;在所述虚拟机还没有加域的情况下,对虚拟机执行加域操作;在所述虚拟机已经加域的情况下,对所述虚拟机执行退域操作,并在所述退域完成之后,对所述虚拟机执行加域操作。The virtual machine updating apparatus according to claim 7, wherein the virtual machine updating apparatus further comprises: a adding domain unit configured to check whether the updated virtual machine has been added; and the virtual machine has not been added to the domain In the case of performing a domain-adding operation on the virtual machine, performing a domain-removal operation on the virtual machine, and performing a domain-adding operation on the virtual machine after the domain is completed. operating.
  12. 根据权利要求10所述的虚拟机更新装置,其中,The virtual machine updating apparatus according to claim 10, wherein
    所述第一设置模块具体设置为:The first setting module is specifically configured to:
    通过WEB向消息队列发起重置IP请求;Initiating a reset IP request to the message queue through the WEB;
    通过消息队列向主机代理转发对应的重置IP请求;Forwarding a corresponding reset IP request to the host agent through the message queue;
    通过主机代理向虚机代理转发对应的重置IP请求;Forwarding a corresponding reset IP request to the virtual machine proxy by the host agent;
    虚机代理在接收对应的重置IP请求之后,根据所述记录的IP地址信息,对虚拟机的IP地址进行设置;After receiving the corresponding reset IP request, the virtual machine agent sets the IP address of the virtual machine according to the recorded IP address information;
    通过虚机代理向主机代理发送对应的重置IP响应信息;Sending corresponding reset IP response information to the host agent through the virtual machine proxy;
    通过主机代理向消息队列转发对应的重置IP响应信息;Forwarding corresponding reset IP response information to the message queue by the host agent;
    通过消息队列向WEB转发对应的重置IP响应信息;Forwarding corresponding reset IP response information to the WEB through the message queue;
    所述第二设置模块具体设置为:The second setting module is specifically configured to:
    通过WEB向消息队列发起重置计算机名称请求; Initiating a reset computer name request to the message queue through the WEB;
    通过消息队列向主机代理转发对应的重置计算机名称请求;Forwarding a corresponding reset computer name request to the host agent through the message queue;
    通过主机代理向虚机代理转发对应的重置计算机名称请求;Forwarding a corresponding reset computer name request to the virtual machine agent through the host agent;
    虚机代理在接收对应的重置计算机名称请求之后,根据所述记录的计算机名称地址信息,对虚拟机的计算机名称进行设置;After receiving the corresponding reset computer name request, the virtual machine agent sets the computer name of the virtual machine according to the recorded computer name address information;
    通过虚机代理向主机代理发送对应的重置计算机名称响应信息;Sending corresponding reset computer name response information to the host agent through the virtual machine proxy;
    通过主机代理向消息队列转发对应的重置计算机名称响应信息;Forwarding corresponding reset computer name response information to the message queue through the host agent;
    通过消息队列向WEB转发对应的重置计算机名称响应信息。 The corresponding reset computer name response information is forwarded to the WEB through the message queue.
PCT/CN2016/096404 2015-12-11 2016-08-23 Virtual machine update method and device WO2017096951A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510916247.2A CN106874062B (en) 2015-12-11 2015-12-11 Virtual machine updating method and device
CN201510916247.2 2015-12-11

Publications (1)

Publication Number Publication Date
WO2017096951A1 true WO2017096951A1 (en) 2017-06-15

Family

ID=59012650

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/096404 WO2017096951A1 (en) 2015-12-11 2016-08-23 Virtual machine update method and device

Country Status (2)

Country Link
CN (1) CN106874062B (en)
WO (1) WO2017096951A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110874232B (en) * 2018-09-04 2023-12-29 中兴通讯股份有限公司 Virtual machine component upgrading method, equipment and computer readable storage medium
CN111414232B (en) * 2020-03-19 2024-01-19 建信金融科技有限责任公司 Virtual machine template data processing method and device
CN112363671B (en) * 2020-10-23 2022-07-05 中国电子科技网络信息安全有限公司 Virtual machine template mirror image storage method based on fusion framework cloud platform

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073536A (en) * 2011-01-11 2011-05-25 济南银泉科技有限公司 Method for editing template into warehouse by cloud platform and generating virtual machines in bulk
CN102917017A (en) * 2012-09-08 2013-02-06 佳都新太科技股份有限公司 Universal automatic IP (Internet Protocol) allocation method when cloning virtual machines
CN104156256A (en) * 2014-08-22 2014-11-19 成都致云科技有限公司 Efficient and flexible cloud mainframe magnetic disk cloning method
CN104461693A (en) * 2014-12-11 2015-03-25 中标软件有限公司 Virtual machine updating method and virtual machine updating system under desktop cloud computing environment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101216777B (en) * 2008-01-11 2010-11-03 华中科技大学 Rapid deployment system under multi-dummy machine environment
CN105045663B (en) * 2015-08-24 2018-12-04 马金栋 The method and system of rapid deployment virtual machine

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073536A (en) * 2011-01-11 2011-05-25 济南银泉科技有限公司 Method for editing template into warehouse by cloud platform and generating virtual machines in bulk
CN102917017A (en) * 2012-09-08 2013-02-06 佳都新太科技股份有限公司 Universal automatic IP (Internet Protocol) allocation method when cloning virtual machines
CN104156256A (en) * 2014-08-22 2014-11-19 成都致云科技有限公司 Efficient and flexible cloud mainframe magnetic disk cloning method
CN104461693A (en) * 2014-12-11 2015-03-25 中标软件有限公司 Virtual machine updating method and virtual machine updating system under desktop cloud computing environment

Also Published As

Publication number Publication date
CN106874062A (en) 2017-06-20
CN106874062B (en) 2021-10-12

Similar Documents

Publication Publication Date Title
JP6411698B2 (en) Custom communication channel for application deployment
US11172022B2 (en) Migrating cloud resources
Doelitzscher et al. Private cloud for collaboration and e-Learning services: from IaaS to SaaS
US10148757B2 (en) Migrating cloud resources
US10061665B2 (en) Preserving management services with self-contained metadata through the disaster recovery life cycle
CN104009880B (en) Web test methods, proxy server and Web test devices
US10678657B1 (en) Reversion operations for virtual computing environments
CN111277432A (en) Configuration information updating method and device, electronic equipment and storage medium
US11269728B2 (en) Scalable multi-framework multi-tenant lifecycle management of deep learning applications
TW201434300A (en) Service migration across cluster boundaries
US11196547B2 (en) Scalable multi-framework multi-tenant lifecycle management of deep learning applications
US20210194990A1 (en) Virtual workspace experience visualization and optimization
CN103077034B (en) hybrid virtualization platform JAVA application migration method and system
WO2017096951A1 (en) Virtual machine update method and device
CN103118073A (en) Virtual machine data persistence storage system and method in cloud environment
JP2023531532A (en) Virtual machine migration method, device, storage medium and electronic device between cloud platforms
CN106875765B (en) Electronic classroom implementation method and device based on VDI
Sheng et al. A virtual experiment platform based on OpenStack
Tavakkoli Analyzing the Applicability of Kubernetes for the Deployment of an IoT Publish/Subscribe System
Woudstra Designing a container management solution to improve flexibility and portability, and reducing cost for iPaaS solutions.
Miseviciene et al. Virtual Desktop Infrastructure Technology Based Study & Research
CN109684386B (en) Report collaborative arrangement method and device
Huang et al. Construction and Application of Economic and Management Experimental Teaching Platform Based on Cloud Desktop
Potter ParWeb: a front-end interface for cluster computing.
Pérez Castillo Development of a virtualization framework with LXD

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16872147

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16872147

Country of ref document: EP

Kind code of ref document: A1