CN106775957A - A kind of virtual machine snapshot implementation method - Google Patents
A kind of virtual machine snapshot implementation method Download PDFInfo
- Publication number
- CN106775957A CN106775957A CN201710041600.6A CN201710041600A CN106775957A CN 106775957 A CN106775957 A CN 106775957A CN 201710041600 A CN201710041600 A CN 201710041600A CN 106775957 A CN106775957 A CN 106775957A
- Authority
- CN
- China
- Prior art keywords
- virtual machine
- snapshot
- built
- newly
- configuration
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The present invention discloses a kind of virtual machine snapshot implementation method, is related to Intel Virtualization Technology, and virtual machine snapshot is realized using vSphere SDK, and thus virtual machine snapshot carries out virtual machine creating;Mainly include:Snapshot is created and creates two processes of virtual machine by snapshot;The process of snapshot is generated by existing virtual machine, the virtual machine snapshot for being created is supported by the new virtual machine of its establishment and carries out main frame configuration setting;New virtual machine is set up based on snapshot data and newly-built virtual machine is configured according to the configuration parameter of setting.The present invention proposes brand-new snapshot implementing method, based on the virtual machine snapshot that the present invention sets up, new virtual machine can be created under VMware vSphere virtual platforms, and virtual machine and operating system configuration setting can be carried out, with preferable practicality and versatility.
Description
Technical field
The present invention relates to Intel Virtualization Technology, specifically a kind of virtual machine snapshot implementation method.
Background technology
In recent years, calculate virtualization and realize popularization substantially in the data center field of every profession and trade, in data are modernized
In the heart, virtual machine more and more instead of the role of traditional hardware host, as carrying operation system and informationization
The calculating core of system.Virtual machine has many advantages compared to conventional hardware main frame, wherein it is one that virtual machine snapshot technology can be used
The important advantage of item, the current soft and hardware state of the recordable virtual machine of virtual machine snapshot, configuration information and service data, in industry
Business is when needing, and the state that can carry out virtual machine by snapshot is recovered or to set up new state, data, configuration identical by snapshot virtual
Machine provides service.
VMware vSphere virtual platforms occupy city higher as the virtual platform of main flow in virtualization field
Field occupation rate, vSphere virtual platforms provide virtual machine snapshot function, can be realized based on snapshot to virtual using the function
Machine carries out state reduction, but the platform does not support that creating new virtual machine line parameter of going forward side by side by snapshot is set, and this is to virtualization
The management that the daily management of platform is particularly the virtual platform for calculating elastic telescopic demand causes great difficulty.
The content of the invention
Demand and weak point of the present invention for the development of current technology, there is provided a kind of virtual machine snapshot implementation method.
A kind of virtual machine snapshot implementation method of the present invention, the technical scheme for solving above-mentioned technical problem use is as follows:
A kind of virtual machine snapshot implementation method, virtual machine snapshot is realized using vSphere SDK, and thus virtual machine snapshot is carried out
Virtual machine creating;Mainly include:Snapshot is created and creates two processes of virtual machine by snapshot;
Wherein, it is the process that snapshot is generated by existing virtual machine that the snapshot is created, and the virtual machine snapshot for being created is supported by it
Create new virtual machine and carry out main frame configuration and set;The snapshot is created includes that virtual machine information is extracted, virtual machine clone is
Template, snapshot data generate three steps;
Described is to set up new virtual machine and according to the configuration parameter for setting to new based on snapshot data by snapshot establishment virtual machine
The process that the virtual machine built is configured;It is described to be included by snapshot establishment virtual machine:Newly-built virtual-machine data prepares, is given birth to by snapshot
Into new virtual machine, newly-built virtual machine configuration, three steps are set.
A kind of virtual machine snapshot implementation method of the present invention has an advantageous effect in that compared with prior art:The present invention
Do not support to create virtual machine by snapshot for vSphere virtual platforms and configure the problem of setting, it is proposed that be brand-new
Snapshot implementing method, based on the virtual machine snapshot that the present invention sets up, can create under VMware vSphere virtual platforms
New virtual machine, and virtual machine and operating system configuration setting can be carried out, with preferable practicality and versatility.
Brief description of the drawings
Accompanying drawing 1 is the flow chart of the virtual machine snapshot implementation method.
Specific embodiment
To make the object, technical solutions and advantages of the present invention become more apparent, below in conjunction with specific embodiment, to this hair
A kind of bright virtual machine snapshot implementation method is further described.
The problem of virtual machine, present invention profit can not be created according to particular snapshot for VMware vSphere virtual platforms
A kind of virtual machine snapshot implementation method is devised with vSphere SDK, the virtual machine snapshot created using the method can be realized, by
This virtual machine snapshot carries out virtual machine creating.
Embodiment:
Virtual machine snapshot implementation method described in the present embodiment, as shown in Figure 1, mainly includes:Snapshot is created and created by snapshot
Two processes of virtual machine;Wherein, it is the process that snapshot is generated by existing virtual machine that the snapshot is created, and the virtual machine for being created is fast
According to support is by the new virtual machine of its establishment and carries out main frame configuration setting;The snapshot is created includes virtual machine information extraction, void
Plan machine clone is template, snapshot data generates three steps;
Described is to set up new virtual machine and according to the configuration parameter for setting to new based on snapshot data by snapshot establishment virtual machine
The process that the virtual machine built is configured;It is described to be included by snapshot establishment virtual machine:Newly-built virtual-machine data prepares, is given birth to by snapshot
Into new virtual machine, newly-built virtual machine configuration, three steps are set.
The step for virtual machine information is extracted:It is primarily intended for the data needed for setting up snapshot;According to creating for selection
The existing virtual machine of snapshot is built, the source information, configuration information to virtual machine are obtained, while collecting the name of the snapshot to be created
Title, type, place storage information, these data are processed as the incoming next step of the basic data for creating snapshot.
The step for virtual machine clone is for template:According to the snapshot basic data that previous step is provided, for selected
Virtual machine carries out clone operations, and after the completion of clone, the virtual machine indicia that will clone generation is virtual machine template, and by Template Information
Incoming next step treatment.
The step for snapshot data is generated:According to previous step generate Template Information combination snapshot source information with it is virtual
Machine information, generates snapshot data, and snapshot data is included:The corresponding virtual machine information of snapshot essential information, snapshot, snapshot are corresponding
Template Information;Snapshot data will be persisted in SNAPSHOT INFO database.
The step for newly-built virtual-machine data prepares:The main every configuration parameter for being responsible for collecting newly-built virtual machine,
Such as cpu, internal memory, network, storage virtual machine parameter;Meanwhile, the snapshot and receipts used in the newly-built virtual machine of this stage selection
Collect the configuration parameter of the operating system of newly-built virtual machine.
The step for establishment virtual machine by snapshot:It is fast with selection according to the virtual machine configuration parameter that previous step is collected
Shine into row virtual machine creating.Virtual machine is created by snapshot and mainly includes three processes:(1)Corresponding mould is retrieved according to SNAPSHOT INFO
Plate,(2)According to template and newly-built virtual machine configuration parameter selection physical environment, new virtual machine is cloned,(3)Cleaning is newly-built virtual
Configuration in machine operating system(Such as:Network configuration, storage configuration etc.), prevent from being clashed with existing virtual machine.
The step for newly-built virtual machine configuration is set:According to matching somebody with somebody for the virtual machine configuration parameter and operating system collected
Parameter is put to reconfigure newly-built virtual machine;This stage carries out matching somebody with somebody for newly-built virtual machine according to virtual machine configuration parameter first
Put, virtual electromechanical source is started after the completion of configuration and inspection operation system starts situation, root after newly-built VME operating system startup
Operating system parameter being reset according to operating system parameter configuration and restarting virtual machine configured with application operating system, operating system
Check whether every configuration comes into force after the completion of restarting, and newly-built virtual machine is masked as upstate.
Above-mentioned specific embodiment is only specific case of the invention, and scope of patent protection of the invention is included but is not limited to
Above-mentioned specific embodiment, any person of an ordinary skill in the technical field that meet claims of the present invention and any
The appropriate change or replacement done to it, should all fall into scope of patent protection of the invention.
Claims (7)
1. a kind of virtual machine snapshot implementation method, it is characterised in that realize virtual machine snapshot using vSphere SDK, and thus
Virtual machine snapshot carries out virtual machine creating;Mainly include:Snapshot is created and creates two processes of virtual machine by snapshot;
Wherein, it is the process that snapshot is generated by existing virtual machine that the snapshot is created, and the virtual machine snapshot for being created is supported by it
Create new virtual machine and carry out main frame configuration and set;The snapshot is created includes that virtual machine information is extracted, virtual machine clone is
Template, snapshot data generate three steps;
Described is to set up new virtual machine and according to the configuration parameter for setting to new based on snapshot data by snapshot establishment virtual machine
The process that the virtual machine built is configured;It is described to be included by snapshot establishment virtual machine:Newly-built virtual-machine data prepares, is given birth to by snapshot
Into new virtual machine, newly-built virtual machine configuration, three steps are set.
2. a kind of virtual machine snapshot implementation method according to claim 1, it is characterised in that the virtual machine information is extracted
The step for:It is primarily intended for the data needed for setting up snapshot;According to the existing virtual machine that create snapshot of selection, to virtual machine
Source information, configuration information obtained, while collect the snapshot to be created title, type, place storage information, and by this
A little data are processed as the incoming next step of the basic data for creating snapshot.
3. a kind of virtual machine snapshot implementation method according to claim 2, it is characterised in that the virtual machine clone is mould
The step for plate:According to the snapshot basic data that previous step is provided, clone operations are carried out for selected virtual machine, clone completes
Afterwards, the virtual machine indicia that will clone generation is virtual machine template, and the incoming next step of Template Information is processed.
4. a kind of virtual machine snapshot implementation method according to claim 3, it is characterised in that the snapshot data generates this
One step:The Template Information combination snapshot source information and virtual machine information generated according to previous step, generate snapshot data;Snapshot number
According to will be persisted in SNAPSHOT INFO database.
5. a kind of virtual machine snapshot implementation method according to claim 4, it is characterised in that the newly-built virtual-machine data
The step for preparation:The main every configuration parameter for being responsible for collecting newly-built virtual machine, such as cpu, internal memory, network, storage are virtual
Machine parameter;Meanwhile, select the newly-built virtual machine snapshot for being used in this stage and the operating system of collecting newly-built virtual machine is matched somebody with somebody
Put parameter.
6. a kind of virtual machine snapshot implementation method according to claim 5, it is characterised in that described to create virtual by snapshot
The step for machine:The virtual machine configuration parameter and the snapshot of selection collected according to previous step carry out virtual machine creating;Mainly include
Three processes:(1)Corresponding template is retrieved according to SNAPSHOT INFO,(2)According to template and newly-built virtual machine configuration parameter candidate
Reason environment, clones new virtual machine,(3)The configuration cleared up in newly-built VME operating system.
7. a kind of virtual machine snapshot implementation method according to claim 6, it is characterised in that the newly-built virtual machine configuration
The step for setting:Virtual machine configuration parameter and the configuration parameter of operating system according to collecting are carried out again to newly-built virtual machine
Configuration;The configuration of newly-built virtual machine is carried out according to virtual machine configuration parameter first, virtual electromechanical source is started after the completion of configuration and is examined
Os starting situation is looked into, newly-built VME operating system resets operating system ginseng after starting according to operating system parameter configuration
Counting, and restart virtual machine carries out application operating system configuration, and operating system checks whether every configuration gives birth to after the completion of restarting
Effect, and newly-built virtual machine is masked as upstate.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710041600.6A CN106775957A (en) | 2017-01-20 | 2017-01-20 | A kind of virtual machine snapshot implementation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710041600.6A CN106775957A (en) | 2017-01-20 | 2017-01-20 | A kind of virtual machine snapshot implementation method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106775957A true CN106775957A (en) | 2017-05-31 |
Family
ID=58944841
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710041600.6A Pending CN106775957A (en) | 2017-01-20 | 2017-01-20 | A kind of virtual machine snapshot implementation method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106775957A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107807842A (en) * | 2017-10-23 | 2018-03-16 | 国云科技股份有限公司 | A kind of online cloning process of virtual machine |
CN109165363A (en) * | 2018-08-27 | 2019-01-08 | 成都深思科技有限公司 | A kind of configuration method of network data snapshot |
CN113886027A (en) * | 2021-12-07 | 2022-01-04 | 广州锦和科技有限公司 | Virtual machine template creation method, virtual machine access method, virtual machine template creation device and storage medium |
CN117177050A (en) * | 2023-08-25 | 2023-12-05 | 北京志凌海纳科技有限公司 | Virtual machine VPC network configuration snapshot processing method and system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102799464A (en) * | 2012-06-25 | 2012-11-28 | 北京奇虎科技有限公司 | Virtual machine creation method, virtual machine creation system, virtual machine resetting method and virtual machine resetting system |
CN103473065A (en) * | 2013-09-18 | 2013-12-25 | 国云科技股份有限公司 | Virtual machine creation method capable of rapidly restoring system disk |
CN105511937A (en) * | 2015-11-23 | 2016-04-20 | 国云科技股份有限公司 | Batch virtual machine blue screen monitoring method suitable for cloud platform |
-
2017
- 2017-01-20 CN CN201710041600.6A patent/CN106775957A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102799464A (en) * | 2012-06-25 | 2012-11-28 | 北京奇虎科技有限公司 | Virtual machine creation method, virtual machine creation system, virtual machine resetting method and virtual machine resetting system |
CN103473065A (en) * | 2013-09-18 | 2013-12-25 | 国云科技股份有限公司 | Virtual machine creation method capable of rapidly restoring system disk |
CN105511937A (en) * | 2015-11-23 | 2016-04-20 | 国云科技股份有限公司 | Batch virtual machine blue screen monitoring method suitable for cloud platform |
Non-Patent Citations (1)
Title |
---|
亦非我所愿: "vSphere web client 虚拟机生成模板快速部署", 《HTTPS://BLOG.CSDN.NET/WANGLEI_STORAGE/ARTICLE/DETAILS/50780328》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107807842A (en) * | 2017-10-23 | 2018-03-16 | 国云科技股份有限公司 | A kind of online cloning process of virtual machine |
CN109165363A (en) * | 2018-08-27 | 2019-01-08 | 成都深思科技有限公司 | A kind of configuration method of network data snapshot |
CN113886027A (en) * | 2021-12-07 | 2022-01-04 | 广州锦和科技有限公司 | Virtual machine template creation method, virtual machine access method, virtual machine template creation device and storage medium |
CN117177050A (en) * | 2023-08-25 | 2023-12-05 | 北京志凌海纳科技有限公司 | Virtual machine VPC network configuration snapshot processing method and system |
CN117177050B (en) * | 2023-08-25 | 2024-05-17 | 北京志凌海纳科技股份有限公司 | Virtual machine VPC network configuration snapshot processing method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106775957A (en) | A kind of virtual machine snapshot implementation method | |
CN106981021A (en) | It is a kind of to realize the data processing method continuously serviced and device | |
CN106777219A (en) | For the data processing method and device of Visualized data centre | |
CN108536592B (en) | Test task assignment method and device and server | |
CN106850260A (en) | A kind of dispositions method and device of virtual resources management platform | |
CN105825131B (en) | A kind of computer safety start means of defence based on UEFI | |
CN103777979B (en) | Method and device for recovering BIOD through cloud end | |
CN104202416A (en) | Service orchestration system and method under cloud operating system | |
CN111984426A (en) | Task scheduling method and device, electronic equipment and storage medium | |
CN105068873A (en) | Isomerous virtual resource and task scheduling method and system | |
CN111966462A (en) | Hybrid cloud management system | |
WO2018129913A1 (en) | System and method for assisting doctor in diagnosis and treatment | |
CN106843981A (en) | A kind of Hue automatizations of service configuration treating method based on Apache Ambari | |
CN109918109B (en) | System and method for realizing software version smooth upgrading function aiming at SD-WAN system | |
CN108205440A (en) | A kind of task flow framework implementation method for supporting rollback | |
CN105354127A (en) | Cloud management platform based monitoring method | |
WO2024119930A1 (en) | Scheduling method and apparatus, and computer device and storage medium | |
CN109639460A (en) | The method and apparatus of NFV resource management | |
JP6642024B2 (en) | Management device, management method and management program | |
CN115471215B (en) | Business process processing method and device | |
CN106406978A (en) | Automatic making device and method for private cloud virtual machine template | |
CN107908697A (en) | The automatic acquiring method and device of host batch processing job result | |
CN106980575A (en) | A kind of event-handling method and device | |
CN105867894A (en) | Automatic creating method and system of development environment | |
CN105718297A (en) | Virtual machine establishing system and method |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200519 Address after: 250100 No. 1036 Tidal Road, Jinan High-tech Zone, Shandong Province, S01 Building, Tidal Science Park Applicant after: Tidal Cloud Information Technology Co.,Ltd. Address before: 450008 Henan province Zheng Dong New District of Zhengzhou City Xinyi Road No. 278 16 floor room 1601 Applicant before: ZHENGZHOU YUNHAI INFORMATION TECHNOLOGY Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170531 |
|
RJ01 | Rejection of invention patent application after publication |