CN102880515A - Method for deploying virtual machine rapidly in smart cloud OS (operating system) - Google Patents

Method for deploying virtual machine rapidly in smart cloud OS (operating system) Download PDF

Info

Publication number
CN102880515A
CN102880515A CN2012103290793A CN201210329079A CN102880515A CN 102880515 A CN102880515 A CN 102880515A CN 2012103290793 A CN2012103290793 A CN 2012103290793A CN 201210329079 A CN201210329079 A CN 201210329079A CN 102880515 A CN102880515 A CN 102880515A
Authority
CN
China
Prior art keywords
virtual machine
snapshot
source
source virtual
operating system
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
CN2012103290793A
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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN2012103290793A priority Critical patent/CN102880515A/en
Publication of CN102880515A publication Critical patent/CN102880515A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides a method for deploying a virtual machine rapidly in a smart cloud OS (operating system). In the method, terminal Linux commands and a mode of homologous snapshots are used for deploying the virtual machine rapidly. The invention has the following technical scheme as follows: on the smart cloud OS, at first, a source virtual machine is created, an operating system is installed in the source virtual machine, application software is deployed in the system, then the source virtual machine is snapshot, multiple copies of a snapshot file are copied, corresponding UUID (universally unique identifier) numbers are separately given to the snapshot files through executing the corresponding commands in distributed storage, the snapshots of the source virtual machine are set as the mirror images of other virtual machines, and thus, the same rapid deployment of the virtual machines is finished through the method of homologous mirror images. By using the method, work content is simplified, work risks are avoided, and the disk space is greatly saved as the homologous files are used.

Description

Virtual machine quick deployment method among a kind of sea of clouds OS
Technical field
The present invention relates to the relevant (SuSE) Linux OS application facet of computer technology, specifically virtual machine quick deployment method among a kind of sea of clouds OS.
Background technology
In recent years; rapid development of information technology; the arrival in cloud computing epoch; impel large-scale application to move to cloud computing platform; sea of clouds OS is as the representative products of cloud computing, and when the application deployment environment, often following problem can occur: a plurality of virtual machines need to be disposed identical application; comprise installing operating system and application software etc.; this is undoubtedly a very loaded down with trivial details job for the enforcement personnel, and the one, workload is large; moreover; that repeats has too much work, and in the process that repeats to dispose, very possible because operator's carelessness; join so that the mispairing leakage appears in certain parameter or certain configuration file, thereby such-and-such problem occurs.
Summary of the invention
The present invention is directed in present a plurality of deploying virtual machine same operation system or the application software process workload problem such as greatly, easily make mistakes, virtual machine quick deployment method among a kind of sea of clouds OS is provided.
The method of the invention utilizes the mode of terminal Linux order and homology snapshot to realize the rapid deployment virtual machine, its technical scheme that solve the technical problem employing is as follows: on sea of clouds OS, at first create a source virtual machine, to its installing operating system, and in system, dispose application software, then this source virtual machine is done snapshot, snapshot document is copied many parts, by carrying out the related command of distributed storage, give respectively the corresponding UUID of many snapshot documents number, the snapshot of source virtual machine is set to the mirror image of other virtual machines, finishes so the identical rapid deployment of each virtual machine by the method for homology mirror image.
Concrete steps are as follows
Setting source is source virtual machine, and snapshot is the snapshot of source virtual machine, and target is the target virtual machine;
1) at first create a source virtual machine source, to its installing operating system, and dispose application software in system, source → snapshot is the first step, and this source virtual machine is done a snapshot, forms snapshot document;
2) snapshot → snapshot is second step, and source virtual machine snapshot snapshot is copied many parts;
3) snapshot → target was the 3rd step, by carrying out the related command of distributed storage, give respectively the corresponding UUID of many snapshot number, the snapshot of the mode source virtual machine by the homology mirror image is set to the mirror image of each respective objects virtual machine, has so just realized the identical rapid deployment of each dummy machine system.
The invention has the beneficial effects as follows: the whole process of the method only needs simple linux order to realize, is exactly specifically to utilize terminal linux instruction to carry out the identical rapid deployment that the operations such as data Replica and data transmission realize a plurality of dummy machine systems.Snapshot can carry out online data backup and recovery as advanced at present technological means.
The present invention successfully is incorporated into the technology of snapshot in the middle of the application deployment work, and loaded down with trivial details mapping out the work is converted into simple file copy, data transmission, simplify action, evaded the work risk, simultaneously, owing to use the file of homology, also greatly saved disk space.
Description of drawings
Accompanying drawing 1 is the synoptic diagram of virtual machine quick deployment method among the sea of clouds OS.
Embodiment
By reference to the accompanying drawings virtual machine quick deployment method among a kind of sea of clouds OS of the present invention is described further.
The invention provides the method that a kind of mode of utilizing the homology snapshot realizes rapid deployment virtual machine and application.The method at first creates a source virtual machine, installing operating system, and in system, dispose application software, then, do snapshot with this source virtual machine, by carrying out the related command of distributed storage, the snapshot of source virtual machine is set to the mirror image of other virtual machines, based on this kind method, can make multi-dummy machine use the homology mirror image, use thereby reach rapid deployment, save the purpose of storage space, this is undoubtedly a time saving and energy saving space-efficient shortcut for the application deployment work of considerable scale.
Concrete steps: setting source is source virtual machine, and target is the target virtual machine; On sea of clouds OS, at first create a source virtual machine source, to its installing operating system, and in system, dispose application software, source → snapshot is the first step among the figure, and this source virtual machine is done a snapshot, forms snapshot document; Snapshot → snapshot is second step among the figure, and source virtual machine snapshot snapshot is copied many parts; Snapshot → target was the 3rd step among the figure, by carrying out the related command of distributed storage, give respectively the corresponding UUID of many snapshot number, the snapshot of the mode source virtual machine by the homology mirror image is set to the mirror image of each respective objects virtual machine, has so just realized the identical rapid deployment of each dummy machine system.The whole process of the method only needs simple linux order to realize, is exactly specifically to utilize terminal linux instruction to carry out the identical rapid deployment that the operations such as data Replica and data transmission realize a plurality of dummy machine systems.
Embodiment:
On sea of clouds OS, at first create a source virtual machine, to its installing operating system, and in system, dispose application software, this source virtual machine is done snapshot, carry out copying of homology for the snapshot document that generates, by carrying out the related command of distributed storage, the snapshot document of this source virtual machine is set to the mirror image of each target virtual machine.After this, when target virtual machine activation reading out data, obtain the time point information of this source virtual machine snapshot, then read the source virtual machine data according to this information, can start.For the increment (inputing or outputing of data) of the virtual machine change after starting, storage in addition can guarantee the personal settings of using.Use the method identical dummy machine system of rapid deployment in sea of clouds os, both simplified action, saved again disk space.
Except the described technical characterictic of instructions, be the known technology of those skilled in the art.

Claims (1)

1. virtual machine quick deployment method among the sea of clouds OS, it is characterized in that utilizing the mode of terminal Linux order and homology snapshot to realize the rapid deployment virtual machine, comprise following content: on sea of clouds OS, at first create a source virtual machine, to its installing operating system, and in system, dispose application software, then this source virtual machine is done snapshot, snapshot document is copied many parts, by carrying out the related command of distributed storage, to give respectively the corresponding UUID of many snapshot documents number, the snapshot of source virtual machine is set to the mirror image of other virtual machines, finish so the identical rapid deployment of each virtual machine by the method for homology mirror image, its concrete steps comprise:
Setting source is source virtual machine, and snapshot is the snapshot of source virtual machine, and target is the target virtual machine;
1) at first create a source virtual machine source, to its installing operating system, and dispose application software in system, source → snapshot is the first step, and this source virtual machine is done a snapshot, forms snapshot document;
2) snapshot → snapshot is second step, and source virtual machine snapshot snapshot is copied many parts;
3) snapshot → target was the 3rd step, by carrying out the related command of distributed storage, give respectively the corresponding UUID of many snapshot number, the snapshot of the mode source virtual machine by the homology mirror image is set to the mirror image of each respective objects virtual machine, has so just realized the identical rapid deployment of each dummy machine system.
CN2012103290793A 2012-09-07 2012-09-07 Method for deploying virtual machine rapidly in smart cloud OS (operating system) Pending CN102880515A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012103290793A CN102880515A (en) 2012-09-07 2012-09-07 Method for deploying virtual machine rapidly in smart cloud OS (operating system)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012103290793A CN102880515A (en) 2012-09-07 2012-09-07 Method for deploying virtual machine rapidly in smart cloud OS (operating system)

Publications (1)

Publication Number Publication Date
CN102880515A true CN102880515A (en) 2013-01-16

Family

ID=47481853

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012103290793A Pending CN102880515A (en) 2012-09-07 2012-09-07 Method for deploying virtual machine rapidly in smart cloud OS (operating system)

Country Status (1)

Country Link
CN (1) CN102880515A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440180A (en) * 2013-08-28 2013-12-11 浪潮电子信息产业股份有限公司 Cloud sea OS virtualization platform backup and recovering method
CN103491150A (en) * 2013-09-13 2014-01-01 浪潮电子信息产业股份有限公司 Multi-type storage mixed utilization method based on OS
CN103713952A (en) * 2013-12-17 2014-04-09 创新科存储技术(深圳)有限公司 Virtual disk distributed-memory method based on UFS (Universal Flash Storage)
CN103729223A (en) * 2013-12-31 2014-04-16 曙光云计算技术有限公司 PAAS platform quick deployment and application method and system
CN104468734A (en) * 2014-11-18 2015-03-25 国云科技股份有限公司 Virtual cluster expanding method based on cloning
CN106603725A (en) * 2017-02-03 2017-04-26 济南浪潮高新科技投资发展有限公司 Implementation method for enterprise cloud service virtual mirror image management service
WO2017076180A1 (en) * 2015-11-06 2017-05-11 中兴通讯股份有限公司 Virtual machine upgrading method and device
CN106775801A (en) * 2016-11-09 2017-05-31 广东浪潮大数据研究有限公司 A kind of software batch dispositions method, device and system
CN106911500A (en) * 2017-02-20 2017-06-30 北京百度网讯科技有限公司 The collocation method of physical machine, device and physical machine
CN109375874A (en) * 2018-09-28 2019-02-22 深信服科技股份有限公司 A kind of call method of distributed storage, device and equipment
CN110134330A (en) * 2019-04-22 2019-08-16 国云科技股份有限公司 Cloud disk migratory system and method under a kind of cloudy environment
CN111885177A (en) * 2020-07-28 2020-11-03 杭州绳武科技有限公司 Biological information analysis cloud computing method and system based on cloud computing technology

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7356679B1 (en) * 2003-04-11 2008-04-08 Vmware, Inc. Computer image capture, customization and deployment
CN101840346A (en) * 2009-12-30 2010-09-22 北京世纪互联宽带数据中心有限公司 Method and system for deploying cloud host computer
CN102033755A (en) * 2009-09-30 2011-04-27 国际商业机器公司 Method and system for running virtual machine mirror image
US20120005673A1 (en) * 2010-07-02 2012-01-05 International Business Machines Corporation Storage manager for virtual machines with virtual storage
CN102652308A (en) * 2009-12-13 2012-08-29 国际商业机器公司 Efficient loading of data into memory of computing system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7356679B1 (en) * 2003-04-11 2008-04-08 Vmware, Inc. Computer image capture, customization and deployment
CN102033755A (en) * 2009-09-30 2011-04-27 国际商业机器公司 Method and system for running virtual machine mirror image
CN102652308A (en) * 2009-12-13 2012-08-29 国际商业机器公司 Efficient loading of data into memory of computing system
CN101840346A (en) * 2009-12-30 2010-09-22 北京世纪互联宽带数据中心有限公司 Method and system for deploying cloud host computer
US20120005673A1 (en) * 2010-07-02 2012-01-05 International Business Machines Corporation Storage manager for virtual machines with virtual storage

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
董小社等: "基于映像的集群部署系统设计与实现", 《计算机工程》 *

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440180A (en) * 2013-08-28 2013-12-11 浪潮电子信息产业股份有限公司 Cloud sea OS virtualization platform backup and recovering method
CN103491150A (en) * 2013-09-13 2014-01-01 浪潮电子信息产业股份有限公司 Multi-type storage mixed utilization method based on OS
CN103713952A (en) * 2013-12-17 2014-04-09 创新科存储技术(深圳)有限公司 Virtual disk distributed-memory method based on UFS (Universal Flash Storage)
CN103713952B (en) * 2013-12-17 2017-02-15 创新科存储技术(深圳)有限公司 Virtual disk distributed-memory method based on UFS (Universal Flash Storage)
CN103729223A (en) * 2013-12-31 2014-04-16 曙光云计算技术有限公司 PAAS platform quick deployment and application method and system
CN104468734A (en) * 2014-11-18 2015-03-25 国云科技股份有限公司 Virtual cluster expanding method based on cloning
WO2017076180A1 (en) * 2015-11-06 2017-05-11 中兴通讯股份有限公司 Virtual machine upgrading method and device
CN106775801A (en) * 2016-11-09 2017-05-31 广东浪潮大数据研究有限公司 A kind of software batch dispositions method, device and system
CN106603725A (en) * 2017-02-03 2017-04-26 济南浪潮高新科技投资发展有限公司 Implementation method for enterprise cloud service virtual mirror image management service
CN106911500A (en) * 2017-02-20 2017-06-30 北京百度网讯科技有限公司 The collocation method of physical machine, device and physical machine
CN106911500B (en) * 2017-02-20 2020-12-04 北京百度网讯科技有限公司 Physical machine configuration method and device and physical machine
CN109375874A (en) * 2018-09-28 2019-02-22 深信服科技股份有限公司 A kind of call method of distributed storage, device and equipment
CN110134330A (en) * 2019-04-22 2019-08-16 国云科技股份有限公司 Cloud disk migratory system and method under a kind of cloudy environment
CN110134330B (en) * 2019-04-22 2022-07-12 国云科技股份有限公司 Cloud disk migration system and method in multi-cloud environment
CN111885177A (en) * 2020-07-28 2020-11-03 杭州绳武科技有限公司 Biological information analysis cloud computing method and system based on cloud computing technology
CN111885177B (en) * 2020-07-28 2023-05-30 杭州绳武科技有限公司 Biological information analysis cloud computing method and system based on cloud computing technology

Similar Documents

Publication Publication Date Title
CN102880515A (en) Method for deploying virtual machine rapidly in smart cloud OS (operating system)
CN110088733B (en) Storage layer-based orchestration of virtual machine migration
US9552405B1 (en) Methods and apparatus for recovery of complex assets in distributed information processing systems
CN103970585B (en) Create the method and device of virtual machine
US9201736B1 (en) Methods and apparatus for recovery of complex assets in distributed information processing systems
EP2731013B1 (en) Backing up method, device, and system for virtual machine
US8738883B2 (en) Snapshot creation from block lists
CN104685476B (en) For restoring the method, system and product of virtual machine
EP3008600B1 (en) Virtual machine backup from storage snapshot
CN103514023B (en) The method and system that a kind of virtual machine off-line automatic software is installed
EP2955637B1 (en) Method, system and apparatus for generating snapshot
US9377964B2 (en) Systems and methods for improving snapshot performance
US20140351813A1 (en) Runtime virtual process creation for load sharing
CN104298559A (en) Method and device for virtualizing physical host system
CN102937909B (en) A kind of method of disposing and upgrading linux system
US20130282676A1 (en) Garbage collection-driven block thinning
KR101673299B1 (en) Operating system recovery method and apparatus, and terminal device
CN106406979A (en) Method of migrating virtual machine of XenServer platform to KVM virtual platform
JP4840670B2 (en) Virtual machine deployment acceleration system, method and program thereof
CN105183516A (en) Method for automatically installing RAID card FW and KUX operating system
CN105138431A (en) Linux system back-up and restoring method
US10642511B2 (en) Continuous data protection storage media using smart solid state drives
CN103678036A (en) Backup method based on virtual machine operation information data finding
CN107229509A (en) The creation method of container type virtual machine under a kind of platform of soaring
US20170012825A1 (en) Live partition mobility using ordered memory migration

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130116

WD01 Invention patent application deemed withdrawn after publication