CN107908460A - Virtual machine rapid volume-expanding method, device, equipment and storage medium - Google Patents
Virtual machine rapid volume-expanding method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN107908460A CN107908460A CN201711184378.1A CN201711184378A CN107908460A CN 107908460 A CN107908460 A CN 107908460A CN 201711184378 A CN201711184378 A CN 201711184378A CN 107908460 A CN107908460 A CN 107908460A
- Authority
- CN
- China
- Prior art keywords
- virtual machine
- target
- clone
- copy
- machine
- 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
-
- 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
- G06F2009/45562—Creating, deleting, cloning virtual machine instances
-
- 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
- G06F2009/45583—Memory management, e.g. access or allocation
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Debugging And Monitoring (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the invention discloses a kind of virtual machine rapid volume-expanding method, device, equipment and storage medium, wherein, the described method includes:Virtual machine is cloned, obtains virtual machine copy;By in the virtual machine copies synchronized to overall situation storage;By on the virtual machine copy replication to target physical machine or target virtual machine;The operation of the virtual machine copy is performed in the target physical machine or target virtual machine, realizes the rapid deployment of virtual machine, while the work load of operation maintenance personnel can be mitigated.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of virtual machine rapid volume-expanding method, device, equipment and
Storage medium.
Background technology
Usual user is to buy on demand for the demand of virtual machine, but with the increase of service application, it is incipient
The configuration of virtual machine just can not meet the needs of user, this when, user will upgrade configuration and dilatation.Upgrading configuration
Process is relatively easy, in contrast more complicated for the process of application system.For example, for a JAVA application, one
As operation maintenance personnel can first look for new a physical machine or virtual machine by all jar bags on node A, copy weight on node B to
New deployment, and need tester comprehensively to be tested.Cause the deployment process time of whole virtual machine long, Jin Erzeng
The work load of operation maintenance personnel is added.
The content of the invention
In view of this, the embodiment of the present invention provides a kind of virtual machine rapid volume-expanding method, device, equipment and storage and is situated between
Matter, realizes the rapid deployment of virtual machine, to mitigate the work load of operation maintenance personnel.
In a first aspect, an embodiment of the present invention provides a kind of virtual machine rapid volume-expanding method, this method includes:
Virtual machine is cloned, obtains virtual machine copy;
By in the virtual machine copies synchronized to overall situation storage;
By on the virtual machine copy replication to target physical machine or target virtual machine;
The operation of the virtual machine copy is performed in the target physical machine or target virtual machine.
Further, it is described by the virtual machine copy replication to target physical machine or target virtual machine, including:
Receive the duplicate requests that target physical machine or target virtual machine are sent;
The virtual machine copy is replicated in the global storage according to the duplicate requests;
Virtual machine copy after duplication is sent to target physical machine or target virtual machine.
Further, it is described that virtual machine is cloned, including:
The instruction for opening target virtual machine is received, and according to the instruction unpack target virtual machine received;
If detecting the operation that default clone's virtual key is clicked on default clone's platform, start gram of virtual machine
It is grand;
The clone status of selection target virtual machine in current display interface;
Clone type is selected in current display interface according to the clone status of selected target virtual machine;
The target virtual machine is cloned according to selected clone type.
Further, it is described by the virtual machine copy replication to target physical machine or target virtual machine, including:
Call the elastic telescopic interface of default cloud environment platform;
By the elastic telescopic interface by the virtual machine copy replication to target physical machine or target virtual machine.
Further, the method further includes:
Monitor the working status of the virtual machine copy;
If monitoring, the virtual machine copy working status is abnormal, sends warning information.
On the other hand, an embodiment of the present invention provides a kind of quick flash chamber of virtual machine, described device to include:
Cloned unit, for being cloned to virtual machine, obtains virtual machine copy;
Synchronization unit, for the virtual machine copies synchronized to the overall situation to be stored;
First copied cells, for by the virtual machine copy replication to target physical machine or target virtual machine;
Execution unit, for performing the behaviour of the virtual machine copy in the target physical machine or target virtual machine
Make.
Further, first copied cells, including:
Receiving unit, the duplicate requests sent for receiving target physical machine or target virtual machine;
Second copied cells, for being carried out according to the duplicate requests in the global storage to the virtual machine copy
Replicate;
Transmitting element, for sending the virtual machine copy after duplication to target physical machine or target virtual machine.
Further, the cloned unit, including:
Opening unit, the instruction of target virtual machine is opened for receiving, and according to the instruction unpack destination virtual received
Machine;
Start unit, if the operation of default clone's virtual key is clicked on default clone's platform for detecting,
Start the clone of virtual machine;
First choice unit, the clone status for the selection target virtual machine in current display interface;
Second selecting unit, for the clone status according to selected target virtual machine in current display interface selection gram
Grand type;
Subelement is cloned, for being cloned according to selected clone type to the target virtual machine.
Another aspect, the embodiment of the present invention additionally provide a kind of quick equipment in the capacity expansion of virtual machine, including:
Memory, the program of virtual machine rapid volume-expanding method is realized for storing;And
Processor, for running the program for realizing virtual machine rapid volume-expanding method stored in the memory, to perform
Method as described above.
Another further aspect, the embodiment of the present invention additionally provide a kind of computer-readable recording medium, described computer-readable to deposit
Storage media be stored with one either more than one program the one or more programs can by one or more than one
Processor perform, to realize method as described above.
The embodiment of the present invention is by cloning virtual machine;Obtain the virtual machine copy after clone and be synchronized to the overall situation and deposit
Chu Shang;By on the virtual machine copy replication to target physical machine or target virtual machine;In the target physical machine or mesh
The operation of the virtual machine copy is performed in mark virtual machine, realizes the rapid deployment of virtual machine, while operation maintenance personnel can be mitigated
Work load.
Brief description of the drawings
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description
Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area
For logical technical staff, without creative efforts, other attached drawings can also be obtained according to these attached drawings.
Fig. 1 is a kind of schematic flow diagram of virtual machine rapid volume-expanding method provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic flow diagram of virtual machine rapid volume-expanding method provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic flow diagram of virtual machine rapid volume-expanding method provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic flow diagram for virtual machine rapid volume-expanding method that another embodiment of the present invention provides;
Fig. 5 is a kind of schematic flow diagram for virtual machine rapid volume-expanding method that another embodiment of the present invention provides;
Fig. 6 is a kind of schematic block diagram of the quick flash chamber of virtual machine provided in an embodiment of the present invention;
Fig. 7 is a kind of another schematic block diagram of the quick flash chamber of virtual machine provided in an embodiment of the present invention;
Fig. 8 is a kind of another schematic block diagram of the quick flash chamber of virtual machine provided in an embodiment of the present invention;
Fig. 9 is a kind of another schematic block diagram of the quick flash chamber of virtual machine provided in an embodiment of the present invention;
Figure 10 is a kind of another schematic block diagram of the quick flash chamber of virtual machine provided in an embodiment of the present invention;
Figure 11 is a kind of structure composition schematic diagram of the quick equipment in the capacity expansion of virtual machine provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without making creative work
Example, belongs to the scope of protection of the invention.
It should be appreciated that ought use in this specification and in the appended claims, term " comprising " and "comprising" instruction
Described feature, entirety, step, operation, the presence of element and/or component, but it is not precluded from one or more of the other feature, whole
Body, step, operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment
And be not intended to limit the present invention.As description of the invention and it is used in the attached claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
Referring to Fig. 1, Fig. 1 is a kind of schematic flow diagram of virtual machine rapid volume-expanding method provided in an embodiment of the present invention.
This method may operate in smart mobile phone (such as Android phone, IOS mobile phones), tablet computer, laptop and intelligence
In the terminals such as equipment.Virtual machine rapid volume-expanding method described in the embodiment of the present invention, can realize the rapid deployment of virtual machine, together
When can mitigate the work load of operation maintenance personnel.Fig. 1 is the signal of virtual machine rapid volume-expanding method provided in an embodiment of the present invention
Flow chart.The method comprising the steps of S101~S104.
S101, clones virtual machine, obtains virtual machine copy.
In embodiments of the present invention, under normal circumstances, the clone is referred in VMware softwares to the original of virtual machine
Beginning state is copied, or carries out the duplications such as mirror image operation, and the reset condition in so-called virtual machine includes respectively should in virtual machine
With software, each script and each application plug-in etc., therefore, the operation cloned to virtual machine is completed, that is, is completed to virtual machine
In the clone such as each application software, each script and each application plug-in operation.
It should be noted that virtual machine can't be influenced in itself by carrying out clone to virtual machine, that is to say, that to virtual machine into
Row clone has simply carried out that such as the operation of copy, mirror image, the softwares such as application software in original virtual machine, script can't be damaged
Program, and the virtual machine obtained after clone is known as virtual machine copy, the virtual machine copy can depart from original virtual machine and
It is individually present, which possesses all application software, all scripts and all application plug-ins of original virtual machine etc..
Further, as shown in Fig. 2, step S101 includes step S201~S205.
S201, receives the instruction for opening target virtual machine, and according to the instruction unpack target virtual machine received.
In embodiments of the present invention, after user selects a virtual machine, the selected void of user is opened by hardware device
Plan machine, using the selected virtual machine of user as target virtual machine.
S202, if detecting the operation that default clone's virtual key is clicked on default clone's platform, starts virtual
The clone of machine.
In embodiments of the present invention, default clone's platform is VMware8.0 software virtual machines, the software virtual machine
Powerful desktop virtual machine software is integrated with, and provide user on single desktop while the virtual machine can be run
Software, different operating system can also be run at the same time by the software virtual machine, and for different operating system progress gram
The operations such as grand, test, exploitation.
On VMware8.0 software virtual machine platforms, there are default clone's virtual key, such as menu VM, submenu
Manage and submenu Clone, after user have selected the virtual machine to be cloned as target virtual machine, passes through hardware
Equipment opens target virtual machine on VMware8.0 software virtual machine platforms, passes through the VM--Manage--Clone of click menu
To start the clone to target virtual machine.
S203, the clone status of selection target virtual machine in current display interface.
In embodiments of the present invention, the clone status refers to selecting using original virtual machine as the current of male parent
State is cloned, and the snapshot of original virtual machine can also be selected to be cloned, and the clone status can click dish
Made choice after single VM--Manage--Clone, if for example, the virtual machine of user's selection is original virtual machine, selection will
Original virtual machine is cloned as male parent, if the virtual machine of user's selection is virtual machine snapshot, is selected virtual machine snapshot
Cloned.
S204, clone type is selected according to the clone status of selected target virtual machine in current display interface.
In embodiments of the present invention, the clone type includes contact clone or comprehensively clone, wherein, contact clone refers to
Be the clone carried out from a snapshot of male parent, clone refers to the clone from the progress of the current state of male parent comprehensively;
It would generally show that linked clone represent contact clone in current display page, display full clone represent clone comprehensively,
After user has selected clone status, it can show that two columns are respectively linked clone and full in current display interface
Clone, wherein, linked clone are directed toward original virtual machine, and take many disk spaces, and original without departing from
Virtual machine and independently carry out clone operations, full clone refer to completely self-contained clone, and can be respectively directed to original void
Plan machine and virtual machine snapshot, it can equally take many disk spaces, and the speed cloned is relative to linked
Clone is slow.
S205, clones the target virtual machine according to selected clone type.
In embodiments of the present invention, after selected clone type is determined, VMware8.0 software virtual machines can be automatic
Into clone operations, which is:The new virtual machine name page can be ejected first to be cloned so that user inserts
The title of virtual machine, it is then determined that the installation site of new virtual machine, finally by cloning process complete original virtual machine or
The clone of virtual machine snapshot.
S102, by the virtual machine copies synchronized to overall situation storage.
In embodiments of the present invention, the overall situation is stored as the overall situation storage across available area, so-called available area
(Available Zone, AZ) refers to the region being made of multiple switch, wherein, overall situation storage can be global storage
Device or overall storing space, can also be global cloud memory space;In cloud environment, with the presence of many available areas, one
A available area has many system supervisors, wherein, it is deployed in if will apply on two AZ, represents multiple realities of this application
Example is not necessarily on an interchanger;If across AZ deployment will be applied, then as soon as the interchanger on an AZ is problematic, we
The application example on another AZ can be started immediately, ensure the high availability of application.Therefore, the embodiment of the present invention use across
The global storage of available area, the overall situation storage can be shared by two or more available areas, in order to will quickly clone
Virtual machine from an available area to another available area.
S103, by the virtual machine copy replication to target physical machine or target virtual machine.
In embodiments of the present invention, the virtual machine copy on VMware8.0 software virtual machines can be considered as a vmdk
File, that is to say, that the virtual machine of a clone is a vmdk file, due to the linked clone in clone type or
Person full clone are respectively provided with the function of copy virtual machine copy, therefore, are stored for two the global of AZ, if desired will be virtual
For machine copy replication into another available area, user can select the method for linked clone or full clone by described in
Virtual machine copy is copied in another available area from an available area, wherein, using the available area of target copy as object
Reason machine or target virtual machine.
Further, as shown in figure 3, step S103 includes step S301~S302.
S301, calls the elastic telescopic interface of default cloud environment platform.
In embodiments of the present invention, if global storage receives requirement by virtual machine copy replication to target physical machine or mesh
The instruction on virtual machine is marked, VMware8.0 software virtual machines can call default cloud environment platform (for example, OpenStack platforms)
Elastic telescopic interface, virtual machine or physical machine are increased by the elastic telescopic interface, can also be connect by the elastic telescopic
The definite target virtual machine of mouth or target physical machine, wherein, if increasing virtual machine or physical machine by the elastic telescopic interface,
By the increased virtual machine of institute, either physical machine is considered as target virtual machine or target physical machine.
S302, by the elastic telescopic interface by the virtual machine copy replication to target physical machine or destination virtual
On machine.
In embodiments of the present invention, however, it is determined that the virtual machine copy target physical machine or target virtual machine to be replicated,
Using linked clone or full clone and by the elastic telescopic interface by the virtual machine copy replication to mesh
Mark on physical machine or target virtual machine.
S104, performs the operation of the virtual machine copy in the target physical machine or target virtual machine.
In embodiments of the present invention, the VM operations are referred on target physical machine or target virtual machine, perform institute
The virtual machine copy of duplication, i.e., run cloned virtual machine copy on target physical machine or target virtual machine, performing
When VM is operated, process that the virtual machine copy is run in target physical machine or target virtual machine, with the virtual machine
The VM operations that the corresponding original virtual machine of copy or virtual machine snapshot perform are completely the same, and both are independent of each other, mutually
It is independent.
As seen from the above, the embodiment of the present invention obtains virtual machine copy by being cloned to virtual machine;Will be described virtual
In machine copies synchronized to overall situation storage;By on the virtual machine copy replication to target physical machine or target virtual machine;Institute
The operation that the virtual machine copy is performed in target physical machine or target virtual machine is stated, realizes the rapid deployment of virtual machine, together
When can mitigate the work load of operation maintenance personnel.
Referring to Fig. 4, Fig. 4 is a kind of schematic flow diagram of virtual machine rapid volume-expanding method provided in an embodiment of the present invention.
This method may operate in smart mobile phone (such as Android phone, IOS mobile phones), tablet computer, laptop and intelligence
In the terminals such as equipment.As shown in figure 4, the method comprising the steps of S401~S406.
S401, clones virtual machine, obtains virtual machine copy.
In embodiments of the present invention, under normal circumstances, the clone is referred in VMware softwares to the original of virtual machine
Beginning state is copied, or carries out the duplications such as mirror image operation, and the reset condition in so-called virtual machine includes respectively should in virtual machine
With software, each script and each application plug-in etc., therefore, the operation cloned to virtual machine is completed, that is, is completed to virtual machine
In the clone such as each application software, each script and each application plug-in operation.
It should be noted that virtual machine can't be influenced in itself by carrying out clone to virtual machine, that is to say, that to virtual machine into
Row clone has simply carried out that such as the operation of copy, mirror image, the softwares such as application software in original virtual machine, script can't be damaged
Program, and the virtual machine obtained after clone is known as virtual machine copy, the virtual machine copy can depart from original virtual machine and
It is individually present, which possesses all application software, all scripts and all application plug-ins of original virtual machine etc..
S402, by the virtual machine copies synchronized to overall situation storage.
In embodiments of the present invention, the overall situation is stored as the overall situation storage across available area, so-called available area
(Available Zone, AZ) refers to the region being made of multiple switch, wherein, overall situation storage can be global storage
Device or overall storing space, can also be global cloud memory space;In cloud environment, with the presence of many available areas, one
A available area has many system supervisors, wherein, it is deployed in if will apply on two AZ, represents multiple realities of this application
Example is not necessarily on an interchanger;If across AZ deployment will be applied, then as soon as the interchanger on an AZ is problematic, we
The application example on another AZ can be started immediately, ensure the high availability of application.Therefore, the embodiment of the present invention use across
The global storage of available area, the overall situation storage can be shared by two or more available areas, in order to will quickly clone
Virtual machine from an available area to another available area.
S403, receives the duplicate requests that target physical machine or target virtual machine are sent.
In embodiments of the present invention, client predefines the target physical machine or target virtual machine to be replicated,
And if either target physical machine will be associated the target physical machine or target with the global storage by target virtual machine
Virtual machine needs acquisition virtual machine copy to be run, and the target physical machine or target virtual machine can pass through the overall situation
Duplicate requests are sent to the global storage to want by storage with the incidence relation of the target virtual machine or target physical machine
Ask and obtain virtual machine copy.
S404, replicates the virtual machine copy in the global storage according to the duplicate requests.
In embodiments of the present invention, it is described if receiving the duplicate requests that target physical machine or target virtual machine are sent
The overall situation storage will receive with the corresponding duplicate instructions of the duplicate requests, also duplicate requests are corresponding simultaneously for the duplicate instructions
Obtained from target physical machine or target virtual machine, the global storage is according to the duplicate instructions to the virtual machine in global storage
Copy is replicated.
S405, the virtual machine copy after duplication is sent to target physical machine or target virtual machine.
In embodiments of the present invention, after being replicated according to the duplicate instructions to the virtual machine copy in global storage, obtain
To with the identical another virtual machine copy of the virtual machine copy, and the virtual machine copy after duplication is sent to object
On reason machine or target virtual machine.
S406, performs the operation of the virtual machine copy in the target physical machine or target virtual machine.
In embodiments of the present invention, the VM operations are referred on target physical machine or target virtual machine, perform institute
The virtual machine copy of duplication, i.e., run cloned virtual machine copy on target physical machine or target virtual machine, performing
When VM is operated, process that the virtual machine copy is run in target physical machine or target virtual machine, with the virtual machine
The VM operations that the corresponding original virtual machine of copy or virtual machine snapshot perform are completely the same, and both are independent of each other, mutually
It is independent.
Referring to Fig. 5, Fig. 5 is a kind of schematic flow diagram of virtual machine rapid volume-expanding method provided in an embodiment of the present invention.
This method may operate in smart mobile phone (such as Android phone, IOS mobile phones), tablet computer, laptop and intelligence
In the terminals such as equipment.As shown in figure 5, the method comprising the steps of S501~S507.
S501, clones virtual machine, obtains virtual machine copy.
In embodiments of the present invention, under normal circumstances, the clone is referred in VMware softwares to the original of virtual machine
Beginning state is copied, or carries out the duplications such as mirror image operation, and the reset condition in so-called virtual machine includes respectively should in virtual machine
With software, each script and each application plug-in etc., therefore, the operation cloned to virtual machine is completed, that is, is completed to virtual machine
In the clone such as each application software, each script and each application plug-in operation.
It should be noted that virtual machine can't be influenced in itself by carrying out clone to virtual machine, that is to say, that to virtual machine into
Row clone has simply carried out that such as the operation of copy, mirror image, the softwares such as application software in original virtual machine, script can't be damaged
Program, and the virtual machine obtained after clone is known as virtual machine copy, the virtual machine copy can depart from original virtual machine and
It is individually present, which possesses all application software, all scripts and all application plug-ins of original virtual machine etc..
S502, by the virtual machine copies synchronized to overall situation storage.
In embodiments of the present invention, the overall situation is stored as the overall situation storage across available area, so-called available area
(Available Zone, AZ) refers to the region being made of multiple switch, wherein, overall situation storage can be global storage
Device or overall storing space, can also be global cloud memory space;In cloud environment, with the presence of many available areas, one
A available area has many system supervisors, wherein, it is deployed in if will apply on two AZ, represents multiple realities of this application
Example is not necessarily on an interchanger;If across AZ deployment will be applied, then as soon as the interchanger on an AZ is problematic, we
The application example on another AZ can be started immediately, ensure the high availability of application.Therefore, the embodiment of the present invention use across
The global storage of available area, the overall situation storage can be shared by two or more available areas, in order to will quickly clone
Virtual machine from an available area to another available area.
S503, by the virtual machine copy replication to target physical machine or target virtual machine.
In embodiments of the present invention, the virtual machine copy on VMware8.0 software virtual machines can be considered as a vmdk
File, that is to say, that the virtual machine of a clone is a vmdk file, due to the linked clone in clone type or
Person full clone are respectively provided with the function of copy virtual machine copy, therefore, are stored for two the global of AZ, if desired will be virtual
For machine copy replication into another available area, user can select the method for linked clone or full clone by described in
Virtual machine copy is copied in another available area from an available area, wherein, using the available area of target copy as object
Reason machine or target virtual machine.
S504, performs the operation of the virtual machine copy in the target physical machine or target virtual machine.
In embodiments of the present invention, the VM operations are referred on target physical machine or target virtual machine, perform institute
The virtual machine copy of duplication, i.e., run cloned virtual machine copy on target physical machine or target virtual machine, performing
When VM is operated, process that the virtual machine copy is run in target physical machine or target virtual machine, with the virtual machine
The VM operations that the corresponding original virtual machine of copy or virtual machine snapshot perform are completely the same, and both are independent of each other, mutually
It is independent.
S505, monitors the working status of the virtual machine copy.
S506, if monitoring, the virtual machine copy working status is abnormal, sends warning information.
In embodiments of the present invention, the working status of the virtual machine copy includes improper closing, can not run extremely
Virtual machine etc..If it is improper closing that the working status of the virtual machine copy is abnormal, triggering alarm, specially triggers target
Buzzer alert in physical machine or target virtual machine;If alternatively, the working status of the virtual machine copy is can not extremely
Virtual machine is run, triggering alarm, specially triggers the light supply apparatus alarm in target physical machine or target virtual machine.
Referring to Fig. 6, a kind of corresponding above-mentioned virtual machine rapid volume-expanding method, the embodiment of the present invention also propose a kind of virtual machine
Quick flash chamber, the device 100 include:Cloned unit 101, synchronization unit 102, the first copied cells 103, execution unit
104。
Wherein, the cloned unit 101, for being cloned to virtual machine, obtains virtual machine copy.Implement in the present invention
In example, under normal circumstances, the clone refers to copying the reset condition of virtual machine in VMware softwares, Huo Zhejin
The duplications such as row mirror image operate, and the reset condition in so-called virtual machine includes each application software in virtual machine, each script and respectively should
With plug-in unit etc., therefore, the operation cloned to virtual machine is completed, that is, completed to each application software in virtual machine, each script
And the operation of the clone such as each application plug-in.
It should be noted that virtual machine can't be influenced in itself by carrying out clone to virtual machine, that is to say, that to virtual machine into
Row clone has simply carried out that such as the operation of copy, mirror image, the softwares such as application software in original virtual machine, script can't be damaged
Program, and the virtual machine obtained after clone is known as virtual machine copy, the virtual machine copy can depart from original virtual machine and
It is individually present, which possesses all application software, all scripts and all application plug-ins of original virtual machine etc..
Synchronization unit 102, for the virtual machine copies synchronized to the overall situation to be stored.In embodiments of the present invention, institute
The global overall situation storage being stored as across available area is stated, so-called available area (Available Zone, AZ) is referred to by multiple exchanges
The region of machine composition, wherein, overall situation storage can be global storage or overall storing space, can also be global
Cloud storage space;In cloud environment, with the presence of many available areas, an available area has many system supervisors, wherein, if
It will apply and be deployed on two AZ, the multiple examples for representing this application are not necessarily on an interchanger;If it will apply
Across AZ deployment, then the interchanger on an AZ is problematic, we can start the application example on another AZ immediately,
Ensure the high availability of application.Therefore, the embodiment of the present invention uses the overall situation storage across available area, which can be by two
A or two or more available area is shared, in order to quickly by the virtual machine of clone from an available area to another available area.
First copied cells 103, for by the virtual machine copy replication to target physical machine or target virtual machine.
In embodiments of the present invention, as soon as the virtual machine copy on VMware8.0 software virtual machines can be considered as a vmdk file,
It is to say that a virtual machine cloned is a vmdk file, due to the linked clone or full in clone type
Clone is respectively provided with the function of copy virtual machine copy, therefore, is stored for two the global of AZ, if desired by virtual machine copy
Copy in another available area, user can select the method for linked clone or full clone by the virtual machine
Copy is copied in another available area from an available area, wherein, using the available area of target copy as target physical machine or
Person's target virtual machine.
Execution unit 104, for performing the virtual machine copy in the target physical machine or target virtual machine
Operation.In embodiments of the present invention, the VM operations refer to that on target physical machine or target virtual machine execution is replicated
Virtual machine copy, i.e., cloned virtual machine copy is run on target physical machine or target virtual machine, is performing VM behaviour
When making, process that the virtual machine copy is run in target physical machine or target virtual machine, with the virtual machine copy
The VM operations that corresponding original virtual machine or virtual machine snapshot perform are completely the same, and both are independent of each other, are independent mutually.
As seen from the above, the embodiment of the present invention obtains virtual machine copy by being cloned to virtual machine;Will be described virtual
In machine copies synchronized to overall situation storage;By on the virtual machine copy replication to target physical machine or target virtual machine;Institute
The operation that the virtual machine copy is performed in target physical machine or target virtual machine is stated, realizes the rapid deployment of virtual machine, together
When can mitigate the work load of operation maintenance personnel.
As shown in fig. 7, the cloned unit 101, including:
Opening unit 1011, the instruction of target virtual machine is opened for receiving, and according to the instruction unpack target received
Virtual machine.In embodiments of the present invention, after user selects a virtual machine, it is selected virtual that user is opened by hardware device
Machine, using the selected virtual machine of user as target virtual machine.
Start unit 1012, if clicking the behaviour of default clone's virtual key on default clone's platform for detecting
Make, start the clone of virtual machine.In embodiments of the present invention, default clone's platform is VMware8.0 software virtual machines,
The software virtual machine is integrated with powerful desktop virtual machine software, and user is provided can be on single desktop at the same time
The software virtual machine is run, different operating system can also be run at the same time by the software virtual machine, and for different behaviour
The operation such as cloned, tested, being developed as system.
On VMware8.0 software virtual machine platforms, there are default clone's virtual key, such as menu VM, submenu
Manage and submenu Clone, after user have selected the virtual machine to be cloned as target virtual machine, passes through hardware
Equipment opens target virtual machine on VMware8.0 software virtual machine platforms, passes through the VM--Manage--Clone of click menu
To start the clone to target virtual machine.
First choice unit 1013, the clone status for the selection target virtual machine in current display interface.In this hair
In bright embodiment, the clone status refers to select to be cloned original virtual machine as the current state of male parent,
The snapshot of original virtual machine can also be selected to be cloned, and the clone status can be in click menu VM--Manage--
Make choice after Clone, if for example, the virtual machine of user's selection is original virtual machine, selection using original virtual machine as
Male parent is cloned, if the virtual machine of user's selection is virtual machine snapshot, virtual machine snapshot is cloned in selection.
Second selecting unit 1014, is selected for the clone status according to selected target virtual machine in current display interface
Select clone type.In embodiments of the present invention, the clone type includes contact clone or comprehensively clone, wherein, contact gram
The grand clone for referring to carrying out from a snapshot of male parent, clones gram referred to from the current state progress of male parent comprehensively
It is grand;It would generally show that linked clone represent contact clone in current display page, display full clone represent comprehensive
Clone, after user has selected clone status, can show that two columns are respectively linked clone in current display interface
With full clone, wherein, linked clone are directed toward original virtual machine, and take many disk spaces, and without de-
Clone operations are independently carried out from original virtual machine, full clone refer to completely self-contained clone, and can refer to respectively
To original virtual machine and virtual machine snapshot, it can equally take many disk spaces, and the speed cloned relative to
Linked clone are slow.
Subelement 1015 is cloned, for being cloned according to selected clone type to the target virtual machine.At this
In inventive embodiments, after selected clone type is determined, VMware8.0 software virtual machines can be grasped automatically into clone
Make, which is:The name of the new virtual machine name page virtual machine cloned so that user inserts can be ejected first
Claim, it is then determined that the installation site of new virtual machine, original virtual machine or virtual machine snapshot are completed finally by cloning process
Clone.
As shown in figure 8, the copied cells 103, including:
Call unit 1031, for calling the elastic telescopic interface of default cloud environment platform.In embodiments of the present invention, if
Overall situation storage receives requirement by the instruction on virtual machine copy replication to target physical machine or target virtual machine, VMware8.0
Software virtual machine can call the elastic telescopic interface of default cloud environment platform (for example, OpenStack platforms), be stretched by the elasticity
Either physical machine can also determine target virtual machine or target physical to reducer coupling mouth increase virtual machine by the elastic telescopic interface
Machine, wherein, if increasing virtual machine by the elastic telescopic interface, either physical machine regards the increased virtual machine of institute or physical machine
For target virtual machine or target physical machine.
Second copied cells 1032, for by the elastic telescopic interface by the virtual machine copy replication to object
On reason machine or target virtual machine.In embodiments of the present invention, however, it is determined that target physical machine that virtual machine copy to be replicated or
Person's target virtual machine, using linked clone or full clone and by the elastic telescopic interface by the virtual machine
Copy replication is on target physical machine or target virtual machine.
Referring to Fig. 9, a kind of corresponding above-mentioned virtual machine rapid volume-expanding method, the embodiment of the present invention also propose a kind of virtual machine
Quick flash chamber, the device 200 include:Cloned unit 201, synchronization unit 202, receiving unit 203, the 3rd copied cells
204th, transmitting element 205, execution unit 206.
Wherein, the cloned unit 201, for being cloned to virtual machine, obtains virtual machine copy.Implement in the present invention
In example, under normal circumstances, the clone refers to copying the reset condition of virtual machine in VMware softwares, Huo Zhejin
The duplications such as row mirror image operate, and the reset condition in so-called virtual machine includes each application software in virtual machine, each script and respectively should
With plug-in unit etc., therefore, the operation cloned to virtual machine is completed, that is, completed to each application software in virtual machine, each script
And the operation of the clone such as each application plug-in.
It should be noted that virtual machine can't be influenced in itself by carrying out clone to virtual machine, that is to say, that to virtual machine into
Row clone has simply carried out that such as the operation of copy, mirror image, the softwares such as application software in original virtual machine, script can't be damaged
Program, and the virtual machine obtained after clone is known as virtual machine copy, the virtual machine copy can depart from original virtual machine and
It is individually present, which possesses all application software, all scripts and all application plug-ins of original virtual machine etc..
Synchronization unit 202, for the virtual machine copies synchronized to the overall situation to be stored.In embodiments of the present invention, institute
The global overall situation storage being stored as across available area is stated, so-called available area (Available Zone, AZ) is referred to by multiple exchanges
The region of machine composition, wherein, overall situation storage can be global storage or overall storing space, can also be global
Cloud storage space;In cloud environment, with the presence of many available areas, an available area has many system supervisors, wherein, if
It will apply and be deployed on two AZ, the multiple examples for representing this application are not necessarily on an interchanger;If it will apply
Across AZ deployment, then the interchanger on an AZ is problematic, we can start the application example on another AZ immediately,
Ensure the high availability of application.Therefore, the embodiment of the present invention uses the overall situation storage across available area, which can be by two
A or two or more available area is shared, in order to quickly by the virtual machine of clone from an available area to another available area.
Receiving unit 203, the duplicate requests sent for receiving target physical machine or target virtual machine.Of the invention real
Apply in example, client predefine the target physical machine to be replicated either target virtual machine and by target virtual machine or
Target physical machine will be associated with the global storage, if the target physical machine or target virtual machine need to obtain virtually
Machine copy is run, and the target physical machine or target virtual machine can pass through the global storage and the destination virtual
Duplicate requests are sent to the global storage to require to obtain virtual machine copy by the incidence relation of machine or target physical machine.
3rd copied cells 204, for being stored according to the duplicate requests in the overall situation to the virtual machine copy
Replicated.In embodiments of the present invention, it is described if receiving the duplicate requests that target physical machine or target virtual machine are sent
The overall situation storage will receive with the corresponding duplicate instructions of the duplicate requests, also duplicate requests are corresponding simultaneously for the duplicate instructions
Obtained from target physical machine or target virtual machine, the global storage is according to the duplicate instructions to the virtual machine in global storage
Copy is replicated.
Transmitting element 205, for sending the virtual machine copy after duplication to target physical machine or target virtual machine.
In embodiments of the present invention, after being replicated according to the duplicate instructions to the virtual machine copy in global storage, obtain with it is described
The identical another virtual machine copy of virtual machine copy, and the virtual machine copy after duplication sent to target physical machine or
On target virtual machine.
Execution unit 206, for performing the virtual machine copy in the target physical machine or target virtual machine
Operation.In embodiments of the present invention, the VM operations refer to that on target physical machine or target virtual machine execution is replicated
Virtual machine copy, i.e., cloned virtual machine copy is run on target physical machine or target virtual machine, is performing VM behaviour
When making, process that the virtual machine copy is run in target physical machine or target virtual machine, with the virtual machine copy
The VM operations that corresponding original virtual machine or virtual machine snapshot perform are completely the same, and both are independent of each other, are independent mutually.
Referring to Fig. 10, a kind of corresponding above-mentioned virtual machine rapid volume-expanding method, the embodiment of the present invention also proposes a kind of virtual
The quick flash chamber of machine, the device 300 include:Cloned unit 301, synchronization unit 302, the first copied cells 303, execution unit
304th, monitoring unit 305, Alarm Unit 306.
Wherein, the cloned unit 301, for being cloned to virtual machine, obtains virtual machine copy.Implement in the present invention
In example, under normal circumstances, the clone refers to copying the reset condition of virtual machine in VMware softwares, Huo Zhejin
The duplications such as row mirror image operate, and the reset condition in so-called virtual machine includes each application software in virtual machine, each script and respectively should
With plug-in unit etc., therefore, the operation cloned to virtual machine is completed, that is, completed to each application software in virtual machine, each script
And the operation of the clone such as each application plug-in.
It should be noted that virtual machine can't be influenced in itself by carrying out clone to virtual machine, that is to say, that to virtual machine into
Row clone has simply carried out that such as the operation of copy, mirror image, the softwares such as application software in original virtual machine, script can't be damaged
Program, and the virtual machine obtained after clone is known as virtual machine copy, the virtual machine copy can depart from original virtual machine and
It is individually present, which possesses all application software, all scripts and all application plug-ins of original virtual machine etc..
Acquiring unit 302, for the virtual machine copies synchronized to the overall situation to be stored.In embodiments of the present invention, institute
The global overall situation storage being stored as across available area is stated, so-called available area (Available Zone, AZ) is referred to by multiple exchanges
The region of machine composition, wherein, overall situation storage can be global storage or overall storing space, can also be global
Cloud storage space;In cloud environment, with the presence of many available areas, an available area has many system supervisors, wherein, if
It will apply and be deployed on two AZ, the multiple examples for representing this application are not necessarily on an interchanger;If it will apply
Across AZ deployment, then the interchanger on an AZ is problematic, we can start the application example on another AZ immediately,
Ensure the high availability of application.Therefore, the embodiment of the present invention uses the overall situation storage across available area, which can be by two
A or two or more available area is shared, in order to quickly by the virtual machine of clone from an available area to another available area.
First copied cells 303, for by the virtual machine copy replication to target physical machine or target virtual machine.
In embodiments of the present invention, as soon as the virtual machine copy on VMware8.0 software virtual machines can be considered as a vmdk file,
It is to say that a virtual machine cloned is a vmdk file, due to the linked clone or full in clone type
Clone is respectively provided with the function of copy virtual machine copy, therefore, is stored for two the global of AZ, if desired by virtual machine copy
Copy in another available area, user can select the method for linked clone or full clone by the virtual machine
Copy is copied in another available area from an available area, wherein, using the available area of target copy as target physical machine or
Person's target virtual machine.
Execution unit 304, for performing the virtual machine copy in the target physical machine or target virtual machine
Operation.In embodiments of the present invention, the VM operations refer to that on target physical machine or target virtual machine execution is replicated
Virtual machine copy, i.e., cloned virtual machine copy is run on target physical machine or target virtual machine, is performing VM behaviour
When making, process that the virtual machine copy is run in target physical machine or target virtual machine, with the virtual machine copy
The VM operations that corresponding original virtual machine or virtual machine snapshot perform are completely the same, and both are independent of each other, are independent mutually.
Monitoring unit 305, for monitoring the working status of the virtual machine copy.
Alarm Unit 306, if for monitoring that the virtual machine copy working status is abnormal, sends warning information.At this
In inventive embodiments, the working status of the virtual machine copy includes improper closing, can not run virtual machine etc. extremely.If
It is improper closing that the working status of the virtual machine copy is abnormal, and triggering alarm, specially triggers target physical machine or mesh
Mark the buzzer alert in virtual machine;If alternatively, the working status of the virtual machine copy is touched extremely for that can not run virtual machine
Hair alarm, specially triggers the light supply apparatus alarm in target physical machine or target virtual machine.
In hardware realization, above cloned unit 101, synchronization unit 102, the first copied cells 103, execution unit 104
Etc. can in the form of hardware be embedded in or independently of in the device of data processing, data processing can also be stored in a software form
In the memory of device, the corresponding operation of above unit is performed so that processor calls.The processor can be centre
Manage unit (CPU), microprocessor, microcontroller etc..
The above-mentioned quick flash chamber of virtual machine can be implemented as a kind of form of computer program, and computer program can be
Run in computer equipment as shown in figure 11.
Figure 11 is a kind of structure composition schematic diagram of the quick equipment in the capacity expansion of virtual machine of the present invention.The equipment can be terminal,
Can also be server, wherein, terminal can be smart mobile phone, tablet computer, laptop, desktop computer, individual digital
Assistant and wearable device etc. have the electronic device of communication function.Server can be independent server or more
The server cluster of a server composition.With reference to Figure 11, which includes the place connected by system bus 501
Manage device 502, non-volatile memory medium 503, built-in storage 504 and network interface 505.Wherein, the computer equipment 500 is non-
Volatile storage medium 503 can storage program area 5031 and computer program 5032, which is performed,
It may be such that processor 502 performs a kind of virtual machine rapid volume-expanding method.The processor 502 of the computer equipment 500 is used to provide
Calculating and control ability, support the operation of whole computer equipment 500.The built-in storage 504 is non-volatile memory medium 503
In computer program 5032 operation provide environment, when which is executed by processor, may be such that processor 502 is held
A kind of virtual machine rapid volume-expanding method of row.The network interface 505 of computer equipment 500 is used to carry out network service, such as sends and divides
The task dispatching matched somebody with somebody.It will be understood by those skilled in the art that the structure shown in Figure 11, only with the relevant portion of application scheme
The block diagram of separation structure, does not form the restriction for the computer equipment being applied thereon to application scheme, specific computer
Equipment can include, than more or fewer components shown in figure, either combining some components or having different component cloth
Put.
Wherein, the processor 502 performs following operation:
Virtual machine is cloned, obtains virtual machine copy;
By in the virtual machine copies synchronized to overall situation storage;
By on the virtual machine copy replication to target physical machine or target virtual machine;
The operation of the virtual machine copy is performed in the target physical machine or target virtual machine.
It is in one embodiment, described by the virtual machine copy replication to target physical machine or target virtual machine,
Including:
Receive the duplicate requests that target physical machine or target virtual machine are sent;
The virtual machine copy is replicated in the global storage according to the duplicate requests;
Virtual machine copy after duplication is sent to target physical machine or target virtual machine.
In one embodiment, it is described that virtual machine is cloned, including:
The instruction for opening target virtual machine is received, and according to the instruction unpack target virtual machine received;
If detecting the operation that default clone's virtual key is clicked on default clone's platform, start gram of virtual machine
It is grand;
The clone status of selection target virtual machine in current display interface;
Clone type is selected in current display interface according to the clone status of selected target virtual machine;
The target virtual machine is cloned according to selected clone type.
It is in one embodiment, described by the virtual machine copy replication to target physical machine or target virtual machine,
Including:
Call the elastic telescopic interface of default cloud environment platform;
By the elastic telescopic interface by the virtual machine copy replication to target physical machine or target virtual machine.
The processor 502 also performs following operation:
Monitor the working status of the virtual machine copy;
If monitoring, the virtual machine copy working status is abnormal, sends warning information.
It will be understood by those skilled in the art that the embodiment of the quick equipment in the capacity expansion of the virtual machine shown in Figure 11 is not formed
Restriction to the quick equipment in the capacity expansion specific composition of virtual machine, in other embodiments, the quick equipment in the capacity expansion of virtual machine can include
Than illustrating more or fewer components, some components or different components arrangement are either combined.For example, in some embodiments
In, the quick equipment in the capacity expansion of virtual machine is only to include memory and processor, in such embodiments, memory and processor
Structure and function are consistent with embodiment illustrated in fig. 9, and details are not described herein.
The present invention provides a kind of computer-readable recording medium, computer-readable recording medium storage has one or one
A procedure above, the one or more programs can be performed by one or more than one processor, with realize with
Lower step:
Virtual machine is cloned, obtains virtual machine copy;
By in the virtual machine copies synchronized to overall situation storage;
By on the virtual machine copy replication to target physical machine or target virtual machine;
The operation of the virtual machine copy is performed in the target physical machine or target virtual machine.
It is in one embodiment, described by the virtual machine copy replication to target physical machine or target virtual machine,
Including:
Receive the duplicate requests that target physical machine or target virtual machine are sent;
The virtual machine copy is replicated in the global storage according to the duplicate requests;
Virtual machine copy after duplication is sent to target physical machine or target virtual machine.
In one embodiment, it is described that virtual machine is cloned, including:
The instruction for opening target virtual machine is received, and according to the instruction unpack target virtual machine received;
If detecting the operation that default clone's virtual key is clicked on default clone's platform, start gram of virtual machine
It is grand;
The clone status of selection target virtual machine in current display interface;
Clone type is selected in current display interface according to the clone status of selected target virtual machine;
The target virtual machine is cloned according to selected clone type.
It is in one embodiment, described by the virtual machine copy replication to target physical machine or target virtual machine,
Including:
Call the elastic telescopic interface of default cloud environment platform;
By the elastic telescopic interface by the virtual machine copy replication to target physical machine or target virtual machine.
In one embodiment, following steps are also realized:
Monitor the working status of the virtual machine copy;
If monitoring, the virtual machine copy working status is abnormal, sends warning information.
The foregoing storage medium of the present invention includes:Magnetic disc, CD, read-only memory (Read-Only Memory,
ROM it is) etc. various can be with the medium of store program codes.
Unit in all embodiments of the invention can pass through universal integrated circuit, such as CPU (Central
Processing Unit, central processing unit), or pass through ASIC (Application Specific Integrated
Circuit, application-specific integrated circuit) realize.
Step in virtual machine rapid volume-expanding method of the embodiment of the present invention can be according to actual needs carry out order adjustment, conjunction
And and delete.
Unit in the quick flash chamber of virtual machine of the embodiment of the present invention can merge according to actual needs, divide and
Delete.
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced
Change, these modifications or substitutions should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with right
It is required that protection domain subject to.
Claims (10)
- A kind of 1. virtual machine rapid volume-expanding method, it is characterised in that the described method includes:Virtual machine is cloned, obtains virtual machine copy;By in the virtual machine copies synchronized to overall situation storage;By on the virtual machine copy replication to target physical machine or target virtual machine;The operation of the virtual machine copy is performed in the target physical machine or target virtual machine.
- 2. the method as described in claim 1, it is characterised in that it is described by the virtual machine copy replication to target physical machine or On person's target virtual machine, including:Receive the duplicate requests that target physical machine or target virtual machine are sent;The virtual machine copy is replicated in the global storage according to the duplicate requests;Virtual machine copy after duplication is sent to target physical machine or target virtual machine.
- 3. the method as described in claim 1, it is characterised in that it is described that virtual machine is cloned, including:The instruction for opening target virtual machine is received, and according to the instruction unpack target virtual machine received;If detecting the operation that default clone's virtual key is clicked on default clone's platform, start the clone of virtual machine;The clone status of selection target virtual machine in current display interface;Clone type is selected in current display interface according to the clone status of selected target virtual machine;The target virtual machine is cloned according to selected clone type.
- 4. the method as described in claim 1, it is characterised in that it is described by the virtual machine copy replication to target physical machine or On person's target virtual machine, including:Call the elastic telescopic interface of default cloud environment platform;By the elastic telescopic interface by the virtual machine copy replication to target physical machine or target virtual machine.
- 5. the method as described in claim 1, it is characterised in that the method further includes:Monitor the working status of the virtual machine copy;If monitoring, the virtual machine copy working status is abnormal, sends warning information.
- 6. a kind of quick flash chamber of virtual machine, it is characterised in that described device includes:Cloned unit, for being cloned to virtual machine, obtains virtual machine copy;Synchronization unit, for the virtual machine copies synchronized to the overall situation to be stored;First copied cells, for by the virtual machine copy replication to target physical machine or target virtual machine;Execution unit, for performing the operation of the virtual machine copy in the target physical machine or target virtual machine.
- 7. device as claimed in claim 6, it is characterised in that the copied cells, including:Receiving unit, the duplicate requests sent for receiving target physical machine or target virtual machine;Second copied cells, for being answered according to the duplicate requests in the global storage the virtual machine copy System;Transmitting element, for sending the virtual machine copy after duplication to target physical machine or target virtual machine.
- 8. device as claimed in claim 6, it is characterised in that the cloned unit, including:Opening unit, the instruction of target virtual machine is opened for receiving, and according to the instruction unpack target virtual machine received;Start unit, if clicking the operation of default clone's virtual key on default clone's platform for detecting, starts The clone of virtual machine;First choice unit, the clone status for the selection target virtual machine in current display interface;Second selecting unit, clone's class is selected for the clone status according to selected target virtual machine in current display interface Type;Subelement is cloned, for being cloned according to selected clone type to the target virtual machine.
- A kind of 9. quick equipment in the capacity expansion of virtual machine, it is characterised in that including:Memory, the program of virtual machine rapid volume-expanding method is realized for storing;AndProcessor, for running the program for realizing virtual machine rapid volume-expanding method stored in the memory, to perform as weighed Profit requires 1-5 any one of them methods.
- A kind of 10. computer-readable recording medium, it is characterised in that the computer-readable recording medium storage have one or More than one program, the one or more programs can be performed by one or more than one processor, to realize Such as claim 1-5 any one of them methods.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711184378.1A CN107908460A (en) | 2017-11-23 | 2017-11-23 | Virtual machine rapid volume-expanding method, device, equipment and storage medium |
PCT/CN2018/075049 WO2019100589A1 (en) | 2017-11-23 | 2018-02-02 | Virtual machine rapid capacity expansion method, apparatus and device, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711184378.1A CN107908460A (en) | 2017-11-23 | 2017-11-23 | Virtual machine rapid volume-expanding method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107908460A true CN107908460A (en) | 2018-04-13 |
Family
ID=61847682
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711184378.1A Pending CN107908460A (en) | 2017-11-23 | 2017-11-23 | Virtual machine rapid volume-expanding method, device, equipment and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107908460A (en) |
WO (1) | WO2019100589A1 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110262876A (en) * | 2019-06-28 | 2019-09-20 | 浪潮电子信息产业股份有限公司 | A kind of virtual machine method for reconstructing, device, equipment and readable storage medium storing program for executing |
CN111435299A (en) * | 2019-01-14 | 2020-07-21 | 阿里巴巴集团控股有限公司 | Application processing method and device |
CN111435302A (en) * | 2019-01-14 | 2020-07-21 | 阿里巴巴集团控股有限公司 | Application processing method and device |
WO2020232888A1 (en) * | 2019-05-17 | 2020-11-26 | 平安科技(深圳)有限公司 | Container application cloning method and apparatus, computer device and storage medium |
CN113672333A (en) * | 2020-05-15 | 2021-11-19 | 顺丰科技有限公司 | Virtual machine hot cloning method, device, system, computer equipment and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104407916A (en) * | 2014-12-15 | 2015-03-11 | 北京国双科技有限公司 | Cloning method and device of virtual machine |
CN105653348A (en) * | 2015-12-30 | 2016-06-08 | 深圳市创想天空科技股份有限公司 | Virtual machine clone method and system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103268252A (en) * | 2013-05-12 | 2013-08-28 | 南京载玄信息科技有限公司 | Virtualization platform system based on distributed storage and achieving method thereof |
US11243707B2 (en) * | 2014-03-12 | 2022-02-08 | Nutanix, Inc. | Method and system for implementing virtual machine images |
-
2017
- 2017-11-23 CN CN201711184378.1A patent/CN107908460A/en active Pending
-
2018
- 2018-02-02 WO PCT/CN2018/075049 patent/WO2019100589A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104407916A (en) * | 2014-12-15 | 2015-03-11 | 北京国双科技有限公司 | Cloning method and device of virtual machine |
CN105653348A (en) * | 2015-12-30 | 2016-06-08 | 深圳市创想天空科技股份有限公司 | Virtual machine clone method and system |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111435299A (en) * | 2019-01-14 | 2020-07-21 | 阿里巴巴集团控股有限公司 | Application processing method and device |
CN111435302A (en) * | 2019-01-14 | 2020-07-21 | 阿里巴巴集团控股有限公司 | Application processing method and device |
CN111435302B (en) * | 2019-01-14 | 2023-06-20 | 阿里巴巴集团控股有限公司 | Application processing method and device |
CN111435299B (en) * | 2019-01-14 | 2023-06-20 | 阿里巴巴集团控股有限公司 | Application processing method and device |
WO2020232888A1 (en) * | 2019-05-17 | 2020-11-26 | 平安科技(深圳)有限公司 | Container application cloning method and apparatus, computer device and storage medium |
CN110262876A (en) * | 2019-06-28 | 2019-09-20 | 浪潮电子信息产业股份有限公司 | A kind of virtual machine method for reconstructing, device, equipment and readable storage medium storing program for executing |
CN113672333A (en) * | 2020-05-15 | 2021-11-19 | 顺丰科技有限公司 | Virtual machine hot cloning method, device, system, computer equipment and storage medium |
CN113672333B (en) * | 2020-05-15 | 2024-04-05 | 顺丰科技有限公司 | Virtual machine hot cloning method, device, system, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2019100589A1 (en) | 2019-05-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107908460A (en) | Virtual machine rapid volume-expanding method, device, equipment and storage medium | |
CN109558215B (en) | Backup method, recovery method and device of virtual machine and backup server cluster | |
US9519656B2 (en) | System and method for providing a virtualized replication and high availability environment | |
US20200007620A1 (en) | Intelligent Backup and Recovery of Cloud Computing Environment | |
US8307242B2 (en) | Failure recovery method, failure recovery program and management server | |
CN108804189B (en) | Cloud desktop management method and system | |
JP2017201470A (en) | Setting support program, setting support method, and setting support device | |
CN107943501A (en) | Embedded device upgrade method, device, computer equipment and storage medium | |
CN109150642A (en) | Application memory error-detecting method, detection device and storage medium | |
JP6418255B2 (en) | Fault monitoring apparatus, virtual network system, fault monitoring method and program | |
CN111813605A (en) | Disaster recovery method, platform, electronic device, and medium | |
CN110647425A (en) | Database recovery method and device | |
CN110134489A (en) | Using moving method and device, system, storage medium, using upper cloud tool | |
EP3591530A1 (en) | Intelligent backup and recovery of cloud computing environment | |
CN112732412B (en) | Service configuration file processing method and device, storage medium and electronic equipment | |
CN113986450A (en) | Virtual machine backup method and device | |
CN111737043B (en) | Database disaster recovery method, device, server and storage medium | |
CN111552595A (en) | Database backup and recovery method, device and equipment | |
US20180349407A1 (en) | Techniques for preserving clone relationships between files | |
RU2013146656A (en) | METHOD AND SYSTEM OF SIMULTANEOUS INSTALLATION OF MULTIPLE APPLICATIONS USING THE RESTORATION OF A FALSE BACKUP ARCHIVE | |
CN112506729B (en) | Fault simulation method and device | |
JP2011081830A (en) | Server switching method, program and management server | |
JP2006039763A (en) | Guest os debug supporting method and virtual computer manager | |
CN108363618A (en) | A kind of method and apparatus of process processing | |
CN105138346B (en) | Application installation method and device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180413 |
|
RJ01 | Rejection of invention patent application after publication |