[go: up one dir, main page]

CN107577521A - A kind of virtual resource management method and device - Google Patents

A kind of virtual resource management method and device Download PDF

Info

Publication number
CN107577521A
CN107577521A CN201711018790.6A CN201711018790A CN107577521A CN 107577521 A CN107577521 A CN 107577521A CN 201711018790 A CN201711018790 A CN 201711018790A CN 107577521 A CN107577521 A CN 107577521A
Authority
CN
China
Prior art keywords
resource
template file
virtual
edited
layout template
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.)
Pending
Application number
CN201711018790.6A
Other languages
Chinese (zh)
Inventor
商晓
胡玉鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201711018790.6A priority Critical patent/CN107577521A/en
Publication of CN107577521A publication Critical patent/CN107577521A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

本发明提供一种虚拟资源管理方法及装置,上述方法包括以下步骤:创建资源编排模板文件并对所述资源编排模板文件进行编辑,获得编辑后的资源编排模板文件;通过执行所述编辑后的资源编排模板文件,对所述编辑后的资源编排模板文件中的虚拟资源进行编排管理。上述技术方案中,通过执行编辑后的资源编排模板文件,对虚拟资源进行编排管理,简化了用户编排虚拟资源的操作,节省了时间消耗和人力投入,大大提高了用户体验。

The present invention provides a virtual resource management method and device. The method includes the following steps: creating a resource layout template file and editing the resource layout template file to obtain the edited resource layout template file; by executing the edited The resource arrangement template file arranges and manages the virtual resources in the edited resource arrangement template file. In the above technical solution, virtual resources are arranged and managed by executing the edited resource arrangement template file, which simplifies the user's operation of arranging virtual resources, saves time consumption and manpower input, and greatly improves user experience.

Description

一种虚拟资源管理方法及装置A virtual resource management method and device

技术领域technical field

本发明属于云计算技术领域,尤其涉及一种虚拟资源管理方法及装置。The invention belongs to the technical field of cloud computing, and in particular relates to a virtual resource management method and device.

背景技术Background technique

OpenStack是一个旨在为公共及私有云的建设与管理提供软件的开源项目,由计算、存储、网络等几个主要的组件组合起来完成云计算管理工作,其目标是为全球数以亿计的用户提供实施简单、可大规模扩展、丰富、标准统一的云计算管理平台。OpenStack is an open source project that aims to provide software for the construction and management of public and private clouds. It is composed of several main components such as computing, storage, and network to complete cloud computing management. Its goal is to serve hundreds of millions of people worldwide. Users are provided with a cloud computing management platform that is simple to implement, scalable on a large scale, rich, and unified in standards.

目前对OpenStack虚拟资源的管理手段为:通过命令行组合的脚本方式对虚拟资源进行定义、组合、编排,但是采用这种方式对虚拟资源进行管理需要花费大量人力和时间投入进行脚本编写,并且操作流程复杂,大大降低了用户体验。The current management method for OpenStack virtual resources is to define, combine, and arrange virtual resources through scripts combined with command lines. The process is complicated and greatly reduces the user experience.

因此,迫切需要提供一种虚拟资源管理方案来解决上述技术问题。Therefore, it is urgent to provide a virtual resource management solution to solve the above technical problems.

发明内容Contents of the invention

本发明提供一种虚拟资源管理方法及装置,以解决上述问题。The present invention provides a virtual resource management method and device to solve the above problems.

本发明实施例提供一种虚拟资源管理方法,包括以下步骤:创建资源编排模板文件并对所述资源编排模板文件进行编辑,获得编辑后的资源编排模板文件;An embodiment of the present invention provides a virtual resource management method, including the following steps: creating a resource layout template file and editing the resource layout template file to obtain the edited resource layout template file;

通过执行所述编辑后的资源编排模板文件,对所述编辑后的资源编排模板文件中的虚拟资源进行编排管理。By executing the edited resource arrangement template file, the virtual resources in the edited resource arrangement template file are arranged and managed.

本发明实施例还提供一种虚拟资源管理装置,包括处理器,适于实现各指令;存储设备,适于存储多条指令,所述指令适于由所述处理器加载并执行;The embodiment of the present invention also provides a virtual resource management device, including a processor, adapted to implement instructions; a storage device, adapted to store multiple instructions, and the instructions are adapted to be loaded and executed by the processor;

创建资源编排模板文件并对所述资源编排模板文件进行编辑,获得编辑后的资源编排模板文件;Create a resource layout template file and edit the resource layout template file to obtain an edited resource layout template file;

通过执行所述编辑后的资源编排模板文件,对所述编辑后的资源编排模板文件中的虚拟资源进行编排管理。By executing the edited resource arrangement template file, the virtual resources in the edited resource arrangement template file are arranged and managed.

本发明实施例提供的技术方案:创建资源编排模板文件并对所述资源编排模板文件进行编辑,获得编辑后的资源编排模板文件;通过执行所述编辑后的资源编排模板文件,对所述编辑后的资源编排模板文件中的虚拟资源进行编排管理。The technical solution provided by the embodiment of the present invention: create a resource layout template file and edit the resource layout template file to obtain the edited resource layout template file; by executing the edited resource layout template file, the edited The virtual resources in the final resource orchestration template file are orchestrated and managed.

上述技术方案中,通过执行编辑后的资源编排模板文件,对虚拟资源进行编排管理,简化了用户编排虚拟资源的操作,节省了时间消耗和人力投入,大大提高了用户体验。In the above technical solution, virtual resources are arranged and managed by executing the edited resource arrangement template file, which simplifies the user's operation of arranging virtual resources, saves time consumption and manpower input, and greatly improves user experience.

附图说明Description of drawings

此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described here are used to provide a further understanding of the present invention and constitute a part of the application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations to the present invention. In the attached picture:

图1所示为本发明实施例1的资源编排模板文件创建原理图;FIG. 1 is a schematic diagram of creating a resource layout template file according to Embodiment 1 of the present invention;

图2所示为本发明实施例2的openstack的Heat服务组件执行资源编排模板文件的原理图;Fig. 2 shows the principle diagram that the Heat service component of the openstack of embodiment 2 of the present invention executes resource arrangement template file;

图3所示为本发明实施例3的采用Hot模板编排openstack资源的原理图;Fig. 3 shows the schematic diagram of adopting the Hot template arrangement openstack resource of embodiment 3 of the present invention;

图4所示为本发明实施例4的虚拟资源管理方法流程图;FIG. 4 is a flowchart of a virtual resource management method according to Embodiment 4 of the present invention;

图5所示为本发明实施例5的虚拟资源管理装置结构图。FIG. 5 is a structural diagram of a virtual resource management device according to Embodiment 5 of the present invention.

具体实施方式detailed description

下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。Hereinafter, the present invention will be described in detail with reference to the drawings and examples. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

简要术语说明:Brief terminology notes:

OpenStack:一个开源的云计算管理平台项目;Heat:一个基于模板来编排复合云应用的openstack服务组件,使用模板以实现资源的自动化部署;Hot模板:Heat组件自有的一种基于YAML格式的模板类型。OpenStack: an open source cloud computing management platform project; Heat: an openstack service component based on templates to arrange composite cloud applications, using templates to realize automatic deployment of resources; Hot template: a template based on YAML format of the Heat component Types of.

本发明对采用Hot模板编排Openstack资源的方法及操作步骤进行了描述,采用该方法能够快捷的定义构建出用户所需的虚拟资源集,缩短对虚拟资源定义、配置、组合的编排所需时间消耗和人力投入,提高用户的使用体验。The present invention describes the method and operation steps for arranging Openstack resources by using Hot templates. Using this method, the virtual resource set required by the user can be quickly defined and constructed, and the time consumption required for the arrangement of virtual resource definition, configuration, and combination can be shortened. and manpower input to improve user experience.

实施方案主要分为两个业务阶段:The implementation plan is mainly divided into two business phases:

业务阶段1:创建并编辑基于openstack Hot格式的yaml资源编排模板文件;openstack提供了一套yaml格式的Hot类型资源编排模板文件及模板编译语言,该种模板拥有丰富的资源类型,每种资源类型对应一种编译语言的一种资源类,用户根据自身的业务需要按照一定的顺序编译所需的各种虚拟资源类及相应的输入和输出即完成了资源编排模板文件的创建和编译;Business stage 1: Create and edit yaml resource layout template files based on openstack Hot format; openstack provides a set of Hot type resource layout template files in yaml format and template compilation language. This template has rich resource types, and each resource type Corresponding to a resource class of a compiled language, the user completes the creation and compilation of resource layout template files by compiling various virtual resource classes and corresponding input and output according to their own business needs in a certain order;

业务阶段2:通过openstack的Heat业务流程组件编译执行编辑的资源编排模板文件,产生用户所定义编排的虚拟资源。Business stage 2: Compile and execute the edited resource orchestration template file through the Heat business process component of openstack to generate virtual resources defined by the user.

本发明实施例改进了openstack执行资源编排模板文件的方式,设计简洁的UI界面来引导用户执行资源编排模板文件完成虚拟资源的编排和管理。The embodiment of the present invention improves the way that openstack executes the resource layout template file, and designs a simple UI interface to guide users to execute the resource layout template file to complete the layout and management of virtual resources.

结合图1对业务阶段1进行详细说明,图1所示为本发明实施例1的资源编排模板文件创建原理图,包括以下步骤:The business stage 1 is described in detail in conjunction with FIG. 1. FIG. 1 shows a schematic diagram of creating a resource orchestration template file in Embodiment 1 of the present invention, including the following steps:

1)创建格式为yaml的资源编排模板文件即HOT模板;1) Create a resource layout template file in the format of yaml, namely the HOT template;

2)对资源编排模板文件进行编辑,编辑后的资源编排模板文件包括以下元素:模板版本、资源列表、参数列表、输出列表;2) Edit the resource layout template file, and the edited resource layout template file includes the following elements: template version, resource list, parameter list, output list;

openstack提供给用户编译模板元素所参考的模板类型和资源类型,参数列表和输出列表为模板中的选填元素,输入参数可以变量的形式传递给资源列表,也可通过常量的方式在资源列表中定义。openstack provides the template type and resource type that users refer to when compiling template elements. The parameter list and output list are optional elements in the template. Input parameters can be passed to the resource list in the form of variables, or in the resource list in the form of constants. definition.

3)编辑完成资源编排模板文件中的各元素后,通过openstack的图形用户界面即UI界面的执行单元中检测资源编排模板文件的合法性,如有错误则执行步骤2)进行修改,直至能够通过合法性检测。3) After editing each element in the resource layout template file, check the validity of the resource layout template file through the execution unit of the graphical user interface of openstack, that is, the UI interface. If there is an error, perform step 2) to modify until it can pass Legitimacy check.

结合图2对业务阶段2进行详细说明,图2所示为本发明实施例2的openstack的Heat服务组件执行资源编排模板文件的原理图,主要实现原理为:openstack的Heat服务组件通过执行编辑后的资源编排模板文件创建一个虚拟资源栈的方式来编排管理虚拟资源,该虚拟资源栈中包括了一系列用户所编排的虚拟资源集,本发明实施例对Heat服务组件的UI部分进行了优化改进,简化了业务操作的流程,具体实施步骤如下:The business stage 2 is described in detail in conjunction with FIG. 2. FIG. 2 shows the schematic diagram of the heat service component of openstack in Embodiment 2 of the present invention executing the resource layout template file. The main realization principle is: after the heat service component of openstack is edited The resource arrangement template file creates a virtual resource stack to arrange and manage virtual resources. The virtual resource stack includes a series of virtual resource sets arranged by users. The embodiment of the present invention optimizes and improves the UI part of the Heat service component. , which simplifies the business operation process, the specific implementation steps are as follows:

1)通过图形用户界面即UI界面的引导单元进入应用编排组件服务窗口即Heat服务窗口;1) Enter the application orchestration component service window, namely the Heat service window, through the guiding unit of the graphical user interface (UI interface);

2)通过所述Heat服务窗口,对所述编辑后的资源编排模板文件进行编译并通过所述UI界面的输入单元将业务运行参数传输至所述资源编排模板文件;2) Compile the edited resource layout template file through the Heat service window and transmit business operation parameters to the resource layout template file through the input unit of the UI interface;

其中,调用heat api函数即heat-api-cfn,通过所述UI界面的输入单元将业务运行参数传输至所述资源编排模板文件。Wherein, the heat api function is called heat-api-cfn, and the service operation parameters are transmitted to the resource arrangement template file through the input unit of the UI interface.

3)通过所述UI界面的执行单元将业务数据传输至Heat引擎组件即heat-engine,进行所述虚拟资源栈的创建。3) The execution unit of the UI interface transmits the service data to the heat engine component, ie heat-engine, to create the virtual resource stack.

优选地,所述Heat服务窗口对heat api接口进行了封装。Preferably, the Heat service window encapsulates the heat API interface.

4)当资源栈创建完成后,在输出单元中,用户定义编排的虚拟资源集创建完成,通过UI对虚拟资源栈进行更新、管理来实现对所编排虚拟资源集的集中管理。4) After the resource stack is created, in the output unit, the virtual resource set defined by the user is created, and the virtual resource stack is updated and managed through the UI to realize the centralized management of the programmed virtual resource set.

通过上述两个业务阶段即完成了采用Hot模板编排Openstack资源的方法的具体实施过程。Through the above two business stages, the specific implementation process of the method for arranging Openstack resources using the Hot template is completed.

图3所示为本发明实施例3的采用Hot模板编排openstack资源的原理图,如图3所示,通过Heat应用编排组件即Heat服务组件执行编辑后的资源编排模板文件,对所述编辑后的资源编排模板文件中的虚拟资源进行编排管理,其中,所述虚拟资源包括虚拟机、网络、安全组、监控、云硬盘、路由、防火墙、告警。Fig. 3 shows the schematic diagram of using the Hot template to arrange the openstack resources according to Embodiment 3 of the present invention. The virtual resources in the resource orchestration template file are orchestrated and managed, wherein the virtual resources include virtual machines, networks, security groups, monitoring, cloud hard disks, routing, firewalls, and alarms.

其中,资源编排模板文件中的虚拟资源列表根据资源类型进行选择,所述资源类型包括neutron、keystone、glance、cinder、ceilometer、swift、nova、sahara、senlin。Wherein, the virtual resource list in the resource orchestration template file is selected according to the resource type, and the resource type includes neutron, keystone, glance, cinder, ceilometer, swift, nova, sahara, senlin.

本发明实施例提出了一种采用Hot模板编排openstack资源的方法,该方法能够快捷的定义构建出用户所需的虚拟资源集,缩短对虚拟资源定义、配置、组合的编排所需时间消耗和人力投入,提高用户的使用体验。The embodiment of the present invention proposes a method for arranging openstack resources using a Hot template. This method can quickly define and construct the virtual resource set required by the user, and shorten the time consumption and manpower required for the definition, configuration, and combination of virtual resources. Invest in improving user experience.

图4所示为本发明实施例4的虚拟资源管理方法流程图,包括以下步骤:FIG. 4 is a flowchart of a virtual resource management method according to Embodiment 4 of the present invention, which includes the following steps:

步骤401:创建资源编排模板文件并对所述资源编排模板文件进行编辑,获得编辑后的资源编排模板文件;Step 401: Create a resource layout template file and edit the resource layout template file to obtain an edited resource layout template file;

进一步地,所述编辑后的资源编排模板文件包括:模板版本、资源列表、参数列表、输出列表。Further, the edited resource layout template file includes: a template version, a resource list, a parameter list, and an output list.

步骤402:通过执行所述编辑后的资源编排模板文件,对所述编辑后的资源编排模板文件中的虚拟资源进行编排管理。Step 402: Perform layout management on virtual resources in the edited resource layout template file by executing the edited resource layout template file.

进一步地,所述通过执行所述编辑后的资源编排模板文件,创建虚拟资源栈,其中,所述虚拟资源栈包括虚拟资源;Further, creating a virtual resource stack by executing the edited resource layout template file, wherein the virtual resource stack includes virtual resources;

对所述虚拟资源栈中的虚拟资源进行编排管理。Orchestrating and managing the virtual resources in the virtual resource stack.

进一步地,所述通过执行所述编辑后的资源编排模板文件,创建虚拟资源栈的过程为:Further, the process of creating a virtual resource stack by executing the edited resource layout template file is:

通过图形用户界面即UI界面的引导单元进入应用编排组件服务窗口即Heat服务窗口;Enter the application orchestration component service window, namely the Heat service window, through the guiding unit of the graphical user interface (UI interface);

通过所述Heat服务窗口,对所述编辑后的资源编排模板文件进行编译并通过所述UI界面的输入单元将业务运行参数传输至所述资源编排模板文件;Compile the edited resource layout template file through the Heat service window and transmit business operation parameters to the resource layout template file through the input unit of the UI interface;

通过所述UI界面的执行单元将业务数据传输至Heat引擎组件,进行所述虚拟资源栈的创建。The execution unit of the UI interface transmits the service data to the Heat engine component to create the virtual resource stack.

优选地,所述Heat服务窗口对Heat API接口进行了封装。Preferably, the Heat service window encapsulates the Heat API interface.

图5所示为本发明实施例5的虚拟资源管理装置结构图,包括处理器,适于实现各指令;存储设备,适于存储多条指令,所述指令适于由所述处理器加载并执行;Fig. 5 is a structural diagram of a virtual resource management device according to Embodiment 5 of the present invention, including a processor adapted to implement instructions; a storage device adapted to store a plurality of instructions adapted to be loaded by the processor and implement;

创建资源编排模板文件并对所述资源编排模板文件进行编辑,获得编辑后的资源编排模板文件;Create a resource layout template file and edit the resource layout template file to obtain an edited resource layout template file;

通过执行所述编辑后的资源编排模板文件,对所述编辑后的资源编排模板文件中的虚拟资源进行编排管理。By executing the edited resource arrangement template file, the virtual resources in the edited resource arrangement template file are arranged and managed.

进一步地,所述编辑后的资源编排模板文件包括:模板版本、资源列表、参数列表、输出列表。Further, the edited resource layout template file includes: a template version, a resource list, a parameter list, and an output list.

进一步地,所述通过执行所述编辑后的资源编排模板文件,创建虚拟资源栈,其中,所述虚拟资源栈包括虚拟资源;Further, creating a virtual resource stack by executing the edited resource layout template file, wherein the virtual resource stack includes virtual resources;

对所述虚拟资源栈中的虚拟资源进行编排管理。Orchestrating and managing the virtual resources in the virtual resource stack.

进一步地,所述通过执行所述编辑后的资源编排模板文件,创建虚拟资源栈的过程为:Further, the process of creating a virtual resource stack by executing the edited resource layout template file is:

通过图形用户界面即UI界面的引导单元进入应用编排组件服务窗口即Heat服务窗口;Enter the application orchestration component service window, namely the Heat service window, through the guiding unit of the graphical user interface (UI interface);

通过所述Heat服务窗口,对所述编辑后的资源编排模板文件进行编译并通过所述UI界面的输入单元将业务运行参数传输至所述资源编排模板文件;Compile the edited resource layout template file through the Heat service window and transmit business operation parameters to the resource layout template file through the input unit of the UI interface;

通过所述UI界面的执行单元将业务数据传输至Heat引擎组件,进行所述虚拟资源栈的创建。The execution unit of the UI interface transmits the service data to the Heat engine component to create the virtual resource stack.

优选地,所述Heat服务窗口对Heat API接口进行了封装。Preferably, the Heat service window encapsulates the Heat API interface.

本发明实施例提供的技术方案:创建资源编排模板文件并对所述资源编排模板文件进行编辑,获得编辑后的资源编排模板文件;通过执行所述编辑后的资源编排模板文件,对所述编辑后的资源编排模板文件中的虚拟资源进行编排管理。The technical solution provided by the embodiment of the present invention: create a resource layout template file and edit the resource layout template file to obtain the edited resource layout template file; by executing the edited resource layout template file, the edited The virtual resources in the final resource orchestration template file are orchestrated and managed.

上述技术方案中,通过执行编辑后的资源编排模板文件,对虚拟资源进行编排管理,简化了用户编排虚拟资源的操作,节省了时间消耗和人力投入,大大提高了用户体验。In the above technical solution, virtual resources are arranged and managed by executing the edited resource arrangement template file, which simplifies the user's operation of arranging virtual resources, saves time consumption and manpower input, and greatly improves user experience.

以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims (10)

1.一种虚拟资源管理方法,其特征在于,包括以下步骤:1. A virtual resource management method, characterized in that, comprising the following steps: 创建资源编排模板文件并对所述资源编排模板文件进行编辑,获得编辑后的资源编排模板文件;Create a resource layout template file and edit the resource layout template file to obtain an edited resource layout template file; 通过执行所述编辑后的资源编排模板文件,对所述编辑后的资源编排模板文件中的虚拟资源进行编排管理。By executing the edited resource arrangement template file, the virtual resources in the edited resource arrangement template file are arranged and managed. 2.根据权利要求1所述的虚拟资源管理方法,其特征在于,所述编辑后的资源编排模板文件包括:模板版本、资源列表、参数列表、输出列表。2. The virtual resource management method according to claim 1, wherein the edited resource layout template file includes: a template version, a resource list, a parameter list, and an output list. 3.根据权利要求1或2所述的虚拟资源管理方法,其特征在于,所述通过执行所述编辑后的资源编排模板文件,创建虚拟资源栈,其中,所述虚拟资源栈包括虚拟资源;3. The virtual resource management method according to claim 1 or 2, wherein a virtual resource stack is created by executing the edited resource layout template file, wherein the virtual resource stack includes virtual resources; 对所述虚拟资源栈中的虚拟资源进行编排管理。Orchestrating and managing the virtual resources in the virtual resource stack. 4.根据权利要求3所述的虚拟资源管理方法,其特征在于,所述通过执行所述编辑后的资源编排模板文件,创建虚拟资源栈的过程为:4. The virtual resource management method according to claim 3, wherein the process of creating a virtual resource stack by executing the edited resource layout template file is: 通过图形用户界面即UI界面的引导单元进入应用编排组件服务窗口即Heat服务窗口;Enter the application orchestration component service window, namely the Heat service window, through the guiding unit of the graphical user interface (UI interface); 通过所述Heat服务窗口,对所述编辑后的资源编排模板文件进行编译并通过所述UI界面的输入单元将业务运行参数传输至所述资源编排模板文件;Compile the edited resource layout template file through the Heat service window and transmit business operation parameters to the resource layout template file through the input unit of the UI interface; 通过所述UI界面的执行单元将业务数据传输至Heat引擎组件,进行所述虚拟资源栈的创建。The execution unit of the UI interface transmits the service data to the Heat engine component to create the virtual resource stack. 5.根据权利要求4所述的虚拟资源管理方法,其特征在于,所述Heat服务窗口对HeatAPI接口进行了封装。5. The virtual resource management method according to claim 4, wherein the Heat service window encapsulates the HeatAPI interface. 6.一种虚拟资源管理装置,其特征在于,包括处理器,适于实现各指令;存储设备,适于存储多条指令,所述指令适于由所述处理器加载并执行;6. A virtual resource management device, characterized in that it includes a processor, adapted to implement each instruction; a storage device, adapted to store a plurality of instructions, and the instructions are adapted to be loaded and executed by the processor; 创建资源编排模板文件并对所述资源编排模板文件进行编辑,获得编辑后的资源编排模板文件;Create a resource layout template file and edit the resource layout template file to obtain an edited resource layout template file; 通过执行所述编辑后的资源编排模板文件,对所述编辑后的资源编排模板文件中的虚拟资源进行编排管理。By executing the edited resource arrangement template file, the virtual resources in the edited resource arrangement template file are arranged and managed. 7.根据权利要求6所述的虚拟资源管理装置,其特征在于,所述编辑后的资源编排模板文件包括:模板版本、资源列表、参数列表、输出列表。7. The virtual resource management device according to claim 6, wherein the edited resource layout template file includes: a template version, a resource list, a parameter list, and an output list. 8.根据权利要求6或7所述的虚拟资源管理装置,其特征在于,所述通过执行所述编辑后的资源编排模板文件,创建虚拟资源栈,其中,所述虚拟资源栈包括虚拟资源;8. The virtual resource management device according to claim 6 or 7, wherein a virtual resource stack is created by executing the edited resource layout template file, wherein the virtual resource stack includes virtual resources; 对所述虚拟资源栈中的虚拟资源进行编排管理。Orchestrating and managing the virtual resources in the virtual resource stack. 9.根据权利要求8所述的虚拟资源管理装置,其特征在于,所述通过执行所述编辑后的资源编排模板文件,创建虚拟资源栈的过程为:9. The virtual resource management device according to claim 8, wherein the process of creating a virtual resource stack by executing the edited resource layout template file is: 通过图形用户界面即UI界面的引导单元进入应用编排组件服务窗口即Heat服务窗口;Enter the application orchestration component service window, namely the Heat service window, through the guiding unit of the graphical user interface (UI interface); 通过所述Heat服务窗口,对所述编辑后的资源编排模板文件进行编译并通过所述UI界面的输入单元将业务运行参数传输至所述资源编排模板文件;Compile the edited resource layout template file through the Heat service window and transmit business operation parameters to the resource layout template file through the input unit of the UI interface; 通过所述UI界面的执行单元将业务数据传输至Heat引擎组件,进行所述虚拟资源栈的创建。The execution unit of the UI interface transmits the service data to the Heat engine component to create the virtual resource stack. 10.根据权利要求9所述的虚拟资源管理装置,其特征在于,所述Heat服务窗口对HeatAPI接口进行了封装。10. The virtual resource management device according to claim 9, wherein the Heat service window encapsulates a HeatAPI interface.
CN201711018790.6A 2017-10-26 2017-10-26 A kind of virtual resource management method and device Pending CN107577521A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711018790.6A CN107577521A (en) 2017-10-26 2017-10-26 A kind of virtual resource management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711018790.6A CN107577521A (en) 2017-10-26 2017-10-26 A kind of virtual resource management method and device

Publications (1)

Publication Number Publication Date
CN107577521A true CN107577521A (en) 2018-01-12

Family

ID=61040666

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711018790.6A Pending CN107577521A (en) 2017-10-26 2017-10-26 A kind of virtual resource management method and device

Country Status (1)

Country Link
CN (1) CN107577521A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110515698A (en) * 2019-08-16 2019-11-29 济南浪潮数据技术有限公司 Resource application method, system, electronic device and storage medium
CN110580161A (en) * 2018-06-11 2019-12-17 中兴通讯股份有限公司 Template fragmentation method, device, equipment and storage medium
CN110795210A (en) * 2019-10-18 2020-02-14 北京浪潮数据技术有限公司 Bare equipment management system and method
CN113010473A (en) * 2021-03-05 2021-06-22 山东英信计算机技术有限公司 Method and equipment for editing YAML file

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103885815A (en) * 2014-03-24 2014-06-25 北京大学 Virtual machine dynamic caching method based on hot page migration
US20140223215A1 (en) * 2007-04-18 2014-08-07 Christiaan Wenzel System and method for power management of storage resources
CN106201466A (en) * 2016-06-25 2016-12-07 国云科技股份有限公司 A template management method based on heat
CN106815068A (en) * 2016-12-09 2017-06-09 中电科华云信息技术有限公司 The method that Hyperv live migration of virtual machine is realized based on Openstack
CN107070705A (en) * 2017-03-23 2017-08-18 无锡华云数据技术服务有限公司 A kind of method of combination of cloud resource
CN107145380A (en) * 2017-03-27 2017-09-08 华为技术有限公司 Virtual resource method of combination and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140223215A1 (en) * 2007-04-18 2014-08-07 Christiaan Wenzel System and method for power management of storage resources
CN103885815A (en) * 2014-03-24 2014-06-25 北京大学 Virtual machine dynamic caching method based on hot page migration
CN106201466A (en) * 2016-06-25 2016-12-07 国云科技股份有限公司 A template management method based on heat
CN106815068A (en) * 2016-12-09 2017-06-09 中电科华云信息技术有限公司 The method that Hyperv live migration of virtual machine is realized based on Openstack
CN107070705A (en) * 2017-03-23 2017-08-18 无锡华云数据技术服务有限公司 A kind of method of combination of cloud resource
CN107145380A (en) * 2017-03-27 2017-09-08 华为技术有限公司 Virtual resource method of combination and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
何进哥哥: "OpenStack Heat 如何来实现和支持编排", 《CSDN》 *
邹盼霞等: "OpenStack Heat 如何来实现和支持编排", 《IBM开发者》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110580161A (en) * 2018-06-11 2019-12-17 中兴通讯股份有限公司 Template fragmentation method, device, equipment and storage medium
CN110580161B (en) * 2018-06-11 2023-01-03 深圳市中兴通讯技术服务有限责任公司 Template fragmentation method, device, equipment and storage medium
CN110515698A (en) * 2019-08-16 2019-11-29 济南浪潮数据技术有限公司 Resource application method, system, electronic device and storage medium
CN110795210A (en) * 2019-10-18 2020-02-14 北京浪潮数据技术有限公司 Bare equipment management system and method
CN110795210B (en) * 2019-10-18 2022-03-22 北京浪潮数据技术有限公司 Bare equipment management system and method
CN113010473A (en) * 2021-03-05 2021-06-22 山东英信计算机技术有限公司 Method and equipment for editing YAML file

Similar Documents

Publication Publication Date Title
US9021419B2 (en) System and method for supporting intelligent design pattern automation
Wettinger et al. Integrating Configuration Management with Model-driven Cloud Management based on TOSCA.
CN103198009B (en) A kind of universal testing method, system and related device
US10324709B2 (en) Apparatus and method for validating application deployment topology in cloud computing environment
KR102397494B1 (en) Low code web development and operating system, and service method using of it
US10628777B2 (en) Cognitive process enactment
CN101667134B (en) Method for constructing compiling system and compiling system constructing device
US20190087731A1 (en) Cognitive process code generation
CN105677446A (en) Visual modeling method for distributed simulation platform
CN111913721B (en) Automatic deployment method, device, equipment and storage medium
US10628128B2 (en) Discovery and modeling of deployment actions for multiple deployment engine providers
CN107577521A (en) A kind of virtual resource management method and device
CN108574590A (en) A kind of opening network element method and apparatus and computer readable storage medium
CN109840074A (en) A kind of business generating method, device and the network equipment
Di Nitto et al. An approach to support automated deployment of applications on heterogeneous cloud-hpc infrastructures
Harzenetter et al. Automated generation of management workflows for applications based on deployment models
Cai et al. A pattern-based code transformation approach for cloud application migration
Kalantar et al. Weaver: Language and runtime for software defined environments
JP2011515755A (en) Development method and apparatus for reserved component container base software
Nedeltcheva et al. Challenges towards modeling and generating infrastructure-as-code
US20210271458A1 (en) Managing an app method and system
US20200366743A1 (en) Megamodel driven process enactment
Prehofer et al. From IoT mashups to model-based IoT
Glaser Domain model optimized deployment and execution of cloud applications with TOSCA
CN114356462B (en) A visual inspection method, device, equipment and medium based on flowchart

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180112

RJ01 Rejection of invention patent application after publication