CN102981868A - Method of achieving virtual machine batch deployment by utilizing cloud computing - Google Patents
Method of achieving virtual machine batch deployment by utilizing cloud computing Download PDFInfo
- Publication number
- CN102981868A CN102981868A CN201210435604XA CN201210435604A CN102981868A CN 102981868 A CN102981868 A CN 102981868A CN 201210435604X A CN201210435604X A CN 201210435604XA CN 201210435604 A CN201210435604 A CN 201210435604A CN 102981868 A CN102981868 A CN 102981868A
- Authority
- CN
- China
- Prior art keywords
- virtual machine
- mirror image
- software
- increment mirror
- virtual machines
- 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
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses a method of achieving virtual machine batch deployment by utilizing cloud computing. The method of achieving the virtual machine batch deployment by utilizing the cloud computing comprises the following steps: acquiring an initial incremental mirror-image X and an incremental mirror-image Y after installation of software of a virtual machine; comparing the incremental mirror-image X and the incremental mirror-image Y; and storing the different incremental mirror-image on a cloud platform. In the process of installing the same software on multiple virtual machines, a user can modify the multiple virtual machines respectively according to the different incremental mirror-image. With the method, the cloud platform can successfully and quickly install software for the multiple virtual machines and the user does not need to start the virtual machines one by one and install the same software on the virtual machines one by one, in addition, the successfully-installed software is used as a formwork, the software is duplicated on other virtual machines, and therefore reliability of software installation can be guaranteed, and the mistakes existing in the process of multiple installation by the user because of the number of parameters is large for some software which needs setting the parameters carefully and strictly in the existing environment can be avoided. With the method of achieving the virtual machine batch deployment by utilizing the cloud computing, the mistakes can be avoided.
Description
Technical field
The invention belongs to the virtual machine field, particularly a kind of cloud computing is in the method that realizes that virtual machine is disposed in batches.
Background technology
Cloud computing (Cloud Computing) is that the product that the traditional calculations machine technology such as (Utility Computing), the network storage (Network Storage Technologies), virtual (Virtualization), load balancing (Load Balance) and network technical development merge is calculated in grid computing (Grid Computing), Distributed Calculation (Distributed Computing), parallel computation (Parallel Computing), effectiveness.It is intended to by network the relatively low computational entity of a plurality of costs is integrated into a perfect system with powerful calculating ability, and by SaaS(Software-as-a-service), PaaS(Platform-as-a-Service), IaaS(Infrastructure as a Service), MSP(Managed Service Provider) etc. advanced person's business model this powerful computing power is distributed in terminal user's hand.
As available from the above, cloud computing be based upon virtual on, its realization relies on virtual technology as the basis.In the prior art, the virtual machine that creates out in the general cloud is comprised of reference mirror picture and increment mirror image.With the virtual machine instance of A and B, the virtual machine of A and B all is the reference mirror picture that comes from the same Windows of comprising XP system, sudden peal of thunder software, and therefore at the beginning when newly-built virtual machine, the virtual machine of A and B is living.When A makes different operations at virtual machine respectively with B, the virtual machine of A and B will produce different increment mirror images and record these newly-increased operations.Therefore after the operation, the virtual machine of A is comprised of the common reference mirror picture that uses of A, B and the increment mirror image of A.With respect to the reference mirror picture, the increment mirror image is generally very little.
In actual applications, generally virtual machine being realized that the way of deployment software is to open one by one the virtual machine of wanting deployment software in batches, then is the virtual machine mounting software one by one.Need to repeat like this to do a large amount of identical mounting software work, consuming time huge, do not meet the characteristic that cloud computing reduces maintenance.
Summary of the invention
In order to overcome the deficiencies in the prior art, the present invention proposes a kind of cloud computing in the method that realizes that virtual machine is disposed in batches, can save workload when virtual machine is installed.
To achieve these goals, technical scheme of the present invention is:
A kind of cloud computing is in the method that realizes that virtual machine is disposed in batches, comprise and obtain the initial increment mirror image X of virtual machine and the increment mirror image Y behind the mounting software, compare increment mirror image X and increment mirror image Y, its difference increment mirror image is kept on the cloud platform, when many virtual machines are installed same software, respectively many virtual machines are made amendment according to above-mentioned difference increment mirror image.
Further, said method specifically may further comprise the steps:
1) a newly-built virtual machine on the cloud platform obtains its initial increment mirror image X;
2) mounting software A on virtual machine obtains the increment mirror image Y of virtual machine after the installation;
3) compare increment mirror image X and increment mirror image Y, the increment mirror image that changes behind the mounting software A is installed record M as software be stored on the cloud platform;
When 4) user was to many virtual machines batch mounting software A, the cloud platform was opened many increment mirror image;
5) the cloud platform is installed the file of increment mirror image in the content modification step 5) that records M according to software.
Further, above-mentioned increment mirror image is the file that the record virtual machine changes on the basis of reference mirror picture.
Beneficial effect of the present invention:
1) adopt method of the present invention, the cloud platform can need not that the user starts virtual machine by platform and be that virtual machine is installed same software and can success be rapidly many virtual machine mounting softwares by platform.
2) adopt method of the present invention, owing to be to be used as template with the example that software is successfully installed, again these installations are copied on other virtual machine, therefore can guarantee the reliability that software is installed.Overcome in existing environment, had some to need software careful, strict parameters, because parameter is numerous, so the user might make mistakes in the process of repeatedly installing.Adopt method of the present invention, can avoid this mistake.
Description of drawings
Fig. 1 is process flow diagram of the present invention.
Embodiment
As shown in Figure 1, suppose and will realize disposing certain software A in batches to virtual machine that the method that virtual machine is disposed in batches may further comprise the steps:
1) a newly-built virtual machine on the cloud platform obtains its initial increment mirror image X;
2) mounting software A on virtual machine, acquisition installs the increment mirror image Y of the virtual machine behind the software A;
3) compare increment mirror image X and increment mirror image Y, the increment mirror image that changes behind the mounting software A is installed record M as software be stored on the cloud platform;
When 4) user was to N platform virtual machine batch mounting software A, the cloud platform was opened the increment mirror image of N platform;
5) the cloud platform is installed the file of increment mirror image in the content modification step 5) that records M according to software;
6) software A successfully is installed on the N platform virtual machine.
Suppose and to realize disposing in batches Winzip software to virtual machine; The course of work of present embodiment: at first create a virtual machine at the cloud platform, obtain the initial increment mirror image of this virtual machine.Such as a new virtual machine, a newly-built text " account 1 " is as mirror image X first; Next mounting software Winzip on virtual machine, obtain the increment mirror image Y of virtual machine, increment mirror image Y comprises the All Files of Winzip, Y revises virtual machine on the basis of X, the information that upper text " account 1 " arranged above the Y, such as this installation of Winzip is coiled to D, then Y comprises the file of all newly-increased Winzip, and to the modification of windows registry, such as file association, the file of every zip suffix is all given tacit consent to winzip and is opened, compare X and Y, the difference increment mirror image that obtains both is installed record M as software and is stored on the cloud platform, and the user is to 15 platform virtual machines in batches during mounting software Winzip again, respectively the cloud platform open 15 virtual machines the increment mirror image, increment image file according to 15 of the content modifications that record M is installed, software A successfully can be installed on 15 virtual machines, when these virtual machines were activated again, the user just can use software Winzip at these virtual machines.
The increment mirror image is the file that the record virtual machine changes on the basis of reference mirror picture.Because the essence of mounting software is the copying of file, the modification of file and the modification (Windows operating system) of registration table, therefore get off by the difference of contrast increment mirror image Y and increment mirror image X and these change records, make same modification at the delta file of other virtual machines again, concrete way is with the mode that reads binary file two files to be read the program the inside, and then compares.Concrete process just is similar to the contrast of " hello " and " how do you do ", is can contrast soon many one " ", then this " " word is write in the alternative document.Just can finish the operation at this virtual machine mounting software A.
Claims (3)
1. a cloud computing is in the method that realizes that virtual machine is disposed in batches, it is characterized in that comprising and obtain the initial increment mirror image X of virtual machine and the increment mirror image Y behind the mounting software, compare increment mirror image X and increment mirror image Y, its difference increment mirror image is kept on the cloud platform, when many virtual machines are installed same software, respectively many virtual machines are made amendment according to above-mentioned difference increment mirror image.
2. described cloud computing is characterized in that in the method that realizes that virtual machine is disposed in batches concrete steps are as follows according to claim 1:
1) a newly-built virtual machine on the cloud platform obtains its initial increment mirror image X;
2) mounting software A on virtual machine obtains the increment mirror image Y of virtual machine after the installation;
3) compare increment mirror image X and increment mirror image Y, the increment mirror image that changes behind the mounting software A is installed record M as software be stored on the cloud platform;
When 4) user was to many virtual machines batch mounting software A, the cloud platform was opened respectively the increment mirror image of many virtual machines;
5) the cloud platform is installed the file of increment mirror image in the content modification step 4) that records M according to software.
3. described cloud computing is characterized in that the file that described increment mirror image changes on the basis of reference mirror picture for the record virtual machine in the method that realizes that virtual machine is disposed in batches according to claim 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210435604XA CN102981868A (en) | 2012-11-05 | 2012-11-05 | Method of achieving virtual machine batch deployment by utilizing cloud computing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210435604XA CN102981868A (en) | 2012-11-05 | 2012-11-05 | Method of achieving virtual machine batch deployment by utilizing cloud computing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102981868A true CN102981868A (en) | 2013-03-20 |
Family
ID=47855930
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210435604XA Pending CN102981868A (en) | 2012-11-05 | 2012-11-05 | Method of achieving virtual machine batch deployment by utilizing cloud computing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102981868A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106101242A (en) * | 2016-06-24 | 2016-11-09 | 深圳前海微众银行股份有限公司 | The construction method of block chain cloud service platform and device |
CN106775801A (en) * | 2016-11-09 | 2017-05-31 | 广东浪潮大数据研究有限公司 | A kind of software batch dispositions method, device and system |
CN110737442A (en) * | 2019-09-24 | 2020-01-31 | 厦门网宿有限公司 | edge application management method and system |
US11057471B2 (en) | 2019-09-24 | 2021-07-06 | Xiamen Wangsu Co., Ltd. | Edge application management method and system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102402446A (en) * | 2011-11-22 | 2012-04-04 | 成都市华为赛门铁克科技有限公司 | Method and device for installing application software |
US20120265959A1 (en) * | 2003-04-11 | 2012-10-18 | Vmware, Inc. | System and method for converting a physical disk to a virtual disk |
-
2012
- 2012-11-05 CN CN201210435604XA patent/CN102981868A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120265959A1 (en) * | 2003-04-11 | 2012-10-18 | Vmware, Inc. | System and method for converting a physical disk to a virtual disk |
CN102402446A (en) * | 2011-11-22 | 2012-04-04 | 成都市华为赛门铁克科技有限公司 | Method and device for installing application software |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106101242A (en) * | 2016-06-24 | 2016-11-09 | 深圳前海微众银行股份有限公司 | The construction method of block chain cloud service platform and device |
CN106101242B (en) * | 2016-06-24 | 2019-08-06 | 深圳前海微众银行股份有限公司 | The construction method and device of block chain cloud service platform |
CN106775801A (en) * | 2016-11-09 | 2017-05-31 | 广东浪潮大数据研究有限公司 | A kind of software batch dispositions method, device and system |
CN110737442A (en) * | 2019-09-24 | 2020-01-31 | 厦门网宿有限公司 | edge application management method and system |
CN110737442B (en) * | 2019-09-24 | 2021-06-22 | 厦门网宿有限公司 | Edge application management method and system |
US11057471B2 (en) | 2019-09-24 | 2021-07-06 | Xiamen Wangsu Co., Ltd. | Edge application management method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102999369B (en) | The method and device of virtual machine upgrading | |
CN105204913A (en) | Method and system for running Linux application on Android operating system and system | |
CN104732151A (en) | Remote safety batch BIOS updating method under Linux system | |
CN104113576A (en) | Method and device for updating client | |
CN102981868A (en) | Method of achieving virtual machine batch deployment by utilizing cloud computing | |
CN104216741A (en) | Android plug-in implementation method and device based on APK (Android Package) dynamic loading and interaction method | |
CN102279766A (en) | Method and system for concurrently simulating processors and scheduler | |
CN107145359A (en) | A kind of BMC changes the optimization method of BIOS option | |
CN103514038A (en) | Method and system for smoothly shutting down virtual system | |
CN106095439A (en) | A kind of information processing method and electronic equipment | |
CN102419753B (en) | Information processing equipment, information processing method and information processing system | |
CN103902302A (en) | Software installation system and method for virtual machine | |
CN104881311A (en) | Method and apparatus for judging version compatibility | |
CN110795162B (en) | Method and device for generating container mirror image file | |
CN103927215A (en) | kvm virtual machine scheduling optimization method and system based on memory disk and SSD disk | |
CN103678007A (en) | Method and system for deploying software in batches | |
CN107621946B (en) | Software development method, device and system | |
CN107066281B (en) | Method for rapidly loading large data group based on DSS data system | |
CN103577200A (en) | Server updating method | |
Liu et al. | Scheduling parallel jobs using migration and consolidation in the cloud | |
CN112486863A (en) | Software virtual simulation method and device and electronic equipment | |
CN104079540A (en) | Method, device and system of updating application as well as user equipment | |
CN111274667A (en) | Cross-scale material calculation software integrated calculation system and method | |
CN105389495A (en) | Method for externally resetting password of windows virtual machine | |
CN107291439B (en) | Target incremental data construction method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20130320 |