Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Virtual cluster expanding method based on cloning

A virtual cluster and extension method technology, applied in software simulation/interpretation/simulation, program control design, instruments, etc., can solve problems such as virtual machine restart, virtual cluster cannot be flexibly adjusted, application server lacks state data, etc., and achieve speed improvement Effect

Inactive Publication Date: 2015-03-25
G CLOUD TECH
View PDF7 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] 1. The versatility is not strong. The application server in the newly created virtual machine lacks application state data. For cluster applications that have strict requirements on state consistency, it is necessary to resolve the gap between the newly created virtual machine and the old running virtual machine. Inter-state synchronization issues;
[0008] 2. The virtual cluster cannot be adjusted flexibly. The newly created virtual machine is created from the original virtual machine image. Therefore, individual adjustments made to the application of the old running virtual machine cannot immediately synchronize the entire cluster. Adjust one by one, in this case, individual virtual machines will be restarted, reducing the load capacity of the entire virtual cluster

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Virtual cluster expanding method based on cloning
  • Virtual cluster expanding method based on cloning
  • Virtual cluster expanding method based on cloning

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] There are many implementations of the present invention, and here we take the implementation of KVM virtualization as an example to illustrate one of the implementation methods, and the flow chart is as follows figure 1 As shown, the specific implementation process is as follows:

[0030] 1. This implementation uses NFS as the implementation of the shared directory.

[0031] Server:

[0032] Step 1: Log in to the server and create the / sdb folder

[0033] #mkdir / sdb

[0034] #mkdir / sdb / images

[0035] #mkdir / sdb / buckets_xm

[0036] #mkdir / sdb / isos

[0037] Step 2: Edit / etc / exports, add the following content:

[0038] #vi / etc / exports

[0039] / sdb*(rw, no_root_squash)

[0040] Step 3: Start the nfs service

[0041] # / etc / init.d / nfs start

[0042] Step 4: Add the nfs service to boot

[0043] #chkconfig --add / etc / init.d / nfs

[0044] #chkconfig --level 2345 nfs on

[0045] client:

[0046] Step 1: Log in to the G-Cloud v6.2 server to check whether the n...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to the technical field of cloud computing, in particular to a virtual cluster expanding method based on cloning. The method includes the steps that firstly, all physical machines share one network sharing catalog, and when clusters are established, original virtual machine mirror image files are copied to the sharing catalog; then, external snapshot files are established for the original virtual machine mirror image files and stored in local catalogs of the physical machines, and virtual machines are established in an external snapshot mode; when the scale of the virtual clusters needs to be expanded, the local catalogs, selected to be established, of the physical machines are searched for the external snapshot files, if the external snapshot files exist, local cloning is conducted, and if no external snapshot files exist, cloning is conducted from the long distance to the local; finally, a front-end server writes the IP addresses of the newly-established virtual machines into a cluster list, and cluster expansion is finished. The virtual clusters are expanded based on the cloning technology for external snapshots, and a cluster expansion scheme which is quick, universal and high in flexibility is provided; the method can be used for expanding the virtual clusters.

Description

technical field [0001] The invention relates to the technical field of cloud computing, in particular to a virtual cluster expansion method based on cloning. Background technique [0002] In the era of cloud computing, the carrier of cluster applications has shifted from physical clusters to virtual virtual clusters; one of the biggest improvements is that virtual machines are used on demand, and the deployment speed is much faster than physical machines. The hardware detection step is also much faster. Usually, when the virtual cluster needs to be expanded, the method is to start from the original image to create the virtual machine again. The steps are as follows: [0003] 1. When the virtual cluster front-end server needs to expand the cluster scale, it sends a command to the cloud platform management terminal to request a new virtual machine; [0004] 2. After the virtual machine on the management side of the cloud platform is created, start the application server in t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/08G06F9/455
CPCH04L67/1095G06F9/45504
Inventor 莫展鹏杨松季统凯
Owner G CLOUD TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products