CN104636189A - Xen-based virtual machine deployment system and Xen-based virtual machine deployment method - Google Patents

Xen-based virtual machine deployment system and Xen-based virtual machine deployment method Download PDF

Info

Publication number
CN104636189A
CN104636189A CN201510087347.9A CN201510087347A CN104636189A CN 104636189 A CN104636189 A CN 104636189A CN 201510087347 A CN201510087347 A CN 201510087347A CN 104636189 A CN104636189 A CN 104636189A
Authority
CN
China
Prior art keywords
virtual machine
server
user
deployment
xen
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.)
Granted
Application number
CN201510087347.9A
Other languages
Chinese (zh)
Other versions
CN104636189B (en
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.)
Harbin Institute of Technology Shenzhen
Original Assignee
Harbin Institute of Technology Shenzhen
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 Harbin Institute of Technology Shenzhen filed Critical Harbin Institute of Technology Shenzhen
Priority to CN201510087347.9A priority Critical patent/CN104636189B/en
Publication of CN104636189A publication Critical patent/CN104636189A/en
Application granted granted Critical
Publication of CN104636189B publication Critical patent/CN104636189B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

基于Xen的虚拟机部署系统及方法,属于虚拟机快速部署系统领域。现有的Xen虚拟机快速部署系统无法应用于大规模云环境需求,并且无法动态改变虚拟机的软件环境和IP地址的问题。本发明根据用户需求,采用JSP网页服务器、Tomcat网页服务器、MySQL数据库的组合作为前端系统的前端和管理系统,前端服务器与用户交互,并根据交互获得的用户需求的配置参数信息,采用Libvirt控制库的通信形式向负载服务器发出不同指令,前端系统选取镜像模板库中的增量镜像采用增量虚拟机的部署方式一键化部署不同操作系统、一键化部署不同应用的虚拟机;根据用户需求信息自动化配置虚拟机IP地址;基于部署的不同操作系统、部署的不同应用的虚拟机,能够让用户控制虚拟机的生命周期;还能够动态改变虚拟机的软件环境。

A Xen-based virtual machine deployment system and method belong to the field of virtual machine rapid deployment systems. The existing Xen virtual machine rapid deployment system cannot be applied to large-scale cloud environment requirements, and cannot dynamically change the software environment and IP address of the virtual machine. The present invention adopts the combination of JSP webpage server, Tomcat webpage server and MySQL database as the front-end and management system of the front-end system according to the needs of users. The front-end system selects the incremental image in the image template library and adopts the incremental virtual machine deployment method to deploy different operating systems and virtual machines of different applications with one click; according to user needs Information automatically configures the IP address of the virtual machine; based on the deployment of different operating systems and virtual machines of different applications, it allows users to control the life cycle of the virtual machine; it can also dynamically change the software environment of the virtual machine.

Description

基于Xen的虚拟机部署系统及方法Xen-based virtual machine deployment system and method

技术领域technical field

本发明涉及一种基于Xen的虚拟机部署系统及方法。The invention relates to a Xen-based virtual machine deployment system and method.

背景技术Background technique

虚拟机快速部署技术是目前虚拟化研究的热门。Virtual machine rapid deployment technology is currently a hot spot in virtualization research.

XenFire是一个单服务器的Xen虚拟机快速部署系统。它能够在一台服器上快速部署虚拟机,并且利用XEN平台提供的DHCP服务器自动化部署网络。该方法功能比较单一,无法根据需要部署多种不同的虚拟机。XenFire is a single-server Xen virtual machine rapid deployment system. It can quickly deploy a virtual machine on a server, and use the DHCP server provided by the XEN platform to automatically deploy the network. The function of this method is relatively single, and it is impossible to deploy multiple different virtual machines as required.

MLN(Manage Large Network)是以Xen和UML(User Mode Linux)为平台的多虚拟机管理软件。该系统提出了模板式的虚拟机快速部署方法。模板是操作系统和软件组合而成的系统镜像。模板镜像的大小取决于操作系统的大小和其中软件的安装大小。用户可以根据需要选择对应的模板,然后复制、部署。该方法的缺点是模板往往比较大,并且数量众多。占用大量的硬盘空间,在部署是会耗费大量的复制时间。MLN (Manage Large Network) is a multi-virtual machine management software based on Xen and UML (User Mode Linux) platforms. The system proposes a template-style virtual machine rapid deployment method. A template is a system image composed of an operating system and software. The size of the template image depends on the size of the operating system and the size of the software installed in it. Users can select the corresponding template according to their needs, and then copy and deploy it. The disadvantage of this method is that the templates tend to be large and numerous. It takes up a lot of hard disk space and takes a lot of copying time during deployment.

袁金艳等改进了MLN中的缺点,提出了一种多虚拟机的快速部署机制。该方法将模板转变为基本的系统镜像加上软件的增量镜像。增量镜像采用写复制的方法,保存对于操作系统的修改,而不去修改基本的操作系统镜像。Yuan Jinyan et al. improved the shortcomings of MLN and proposed a rapid deployment mechanism for multiple virtual machines. This approach turns a template into a base system image plus incremental images of the software. Incremental mirroring adopts the copy-on-write method to save modifications to the operating system without modifying the basic operating system mirror.

Xen虚拟机快速部署系统主要针对小规模部署,主要是单机部署,没有考虑大规模云环境的需求,其次目前的技术无法动态改变虚拟机的软件环境和IP地址。The Xen virtual machine rapid deployment system is mainly aimed at small-scale deployment, mainly single-machine deployment, without considering the needs of large-scale cloud environments, and secondly, the current technology cannot dynamically change the software environment and IP address of the virtual machine.

发明内容Contents of the invention

本发明的目的是为了解决现有的Xen虚拟机快速部署系统无法应用于大规模云环境需求,并且无法动态改变虚拟机的软件环境和IP地址的问题,而提出一种基于Xen的虚拟机部署系统及方法。The purpose of the present invention is to solve the problem that the existing Xen virtual machine rapid deployment system cannot be applied to large-scale cloud environment requirements, and cannot dynamically change the software environment and IP address of the virtual machine, and proposes a virtual machine deployment based on Xen systems and methods.

一种基于Xen的虚拟机部署系统及方法,所述虚拟机部署系统包括前端服务器;所述前端服务器包括:网页前端子系统和后台功能模块,所述网页前端包括:A Xen-based virtual machine deployment system and method, the virtual machine deployment system includes a front-end server; the front-end server includes: a webpage front-end subsystem and a background function module, and the webpage front-end includes:

用于与用户进行交互的Tomcat网页服务器;Tomcat web server for interacting with users;

用于记录用户的信息,维护网络和虚拟机信息的MySQL数据库;供用户查询、修改;A MySQL database used to record user information and maintain network and virtual machine information; for users to query and modify;

所述后台功能模块包括:The background function module includes:

用于根据用户发出的命令和MySQL数据库的信息的控制模块;A control module for commands issued by users and information from the MySQL database;

用于存储系统所有的基础镜像和增量镜像的镜像模板库;Image template library used to store all base images and incremental images of the system;

用于前端服务器与负载服务器之间作为通信桥梁的Libvirt控制库。Libvirt control library used as a communication bridge between the front-end server and the load server.

一种基于Xen的虚拟机部署方法,所述部署与管理方法通过以下步骤实现:A Xen-based virtual machine deployment method, the deployment and management method is achieved through the following steps:

步骤一、前端服务器采用JSP网页服务器、Tomcat网页服务器、MySQL数据库的组合作为前端系统的前端和管理系统,前端服务器与用户交互,并根据交互获得的用户需求的配置参数信息,采用Libvirt控制库的通信形式向负载服务器发出不同指令,前端系统选取镜像模板库中的增量镜像采用增量虚拟机的部署方式一键化部署不同操作系统、一键化部署不同应用的虚拟机;Step 1. The front-end server uses a combination of JSP web server, Tomcat web server, and MySQL database as the front-end and management system of the front-end system. The front-end server interacts with the user, and according to the configuration parameter information of the user's needs obtained through the interaction, the Libvirt control library is used. The communication form sends different instructions to the load server, and the front-end system selects the incremental image in the image template library and adopts the incremental virtual machine deployment method to deploy different operating systems and virtual machines for different applications with one click;

步骤二、根据步骤一中所述用户需求信息自动化配置虚拟机IP地址;Step 2, automatically configuring the virtual machine IP address according to the user demand information described in step 1;

步骤三、基于步骤一部署的不同操作系统、部署的不同应用的虚拟机,能够让用户控制虚拟机的生命周期;还能够动态改变虚拟机的软件环境。Step 3. Based on the virtual machines of different operating systems and applications deployed in step 1, the user can control the life cycle of the virtual machines and dynamically change the software environment of the virtual machines.

本发明的有益效果为:The beneficial effects of the present invention are:

本发明是针对目前的大规模商业化云计算环境,需要系统能够大量高速部署多重不同操作系统、包含不同应用的虚拟机的问题。根据用户需求的IP自动化配置虚拟机的IP地址,针对每个操作系统制作大量的增量镜像,由于这些增量镜像所占空间都很小,部署时不需要占据大量的硬盘空间。当用户需要大量部署特定的操作系统和软件时,只需要复制对应的增量镜像,不需要复制基本操作系统镜像,实现一键化快速部署不同操作系统、不同应用的虚拟机,从而将部署操作系统所需时间减少80%左右。在部署好的操作系统的基础上,能够让用户快速控制虚拟机的生命周期,并且在动态快速改变虚拟机的软件环境和IP地址方便,通过将目标虚拟机原有的增量镜像抛弃,再添加含有对应软件的增量镜像的方法批量部署,将部署速度提高60-70%,即实现自动化为虚拟机添加应用的过程,批量部署安装易于管理。The present invention is aimed at the current large-scale commercial cloud computing environment, which requires the system to be able to deploy a large number of virtual machines with different operating systems and different applications at high speed. Automatically configure the IP address of the virtual machine according to the IP required by the user, and make a large number of incremental images for each operating system. Since these incremental images occupy a small space, they do not need to occupy a large amount of hard disk space during deployment. When users need to deploy a large number of specific operating systems and software, they only need to copy the corresponding incremental image, and do not need to copy the basic operating system image, realizing one-click rapid deployment of virtual machines with different operating systems and different applications, so that the deployment operation The time required by the system is reduced by about 80%. On the basis of the deployed operating system, users can quickly control the life cycle of the virtual machine, and it is convenient to dynamically and quickly change the software environment and IP address of the virtual machine. By discarding the original incremental image of the target virtual machine, and then The method of adding incremental images containing corresponding software is deployed in batches, which increases the deployment speed by 60-70%, that is, the process of adding applications to virtual machines is automated, and batch deployment and installation are easy to manage.

附图说明Description of drawings

图1为本发明涉及的部署系统与用户和负载服务器之间运营时的结构示意图;Fig. 1 is a schematic diagram of the structure of the deployment system involved in the present invention during operation with users and load servers;

图2为本发明涉及的一键化部署不同操作系统的流程图;Fig. 2 is a flowchart of one-click deployment of different operating systems involved in the present invention;

图3为本发明涉及的自动化配置虚拟机IP地址的流程图;Fig. 3 is the flowchart of automatic configuration virtual machine IP address involved in the present invention;

图4为本发明涉及的用户控制虚拟机的生命周期的流程图;FIG. 4 is a flow chart of the life cycle of the user-controlled virtual machine involved in the present invention;

图5为本发明涉及的操作命令的关系示意图;Fig. 5 is a schematic diagram of the relationship between the operation commands involved in the present invention;

图6为本发明涉及的自动化添加应用示意图。Fig. 6 is a schematic diagram of the automatic adding application involved in the present invention.

具体实施方式Detailed ways

具体实施方式一:Specific implementation mode one:

本实施方式的基于Xen的虚拟机部署系统,如图1所示,所述虚拟机部署系统包括前端服务器;所述前端服务器与用户和一组负载服务器构成整体运营系统,所述前端服务器包括:网页前端子系统和后台功能模块,所述网页前端包括:The Xen-based virtual machine deployment system of the present embodiment, as shown in Figure 1, the virtual machine deployment system includes a front-end server; the front-end server and a user and a group of load servers constitute an overall operating system, and the front-end server includes: The front-end subsystem of the webpage and the background function module, the front-end of the webpage includes:

用于与用户进行交互的Tomcat网页服务器;Tomcat web server for interacting with users;

用于记录用户的信息,维护网络和虚拟机信息的MySQL数据库;供用户查询、修改;A MySQL database used to record user information and maintain network and virtual machine information; for users to query and modify;

所述后台功能模块包括:The background function module includes:

用于根据用户发出的命令和MySQL数据库的信息,调用Libvirt控制库的API应用程序接口以SSH协议远程控制各台负载服务器Xen平台的控制模块;It is used to call the API application program interface of the Libvirt control library to remotely control the control module of each load server Xen platform through the SSH protocol according to the command issued by the user and the information of the MySQL database;

用于存储系统所有的基础镜像和增量镜像,为各台负载服务器提供NFS服务的镜像模板库;各负载服务器采用镜像模板库中的增量镜像作为虚拟机的硬盘镜像;It is used to store all the basic images and incremental images of the system, and provide NFS service image template library for each load server; each load server uses the incremental image in the image template library as the hard disk image of the virtual machine;

用于在前端服务器和负载服务器之间作为通信桥梁的Libvirt控制库。Libvirt control library used as a communication bridge between front-end servers and load servers.

具体实施方式二:Specific implementation mode two:

本实施方式的基于Xen的虚拟机部署方法,其特征在于:所述部署与管理方法通过以下步骤实现:The Xen-based virtual machine deployment method of the present embodiment is characterized in that: the deployment and management method is realized through the following steps:

步骤一、前端服务器采用JSP网页服务器、Tomcat网页服务器、MySQL数据库的组合作为前端系统的前端和管理系统,前端服务器与用户交互,并根据交互获得的用户需求的配置参数信息,采用Libvirt控制库的通信形式向负载服务器发出不同指令,前端系统选取镜像模板库中的增量镜像采用增量虚拟机的部署方式一键化部署不同操作系统、一键化部署不同应用的虚拟机;Step 1. The front-end server uses a combination of JSP web server, Tomcat web server, and MySQL database as the front-end and management system of the front-end system. The front-end server interacts with the user, and according to the configuration parameter information of the user's needs obtained through the interaction, the Libvirt control library is used. The communication form sends different instructions to the load server, and the front-end system selects the incremental image in the image template library and adopts the incremental virtual machine deployment method to deploy different operating systems and virtual machines for different applications with one click;

步骤二、根据步骤一中所述用户需求信息自动化配置虚拟机IP地址;Step 2, automatically configuring the virtual machine IP address according to the user demand information described in step 1;

步骤三、基于步骤一部署的不同操作系统、部署的不同应用的虚拟机,能够让用户控制虚拟机的生命周期;还能够动态改变虚拟机的软件环境。Step 3. Based on the virtual machines of different operating systems and applications deployed in step 1, the user can control the life cycle of the virtual machines and dynamically change the software environment of the virtual machines.

其中,JSP网页服务器(Java Server Pages)是Java语言的网络编程扩展。它是由Servlet改进而成的,实现了Html语言对Java的支持。JSP网页服务器与Servlet一样,是在服务器端执行的,执行的结果返回的是Html形式,因此用户通过浏览器就可以浏览。当用户访问JSP网页服务器的页面时,服务器会先执行页面中的程序,将执行的结果连同已有的Html代码一同返回给浏览器,从而实现动态网页的功能。Among them, JSP web server (Java Server Pages) is a network programming extension of the Java language. It is improved from Servlet and realizes the support of Java in Html language. The JSP web server is the same as the Servlet, it is executed on the server side, and the result of the execution is returned in the form of Html, so the user can browse through the browser. When the user visits the page of the JSP web server, the server will first execute the program in the page, and return the execution result together with the existing Html code to the browser, thereby realizing the function of the dynamic web page.

Tomcat网页服务器是一种十分流行的免费Web服务器。它是Apache基金会的一个核心项目,由于Sun等公司的支持,它支持最新版本的JSP和Servlet规范。Tmocat服务器的功能完善、技术先进、性能稳定,因此得到了广泛的认可。Tomcat web server is a very popular free web server. It is a core project of the Apache Foundation, and thanks to companies like Sun, it supports the latest versions of the JSP and Servlet specifications. The Tmocat server has complete functions, advanced technology, and stable performance, so it has been widely recognized.

MySQL数据库是开放源代码的一个数据库操作系统,隶属于oracle旗下。它是一种关系数据库,提供多种编程语言的支持。MySQL数据库支持多种存储引擎,而且具有可视化的管理工具,支持目前大多数操作系统。允许用户使用TCP、JDBC等多种协议连接数据库,为用户提供了便捷的接口。由于MySQL数据库性能优越、体积轻便等特点,得到了用户的青睐,成为了目前最为热门的数据库之一。The MySQL database is an open source database operating system that belongs to Oracle. It is a relational database that provides support for several programming languages. The MySQL database supports multiple storage engines, and has visual management tools that support most current operating systems. It allows users to connect to databases using multiple protocols such as TCP and JDBC, providing users with a convenient interface. Due to its superior performance and light size, the MySQL database has been favored by users and has become one of the most popular databases at present.

具体实施方式三:Specific implementation mode three:

与具体实施方式二不同的是,本实施方式的基于Xen的虚拟机的部署与管理方法,步骤一所述采用增量虚拟机的部署方式一键化部署不同操作系统的过程为,如图2所示:The difference from Embodiment 2 is that, in the method for deploying and managing a Xen-based virtual machine in this embodiment, the process of deploying different operating systems by one-click deployment of incremental virtual machines as described in Step 1 is as shown in Figure 2 Shown:

步骤一一:用户在网页前端上配置虚拟机的各种参数;Step one one: the user configures various parameters of the virtual machine on the front end of the web page;

步骤一二:Tomcat网页服务器将用户需求的配置参数信息录入MySQL数据库;Step 1 and 2: The Tomcat web server enters the configuration parameter information required by the user into the MySQL database;

步骤一三:Tomcat网页服务器调用控制模块开始部署;Step 13: The Tomcat web server invokes the control module to start deployment;

步骤一四:控制模块从MySQL数据库中读取用户需求的配置参数信息;Step 14: the control module reads the configuration parameter information required by the user from the MySQL database;

步骤一五:控制模块根据用户需求的配置参数信息在镜像模板库中选取模板,并复制模板准备应用;Step 15: The control module selects a template from the image template library according to the configuration parameter information required by the user, and copies the template to prepare for application;

步骤一六:控制模块调用Libvirt控制库的API应用程序接口,API即应用程序接口,为Application Programming Interface的简称,又称为应用编程接口,是软件系统不同组成部分衔接的约定向负载服务器发送控制指令;Step 16: The control module calls the API application program interface of the Libvirt control library. API is the application program interface, which is the abbreviation of Application Programming Interface, also known as the application programming interface. It is an agreement for the connection of different components of the software system to send control to the load server instruction;

步骤一七:前端服务器的Libvirt控制库通过SSH协议安全外壳协议,用于提供安全性的协议向负载服务器发送控制指令;Step 17: The Libvirt control library of the front-end server sends control instructions to the load server through the SSH protocol secure shell protocol, which is a protocol for providing security;

步骤一八:负载服务器的Libvirt控制库向前端服务器返回命令执行结果;Step 18: The Libvirt control library of the load server returns the command execution result to the front-end server;

步骤一九:控制模块读取执行结果;Step 19: the control module reads the execution result;

步骤一十:将执行结果录入MySQL数据库。Step 10: Enter the execution result into the MySQL database.

具体实施方式四:Specific implementation mode four:

与具体实施方式三不同的是,本实施方式的基于Xen的虚拟机的部署与管理方法,步骤一一所述用户在网页前端上配置虚拟机的各种参数的过程为,用户在前端系统的前端界面中由用户手动配置内存大小、虚拟机IP地址、服务器IP地址、硬盘大小、负载服务器IP地址、虚拟机操作系统类型这些参数。Different from Embodiment 3, in the method for deploying and managing a virtual machine based on Xen in this embodiment, the process in which the user configures various parameters of the virtual machine on the front-end of the web page described in step 1 is that the user configures various parameters of the virtual machine on the front-end system. In the front-end interface, the user manually configures parameters such as memory size, virtual machine IP address, server IP address, hard disk size, load server IP address, and virtual machine operating system type.

虚拟机操作系统类型:由于网络需要由多种操作系统类型的虚拟机构成,因此操作系统类型需要用户配置。为了保持网络的真实性,系统需要支持大部分流行的操作系统类型。目前支持的操作系统类型有:Ubuntu、CentOS、Debian、Windows7等,由于需要支持的操作系统类型较多,因此Xen平台采用HVM模式来运行虚拟机。Virtual machine operating system type: Since the network needs to be composed of virtual machines of various operating system types, the operating system type needs to be configured by the user. In order to maintain the authenticity of the network, the system needs to support the most popular operating system types. The currently supported operating system types are: Ubuntu, CentOS, Debian, Windows7, etc. Since there are many types of operating systems that need to be supported, the Xen platform adopts the HVM mode to run virtual machines.

内存大小、硬盘大小:虚拟机运行于负载服务器上,因此每个虚拟机的内存一般不能太大。由于虚拟机采用了增量镜像,所以硬盘大小的配置意义不大。但是由于服务器硬盘大小有限,因此每个虚拟机应当有一个上限。Memory size, hard disk size: Virtual machines run on load servers, so the memory of each virtual machine should generally not be too large. Since the virtual machine uses incremental mirroring, the configuration of the hard disk size is of little significance. But since the server hard disk size is limited, there should be an upper limit for each virtual machine.

虚拟机IP地址:虚拟机IP地址决定了虚拟机所在网络的拓扑结构,用户通过配置众多虚拟机的IP地址可以根据自己需要改变网络的拓扑结构。Virtual machine IP address: The virtual machine IP address determines the topology of the network where the virtual machine is located. Users can change the network topology according to their needs by configuring the IP addresses of many virtual machines.

负载服务器IP地址:由于系统由众多负载服务器构成,因此需要配置虚拟机所在服务器的IP地址。负载服务器只是承担虚拟机运行的任务,虚拟机的硬盘采用NFS统一聚集在一个服务器中,因此硬盘的管理更加方便。Load server IP address: Since the system consists of many load servers, it is necessary to configure the IP address of the server where the virtual machine is located. The load server only undertakes the task of running the virtual machine, and the hard disks of the virtual machines are gathered in one server using NFS, so the management of the hard disk is more convenient.

具体实施方式五:Specific implementation mode five:

与具体实施方式二、三或四不同的是,本实施方式的基于Xen的虚拟机的部署与管理方法,步骤一所述一键化部署不同应用的虚拟机的过程为,所述Libvirt控制库在初始化之后,会连接远程负载服务器的Xen平台;之后根据用户需求的配置参数信息配置虚拟机创建参数,同时配置好对应的增量镜像;在所有配置完成后,向远程负载服务器的Xen平台发出创建命令;如果命令执行成功则程序结束,如果命令执行不成功则报错。The difference from specific implementation modes 2, 3 or 4 is that in the deployment and management method of a Xen-based virtual machine in this embodiment, the process of one-key deployment of virtual machines for different applications in step 1 is that the Libvirt control library After initialization, it will connect to the Xen platform of the remote load server; then configure the virtual machine creation parameters according to the configuration parameter information required by the user, and configure the corresponding incremental image at the same time; after all configurations are completed, send Create a command; if the command is successfully executed, the program ends, and if the command is not successfully executed, an error will be reported.

具体实施方式六:Specific implementation method six:

与具体实施方式五不同的是,本实施方式的基于Xen的虚拟机的部署与管理方法,由于系统由众多负载服务器构成,因此需要配置虚拟机所在服务器的IP地址,负载服务器只是承担虚拟机运行的任务,虚拟机的硬盘采用NFS文件系统统一聚集在一个服务器中,以配置虚拟机所在服务器的IP地址,使硬盘的管理更加方便。Different from Embodiment 5, the Xen-based virtual machine deployment and management method of this embodiment, since the system is composed of many load servers, it is necessary to configure the IP address of the server where the virtual machine is located, and the load server only undertakes the operation of the virtual machine. For tasks, the hard disks of the virtual machines are gathered in one server using the NFS file system to configure the IP address of the server where the virtual machines are located, making hard disk management more convenient.

而Xen平台支持三种虚拟网络模式:网络桥接模式、路由模式、虚拟网络连接模式[13]。网络桥接模式需要在物理机上生成一个网桥,并且以物理机网卡(eth0)为网络出口。这种模式可以让虚拟机和物理机同时处于一个网段下,与运行于物理机所在局域网其他物理机相同,局域网中其他主机可以远程连接该虚拟机。路由模式在路由模型下将使用iptables机制来进行路由。由物理接口所收到的所有的包将被驱动域的网络IP层所处理。驱动域(dom0)查找路由表条目并将包转发到不同的客户机IP地址。在路由模式下,驱动域连接2个不同的网段:内部由客户机使用的网段和连接外部网络的网段。虚拟网络模式同样会生成一个网桥virbr0,但是虚拟机的虚拟网卡没有和物理机的网卡桥接。宿主机向虚拟机提供DHCP服务,因此可以让虚拟机自动获取ip地址。The Xen platform supports three virtual network modes: network bridging mode, routing mode, and virtual network connection mode [13]. The network bridge mode needs to generate a network bridge on the physical machine, and use the physical machine network card (eth0) as the network exit. This mode allows the virtual machine and the physical machine to be in the same network segment at the same time, which is the same as other physical machines running on the local area network where the physical machine is located, and other hosts in the local area network can remotely connect to the virtual machine. The routing mode will use the iptables mechanism for routing under the routing model. All packets received by the physical interface will be processed by the network IP layer of the driver domain. The driver domain (dom0) looks up routing table entries and forwards packets to different client IP addresses. In routing mode, the drive domain is connected to 2 different network segments: the internal network segment used by clients and the network segment connected to the external network. The virtual network mode will also generate a network bridge virbr0, but the virtual network card of the virtual machine is not bridged with the network card of the physical machine. The host machine provides DHCP service to the virtual machine, so the virtual machine can automatically obtain an IP address.

在这三种模式中,只有网络桥接模式与物理机的网卡直接连接,其他两种模式将虚拟机虚拟网卡与物理网卡隔离开来,更加安全。本系统默认采用网桥连接模式,这样可以使虚拟网络中的所有机器都暴露于网络之下,同时可以网络更加真实。网桥模式是没有DHCP服务器来分配ip地址的,因此在默认情况下无法根据用户的需求配置虚拟机的ip。Among these three modes, only the network bridge mode is directly connected to the network card of the physical machine, and the other two modes isolate the virtual network card of the virtual machine from the physical network card, which is more secure. The system adopts the bridge connection mode by default, so that all machines in the virtual network can be exposed to the network, and the network can be more real. In the bridge mode, there is no DHCP server to assign ip addresses, so by default, the ip of the virtual machine cannot be configured according to user needs.

为了能够将用户配置的虚拟机ip自动化配置到虚拟机中,系统中的虚拟机在开机启动后会自动运行一个自动化配置网路的脚本,所述脚本随系统开机后自动启动,在启动后会将虚拟机的编号发送到Dom0中的网络配置模块,网络配置模块从数据库中查询到该虚拟机的网络配置后发送给虚拟机,从而使虚拟机可以根据配置文件信息自动化配置网路,即为图3所示的进行自动化配置虚拟机IP地址,过程为:In order to automatically configure the virtual machine ip configured by the user into the virtual machine, the virtual machine in the system will automatically run a script for automatically configuring the network after the system is started. Send the number of the virtual machine to the network configuration module in Dom0, and the network configuration module queries the network configuration of the virtual machine from the database and sends it to the virtual machine, so that the virtual machine can automatically configure the network according to the configuration file information, that is, As shown in Figure 3, the process of automatically configuring the IP address of the virtual machine is as follows:

步骤二一、由于服务器所在网络中的IP可能会变化,因此虚拟机内的客户端采用广播的形式向服务器发送配置请求,所述配置请求中包含发出请求的虚拟机的编号;Step 21. Since the IP in the network where the server is located may change, the client in the virtual machine sends a configuration request to the server in the form of broadcast, and the configuration request includes the number of the virtual machine sending the request;

步骤二二、服务器收到客户端的配置请求后,根据用户需求的配置参数信息,向客户端返回配置信息,所述配置信息的数据格式如表1所示:Step 22. After the server receives the configuration request from the client, it returns configuration information to the client according to the configuration parameter information required by the user. The data format of the configuration information is as shown in Table 1:

虚拟机编号(2位)Virtual machine number (2 digits) Ip地址(15位)Ip address (15 digits) 子网掩码(15位)Subnet mask (15 bits) 网关(15位)Gateway (15 digits)

表1配置信息的数据格式;Data format of configuration information in Table 1;

步骤二三、客户端收到服务器发出的配置信息后修改虚拟机网络配置,完成后向服务器返回配置的结果;Step two and three, the client modifies the virtual machine network configuration after receiving the configuration information sent by the server, and returns the configuration result to the server after completion;

步骤二四、服务器收到客户端的反馈后向客户端发出确认信息,并且更新数据库。Step 24: After receiving the feedback from the client, the server sends a confirmation message to the client, and updates the database.

具体实施方式八:Specific implementation mode eight:

与具体实施方式三、四或六不同的是,本实施方式的基于Xen的虚拟机的部署与管理方法,如图4所示,步骤三所述用户控制虚拟机的生命周期的过程为,Different from specific embodiments 3, 4 or 6, the method for deploying and managing a virtual machine based on Xen in this embodiment, as shown in FIG.

步骤三一、前端系统向用户提供各种虚拟机配置及运行信息;Step 31, the front-end system provides various virtual machine configuration and operation information to the user;

步骤三二、用户在网页前端上控制虚拟机的开机、关机、暂停、恢复、销毁部署软件;Step 32, the user controls the virtual machine to start, shut down, suspend, resume, destroy and deploy the software on the front end of the webpage;

步骤三三、Tomcat网页服务器将用户的所述命令信息录入MySQL数据库;Step 33, the Tomcat web server records the user's command information into the MySQL database;

步骤三四、Tomcat网页服务器调用控制模块实施命令;Step three and four, the Tomcat webpage server invokes the control module to implement the order;

步骤三五、控制模块从MySQL数据库中读取用户命令信息;Step 35, the control module reads user command information from the MySQL database;

步骤三六、控制模块调用Libvirt控制库的API应用程序接口向负载服务器发送控制指令;Step 36, the control module calls the API application program interface of the Libvirt control library to send control instructions to the load server;

步骤三七、前端服务器的Libvirt控制库通过SSH协议向负载服务器发送控制指令;Step 37, the Libvirt control library of the front-end server sends control instructions to the load server through the SSH protocol;

步骤三八、负载服务器的Libvirt控制库向前端服务器返回命令执行结果;Step 38, the Libvirt control library of the load server returns the command execution result to the front-end server;

步骤三九、控制模块读取执行结果;Step 39, the control module reads the execution result;

步骤三十、将执行结果录入MySQL数据库;Step 30, enter the execution result into the MySQL database;

步骤三十一、如果执行结果是销毁虚拟机,则删除镜像模板库中对应的镜像;Step 31, if the execution result is to destroy the virtual machine, delete the corresponding image in the image template library;

其中,虚拟机的生命周期由开机、关机、暂停、恢复、销毁的操作命令构成,虚拟机的Xen虚拟平台对于开机、关机两个操作命令的执行是向虚拟机发送start和shutdown两个信号,暂停和恢复这两个操作命令不需要向虚拟机发送信号,直接由VMM层完成,上述操作命令的关系如图5所示。另外,Libvirt主要函数已经在图5中做出了表示:Among them, the life cycle of the virtual machine is composed of operation commands of starting, shutting down, suspending, resuming, and destroying. The Xen virtual platform of the virtual machine sends two signals of start and shutdown to the virtual machine for the execution of the two operation commands of starting up and shutting down. The two operation commands of suspending and resuming do not need to send signals to the virtual machine, and are directly completed by the VMM layer. The relationship between the above operation commands is shown in FIG. 5 . In addition, the main functions of Libvirt have been represented in Figure 5:

Dom.create(),表示:开机,Dom.create(), means: power on,

Dom.shutdown(),表示:关机,Dom.shutdown(), means: shutdown,

Dom.suspend(),表示:暂停,Dom.suspend(), means: pause,

Dom.resume(),表示:恢复,Dom.resume(), means: resume,

Dom.undifine(),表示:销毁。Dom.undifine(), means: destroy.

具体实施方式九:Specific implementation mode nine:

与具体实施方式八不同的是,本实施方式的基于Xen的虚拟机的部署与管理方法,步骤三所述动态改变虚拟机的软件环境即为自动化添加应用,过程为:当用户发出部署应用的命令后,系统将目标虚拟机原有的增量镜像抛弃,添加含有对应软件的增量镜像,完成增量式镜像方式的应用部署。自动化添加应用示意图如下:如图6所示的自动化添加应用示意图。增量式镜像方式的应用部署的优点是部署迅速,可以批量部署应用,由于网络中虚拟机数量众多,这种批量部署应用具有降低安装时间、易于管理的好处。因此,自动化为虚拟机添加应用是十分必要的。Different from Embodiment 8, in the method for deploying and managing a virtual machine based on Xen in this embodiment, dynamically changing the software environment of the virtual machine described in step 3 is to automatically add an application. The process is: when the user issues a deployment application After the command, the system discards the original incremental image of the target virtual machine, adds an incremental image containing the corresponding software, and completes the application deployment in the incremental image mode. The schematic diagram of the automatic adding application is as follows: the schematic diagram of the automatic adding application shown in FIG. 6 . The advantages of incremental mirroring application deployment are rapid deployment and batch deployment of applications. Due to the large number of virtual machines in the network, this batch deployment of applications has the advantages of reducing installation time and being easy to manage. Therefore, it is necessary to automatically add applications to virtual machines.

Claims (8)

1.一种基于Xen的虚拟机部署系统,其特征在于:所述虚拟机部署系统包括前端服务器;所述前端服务器包括:网页前端子系统和后台功能模块,所述网页前端包括:1. A Xen-based virtual machine deployment system, characterized in that: the virtual machine deployment system includes a front-end server; the front-end server includes: a webpage front-end subsystem and a background function module, and the webpage front-end includes: 用于与用户进行交互的Tomcat网页服务器;Tomcat web server for interacting with users; 用于记录用户的信息,维护网络和虚拟机信息的MySQL数据库;供用户查询、修改;A MySQL database used to record user information and maintain network and virtual machine information; for users to query and modify; 所述后台功能模块包括:The background function module includes: 用于根据用户发出的命令和MySQL数据库的信息的控制模块;A control module for commands issued by users and information from the MySQL database; 用于存储系统所有的基础镜像和增量镜像的镜像模板库;Image template library used to store all base images and incremental images of the system; 用于前端服务器与负载服务器之间作为通信桥梁的Libvirt控制库。Libvirt control library used as a communication bridge between the front-end server and the load server. 2.一种基于Xen的虚拟机部署方法,其特征在于:所述部署与管理方法通过以下步骤实现:2. A virtual machine deployment method based on Xen, characterized in that: the deployment and management method is realized through the following steps: 步骤一、前端服务器采用JSP网页服务器、Tomcat网页服务器、MySQL数据库的组合作为前端系统的前端和管理系统,前端服务器与用户交互,并根据交互获得的用户需求的配置参数信息,采用Libvirt控制库的通信形式向负载服务器发出不同指令,前端系统选取镜像模板库中的增量镜像采用增量虚拟机的部署方式一键化部署不同操作系统、一键化部署不同应用的虚拟机;Step 1. The front-end server uses a combination of JSP web server, Tomcat web server, and MySQL database as the front-end and management system of the front-end system. The front-end server interacts with the user, and according to the configuration parameter information of the user's needs obtained through the interaction, the Libvirt control library is used. The communication form sends different instructions to the load server, and the front-end system selects the incremental image in the image template library and adopts the incremental virtual machine deployment method to deploy different operating systems and virtual machines for different applications with one click; 步骤二、根据步骤一中所述用户需求信息自动化配置虚拟机IP地址;Step 2, automatically configuring the virtual machine IP address according to the user demand information described in step 1; 步骤三、基于步骤一部署的不同操作系统、部署的不同应用的虚拟机,能够让用户控制虚拟机的生命周期;还能够动态改变虚拟机的软件环境。Step 3. Based on the virtual machines of different operating systems and applications deployed in step 1, the user can control the life cycle of the virtual machines and dynamically change the software environment of the virtual machines. 3.根据权利要求2所述基于Xen的虚拟机的部署与管理方法,其特征在于:步骤一所述采用增量虚拟机的部署方式一键化部署不同操作系统的过程为:3. according to the deployment and management method of the Xen-based virtual machine described in claim 2, it is characterized in that: the process of adopting the deployment mode of incremental virtual machine one-click deployment of different operating systems described in step 1 is: 步骤一一:用户在网页前端上配置虚拟机的各种参数;Step one one: the user configures various parameters of the virtual machine on the front end of the web page; 步骤一二:Tomcat网页服务器将用户需求的配置参数信息录入MySQL数据库;Step 1 and 2: The Tomcat web server enters the configuration parameter information required by the user into the MySQL database; 步骤一三:Tomcat网页服务器调用控制模块开始部署;Step 13: The Tomcat web server invokes the control module to start deployment; 步骤一四:控制模块从MySQL数据库中读取用户需求的配置参数信息;Step 14: the control module reads the configuration parameter information required by the user from the MySQL database; 步骤一五:控制模块根据用户需求的配置参数信息在镜像模板库中选取模板,并复制模板准备应用;Step 15: The control module selects a template from the image template library according to the configuration parameter information required by the user, and copies the template to prepare for application; 步骤一六:控制模块调用Libvirt控制库的API应用程序接口向负载服务器发送控制指令;Step 16: the control module calls the API application program interface of the Libvirt control library to send control instructions to the load server; 步骤一七:前端服务器的Libvirt控制库通过SSH协议向负载服务器发送控制指令;Step 17: The Libvirt control library of the front-end server sends control instructions to the load server through the SSH protocol; 步骤一八:负载服务器的Libvirt控制库向前端服务器返回命令执行结果;Step 18: The Libvirt control library of the load server returns the command execution result to the front-end server; 步骤一九:控制模块读取执行结果;Step 19: the control module reads the execution result; 步骤一十:将执行结果录入MySQL数据库。Step 10: Enter the execution result into the MySQL database. 4.根据权利要求3所述基于Xen的虚拟机的部署与管理方法,其特征在于:步骤一一所述用户在网页前端上配置虚拟机的各种参数的过程为,用户在前端系统的前端界面中由用户手动配置内存大小、虚拟机IP地址、服务器IP地址、硬盘大小、负载服务器IP地址、虚拟机操作系统类型这些参数。4. according to the deployment and management method of the described Xen-based virtual machine of claim 3, it is characterized in that: the process that the user configures the various parameters of the virtual machine on the front end of the webpage described in step one by one is that the user is at the front end of the front end system In the interface, the user manually configures parameters such as memory size, virtual machine IP address, server IP address, hard disk size, load server IP address, and virtual machine operating system type. 5.根据权利要求3或4所述基于Xen的虚拟机的部署与管理方法,其特征在于:步骤一所述一键化部署不同应用的虚拟机的过程为,所述Libvirt控制库在初始化之后,会连接远程负载服务器的Xen平台;之后根据用户需求的配置参数信息配置虚拟机创建参数,同时配置好对应的增量镜像;在所有配置完成后,向远程负载服务器的Xen平台发出创建命令;如果命令执行成功则程序结束,如果命令执行不成功则报错。5. according to the deployment and management method of the described Xen-based virtual machine of claim 3 or 4, it is characterized in that: the process of the described one-click deployment of the virtual machines of different applications in step 1 is, after the initialization of the Libvirt control storehouse , will connect to the Xen platform of the remote load server; then configure the virtual machine creation parameters according to the configuration parameter information required by the user, and configure the corresponding incremental image at the same time; after all configurations are completed, issue a creation command to the Xen platform of the remote load server; If the command is successfully executed, the program ends, and if the command is not successfully executed, an error is reported. 6.根据权利要求5所述基于Xen的虚拟机的部署与管理方法,其特征在于:步骤二所述自动化配置虚拟机IP地址的过程为,6. according to the deployment and management method of the described Xen-based virtual machine of claim 5, it is characterized in that: the process of automatic configuration virtual machine IP address described in step 2 is, 步骤二一、虚拟机内的客户端采用广播的形式向服务器发送配置请求,所述配置请求中包含发出请求的虚拟机的编号;Step 21, the client in the virtual machine sends a configuration request to the server in the form of broadcast, and the configuration request includes the number of the virtual machine sending the request; 步骤二二、服务器收到客户端的配置请求后,根据用户需求的配置参数信息,向客户端返回配置信息;Step 22: After receiving the configuration request from the client, the server returns configuration information to the client according to the configuration parameter information required by the user; 步骤二三、客户端收到服务器发出的配置信息后修改虚拟机网络配置,完成后向服务器返回配置的结果;Step two and three, the client modifies the virtual machine network configuration after receiving the configuration information sent by the server, and returns the configuration result to the server after completion; 步骤二四、服务器收到客户端的反馈后向客户端发出确认信息,并且更新数据库。Step 24: After receiving the feedback from the client, the server sends a confirmation message to the client, and updates the database. 7.根据权利要求3、4或6所述基于Xen的虚拟机的部署与管理方法,其特征在于:步骤三所述用户控制虚拟机的生命周期的过程为,7. According to claim 3, 4 or 6, the deployment and management method of the Xen-based virtual machine is characterized in that: the process of the user controlling the life cycle of the virtual machine described in step 3 is, 步骤三一、前端系统向用户提供各种虚拟机配置及运行信息;Step 31, the front-end system provides various virtual machine configuration and operation information to the user; 步骤三二、用户在网页前端上控制虚拟机的开机、关机、暂停、恢复、销毁部署软件;Step 32, the user controls the virtual machine to start, shut down, suspend, resume, destroy and deploy the software on the front end of the webpage; 步骤三三、Tomcat网页服务器将用户的所述命令信息录入MySQL数据库;Step 33, the Tomcat web server records the user's command information into the MySQL database; 步骤三四、Tomcat网页服务器调用控制模块实施命令;Step three and four, the Tomcat webpage server invokes the control module to implement the order; 步骤三五、控制模块从MySQL数据库中读取用户命令信息;Step 35, the control module reads user command information from the MySQL database; 步骤三六、控制模块调用Libvirt控制库的API应用程序接口向负载服务器发送控制指令;Step 36, the control module calls the API application program interface of the Libvirt control library to send control instructions to the load server; 步骤三七、前端服务器的Libvirt控制库通过SSH协议向负载服务器发送控制指令;Step 37, the Libvirt control library of the front-end server sends control instructions to the load server through the SSH protocol; 步骤三八、负载服务器的Libvirt控制库向前端服务器返回命令执行结果;Step 38, the Libvirt control library of the load server returns the command execution result to the front-end server; 步骤三九、控制模块读取执行结果;Step 39, the control module reads the execution result; 步骤三十、将执行结果录入MySQL数据库;Step 30, enter the execution result into the MySQL database; 步骤三十一、如果执行结果是销毁虚拟机,则删除镜像模板库中对应的镜像;Step 31, if the execution result is to destroy the virtual machine, delete the corresponding image in the image template library; 其中,虚拟机的生命周期由开机、关机、暂停、恢复、销毁的操作命令构成,虚拟机的Xen虚拟平台对于开机、关机两个操作命令的执行是向虚拟机发送start和shutdown两个信号,暂停和恢复这两个操作命令不需要向虚拟机发送信号,直接由VMM层完成。Among them, the life cycle of the virtual machine is composed of operation commands of starting, shutting down, suspending, resuming, and destroying. The Xen virtual platform of the virtual machine sends two signals of start and shutdown to the virtual machine for the execution of the two operation commands of starting up and shutting down. The two operation commands of suspending and resuming do not need to send signals to the virtual machine, and are directly completed by the VMM layer. 8.根据权利要求7所述基于Xen的虚拟机的部署与管理方法,其特征在于:步骤三所述动态改变虚拟机的软件环境即为自动化添加应用,过程为:当用户发出部署应用的命令后,系统将目标虚拟机原有的增量镜像抛弃,添加含有对应软件的增量镜像,完成增量式镜像方式的应用部署。8. The method for deploying and managing a virtual machine based on Xen according to claim 7, characterized in that: dynamically changing the software environment of the virtual machine described in step 3 is to automatically add an application, and the process is: when the user issues an order to deploy an application Finally, the system discards the original incremental image of the target virtual machine, adds an incremental image containing the corresponding software, and completes the application deployment in the incremental image mode.
CN201510087347.9A 2015-02-25 2015-02-25 Virtual machine deployment system and method based on Xen Active CN104636189B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510087347.9A CN104636189B (en) 2015-02-25 2015-02-25 Virtual machine deployment system and method based on Xen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510087347.9A CN104636189B (en) 2015-02-25 2015-02-25 Virtual machine deployment system and method based on Xen

Publications (2)

Publication Number Publication Date
CN104636189A true CN104636189A (en) 2015-05-20
CN104636189B CN104636189B (en) 2018-03-30

Family

ID=53214981

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510087347.9A Active CN104636189B (en) 2015-02-25 2015-02-25 Virtual machine deployment system and method based on Xen

Country Status (1)

Country Link
CN (1) CN104636189B (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106250205A (en) * 2016-07-22 2016-12-21 浪潮(北京)电子信息产业有限公司 A kind of virtual machine method for customizing and system
CN106383725A (en) * 2016-08-30 2017-02-08 广西电网有限责任公司 Oracle and Tomcat combined one-key automatic deploying method
CN106406980A (en) * 2016-09-06 2017-02-15 青岛海信传媒网络技术有限公司 Deployment method and device for virtual machines
CN106452951A (en) * 2016-09-28 2017-02-22 北京网御星云信息技术有限公司 Information processing method, device and system
CN106656621A (en) * 2016-12-31 2017-05-10 云宏信息科技股份有限公司 Method and system for configuring virtual machine DNS based on XEN
CN106775801A (en) * 2016-11-09 2017-05-31 广东浪潮大数据研究有限公司 A kind of software batch dispositions method, device and system
US9798571B1 (en) 2016-10-28 2017-10-24 International Business Machines Corporation System and method for optimizing provisioning time by dynamically customizing a shared virtual machine
CN107329803A (en) * 2017-07-07 2017-11-07 北京金山安全管理系统技术有限公司 Virtual machine management method and device
CN107493200A (en) * 2017-09-01 2017-12-19 郑州云海信息技术有限公司 A kind of creation method of compact disc image files, virtual machine deployment method and device
CN107710158A (en) * 2015-06-30 2018-02-16 瑞典爱立信有限公司 Virtualisation entity enables
CN107783816A (en) * 2016-08-31 2018-03-09 阿里巴巴集团控股有限公司 The method and device that creation method and device, the big data cluster of virtual machine create
CN110149231A (en) * 2019-05-21 2019-08-20 优刻得科技股份有限公司 Update method, apparatus, storage medium and the equipment of virtual switch
WO2020082416A1 (en) * 2018-10-23 2020-04-30 网宿科技股份有限公司 Virtual ip port configuration method and apparatus
CN111240799A (en) * 2019-12-31 2020-06-05 北京安码科技有限公司 Method, system, electronic device and storage medium for quickly creating incremental virtual machine on PVE platform
CN111459606A (en) * 2020-03-03 2020-07-28 山东汇贸电子口岸有限公司 Method for quickly creating virtual machine under virtualization and server
CN113238835A (en) * 2021-06-02 2021-08-10 中国联合网络通信集团有限公司 Virtual machine configuration method, device, server and system
CN114416112A (en) * 2021-12-29 2022-04-29 中国电信股份有限公司 Project deployment method and device
CN114706659A (en) * 2022-04-01 2022-07-05 燕东科技(广东)有限公司 Virtual machine software deployment method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101216777A (en) * 2008-01-11 2008-07-09 华中科技大学 A Rapid Deployment System in Multi-Virtual Machine Environment
US20110225459A1 (en) * 2010-03-09 2011-09-15 Microsoft Corporation Generating a debuggable dump file for a virtual machine
CN103473113A (en) * 2013-09-04 2013-12-25 国云科技股份有限公司 Universal virtual-machine adopting method
WO2014117533A1 (en) * 2013-01-31 2014-08-07 Hangzhou H3C Technologies Co., Ltd. Creating virtual machines

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101216777A (en) * 2008-01-11 2008-07-09 华中科技大学 A Rapid Deployment System in Multi-Virtual Machine Environment
US20110225459A1 (en) * 2010-03-09 2011-09-15 Microsoft Corporation Generating a debuggable dump file for a virtual machine
WO2014117533A1 (en) * 2013-01-31 2014-08-07 Hangzhou H3C Technologies Co., Ltd. Creating virtual machines
CN103473113A (en) * 2013-09-04 2013-12-25 国云科技股份有限公司 Universal virtual-machine adopting method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
袁金艳: "多虚拟机快速部署机制的研究", 《万方数据 企业知识服务平台》 *
贾佩: "基于Eucalyptus的云计算应用迁移与部署研究开发", 《万方数据 企业知识服务平台》 *

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107710158A (en) * 2015-06-30 2018-02-16 瑞典爱立信有限公司 Virtualisation entity enables
CN106250205B (en) * 2016-07-22 2019-09-24 浪潮(北京)电子信息产业有限公司 A kind of virtual machine method for customizing and system
CN106250205A (en) * 2016-07-22 2016-12-21 浪潮(北京)电子信息产业有限公司 A kind of virtual machine method for customizing and system
CN106383725A (en) * 2016-08-30 2017-02-08 广西电网有限责任公司 Oracle and Tomcat combined one-key automatic deploying method
CN107783816A (en) * 2016-08-31 2018-03-09 阿里巴巴集团控股有限公司 The method and device that creation method and device, the big data cluster of virtual machine create
CN106406980A (en) * 2016-09-06 2017-02-15 青岛海信传媒网络技术有限公司 Deployment method and device for virtual machines
CN106452951A (en) * 2016-09-28 2017-02-22 北京网御星云信息技术有限公司 Information processing method, device and system
CN106452951B (en) * 2016-09-28 2019-08-06 北京网御星云信息技术有限公司 A kind of information processing method, apparatus and system
US9798571B1 (en) 2016-10-28 2017-10-24 International Business Machines Corporation System and method for optimizing provisioning time by dynamically customizing a shared virtual machine
CN106775801A (en) * 2016-11-09 2017-05-31 广东浪潮大数据研究有限公司 A kind of software batch dispositions method, device and system
CN106656621A (en) * 2016-12-31 2017-05-10 云宏信息科技股份有限公司 Method and system for configuring virtual machine DNS based on XEN
CN107329803A (en) * 2017-07-07 2017-11-07 北京金山安全管理系统技术有限公司 Virtual machine management method and device
CN107493200B (en) * 2017-09-01 2020-09-22 苏州浪潮智能科技有限公司 Optical disc image file creating method, virtual machine deploying method and device
CN107493200A (en) * 2017-09-01 2017-12-19 郑州云海信息技术有限公司 A kind of creation method of compact disc image files, virtual machine deployment method and device
WO2020082416A1 (en) * 2018-10-23 2020-04-30 网宿科技股份有限公司 Virtual ip port configuration method and apparatus
CN110149231A (en) * 2019-05-21 2019-08-20 优刻得科技股份有限公司 Update method, apparatus, storage medium and the equipment of virtual switch
CN111240799A (en) * 2019-12-31 2020-06-05 北京安码科技有限公司 Method, system, electronic device and storage medium for quickly creating incremental virtual machine on PVE platform
CN111459606A (en) * 2020-03-03 2020-07-28 山东汇贸电子口岸有限公司 Method for quickly creating virtual machine under virtualization and server
CN113238835A (en) * 2021-06-02 2021-08-10 中国联合网络通信集团有限公司 Virtual machine configuration method, device, server and system
CN113238835B (en) * 2021-06-02 2023-10-31 中国联合网络通信集团有限公司 Virtual machine configuration method, device, server and system
CN114416112A (en) * 2021-12-29 2022-04-29 中国电信股份有限公司 Project deployment method and device
CN114706659A (en) * 2022-04-01 2022-07-05 燕东科技(广东)有限公司 Virtual machine software deployment method and system
CN114706659B (en) * 2022-04-01 2022-12-09 燕东科技(广东)有限公司 Virtual machine software deployment method and system

Also Published As

Publication number Publication date
CN104636189B (en) 2018-03-30

Similar Documents

Publication Publication Date Title
CN104636189B (en) Virtual machine deployment system and method based on Xen
CN111147297B (en) Multi-layer network plane construction method of kubernets
JP5681465B2 (en) Information processing system, information processing apparatus, preparation method, program, and recording medium
CN101840346B (en) Method and system for deploying cloud host computer
CN103167041B (en) A kind ofly support the system and method that the automation of cloud environment application cluster is disposed
CN102591679B (en) Quick application software arrangement method for cluster system
CN107404524B (en) Distributed cluster node access method and device
CN101594387A (en) Virtual cluster deployment method and system
WO2019007353A1 (en) Virtual resource allocation method and apparatus
JP4437432B2 (en) Computer system
CN104468791B (en) The construction method of private clound IaaS platforms
CN109558212B (en) A virtualization management method, system, physical equipment and medium of physical equipment
CN113783765B (en) Method, system, equipment and medium for realizing intercommunication between cloud internal network and cloud external network
JP2007316724A (en) Computer system, management computer, and program distribution method
CN107222320A (en) The method and apparatus that Cloud Server cluster sets up High Availabitity connection
CN111782318A (en) Sharing access system and method for remotely mounting local disk to cloud desktop virtual machine
CN112882726B (en) Hadoop and Docker-based deployment method of environment system
CN113268308A (en) Information processing method, device and storage medium
US20240155023A1 (en) Method and system for implementing bare metal inspection process, device, and storage medium
CN113391828B (en) Method and system for realizing system disk RAID division and installing operating system
CN110661707B (en) Virtual router platform based on Docker
CN111538625A (en) Ambari cluster deployment and data backup method based on Docker technology and electronic equipment
CN111913719B (en) Deployment method, device and apparatus of high-availability software and computer storage medium
US11829792B1 (en) In-place live migration of compute instances for efficient host domain patching
CN110489134B (en) PXE server and high-performance cluster environment deployment method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant