Movatterモバイル変換


[0]ホーム

URL:


CN103793259B - Virtual device generating and deploying method - Google Patents

Virtual device generating and deploying method
Download PDF

Info

Publication number
CN103793259B
CN103793259BCN201310460402.5ACN201310460402ACN103793259BCN 103793259 BCN103793259 BCN 103793259BCN 201310460402 ACN201310460402 ACN 201310460402ACN 103793259 BCN103793259 BCN 103793259B
Authority
CN
China
Prior art keywords
virtual
virtual device
template
virtual machine
deploying
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.)
Active
Application number
CN201310460402.5A
Other languages
Chinese (zh)
Other versions
CN103793259A (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.)
ISOFT INFRASTRUCTURE SOFTWARE CO Ltd
CHINA ELECTRONIC EQUIPMENT SYSTEM ENGINEERING Co Ltd RESEARCH INSTITUTE
Original Assignee
ISOFT INFRASTRUCTURE SOFTWARE CO Ltd
CHINA ELECTRONIC EQUIPMENT SYSTEM ENGINEERING Co Ltd RESEARCH INSTITUTE
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 ISOFT INFRASTRUCTURE SOFTWARE CO Ltd, CHINA ELECTRONIC EQUIPMENT SYSTEM ENGINEERING Co Ltd RESEARCH INSTITUTEfiledCriticalISOFT INFRASTRUCTURE SOFTWARE CO Ltd
Priority to CN201310460402.5ApriorityCriticalpatent/CN103793259B/en
Publication of CN103793259ApublicationCriticalpatent/CN103793259A/en
Application grantedgrantedCritical
Publication of CN103793259BpublicationCriticalpatent/CN103793259B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Landscapes

Abstract

The invention belongs to the technical field of virtual computer environments and particularly relates to a virtual device generating and deploying method. Automatic virtual device generating and deploying are achieved by disintegrating the complete virtual machine image used by a virtual device into a basic substrate and a business device. The method includes the steps of firstly, deploying a virtual computing environment, deploying a physical host, and deploying a management server; secondly, under the support of the virtual computing environment, realizing virtual device generating and deploying through virtual device modules, and respectively setting virtual device modules including a universal template database, a device library, a device generating container, a device assembling container and an executing unit; thirdly, using a front-end user interface to create and generating the virtual device; fourthly, when the virtual device saved in the virtual device library is applied in the virtual computing environment, deploying the virtual device through the front-end user interface. The method has the advantages that the problems that application software submitting, deploying and configuring are difficult and time consuming are solved, the problem that the virtual device in the existing commercial technology is excessively large in size and difficult in issuing, and centralized application issuing, zero configuration deploying and fast issuing can be achieved.

Description

A kind of generation of virtual device and dispositions method
Technical field
The invention belongs to virtual computer environment technical field is and in particular to a kind of generation of virtual device and deployment sideMethod.
Background technology
At present, Intel Virtualization Technology is more and more extensive in the application of IT field.With multiple nucleus system in recent years, cluster, grid withAnd the widespread deployment of cloud computing, advantage in business application for the Intel Virtualization Technology increasingly embodies, and not only reduces IT cost, andAlso enhance security of system and reliability, during virtualized concept is also gradually deep into the daily work of people and lives.
We are primarily referred to as platform virtualization technology at usually said virtualization, by using control program, hide specificThe real physical characteristics of calculating platform, provide the user abstract, the unified, computing environment of simulation, and referred to as virtual machine is virtualThe operating system run in machine is referred to as Client OS;The actual physical machine running virtual machine we term it main frame,The operating system running monitor of virtual machine is referred to as host operating system.
In virtual computation environmental, the exploitation of application software, distribution, the subject matter that runs into is during deployment:
(1) develop difficulty, show that development and application software must take into and take into account multiple platforms, such as Windows, Linux etc.,It is also noted that the different editions of each platform, such as Windows XP, Windows7 etc..
(2) deployment trouble, the installation of application is generally difficult to avoid complex steps, and training difficulty is it is easy to occur problem.
(3) difficult in maintenance, provide an application not only to include the software of application software developer, also include operating system,Data base, middleware, developing instrument collection etc., these factors are all the maintenance of software and upgrading brings risk.
For solving the difficulty of applied software development deployment, in virtual computation environmental, it is possible to use virtual device technology.EmptyIntend device, be a pre-configured software stack, including one or more virtual machines, and wherein each virtual machine can be certainlyRun, and from tape operation system and related application, and its required virtual resource clear and definite.Virtual device and common virtualMachine is compared, and it all has certain advantage at the aspect such as cross-platform, the support to multi-layer framework, pre-configured and pre-optimized.SpecificallyBe embodied in following some:
One is that exploitation is simple.Because developer can limit operating system, the middleware data that application software is runThe version of the softwares such as storehouse, such as SLES 11, WAS 7 and DB2 9.7 etc., are so effectively reduced the scope of exploitation and test, fromAnd greatly reduce application and development and the difficulty tested and complexity.
Two is that deployment is simple.When disposing using virtual device mode, according to first installation operation system, then centre need not be installedPart, data base, the mode finally installing application software is disposed, but direct deployment becomes complete application system, can be byThe original work needing several days shortens to a few minutes, original tens step operations can be simplified to a step.
Three is to safeguard simply.Because whole virtual device is from same software developer (ISV), anySoftware upgrading and technical support, as long as all He one ISV contact is just permissible, simplify related procedure.
Open virtual machine form (OVF, Open Virtualization Format) is promoted to the demand of virtual deviceBirth.Publisher's distributed task management group (DMTF, Distributed Management Task Force) of OVF isOne non-profit-making industry member cooperative association.The design concept major embodiment of OVF this six aspects below:
(1) it is conveniently distributed:Support the safety measures such as certification and the integrity check of virtual device, and software license is providedAdministrative mechanism;
(2) multiple frameworks are supported:Including single virtual machine, multiple virtual machine or multilamellar (Multi-Tier) framework;
(3) cross-platform:OVF agreement does not rely on specific virtual platform, such as VMware or Xen;
(4) open protocol:OVF agreement is the product of cooperation between several big virtualization technology suppliers of industry, and encouragesMore enterprises participate;
(5) expansible:OVF agreement can not only meet existing requirement, and constantly sends out to meet virtual device technologyExhibition and some special needs, it also supports a certain degree of extension;
(6) support localization:The user that those non-English speaking countries can be helped advantageously is used by this.
Following some master files are comprised in one OVF bag:
(1) OVF describes file:Commonly referred to " OVF envelope ", it is an XML document, for defining whole virtual deviceIngredient (such as virtual machine), and the characteristic of each ingredient and resource requirement, suffix entitled " .ovf ";
(2) virtual disk files:The i.e. binary system disk mirroring of virtual machine;
(3) inventory file:Inventory comprises SHA-1 summary (also referred to as " verification and ") of each file in OVF bag, and its effect is trueThe integrity of Bao Bao, suffix entitled " .mf ";
(4) certificate file:Effect is to guarantee the credible of whole virtual device by being digitally signed to inventory fileProperty, with the X.509 certificate form storage of base64 coding, suffix entitled " .cert ";
(5) OVF environment (Environment) file:The XML document of one key assignments (Key-Value) form, for settingWith the configuration safeguarding software on virtual machine, suffix entitled " .env ".
Existing virtual device is a complete application system in itself, has been completed installation and the configuration of software.?A small amount of operating system basic configuration can only be changed, such as IP address, CPU number etc. during deployment.Virtual device technology exists at presentIt is used widely in business software, such as VMware, the company such as IBM, Oracle is all the application software of oneself with virtual deviceForm issue.User by network download virtual device, be deployed in virtual computation environmental, start virtual machine so that it may so thatWith corresponding software it is not necessary to consider physical machine, operating system, run the software and hardware compatibling problems such as lab environment it is not required that enteringThe installation configuration of row software.
Virtual device comprises to run the full content of virtual machine, including operating system, data base, middleware and application in itselfSoftware etc..But at present, the requirement to hard drive space for the operating system constantly becomes big, in the case that such as Windows XP typical case installsNeed hundreds of MB, Windows7 needs about 5~6GB, acceptance of the bid kylin (SuSE) Linux OS needs about 2~3G.Relatively andSpeech, the volume of application software is much smaller, typically not greater than 100MB.Many times, the void that different information systeies is usedIntend device, the operating system being used is identical (being all such as Windows 2003), different is application software part.In this case, if issuing multiple virtual devices, then actually, under identical basic operating system file is repeatedSend out repeatedly.When issuing using network transmission mode, the network bandwidth can be caused to repeat to take the prolongation of data transmission time;?When issuing using CD or portable hard drive mode, hard-disk capacity can be caused waste.
Therefore, need a kind of dispositions method based on virtual device of development badly, for deployment information in virtual computation environmentalThe demand of system, solves device file in existing commercialization virtual device technology excessive, to the transmission bandwidth larger, transmission time of requirementLonger, and the problem that hard-disk capacity wastes.
Content of the invention
The technical problem to be solved in the present invention is to provide a kind of dispositions method based on virtual device, to improve virtual deviceDeployment efficiency, reduce device distribution when disk size and network bandwidth requirement.
In order to realize this purpose, the present invention adopts the technical scheme that:
A kind of generation of virtual device and dispositions method, by the complete virtual machine image that virtual device is used,It is decomposed into foundation formss and two parts of business device, effectively reduce while ensureing virtual device complete function and need to distributeVirtual device file volume, specifically include following steps:
(1) dispose virtual computation environmental
(1.1) dispose physical host:Virtual master with the virtual machine manager based on kernel as virtualization layer installed aboveMachine server OS, and run Agent, with management server communication, realize control function;
(1.2) dispose management server:Run virtualization management tool software in management server, and data base supportsSoftware;
(2) generation and the deployment work(of virtual device under the support of virtual computation environmental, is realized by virtual device moduleCan, it is respectively provided with following virtual device module:
(2.1) common template storehouse:By template generation virtual machine therein;Template is to be mounted with basic operating systemVirtual machine image file;
(2.2) component inventory:It is used for preserving all of virtual device of virtual computation environmental, provide business fortune by virtual deviceRow ability;Each virtual device all installation operation system and service application software in advance, and its required void clear and definiteIntend resource;
(2.3) device generation container:By the template establishment intermediateness virtual machine in device generation container, install and joinPut application software, intermediateness virtual machine is converted to virtual device;Device generation container includes:Command analysis device;Template fillsLoad program;Device generation program;
(2.4) device group packaging container:Virtual device, assembly device, go forward side by side line activating and base are loaded into from component inventory by itThis configuration, is published to the application having configured in virtual computation environmental;Device group packaging container includes:Command analysis device, device solutionAnalysis program, device linkage editor, device activation program, auto configurator, device issues program;
(2.5) performance element:Virtual machine is called come the front-end user interface of virtual computation environmental and other module by itPart runs the interface of module, calls virtual device to run module according to operational order;
(3) utilize front-end user interface, create and generate virtual device:
(3.1) essential information of virtual device is inputted by front-end user interface;
(3.2) use front-end user interface, by performance element, call the command analysis device of device generation container;
(3.3) template load module is loaded into template from common template storehouse, generates interim intermediateness virtual machine;MiddleThe virtual disk files of state virtual machine include 2 parts:Basic templates file and disk differential file, wherein basic templates fileIt is the template in common template storehouse, the difference section of disk differential file record magnetic disk of virtual machine and common template;
(3.4) by virtual machine active program, virtual machine is started, be delivered for use;
(3.5) in intermediate state virtual machine, application software is installed, and carries out functional verification;
(3.6) device generation program saves as virtual device the virtual disk files of intermediate state virtual machine;When stored,Only preserve disk differential file, do not preserve basic templates file.
(4) dispose virtual device:
When the virtual device being saved in component inventory is published to use in virtual computation environmental, by front-end user interfaceExecute mapping out the work of virtual device:
(4.1) pass through front-end user interface, using performance element, call the command analysis device of device group packaging container;
(4.2) after being loaded into virtual device, by device analysis program, virtual device is untied, the virtual machine institute of parsing deviceThe template using;
(4.3) configuration according to device, template assemblies program is loaded into corresponding operating system template from common template storehouse,And it is combined into complete virtual machine image with the disk differential file business device file in device;
(4.4) according to the configuration of device, the resource distribution according to requirement on devices starts virtual machine to device activation program;
(4.5) auto configurator, according to the configuration of user, changes the basic configuration of virtual machine, including IP address, main frameName, user cipher;
(4.6) device issues program is published to the virtual device having activated in virtual computation environmental, provides service.
Further, the automatically generating and dispositions method of a kind of virtual device as above, in step (2.1), virtualComputing environment provide various criterion operating system template it is ensured that non-commensurate deployment virtual computation environmental used in templateIdentical.
Further, the automatically generating and dispositions method of a kind of virtual device as above, in step (2.2), deviceThe source of the virtual device in storehouse includes 2 kinds:Other units issue, generation in this virtual computation environmental.
Further, the automatically generating and dispositions method of a kind of virtual device as above, in step (3.1), virtualThe essential information of device includes title, function declaration.
Further, the automatically generating and dispositions method of a kind of virtual device as above, in step (3.5), userThe installation method installing application software in intermediate state virtual machine is selected from one of following two methods:From section server peaceFill, file is copied directly in virtual machine image.
Technical solution of the present invention is passed through to propose assembled virtual device modelling technique, and using virtual device technology, solving shouldWith the problem that the submission of software, deployment, configuration are difficult time-consuming, and it is excessive to solve virtual device volume in existing commercial technology, underThe problem of hardly possible of feeling sleepy, the concentration being capable of applying issues, and zero configuration is disposed, and Quick thread, thus solve application softwareDeployment issue.And this assembled virtual device technology can be applicable to basic software and application software in virtual computation environmentalDeployment.
Brief description
Fig. 1 is device generation flow chart in technical solution of the present invention;
Fig. 2 is device assembling flow path figure in technical solution of the present invention.
Specific embodiment
With specific embodiment, technical solution of the present invention is described in detail below in conjunction with the accompanying drawings.
The automatically generating and dispositions method, by the complete virtual machine mirror that virtual device is used of a kind of virtual devicePicture, is decomposed into foundation formss and two parts of business device, to realize automatically generating and disposing of virtual device, specifically include withLower step:
(1) dispose virtual computation environmental
(1.1) dispose physical host:Virtual master with the virtual machine manager based on kernel as virtualization layer installed aboveMachine server OS, and run Agent, with management server communication, realize control function;
(1.2) dispose management server:Operate above by virtualization management tool software, and data base's support programs;
(2) generation and the deployment work(of virtual device under the support of virtual computation environmental, is realized by virtual device moduleCan, it is respectively provided with following virtual device module:
(2.1) common template storehouse:By template generation virtual machine therein;Template is to be mounted with basic operating systemVirtual machine image file;Virtual computation environmental provide various criterion operating system template it is ensured that non-commensurate deployment voidUsed in intending computing environment, template is identical.
(2.2) component inventory:It is used for preserving all of virtual device of virtual computation environmental, provide business fortune by virtual deviceRow ability;Each virtual device all installation operation system and service application software in advance, and its required void clear and definiteIntend resource;The source of the virtual device in component inventory includes 2 kinds:Other units issue, generation in this virtual computation environmental's.
(2.3) device generation container:By the template establishment intermediateness virtual machine in device generation container, install and joinPut application software, intermediateness virtual machine is converted to virtual device;
As shown in figure 1, device generation container includes:Command analysis device;Template load module;Device generation program;
(2.4) device group packaging container:Virtual device, assembly device, go forward side by side line activating and base are loaded into from component inventory by itThis configuration, is published to the application having configured in virtual computation environmental;
As shown in Fig. 2 device assembler includes:Command analysis device, device analysis program, device linkage editor, device swashThe program of living, auto configurator, device issues program;
(2.5) performance element:Virtual machine is called come the front-end user interface of virtual computation environmental and other module by itPart runs the interface of module, calls virtual device to run module according to operational order;
(3) utilize front-end user interface, create and generate virtual device:
(3.1) essential information of virtual device is inputted by front-end user interface;The essential information of virtual device includes nameTitle, function declaration.
(3.2) use front-end user interface, by performance element, call the command analysis device of device generation container;
(3.3) template load module is loaded into template from common template storehouse, generates interim intermediateness virtual machine;MiddleThe virtual disk files of state virtual machine include 2 parts:Basic templates file and disk differential file, wherein basic templates fileIt is the template in common template storehouse, the difference section of disk differential file record magnetic disk of virtual machine and common template;
(3.4) by virtual machine active program, virtual machine is started, be delivered for use;
(3.5) in intermediate state virtual machine, application software is installed, and carries out functional verification;
The installation method that user installs application software in intermediate state virtual machine is selected from one of following two methods:FromSection server is installed, file is copied directly in virtual machine image.
(3.6) device generation program saves as virtual device the virtual disk files of intermediate state virtual machine;When stored,Only preserve disk differential file, do not preserve basic templates file;
(4) dispose virtual device:
When the virtual device being saved in component inventory is published to use in virtual computation environmental, by front-end user interfaceExecute mapping out the work of virtual device:
(4.1) pass through front-end user interface, using performance element, call the command analysis device of device group packaging container;
(4.2) after being loaded into virtual device, by device analysis program, virtual device is untied, the virtual machine institute of parsing deviceThe template using;
(4.3) configuration according to device, template assemblies program is loaded into corresponding operating system template from common template storehouse,It is combined into complete virtual machine image with the disk differential file business device file in device;
(4.4) according to the configuration of device, the resource distribution according to requirement on devices starts virtual machine to device activation program;
(4.5) auto configurator, according to the configuration of user, changes the basic configuration of virtual machine, including IP address, main frameName, user cipher;
(4.6) device issues program is published to the virtual device having activated in virtual computation environmental, provides service.

Claims (5)

CN201310460402.5A2013-09-302013-09-30Virtual device generating and deploying methodActiveCN103793259B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201310460402.5ACN103793259B (en)2013-09-302013-09-30Virtual device generating and deploying method

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201310460402.5ACN103793259B (en)2013-09-302013-09-30Virtual device generating and deploying method

Publications (2)

Publication NumberPublication Date
CN103793259A CN103793259A (en)2014-05-14
CN103793259Btrue CN103793259B (en)2017-02-22

Family

ID=50668973

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201310460402.5AActiveCN103793259B (en)2013-09-302013-09-30Virtual device generating and deploying method

Country Status (1)

CountryLink
CN (1)CN103793259B (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105471946A (en)*2014-09-042016-04-06中国石油化工股份有限公司Exploration cloud application service method based on virtual device
CN105045663B (en)*2015-08-242018-12-04马金栋The method and system of rapid deployment virtual machine
CN105045644A (en)*2015-09-172015-11-11上海赛为信息技术有限公司Production method of virtual device program installation package and production method of virtual device
CN105867955A (en)*2015-09-182016-08-17乐视云计算有限公司Deployment system and deployment method of application program
CN105243321B (en)*2015-10-272018-08-14成都卫士通信息产业股份有限公司A kind of cipher machine, realization and working method based on container virtualization technology
CN105677442A (en)*2015-12-282016-06-15湖南蚁坊软件有限公司Deployment method based on container virtualization
CN105893115B (en)*2016-04-052019-08-20上海携程商务有限公司The method and system of differentiation deployment virtual machine
CN106201502B (en)*2016-07-062019-12-06中国银联股份有限公司Cross-host application program deployment method and device
CN107786367B (en)*2016-08-312022-06-17中兴通讯股份有限公司Virtual network element configuration method and device
CN106354547A (en)*2016-08-312017-01-25浪潮电子信息产业股份有限公司Virtual machine creation implementation method based on BS
CN106603725A (en)*2017-02-032017-04-26济南浪潮高新科技投资发展有限公司Implementation method for enterprise cloud service virtual mirror image management service
CN107193635A (en)*2017-05-242017-09-22珠海金山网络游戏科技有限公司A kind of method for realizing virtualization content library, apparatus and system
US10833955B2 (en)*2018-01-032020-11-10International Business Machines CorporationDynamic delivery of software functions
CN110198329B (en)*2018-03-262022-05-13腾讯科技(深圳)有限公司Database deployment method, device and system, electronic equipment and readable medium
CN110290172B (en)*2019-05-172022-02-11平安科技(深圳)有限公司Container application cloning method and device, computer equipment and storage medium
CN112954040B (en)*2021-02-042022-08-12深圳融安网络科技有限公司Method, system, device and storage medium for embedding application release server

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102088367A (en)*2010-12-102011-06-08北京世纪互联工程技术服务有限公司Method for quickly deploying in virtualization environment
CN102129385B (en)*2011-03-222013-08-28无锡城市云计算中心有限公司Management method capable of dynamically expanding management function of virtual machine

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102088367A (en)*2010-12-102011-06-08北京世纪互联工程技术服务有限公司Method for quickly deploying in virtualization environment
CN102129385B (en)*2011-03-222013-08-28无锡城市云计算中心有限公司Management method capable of dynamically expanding management function of virtual machine

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
开放虚拟化格式规范概述;余祥等;《信息技术与标准化》;20120610(第6期);第32-34、42页*
虚拟器件应用研究;程莹等;《电信科学》;20110915(第9期);第48-51页*

Also Published As

Publication numberPublication date
CN103793259A (en)2014-05-14

Similar Documents

PublicationPublication DateTitle
CN103793259B (en)Virtual device generating and deploying method
US9830135B2 (en)Declarative and pluggable business logic for systems management
US10324709B2 (en)Apparatus and method for validating application deployment topology in cloud computing environment
US8510735B2 (en)Runtime environment for virtualizing information technology appliances
US11941452B2 (en)System to generate a deployment plan for a cloud infrastructure according to logical, multi-tier application blueprint
US10942790B2 (en)Automated-application-release-management subsystem that incorporates script tasks within application-release-management pipelines
US9509553B2 (en)System and methods for management virtualization
US8505003B2 (en)System and method for upgrading kernels in cloud computing environments
US10656971B2 (en)Agile framework for vertical application development and delivery
WO2018117966A1 (en)Methods, systems, and portal using software containers for accelerating aspects of data analytics application development and deployment
CN103034527B (en) Hybrid virtualization cloud computing resource optimization control method and system
CN112486466B (en)Method for realizing quick universal basic framework based on micro-service architecture
US10061665B2 (en)Preserving management services with self-contained metadata through the disaster recovery life cycle
US9459859B2 (en)Template derivation for configuration object management
US11301262B2 (en)Policy enabled application-release-management subsystem
US20170163732A1 (en)Inter-task communication within application-release-management pipelines
CN103793242A (en)Quick information system deploying method on basis of virtual computing environment
CN117873639A (en)High-elasticity cloud security service method for power distribution network information infrastructure
Nguyen et al.A generic development and deployment framework for cloud computing and distributed applications
US20180276079A1 (en)System and method for determining the success of a cross-platform application migration
Pratap Yadav et al.A formal approach for Docker container deployment
CN114579250B (en)Method, device and storage medium for constructing virtual cluster
Brogi et al.Self-healing trans-cloud applications
CN108874509A (en)A kind of virtual device simplified generates and dispositions method
WO2022109932A1 (en)Multi-task submission system based on slurm computing platform

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp