WO2016029774A1 - 基于虚拟化的应用存储方法、执行方法、装置及系统 - Google Patents

基于虚拟化的应用存储方法、执行方法、装置及系统 Download PDF

Info

Publication number
WO2016029774A1
WO2016029774A1 PCT/CN2015/085459 CN2015085459W WO2016029774A1 WO 2016029774 A1 WO2016029774 A1 WO 2016029774A1 CN 2015085459 W CN2015085459 W CN 2015085459W WO 2016029774 A1 WO2016029774 A1 WO 2016029774A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
upgrade
media file
virtualization
installation
Prior art date
Application number
PCT/CN2015/085459
Other languages
English (en)
French (fr)
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 WO2016029774A1 publication Critical patent/WO2016029774A1/zh

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

Definitions

  • the present invention relates to the field of communications, and in particular, to a virtualized application storage method, an execution method, an apparatus, and a system.
  • the installation/upgrade of application software belongs to the category of server automation.
  • the traditional IP network-based application installation method is also often used in the virtualization scenario, but it is subject to certain limitations, such as: 1. Network isolation The IP network is unreachable; 2. The occupation of network traffic affects user usage and billing; 3. The download speed affects the installation efficiency; 4. The user firewall causes the management software to be unreachable; 5. The mode of downloading and then installing requires a certain reservation. space.
  • the embodiments of the present invention provide a virtualized application storage method, an execution method, a device, and a system, to at least solve the problem that the installation and/or upgrade of the application software in the virtualization scenario in the related art has certain limitations.
  • a virtualization-based application storage method including: acquiring information of an application and a corresponding installation package and/or upgrade package; and according to the information and the installation package and/or upgrade The package creates a media file in the shared storage space, wherein the media file is used to automatically perform installation and/or upgrade of the application in a virtualized scenario.
  • creating the media file in the shared storage space according to the information and the installation package and/or the upgrade package includes: creating a virtual space in the shared storage space according to the information and the installation package and/or the upgrade package.
  • the shared disk and the disk image file ISO containing the information of the application and the contents of the corresponding installation package and/or upgrade package.
  • the application media server obtains the information of the entered application and the corresponding installation package and/or upgrade package; the application media server creates a shared storage space according to the information and the installation package and/or the upgrade package.
  • a media file is created, wherein the media file is used to automatically perform installation and/or upgrade of the application in a virtualization scenario.
  • a virtualization-based application execution method including: determining an application to be installed and/or upgraded and a virtual machine; and acquiring media corresponding to the application to be installed and/or upgraded a file, and the media file is mounted on the virtual machine, wherein the media file is used to automatically perform installation and/or upgrade of the application in a virtualization scenario; indicating that the media file is in the The application is installed and/or upgraded on the virtual machine.
  • the obtaining the media file corresponding to the application to be installed and/or upgraded includes: acquiring a virtualized shared disk corresponding to the application to be installed and/or upgraded, and information including the application and corresponding The disk image file ISO of the contents of the installation package and/or upgrade package.
  • installing and/or upgrading the application on the virtual machine by using the media file includes: the host where the virtual machine is located issues an installation and/or upgrade of the application to an agent of the virtual machine. An instruction; the agent of the virtual machine looks up the locally mounted media file and installs and/or upgrades in accordance with the installation and/or upgrade instructions.
  • the virtualization management system determines an application to be installed and/or upgraded and a virtual machine; the virtualization management system acquires a media file corresponding to the application to be installed and/or upgraded, and the media file is obtained. Mounted on the virtual machine, wherein the media file is used to automatically perform installation and/or upgrade of the application in a virtualization scenario; the virtualization management system indicates that the virtual file is in the virtual The application is installed and/or upgraded onboard.
  • a virtualization-based application storage device including: an obtaining module configured to acquire information of an application and a corresponding installation package and/or an upgrade package; and a creation module configured to be The information and the installation package and/or upgrade package create a media file in a shared storage space, wherein the media file is used to automatically perform installation and/or upgrade of the application in a virtualization scenario.
  • a virtualization-based application execution apparatus including: a determining module configured to determine an application to be installed and/or upgraded and a virtual machine; and a mounting module configured to acquire Determining a media file corresponding to the installed and/or upgraded application, and mounting the media file on the virtual machine, wherein the media file is used to automatically perform installation and/or upgrade in a virtualization scenario The application; an execution module, configured to instruct to install and/or upgrade the application on the virtual machine through the media file.
  • a virtualization-based application execution system including: an application media server, a virtualization management system, and a virtual machine, wherein the application media server includes the foregoing a virtualized application storage device, the virtualization management system comprising the above-described virtualization-based application execution device, the virtual machine being connected to the virtualization management system, configured to pass according to an indication of the virtualization management system
  • the media file installs and/or upgrades the application.
  • the information of the application and the corresponding installation package and/or the upgrade package are used; and the media file is created in the shared storage space according to the information and the installation package and/or the upgrade package, where the media
  • the file is used to automatically perform the installation and/or upgrade of the application in the virtualization scenario, and solves the problem that the installation and/or upgrade of the application software in the virtualization scenario in the related art has certain limitations, and the problem is improved.
  • the efficiency of application installation/upgrade in a virtualization scenario, and this approach greatly reduces the impact of storage space, network conditions and other constraints.
  • FIG. 1 is a flowchart of a virtualization-based application storage method according to an embodiment of the present invention
  • FIG. 2 is a structural block diagram of a virtualization-based application storage device according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of a virtualization-based application execution method according to an embodiment of the present invention.
  • FIG. 4 is a structural block diagram of a virtualization-based application execution apparatus according to an embodiment of the present invention.
  • FIG. 5 is a structural block diagram of a virtualization-based application execution system according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of an overall architecture of a system in accordance with a preferred embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a media creation process in accordance with a preferred embodiment of the present invention.
  • FIG. 8 is a schematic diagram of a media installation process in accordance with a preferred embodiment of the present invention.
  • the above problem is solved by using virtualization technology, and the server automation provides more powerful functions in the cloud computing scenario.
  • the main processes involved include: application software media creation, application software media installation, and application software media upgrade.
  • FIG. 1 is a flowchart of a virtualization-based application storage method according to an embodiment of the present invention. As shown in FIG. 1, the method includes the following steps:
  • Step S102 Obtain information about the application and a corresponding installation package and/or upgrade package.
  • Step S104 creating a media file in the shared storage space according to the information and the installation package and/or the upgrade package, wherein the media file is used to automatically perform installation and/or upgrade the application in the virtualization scenario.
  • the installation package and/or the upgrade package of the application is converted into a media file that can be identified in the virtualization scenario, and is stored in the shared storage space, thereby implementing software for the virtual machine through virtualization technology.
  • the application solves the problem that the installation and/or upgrade of the application software in the virtualization scenario in the related art has certain limitations, and improves the implementation efficiency of the application installation/upgrade in the virtualization scenario, and the manner is greatly reduced. The impact of restrictions such as storage space and network conditions.
  • the created media file may be a virtualized shared disk and a disk image file ISO containing the information of the application and the media content of the corresponding installation package and/or upgrade package.
  • the ISO of the application is loaded on a virtualized shared disk, and the media content of the application can be recognized by the virtualized device.
  • the foregoing steps S102 and S104 may be performed by the application media server, that is, the application media server obtains the information of the entered application and the corresponding installation package and/or upgrade package; the application media server according to the information and the The installation package and/or upgrade package creates a media file in a shared storage space, wherein the media file is used to automatically perform installation and/or upgrade of the application in a virtualization scenario.
  • a virtualization-based application storage device is further provided, and the device is configured to implement the foregoing embodiments and preferred embodiments, and has not been described yet. Narration.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • FIG. 2 is a structural block diagram of a virtualization-based application storage device according to an embodiment of the present invention. As shown in FIG. 2, the device includes: an obtaining module 22 and a creating module 24. The following describes each module in detail:
  • the obtaining module 22 is configured to obtain the information of the application and the corresponding installation package and/or the upgrade package.
  • the creating module 24 is connected to the obtaining module 22 and configured to be in the shared storage according to the information and the installation package and/or the upgrade package.
  • a media file is created in the space, wherein the media file is used to automatically perform installation and/or upgrade of the application in a virtualized scenario.
  • FIG. 3 is a flowchart of a virtualization-based application execution method according to an embodiment of the present invention. As shown in FIG. 3, the method includes the following steps. :
  • Step S302 determining an application and a virtual machine to be installed and/or upgraded
  • step S304 the media file corresponding to the application to be installed and/or upgraded is obtained, and the media file is mounted on the virtual machine, where the media file is used to be automatically executed in the virtualization scenario. Install and/or upgrade the application;
  • Step S306 indicating that the application is installed and/or upgraded on the virtual machine by using the media file.
  • the media file corresponding to the application to be installed and/or upgraded that can be identified in the virtualization scenario is mounted on the virtual machine, and the media file is installed on the virtual machine by using the media file.
  • upgrading the software application to be installed thereby implementing the installation and/or upgrading of the software application in the virtual machine through the virtualization technology, and solving the limitation in the installation and/or upgrading of the application software in the virtualization scenario in the related art.
  • the problem is to improve the efficiency of application installation/upgrade in the virtualization scenario, and this method greatly reduces the impact of storage space, network conditions and other constraints.
  • the obtained media file may be a virtualized shared disk and a disk image file ISO containing information of the application and contents of the corresponding installation package and/or upgrade package.
  • the ISO of the application is loaded on a virtualized shared disk, and the media content of the application can be recognized by the virtualized device.
  • the specific process of installing and/or upgrading the application on the virtual machine by using the media file may be as follows: the host where the virtual machine is located issues the installation of the application to the agent of the virtual machine. And/or an upgrade instruction; the agent of the virtual machine looks up the locally mounted media file and installs and/or upgrades in accordance with the installation and/or upgrade instructions.
  • the foregoing steps S302-306 may be performed by the virtualization management system, that is, the virtualization management system determines the application to be installed and/or upgraded and the virtual machine; the virtualization management system acquires the to-be-installed and/or Upgrading the media file corresponding to the application, and mounting the media file on the virtual machine, wherein the media file is used to automatically perform installation and/or upgrade of the application in the virtualization scenario; The virtualization management system indicates that the application is installed and/or upgraded on the virtual machine by the media file.
  • a virtualization-based application execution device is further provided, which is configured to implement the above-described embodiments and preferred embodiments, and has not been described yet. Narration.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 4 is a structural block diagram of a virtualization-based application execution apparatus according to an embodiment of the present invention. As shown in FIG. 4, the apparatus includes: a determining module 42, a mounting module 44, and an executing module 46. Details of each module are described below. Description:
  • the determining module 42 is configured to determine an application and a virtual machine to be installed and/or upgraded;
  • the mounting module 44 is connected to the determining module 42 and configured to obtain a media file corresponding to the application to be installed and/or upgraded, and
  • the media file is mounted on the virtual machine, wherein the media file is used to automatically perform installation and/or upgrade of the application in a virtualization scenario;
  • the execution module 46 is connected to the mounting module 44, and is configured to be configured. To indicate that the application is installed and/or upgraded on the virtual machine by the media file.
  • FIG. 5 is a structural block diagram of a virtualization-based application execution system according to an embodiment of the present invention.
  • the system includes: an application.
  • the media file installs and/or upgrades the application.
  • an application (software) deployment method based on virtualization technology which uses virtualization technology to implement server automation, and belongs to the field of cloud computing technologies.
  • the software deployment method based on the virtualization technology includes: the application management system inputs the application software information and provides the software package; the application media server creates the shared disk and the ISO media of the application software on the shared storage through the software information and the virtualization instruction; The virtualization management system obtains application information; the virtualization management system notifies the host to specify a virtual machine to install an application software; the host mounts the shared disk or ISO of the application software through the virtualization instruction; the host issues a software installation instruction to the virtual machine agent.
  • the virtual machine agent finds the locally mounted shared disk or ISO and installs the application software according to the installation instructions.
  • the method includes: registering and uploading software; invoking software media creation program; creating software media; creating software media as a shared disk and ISO that can be recognized by virtualization; Virtualization system, select virtual machine and installed software; obtain installation mode and path through application management system; mount virtual disk of software media or ISO to virtual machine through virtualization command; execute software installation program through virtualization command; The agent checks the installation process; checks the software version information through the agent.
  • the virtualization management system is responsible for managing the virtual environment, and can perform virtual machine lifecycle management, virtual machine disk and optical drive management, and virtualization channel. management.
  • the host is a virtualized computing resource, which runs the virtual machine and implements the operation of the internal system of the virtual machine through the proxy.
  • the shared storage system is set up to store storage media that can be recognized by all virtual machines, including disks, ISOs, and so on.
  • the application management system is responsible for the basic information and version management of the software.
  • the application media server is responsible for storing application software and making software packages and software media.
  • FIG. 7 is a schematic diagram of a media creation process according to a preferred embodiment of the present invention. As shown in FIG. 7, the media creation process provided by the preferred embodiment is as follows:
  • an administrator operates to enter software attributes in the application management system and upload the software package.
  • the application management system invokes the software media production program in the application media server according to the software attribute.
  • S708 Create a shared disk and an ISO including the software medium on the shared storage by using a virtualization command.
  • FIG. 8 is a schematic diagram of a media installation process according to a preferred embodiment of the present invention. As shown in FIG. 8, the media installation process provided by the preferred embodiment is as follows:
  • the administrator selects software to be installed for the virtual machine through the virtualization management system.
  • the virtualization management system acquires information such as a software version and an installation path from the application management system.
  • S808 The virtualization management system notifies the host where the virtual machine is located to mount the software medium to the virtual machine through the proxy.
  • S810-812 The host obtains media data from the shared storage and sends the data to the virtual machine.
  • the host notifies the virtual machine to install the application software.
  • the virtual machine feeds back the version information to the host, and notifies the host software that the installation is completed.
  • the media upgrade process is also provided in the preferred embodiment.
  • the media upgrade process and the media installation process are similar.
  • the process is basically the same as that in FIG. 8. Only the installation is upgraded, so it will not be described in detail herein.
  • a software is provided that is configured to perform the technical solutions described in the above embodiments and preferred embodiments.
  • a storage medium in which the above software is stored, including but not limited to an optical disk, a floppy disk, a hard disk, an erasable memory, and the like.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the virtualization-based application storage method, the execution method, the device, and the system provided by the embodiments of the present invention have the following beneficial effects: the installation and/or installation of the application software in the virtualization scenario in the related art is solved.
  • the upgrade has certain limitations, which improves the implementation efficiency of application installation/upgrade in the virtualization scenario, and this method greatly reduces the impact of storage space and network conditions.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

一种基于虚拟化的应用存储方法、执行方法、装置及系统,其中,该基于虚拟化的应用存储方法包括:获取应用的信息及对应的安装包和/或升级包(S102);根据所述信息及所述安装包和/或升级包在共享存储空间中创建媒体文件,其中,所述媒体文件用于在虚拟化场景中能够自动执行安装和/或升级所述应用(S104)。该方法、装置及系统解决了相关技术中在虚拟化场景下的应用软件的安装和/或升级存在一定局限性的问题,提升了在虚拟化场景下的应用安装/升级的实现效率,并且这种方式大大降低了存储空间、网络情况等限制条件造成的影响。

Description

基于虚拟化的应用存储方法、执行方法、装置及系统 技术领域
本发明涉及通信领域,具体而言,涉及一种基于虚拟化的应用存储方法、执行方法、装置及系统。
背景技术
应用软件(也简称应用、软件)的安装/升级属于服务器自动化的范畴,传统基于IP网络的应用安装方式也经常用于虚拟化的场景下面,但是受到一定的局限性,例如:1、网络隔离导致IP网络不通;2、网络流量的占用影响用户使用和计费;3、下载速度影响安装效率;4、用户防火墙导致管理软件不可达;5、先下载再安装的模式,需要一定的预留空间。
针对相关技术中在虚拟化场景下的应用软件的安装和/或升级存在一定局限性的问题,目前尚未提出有效的解决方案。
发明内容
本发明实施例提供了一种基于虚拟化的应用存储方法、执行方法、装置及系统,以至少解决相关技术中在虚拟化场景下的应用软件的安装和/或升级存在一定局限性的问题。
根据本发明的一个实施例,提供了一种基于虚拟化的应用存储方法,包括:获取应用的信息及对应的安装包和/或升级包;根据所述信息及所述安装包和/或升级包在共享存储空间中创建媒体文件,其中,所述媒体文件用于在虚拟化场景中能够自动执行安装和/或升级所述应用。
本实施例中,根据所述信息及所述安装包和/或升级包在共享存储空间中创建媒体文件包括:根据所述信息及所述安装包和/或升级包在共享存储空间中创建虚拟化的共享磁盘以及包含所述应用的信息及对应的安装包和/或升级包的内容的磁盘镜像文件ISO。
本实施例中,应用媒体服务器获取录入的应用的信息及对应的安装包和/或升级包;所述应用媒体服务器根据所述信息及所述安装包和/或升级包在共享存储空间中创 建媒体文件,其中,所述媒体文件用于在虚拟化场景中能够自动执行安装和/或升级所述应用。
根据本发明的另一实施例,提供了一种基于虚拟化的应用执行方法,包括:确定待安装和/或升级的应用及虚拟机;获取所述待安装和/或升级的应用对应的媒体文件,并将所述媒体文件挂载在所述虚拟机上,其中,所述媒体文件用于在虚拟化场景中能够自动执行安装和/或升级所述应用;指示通过所述媒体文件在所述虚拟机上安装和/或升级所述应用。
本实施例中,获取所述待安装和/或升级的应用对应的媒体文件包括:获取所述待安装和/或升级的应用对应的虚拟化的共享磁盘以及包含所述应用的信息及对应的安装包和/或升级包的内容的磁盘镜像文件ISO。
本实施例中,通过所述媒体文件在所述虚拟机上安装和/或升级所述应用包括:所述虚拟机所在主机向所述虚拟机的代理下发所述应用的安装和/或升级指令;所述虚拟机的代理查找本地挂载的所述媒体文件,并按照所述安装和/或升级指令进行安装和/或升级。
本实施例中,虚拟化管理系统确定待安装和/或升级的应用及虚拟机;所述虚拟化管理系统获取所述待安装和/或升级的应用对应的媒体文件,并将所述媒体文件挂载在所述虚拟机上,其中,所述媒体文件用于在虚拟化场景中能够自动执行安装和/或升级所述应用;所述虚拟化管理系统指示通过所述媒体文件在所述虚拟机上安装和/或升级所述应用。
根据本发明的再一实施例,提供了一种基于虚拟化的应用存储装置,包括:获取模块,设置为获取应用的信息及对应的安装包和/或升级包;创建模块,设置为根据所述信息及所述安装包和/或升级包在共享存储空间中创建媒体文件,其中,所述媒体文件用于在虚拟化场景中能够自动执行安装和/或升级所述应用。
根据本发明的再一实施例,还提供了一种基于虚拟化的应用执行装置,包括:确定模块,设置为确定待安装和/或升级的应用及虚拟机;挂载模块,设置为获取所述待安装和/或升级的应用对应的媒体文件,并将所述媒体文件挂载在所述虚拟机上,其中,所述媒体文件用于在虚拟化场景中能够自动执行安装和/或升级所述应用;执行模块,设置为指示通过所述媒体文件在所述虚拟机上安装和/或升级所述应用。
根据本发明的还一实施例,提供了一种基于虚拟化的应用执行系统,包括:应用媒体服务器、虚拟化管理系统和虚拟机,其中,所述应用媒体服务器包括上述的基于 虚拟化的应用存储装置,所述虚拟化管理系统包括上述的基于虚拟化的应用执行装置,所述虚拟机与所述虚拟化管理系统相连,设置为根据所述虚拟化管理系统的指示,通过所述媒体文件安装和/或升级所述应用。
通过本发明实施例,采用获取应用的信息及对应的安装包和/或升级包;根据所述信息及所述安装包和/或升级包在共享存储空间中创建媒体文件,其中,所述媒体文件用于在虚拟化场景中能够自动执行安装和/或升级所述应用的方式,解决了相关技术中在虚拟化场景下的应用软件的安装和/或升级存在一定局限性的问题,提升了在虚拟化场景下的应用安装/升级的实现效率,并且这种方式大大降低了存储空间、网络情况等限制条件造成的影响。
附图说明
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1是根据本发明实施例的基于虚拟化的应用存储方法的流程图;
图2是根据本发明实施例的基于虚拟化的应用存储装置的结构框图;
图3是根据本发明实施例的基于虚拟化的应用执行方法的流程图;
图4是根据本发明实施例的基于虚拟化的应用执行装置的结构框图;
图5是根据本发明实施例的基于虚拟化的应用执行系统的结构框图;
图6是根据本发明优选实施例的系统整体架构示意图;
图7是根据本发明优选实施例的媒体创建流程示意图;
图8是根据本发明优选实施例的媒体安装流程示意图。
具体实施方式
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
在本实施例中,利用虚拟化技术解决上述问题,为服务器自动化在云计算的场景下提供更强大的功能。主要涉及的流程包括:应用软件媒体创建、应用软件媒体安装、应用软件媒体升级。
在本实施例中,提供了一种基于虚拟化的应用存储方法,图1是根据本发明实施例的基于虚拟化的应用存储方法的流程图,如图1所示,该方法包括如下步骤:
步骤S102,获取应用的信息及对应的安装包和/或升级包;
步骤S104,根据所述信息及所述安装包和/或升级包在共享存储空间中创建媒体文件,其中,所述媒体文件用于在虚拟化场景中能够自动执行安装和/或升级所述应用。
本实施例通过上述步骤,将应用的安装包和/或升级包转换成可以在虚拟化场景中识别的媒体文件,并存储在共享存储空间中,从而通过虚拟化技术实现了为虚拟机提供软件应用,解决了相关技术中在虚拟化场景下的应用软件的安装和/或升级存在一定局限性的问题,提升了在虚拟化场景下的应用安装/升级的实现效率,并且这种方式大大降低了存储空间、网络情况等限制条件造成的影响。
在本实施例中,为便于虚拟化设备识别,上述创建的媒体文件可以是虚拟化的共享磁盘以及包含所述应用的信息及对应的安装包和/或升级包的媒体内容的磁盘镜像文件ISO。通过这种方式,将该应用的ISO装载在虚拟化的共享磁盘上,该应用的媒体内容即可被虚拟化设备识别。
在本实施例中,上述步骤S102和S104可以由应用媒体服务器执行,即应用媒体服务器获取录入的应用的信息及对应的安装包和/或升级包;所述应用媒体服务器根据所述信息及所述安装包和/或升级包在共享存储空间中创建媒体文件,其中,所述媒体文件用于在虚拟化场景中能够自动执行安装和/或升级所述应用。
对应于上述基于虚拟化的应用存储方法,在本实施例中,还提供了一种基于虚拟化的应用存储装置,该装置设置为实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图2是根据本发明实施例的基于虚拟化的应用存储装置的结构框图,如图2所示,该装置包括:获取模块22和创建模块24,下面对各个模块进行详细说明:
获取模块22,设置为获取应用的信息及对应的安装包和/或升级包;创建模块24,与获取模块22相连,设置为根据所述信息及所述安装包和/或升级包在共享存储空间中创建媒体文件,其中,所述媒体文件用于在虚拟化场景中能够自动执行安装和/或升级所述应用。
在本实施例中,还提供了一种基于虚拟化的应用执行方法,图3是根据本发明实施例的基于虚拟化的应用执行方法的流程图,如图3所示,该方法包括如下步骤:
步骤S302,确定待安装和/或升级的应用及虚拟机;
步骤S304,获取所述待安装和/或升级的应用对应的媒体文件,并将所述媒体文件挂载在所述虚拟机上,其中,所述媒体文件用于在虚拟化场景中能够自动执行安装和/或升级所述应用;
步骤S306,指示通过所述媒体文件在所述虚拟机上安装和/或升级所述应用。
本实施例通过上述步骤,将可以在虚拟化场景中识别的待安装和/或升级的应用对应的媒体文件挂载在虚拟机上,并通过所述媒体文件在所述虚拟机上安装和/或升级待安装的软件应用,从而通过虚拟化技术实现了在虚拟机中安装和/或升级软件应用,解决了相关技术中在虚拟化场景下的应用软件的安装和/或升级存在一定局限性的问题,提升了在虚拟化场景下的应用安装/升级的实现效率,并且这种方式大大降低了存储空间、网络情况等限制条件造成的影响。
本实施例中,获取的所述媒体文件可以是虚拟化的共享磁盘以及包含所述应用的信息及对应的安装包和/或升级包的内容的磁盘镜像文件ISO。通过这种方式,将该应用的ISO装载在虚拟化的共享磁盘上,该应用的媒体内容即可被虚拟化设备识别。
本实施例中,通过所述媒体文件在所述虚拟机上安装和/或升级所述应用的具体过程可以如下:所述虚拟机所在主机向所述虚拟机的代理下发所述应用的安装和/或升级指令;所述虚拟机的代理查找本地挂载的所述媒体文件,并按照所述安装和/或升级指令进行安装和/或升级。
本实施例中,上述步骤S302-306可以由虚拟化管理系统执行,即虚拟化管理系统确定待安装和/或升级的应用及虚拟机;所述虚拟化管理系统获取所述待安装和/或升级的应用对应的媒体文件,并将所述媒体文件挂载在所述虚拟机上,其中,所述媒体文件用于在虚拟化场景中能够自动执行安装和/或升级所述应用;所述虚拟化管理系统指示通过所述媒体文件在所述虚拟机上安装和/或升级所述应用。
对应于上述基于虚拟化的应用执行方法,在本实施例中,还提供了一种基于虚拟化的应用执行装置,该装置设置为实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图4是根据本发明实施例的基于虚拟化的应用执行装置的结构框图,如图4所示,该装置包括:确定模块42、挂载模块44和执行模块46,下面对各个模块进行详细说明:
确定模块42,设置为确定待安装和/或升级的应用及虚拟机;挂载模块44,与确定模块42相连,设置为获取所述待安装和/或升级的应用对应的媒体文件,并将所述媒体文件挂载在所述虚拟机上,其中,所述媒体文件用于在虚拟化场景中能够自动执行安装和/或升级所述应用;执行模块46,与挂载模块44相连,设置为指示通过所述媒体文件在所述虚拟机上安装和/或升级所述应用。
在本实施例中,还提供了一种基于虚拟化的应用执行系统,图5是根据本发明实施例的基于虚拟化的应用执行系统的结构框图,如图5所示,该系统包括:应用媒体服务器52、虚拟化管理系统54和虚拟机56,其中,所述应用媒体服务器52可以包括如图2所示的基于虚拟化的应用存储装置,所述虚拟化管理系统54,与应用媒体服务器52相连,可以包括如图4所示的基于虚拟化的应用执行装置,所述虚拟机56与所述虚拟化管理系统54相连,设置为根据所述虚拟化管理系统54的指示,通过所述媒体文件安装和/或升级所述应用。
下面结合优选实施例进行说明,以下优选实施例结合了上述实施例及其优选实施方式。
在以下优选实施例中,提供了一种基于虚拟化技术的应用(软件)部署方法,其使用了虚拟化技术实现服务器自动化的能力,属于云计算技术领域。
这种基于虚拟化技术的软件部署方法,包括:应用管理系统录入应用软件信息,并提供软件包;应用媒体服务器通过软件信息和虚拟化指令在共享存储上创建应用软件的共享磁盘和ISO媒体;虚拟化管理系统获取应用信息;虚拟化管理系统通知主机指定某个虚拟机安装某个应用软件;主机通过虚拟化指令挂载应用软件的共享磁盘或者ISO;主机给虚拟机代理下发软件安装指令;虚拟机代理查找本地挂载的共享磁盘或者ISO,按照安装指令进行应用软件安装。
下面从整体层面描述上述基于虚拟化技术的应用部署方法,该方法包括:注册并上传软件;调用软件媒体创建程序;创建软件媒体;将软件媒体创建为虚拟化可以识别的共享磁盘和ISO;结合虚拟化系统,选择虚拟机和安装的软件;通过应用管理系统获取安装方式和路径;通过虚拟化命令挂载软件媒体的共享磁盘或者ISO到虚拟机上;通过虚拟化命令执行软件安装程序;通过代理检查安装进程;通过代理检查软件版本信息。
图6是根据本发明优选实施例的系统整体架构示意图,如图6所示,其中虚拟化管理系统负责虚拟环境的管理,可以进行虚拟机生命周期管理、虚拟机磁盘和光驱管理、虚拟化通道管理。主机为可虚拟化的计算资源,上面运行虚拟机,并通过代理实现虚拟机内部系统的操作。共享存储系统设置为存放可以被所有虚拟机识别的存储媒体,包括磁盘、ISO等。应用管理系统负责进行软件的基本信息和版本管理。应用媒体服务器负责存储应用软件和制作软件包、软件媒体。
下面结合附图详细说明软件媒体的创建流程以及安装(与升级类似)流程:
图7是根据本发明优选实施例的媒体创建流程示意图,如图7所示,本优选实施例提供的媒体创建流程如下:
S702,管理员操作,在应用管理系统中录入软件属性,并上传软件包。
S704,应用管理系统根据软件属性在应用媒体服务器中调用软件媒体制作程序。
S706,应用媒体服务器制作软件媒体。
S708,通过虚拟化命令在共享存储上制作包含软件媒体的共享磁盘和ISO。
S710,制作完成后,通知应用媒体服务器,软件媒体制作完成。
S712,通知应用管理系统软件制作完成。
S714,通知管理软件注册完毕。
图8是根据本发明优选实施例的媒体安装流程示意图,如图8所示,本优选实施例提供的媒体安装流程如下:
S802,管理员通过虚拟化管理系统为虚拟机选择需要安装的软件。
S804-806,虚拟化管理系统从应用管理系统获取软件版本和安装路径等信息。
S808,虚拟化管理系统通过代理通知虚拟机所在的主机给虚拟机挂载软件媒体。
S810-812,主机从共享存储中获取媒体数据发送到虚拟机中。
S814-816,主机通知虚拟机安装应用软件。
S818,安装结束后,虚拟机将版本信息反馈给主机,通知主机软件安装完毕。
S820,虚拟化管理系统记录软件安装结果。
本优选实施例中还提供了媒体升级流程,该媒体升级流程和媒体安装流程比较类似,流程基本同图8,仅将安装变为升级即可,因此在本文中不再赘述。
在另外一个实施例中,还提供了一种软件,该软件设置为执行上述实施例及优选实施例中描述的技术方案。
在另外一个实施例中,还提供了一种存储介质,该存储介质中存储有上述软件,该存储介质包括但不限于光盘、软盘、硬盘、可擦写存储器等。
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
工业实用性
如上所述,本发明实施例提供的一种基于虚拟化的应用存储方法、执行方法、装置及系统,具有以下有益效果:解决了相关技术中在虚拟化场景下的应用软件的安装和/或升级存在一定局限性的问题,提升了在虚拟化场景下的应用安装/升级的实现效率,并且这种方式大大降低了存储空间、网络情况等限制条件造成的影响。

Claims (10)

  1. 一种基于虚拟化的应用存储方法,包括:
    获取应用的信息及对应的安装包和/或升级包;
    根据所述信息及所述安装包和/或升级包在共享存储空间中创建媒体文件,其中,所述媒体文件用于在虚拟化场景中能够自动执行安装和/或升级所述应用。
  2. 根据权利要求1所述的方法,其中,根据所述信息及所述安装包和/或升级包在共享存储空间中创建媒体文件包括:
    根据所述信息及所述安装包和/或升级包在共享存储空间中创建虚拟化的共享磁盘以及包含所述应用的信息及对应的安装包和/或升级包的内容的磁盘镜像文件ISO。
  3. 根据权利要求1或2所述的方法,其中,
    应用媒体服务器获取录入的应用的信息及对应的安装包和/或升级包;
    所述应用媒体服务器根据所述信息及所述安装包和/或升级包在共享存储空间中创建媒体文件,其中,所述媒体文件用于在虚拟化场景中能够自动执行安装和/或升级所述应用。
  4. 一种基于虚拟化的应用执行方法,包括:
    确定待安装和/或升级的应用及虚拟机;
    获取所述待安装和/或升级的应用对应的媒体文件,并将所述媒体文件挂载在所述虚拟机上,其中,所述媒体文件用于在虚拟化场景中能够自动执行安装和/或升级所述应用;
    指示通过所述媒体文件在所述虚拟机上安装和/或升级所述应用。
  5. 根据权利要求4所述的方法,其中,获取所述待安装和/或升级的应用对应的媒体文件包括:
    获取所述待安装和/或升级的应用对应的虚拟化的共享磁盘以及包含所述应用的信息及对应的安装包和/或升级包的内容的磁盘镜像文件ISO。
  6. 根据权利要求4所述的方法,其中,通过所述媒体文件在所述虚拟机上安装和/或升级所述应用包括:
    所述虚拟机所在主机向所述虚拟机的代理下发所述应用的安装和/或升级指令;
    所述虚拟机的代理查找本地挂载的所述媒体文件,并按照所述安装和/或升级指令进行安装和/或升级。
  7. 根据权利要求4至6中任一项所述的方法,其中,
    虚拟化管理系统确定待安装和/或升级的应用及虚拟机;
    所述虚拟化管理系统获取所述待安装和/或升级的应用对应的媒体文件,并将所述媒体文件挂载在所述虚拟机上,其中,所述媒体文件用于在虚拟化场景中能够自动执行安装和/或升级所述应用;
    所述虚拟化管理系统指示通过所述媒体文件在所述虚拟机上安装和/或升级所述应用。
  8. 一种基于虚拟化的应用存储装置,包括:
    获取模块,设置为获取应用的信息及对应的安装包和/或升级包;
    创建模块,设置为根据所述信息及所述安装包和/或升级包在共享存储空间中创建媒体文件,其中,所述媒体文件用于在虚拟化场景中能够自动执行安装和/或升级所述应用。
  9. 一种基于虚拟化的应用执行装置,包括:
    确定模块,设置为确定待安装和/或升级的应用及虚拟机;
    挂载模块,设置为获取所述待安装和/或升级的应用对应的媒体文件,并将所述媒体文件挂载在所述虚拟机上,其中,所述媒体文件用于在虚拟化场景中能够自动执行安装和/或升级所述应用;
    执行模块,设置为指示通过所述媒体文件在所述虚拟机上安装和/或升级所述应用。
  10. 一种基于虚拟化的应用执行系统,包括:应用媒体服务器、虚拟化管理系统和虚拟机,其中,所述应用媒体服务器包括如权利要求8所述的基于虚拟化的应用存储装置,所述虚拟化管理系统包括如权利要求9所述的基于虚拟化的应用 执行装置,所述虚拟机与所述虚拟化管理系统相连,设置为根据所述虚拟化管理系统的指示,通过所述媒体文件安装和/或升级所述应用。
PCT/CN2015/085459 2014-08-28 2015-07-29 基于虚拟化的应用存储方法、执行方法、装置及系统 WO2016029774A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410431689.3A CN105373415A (zh) 2014-08-28 2014-08-28 基于虚拟化的应用存储方法、执行方法、装置及系统
CN201410431689.3 2014-08-28

Publications (1)

Publication Number Publication Date
WO2016029774A1 true WO2016029774A1 (zh) 2016-03-03

Family

ID=55375641

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/085459 WO2016029774A1 (zh) 2014-08-28 2015-07-29 基于虚拟化的应用存储方法、执行方法、装置及系统

Country Status (2)

Country Link
CN (1) CN105373415A (zh)
WO (1) WO2016029774A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108334259A (zh) * 2017-01-17 2018-07-27 中兴通讯股份有限公司 应用的压力功能实现系统及方法
CN110222019A (zh) * 2019-05-08 2019-09-10 安克创新科技股份有限公司 文件系统所占空间的调整方法及装置
CN113835768A (zh) * 2021-11-29 2021-12-24 北京鲸鲮信息系统技术有限公司 一种Android混合HAL的管理方法及系统

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110442497B (zh) * 2019-07-03 2023-01-06 苏州浪潮智能科技有限公司 一种虚拟化系统存储状态的告警方法、设备及可读介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8316364B2 (en) * 2007-02-28 2012-11-20 Red Hat, Inc. Peer-to-peer software update distribution network
CN103458002A (zh) * 2013-08-15 2013-12-18 中电长城网际系统应用有限公司 云系统的一键部署方法和装置
CN103514023A (zh) * 2013-10-22 2014-01-15 中国科学院信息工程研究所 一种虚拟机离线自动软件安装的方法及系统
CN103530162A (zh) * 2013-10-22 2014-01-22 中国科学院信息工程研究所 一种虚拟机在线自动软件安装的方法及系统

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102099787B (zh) * 2008-07-17 2014-03-26 Lsi公司 用于在虚拟化的服务器平台上安装可引导的虚拟存储设备的系统和方法
GB2511012B (en) * 2011-12-08 2014-12-10 Ibm Method and system for patching a virtual image
CN102833319A (zh) * 2012-08-08 2012-12-19 浪潮集团有限公司 一种基于web的Virtualbox实时迁移方法
CN103617076A (zh) * 2013-10-31 2014-03-05 中兴通讯股份有限公司 一种虚拟化资源的调度方法和系统及服务端

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8316364B2 (en) * 2007-02-28 2012-11-20 Red Hat, Inc. Peer-to-peer software update distribution network
CN103458002A (zh) * 2013-08-15 2013-12-18 中电长城网际系统应用有限公司 云系统的一键部署方法和装置
CN103514023A (zh) * 2013-10-22 2014-01-15 中国科学院信息工程研究所 一种虚拟机离线自动软件安装的方法及系统
CN103530162A (zh) * 2013-10-22 2014-01-22 中国科学院信息工程研究所 一种虚拟机在线自动软件安装的方法及系统

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108334259A (zh) * 2017-01-17 2018-07-27 中兴通讯股份有限公司 应用的压力功能实现系统及方法
CN110222019A (zh) * 2019-05-08 2019-09-10 安克创新科技股份有限公司 文件系统所占空间的调整方法及装置
CN110222019B (zh) * 2019-05-08 2023-12-19 安克创新科技股份有限公司 文件系统所占空间的调整方法及装置
CN113835768A (zh) * 2021-11-29 2021-12-24 北京鲸鲮信息系统技术有限公司 一种Android混合HAL的管理方法及系统

Also Published As

Publication number Publication date
CN105373415A (zh) 2016-03-02

Similar Documents

Publication Publication Date Title
US20230089995A1 (en) Methods and apparatus to manage monitoring agents
EP3355193B1 (en) Security-based container scheduling
US20190149420A1 (en) System and method for automated system management
US20180191582A1 (en) Migrating legacy non-cloud applications into a cloud-computing environment
US9519513B2 (en) Methods and apparatus to automatically configure monitoring of a virtual machine
EP3163975B1 (en) Configuration information management method, device, network element management system and storage medium
KR101574366B1 (ko) 가상 머신 및 애플리케이션 수명들의 동기화
US9280336B2 (en) Virtual machine disk image installation
US20150186129A1 (en) Method and system for deploying a program module
WO2019184164A1 (zh) 自动部署Kubernetes从节点的方法、装置、终端设备及可读存储介质
US11363117B2 (en) Software-specific auto scaling
CN110096424B (zh) 测试的处理方法、装置、电子设备及存储介质
US20170048331A1 (en) Platform runtime abstraction
WO2019056882A1 (zh) 一种跨平台部署的方法和系统
WO2016029774A1 (zh) 基于虚拟化的应用存储方法、执行方法、装置及系统
US20220357997A1 (en) Methods and apparatus to improve cloud management
US11799743B2 (en) Node addition in cloud networks
US11321109B2 (en) Container engine for selecting driver based on container metadata
US11243793B2 (en) Virtual machine management
CN117112122A (zh) 一种集群部署方法和装置
WO2018103372A1 (zh) 一种驱动管理方法及宿主机
JP5840892B2 (ja) ソフトウェア配信システムおよびソフトウェア配信用プログラム
KR101784681B1 (ko) 클라우드 플랫폼에서 다중 사용자의 독립성을 보장하는 컨테이너 기반의 운영 자동화 시스템
KR20150137766A (ko) 가상머신 스택 생성 시스템 및 방법
JP2009199360A (ja) サーバ構築方法、同方法用コンピュータソフトウェアおよび記憶媒体

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: 15837065

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: 15837065

Country of ref document: EP

Kind code of ref document: A1