CN104156257A - Quick and efficient cloud service disk mirroring management method - Google Patents

Quick and efficient cloud service disk mirroring management method Download PDF

Info

Publication number
CN104156257A
CN104156257A CN201410416945.1A CN201410416945A CN104156257A CN 104156257 A CN104156257 A CN 104156257A CN 201410416945 A CN201410416945 A CN 201410416945A CN 104156257 A CN104156257 A CN 104156257A
Authority
CN
China
Prior art keywords
virtual machine
disk
template
management method
cloud service
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
CN201410416945.1A
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.)
CHENGDU ZHIYUN SCIENCE & TECHNOLOGY Co Ltd
Original Assignee
CHENGDU ZHIYUN SCIENCE & 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 CHENGDU ZHIYUN SCIENCE & TECHNOLOGY Co Ltd filed Critical CHENGDU ZHIYUN SCIENCE & TECHNOLOGY Co Ltd
Priority to CN201410416945.1A priority Critical patent/CN104156257A/en
Publication of CN104156257A publication Critical patent/CN104156257A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a quick and efficient cloud service disk mirroring management method which solves the problems that an existing cloud mainframe disk is low in cloning efficiency and large in network delay and can not meet the requirements of different clients for disk sizes. The efficient and flexible cloud mainframe disk cloning method is characterized by comprising the following steps of (1) establishing a template virtual machine which comprises configuration information and a disk file, wherein the disk file is composed of a system disk, (2) setting the capacity of the system disk in the disk file in a template of the virtual machine to be capable of guaranteeing that the lowest requirement of an operating system for normal operation can be met, (3) cloning the configuration information and the disk file in the template virtual machine to a new virtual machine, wherein a data disk on the new virtual machine is set to be blank. The method has the advantages that consumed time is short, the deploying speed is increased, large-scale, quick and concurrent deployment can be achieved, requirements of the clients can be met flexibly, and the expansibility is high.

Description

A kind of cloud service disk mirroring management method rapidly and efficiently
Technical field
The present invention relates to one cloudservice disk mirroring management method, specifically, relates to a kind of cloud service disk mirroring management method rapidly and efficiently.
Background technology
Along with the develop rapidly of computing machine and Internet technology, various types of computational resources get up by network polymerization, have formed a structure inequality, physical computing resource set in large scale.On such physical resource collection, how easily and effectively by a kind of business model for user provides calculation services as required, be the major issue that needs solve.The appearance of cloud computing concept, for the solution of this problem provides great possibility, it is by infrastructure and the administration detail of the integrated isomerous physical resource such as virtual (Virtualization) technological means, hiding bottom complexity, make obtaining with use can be convenient, fast as the water power in daily life of computational resource, and can accomplish to ask for as required charging according to quantity.
Cloud computing IaaS (Infrastructure as a Service) service mode provides and manages various virtual machines (Virtual Machine for user, and other virtual resources VM), user can be according to oneself need to create beyond the clouds virtual machine, after user creates virtual machine, need to start client operating system (Guest OS) from a virtual machine image (VM image), in most of situation, this virtual machine image is a kind of disk file of specific format.In large-scale calculations environment, for the virtual machine image of number of different types can be provided, improve the efficiency that creates and start virtual machine, virtual machine image file leaves in special storage server conventionally, in virtualized environment, virtual machine image file has been preserved the full detail of virtual hard disk, virtual machine image file due to its flexibly, characteristic easily, apply very extensive.
As shown in Figure 1, in prior art, create virtual machine, as template mirror image by the virtual machine image (disk file) of the template virtual machine on template host, leave in specific store server, then from storage server, template mirror image is transferred on new host, then image file is cloned on remaining host from new host, and then complete a large amount of virtual machine creating, consuming time oversize.
Summary of the invention
The object of the invention is to overcome above-mentioned defect, a kind of cloud service disk mirroring management method that efficiency is high of disposing is provided.
To achieve these goals, the technical solution used in the present invention is as follows:
A cloud service disk mirroring management method rapidly and efficiently, comprises the following steps:
(1) system disc file of the template virtual machine in host generates template virtual machine image, leaves in storage server;
(2) in storage server, template virtual machine image is compressed, generated template mirror image compressed package;
(3) from storage server, template mirror image compressed package is transferred on multiple target hosts simultaneously;
(4) the mirror image compressed package that target host decompress(ion) receives, generates template virtual machine image;
(5) template virtual machine image is created to virtual machine as system disk, thereby realize the establishment of large-scale virtual machine.
Preferably, in described step (2) by 1/10 of original template virtual machine image boil down to size.
Compared with prior art, the present invention has following beneficial effect:
The present invention first compresses template virtual machine image, and simultaneously to multiple target hosts transmission compressed packages, target host receives decompress(ion) after compressed package, then creates virtual machine, compared with prior art, its speed of processing deployment virtual machine significantly promotes.
Brief description of the drawings
Fig. 1 is the principle schematic of prior art.
Fig. 2 is principle schematic of the present invention.
Embodiment
Below in conjunction with drawings and Examples, the invention will be further described, and embodiments of the present invention include but not limited to the following example.
Embodiment
The present embodiment provides a kind of cloud service disk mirroring management method rapidly and efficiently, the method is first compressed template virtual machine image, and simultaneously to multiple target host transmission compressed packages, after decompress(ion) compressed package, target host creates virtual machine again, compared to existing technologies, the present invention processes and disposes the speed of virtual machine and significantly promote.
As shown in Figure 2, specifically, cloud service disk mirroring management method rapidly and efficiently, comprises the following steps:
One, the system disc file of the template virtual machine in host generates template virtual machine image, leaves in storage server;
Two, in storage server, template virtual machine image is compressed, generated template mirror image compressed package;
Three, from storage server, template mirror image compressed package is transferred on multiple target hosts simultaneously;
Four, the mirror image compressed package that target host decompress(ion) receives, generates template virtual machine image;
Five, template virtual machine image is created to virtual machine as system disk, thereby realize the establishment of large-scale virtual machine.
Preferably, in step 2 by 1/10 of original template virtual machine image boil down to size.
In order to make those skilled in the art have and understand more clearly and be familiar with the present invention, describe for example below:
Hypothetical target host has two, is respectively new host 1 and new host 2, first, the system disc file of the template virtual machine in host is generated to template virtual machine image, leaves in storage server; Then template virtual machine image is compressed to 1/10 original size in storage server; Storage server transmits compressed package to new host 1 and new host 2 simultaneously, and new host 1 and new host 2 receive after compressed package, carry out decompress(ion), generate complete template virtual machine image, then template virtual machine image is created to virtual machine as system disk.
According to above-described embodiment, just can realize well the present invention.What deserves to be explained is; under prerequisite based on above-mentioned design concept; for solving same technical matters; even if some that make on architecture basics disclosed in this invention are without substantial change or polishing; the essence of the technical scheme adopting is still the same with the present invention, therefore it also should be in protection scope of the present invention.

Claims (2)

1. a cloud service disk mirroring management method rapidly and efficiently, is characterized in that, comprises the following steps:
(1) system disc file of the template virtual machine in host generates template virtual machine image, leaves in storage server;
(2) in storage server, template virtual machine image is compressed, generated template mirror image compressed package;
(3) from storage server, template mirror image compressed package is transferred on multiple target hosts simultaneously;
(4) the mirror image compressed package that target host decompress(ion) receives, generates template virtual machine image;
(5) template virtual machine image is created to virtual machine as system disk, thereby realize the establishment of large-scale virtual machine.
2. a kind of cloud service disk mirroring management method rapidly and efficiently according to claim 1, is characterized in that, in described step (2) by 1/10 of original template virtual machine image boil down to size.
CN201410416945.1A 2014-08-22 2014-08-22 Quick and efficient cloud service disk mirroring management method Pending CN104156257A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410416945.1A CN104156257A (en) 2014-08-22 2014-08-22 Quick and efficient cloud service disk mirroring management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410416945.1A CN104156257A (en) 2014-08-22 2014-08-22 Quick and efficient cloud service disk mirroring management method

Publications (1)

Publication Number Publication Date
CN104156257A true CN104156257A (en) 2014-11-19

Family

ID=51881763

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410416945.1A Pending CN104156257A (en) 2014-08-22 2014-08-22 Quick and efficient cloud service disk mirroring management method

Country Status (1)

Country Link
CN (1) CN104156257A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105610885A (en) * 2014-11-25 2016-05-25 上海天脉聚源文化传媒有限公司 Method and system for deploying WeChat service
CN105843682A (en) * 2016-03-29 2016-08-10 新浪网技术(中国)有限公司 Method and apparatus for migrating virtual machine to IaaS cloud platform
CN106155759A (en) * 2015-03-26 2016-11-23 华为软件技术有限公司 virtual machine batch creation method and device
WO2018099226A1 (en) * 2016-11-30 2018-06-07 华为技术有限公司 Method, device, and server for managing images across cloud servers
CN108536729A (en) * 2018-02-24 2018-09-14 国家计算机网络与信息安全管理中心 Across the subregion image file synchronous method of one kind and device
CN112068931A (en) * 2020-08-28 2020-12-11 苏州浪潮智能科技有限公司 Method and system for quickly making virtual machine mirror image

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662783A (en) * 2012-03-20 2012-09-12 浪潮电子信息产业股份有限公司 Method for repairing virtual machine under desktop cloud environment
CN102662727A (en) * 2012-04-05 2012-09-12 北京天地云箱科技有限公司 Virtual machine creating method and virtual machine creating device
CN103713941A (en) * 2013-12-20 2014-04-09 汉柏科技有限公司 Method and system for cloning virtual machine mirror images based on qcow2 format
CN103795759A (en) * 2012-10-31 2014-05-14 北京搜狐新媒体信息技术有限公司 Method and system for scheduling virtual machine mirror image file

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662783A (en) * 2012-03-20 2012-09-12 浪潮电子信息产业股份有限公司 Method for repairing virtual machine under desktop cloud environment
CN102662727A (en) * 2012-04-05 2012-09-12 北京天地云箱科技有限公司 Virtual machine creating method and virtual machine creating device
CN103795759A (en) * 2012-10-31 2014-05-14 北京搜狐新媒体信息技术有限公司 Method and system for scheduling virtual machine mirror image file
CN103713941A (en) * 2013-12-20 2014-04-09 汉柏科技有限公司 Method and system for cloning virtual machine mirror images based on qcow2 format

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105610885A (en) * 2014-11-25 2016-05-25 上海天脉聚源文化传媒有限公司 Method and system for deploying WeChat service
CN106155759A (en) * 2015-03-26 2016-11-23 华为软件技术有限公司 virtual machine batch creation method and device
CN106155759B (en) * 2015-03-26 2019-05-28 华为软件技术有限公司 Virtual machine batch creation method and device
CN105843682A (en) * 2016-03-29 2016-08-10 新浪网技术(中国)有限公司 Method and apparatus for migrating virtual machine to IaaS cloud platform
CN105843682B (en) * 2016-03-29 2019-03-01 新浪网技术(中国)有限公司 It is a kind of migration virtual machine to IaaS cloud platform method and device
WO2018099226A1 (en) * 2016-11-30 2018-06-07 华为技术有限公司 Method, device, and server for managing images across cloud servers
US11403146B2 (en) 2016-11-30 2022-08-02 Huawei Cloud Computing Technologies Co., Ltd. Method, apparatus, and server for managing image across cloud servers
CN108536729A (en) * 2018-02-24 2018-09-14 国家计算机网络与信息安全管理中心 Across the subregion image file synchronous method of one kind and device
CN108536729B (en) * 2018-02-24 2022-06-14 国家计算机网络与信息安全管理中心 Cross-partition mirror image file synchronization method and device
CN112068931A (en) * 2020-08-28 2020-12-11 苏州浪潮智能科技有限公司 Method and system for quickly making virtual machine mirror image
CN112068931B (en) * 2020-08-28 2023-05-12 苏州浪潮智能科技有限公司 Method and system for rapidly manufacturing virtual machine mirror image

Similar Documents

Publication Publication Date Title
CN104156257A (en) Quick and efficient cloud service disk mirroring management method
US9529773B2 (en) Systems and methods for enabling access to extensible remote storage over a network as local storage via a logical storage controller
US10013189B1 (en) Storage volume backup management for multi-tenant environments
US9294567B2 (en) Systems and methods for enabling access to extensible storage devices over a network as local storage via NVME controller
US10599457B2 (en) Importing and exporting virtual disk images
US9413683B2 (en) Managing resources in a distributed system using dynamic clusters
US9104645B2 (en) System and method of replicating virtual machines for live migration between data centers
US9582319B2 (en) Migrating virtual machines across network separated data centers
US9569108B2 (en) Dataset replica migration
TWI576705B (en) Utilizing client resources during mobility operations
US9460009B1 (en) Logical unit creation in data storage system
JP2015514270A5 (en)
US20120221744A1 (en) Migrating Virtual Machines with Adaptive Compression
US8813076B2 (en) Virtual machine updates
US9792075B1 (en) Systems and methods for synthesizing virtual hard drives
CN103810020A (en) Virtual machine elastic scaling method and device
CN102801636B (en) The method of cloud computing platform cloud mainframe network bandwidth restriction
US20150177997A1 (en) Creating new virtual machines based on post-boot virtual machine snapshots
CN105278874A (en) Big data platform system and running method therefor
CN102857475A (en) Firewall virtualization processing system
CN103501295B (en) A kind of remote access method based on virtual machine (vm) migration and equipment
WO2020108536A1 (en) Virtual network resource allocation method and system and electronic device
CN106815067A (en) The online moving method of virtual machine, device with I/O virtualizations
CN104484221A (en) Method for taking over existing vCenter cluster by CloudStack
US9436489B2 (en) Virtual machine data replication with shared resources

Legal Events

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

Application publication date: 20141119

RJ01 Rejection of invention patent application after publication