CN103647849B - Method and device for migrating businesses and disaster recovery system - Google Patents
Method and device for migrating businesses and disaster recovery system Download PDFInfo
- Publication number
- CN103647849B CN103647849B CN201310724254.3A CN201310724254A CN103647849B CN 103647849 B CN103647849 B CN 103647849B CN 201310724254 A CN201310724254 A CN 201310724254A CN 103647849 B CN103647849 B CN 103647849B
- Authority
- CN
- China
- Prior art keywords
- data center
- virtual machine
- application virtual
- source
- storage device
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 62
- 238000011084 recovery Methods 0.000 title abstract description 23
- 238000004891 communication Methods 0.000 claims description 17
- 230000008859 change Effects 0.000 claims description 8
- 239000011800 void material Substances 0.000 claims description 5
- 238000007726 management method Methods 0.000 description 303
- 230000005012 migration Effects 0.000 description 60
- 238000013508 migration Methods 0.000 description 60
- 238000010586 diagram Methods 0.000 description 28
- 230000000875 corresponding effect Effects 0.000 description 19
- 238000012217 deletion Methods 0.000 description 9
- 230000037430 deletion Effects 0.000 description 9
- 239000003795 chemical substances by application Substances 0.000 description 8
- 230000001360 synchronised effect Effects 0.000 description 8
- 230000006870 function Effects 0.000 description 7
- 230000005540 biological transmission Effects 0.000 description 6
- 230000001276 controlling effect Effects 0.000 description 5
- 230000003993 interaction Effects 0.000 description 5
- 238000007630 basic procedure Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 230000004927 fusion Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 208000033748 Device issues Diseases 0.000 description 1
- 230000005856 abnormality Effects 0.000 description 1
- 238000004378 air conditioning Methods 0.000 description 1
- 239000000969 carrier Substances 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 238000009795 derivation Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 235000015170 shellfish Nutrition 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/40—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0896—Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities
- H04L41/0897—Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities by horizontal or vertical scaling of resources, or by migrating entities, e.g. virtual resources or entities
-
- 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/4557—Distribution of virtual machine instances; Migration and load balancing
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Hardware Redundancy (AREA)
Abstract
The invention discloses a method, a device and a disaster recovery system, wherein the method and the device are used for migrating an application virtual machine from a source data center to a target data center, so that businesses are rapidly recovered when the data center has a disaster. The method includes the steps: acquiring a specification and network information of the application virtual machine by a data center management server; transmitting a creation instruction for creating an application virtual machine on a target server according to the specification of the application virtual machine to the target data center by the data center management server, and configuring a network for the application virtual machine on the target server according to the network information of the application virtual machine; transmitting a mounting instruction to the target data center by the data center management server; transmitting a starting instruction to the target data center by the data center management server. Once the data center of the businesses including the application virtual machine has catastrophic failure, the businesses can be rapidly migrated to the other data center, and all businesses including the application virtual machine are recovered on the other data center within a short time.
Description
Technical field
The present invention relates to data disaster tolerance field is and in particular to a kind of business migration method, device and a kind of disaster tolerance system.
Background technology
Data center(Data Center, DC), also referred to as server zone(server farm), refer to for disposing computer
System and the facility of associated components, such as telecommunications and storage system.Data center generally comprises redundancy and stand-by power supply, redundant digit
According to communication connection, environmental Kuznets Curves(Such as air-conditioning, fire extinguisher)With safety means etc..The data that just most common carriers are set up
For center, application system is once deployed to certain data center, and this application system will belong to this data center.One denier
Use load too high according to center or catastrophic failure occurs, application system arises that the feelings that service quality declines or interrupts
Shape.In order to avoid data center occurs this catastrophic effect, big city at the beginning of setting up of existing data center adopts disaster tolerance
Technology.
A kind of existing disaster tolerance technology is referred to as Virtual Intelligent storage(Virtual Intelligent Storage, VIS)Double
Live data long-distance disaster scheme.In this existing scheme, storage side VIS supports image feature, produces website and disaster tolerance website belongs to
Computer node main frame in same cluster, this cluster, VIS node and storage device etc. are according to 1:1 ratio difference portion
Administration is producing website and disaster tolerance website.When the host resource producing website breaks down and is not enough, will can by height
The property used(High Availability, HA)Mechanism by the virtual machine needing fault to restart in disaster tolerance website pull-up, to realize disaster tolerance
Switch.When producing website All hosts resource all faults, the HA mechanism that will pass through cluster is all virtual in disaster tolerance website pull-up
Machine(Premise is that disaster tolerance site hosts resource is enough).
Above-mentioned existing disaster tolerance technology only address only the problem in disaster tolerance website pull-up virtual machine, and other problemses still need
Manual intervention.For example, provide the arbitration disk of third party's arbitration function normal, produce website and the VIS node of disaster tolerance website is normal
But VIS communication abnormality, then, after the VIS node of the website successfully seizing arbitration disk is survived, another website still cannot after restarting
I/O traffic is provided to access it is therefore desirable to manual intervention.For another example, when arbitration disk breaks down, the heartbeat between the VIS of two websites
Also break down, if opposite end and arbitration disk still cannot be accessed after now two websites are all restarted, externally cannot provide business, this
When also need manually to force by one of website pull-up and rise master, then just externally provide business.
In other words, above-mentioned existing VIS dual-active data long-distance disaster scheme, after disaster tolerance website pull-up virtual machine, still needs
Will under manual intervention could by business recovery, and by the business recovery of manual intervention, its recovery time longer it is impossible to very well
Ground meets the needs of user.
Content of the invention
The embodiment of the present invention provide a kind of from source data center to target data center carry out application virtual machine moving method,
Device and a kind of disaster tolerance system, to recover rapidly business when data center occurs disaster.
In a first aspect, the embodiment of the present invention provides one kind to carry out application virtual machine from source data center to target data center
Moving method, described application virtual machine operates on described source data center source server, and described application virtual machine refers to realize
The set of an at least virtual machine of one application;Described source data center includes source storage device, and described source storage device is
Described application virtual machine provides source LUN LUN of storage resource, and described source LUN is used for storing described application virtual machine
Data;Described target data center includes destination server and the target storage device communicating with described destination server, described
Target storage device and described source memory device communication, by the data syn-chronization in described source LUN to described target storage device
Target LUN, data center management server is used for managing source data center and target data center, and methods described includes:
Described data center management server obtains the specification of described application virtual machine and the network of described application virtual machine
Information;
Described data center management server sends to described target data center and creates instruction, and described establishment instruction carries
The specification of described application virtual machine and the network information of described application virtual machine, described establishment instructs for empty according to described application
The specification of plan machine creates described application virtual machine on described destination server, and the network information according to described application virtual machine
For described application virtual machine Configuration network;
Described data center management server sends mounting instructions to described target data center, and described mounting instructions are used for
Make target LUN described in described application virtual machine carry on described destination server;
Described data center management server sends enabled instruction to described target data center, and described enabled instruction is used for
Start the described application virtual machine on described destination server.
Second aspect, it is empty that another embodiment of the present invention provides one kind to carry out application from source data center to target data center
Plan machine moving method, methods described includes:
Under the triggering of data center management server target data center create business network and original state should
Use virtual machine;
After source data center stops current application virtual machine, will be described under the triggering of described data center management server
The storage device that current data center management server is located switches to the target storage device at described target data center;
After the completion of described switching, under the triggering of described data center management server, the application of described original state is empty
Plan machine is changed to can running status.
The third aspect, it is empty that another embodiment of the present invention provides one kind to carry out application from source data center to target data center
Plan machine moving method, described application virtual machine operates on described source data center source server, and described application virtual machine refers to
Realize the set of an at least virtual machine of an application;Described source data center includes source storage device and Source backups strategy is held
Row server;Described target data center is included target backup policy execute server, destination server and is taken with described target
The target storage device of business device communication, data center management server is used for managing source data center and target data center, institute
The method of stating includes:
When the condition of business migration meets, triggering stops current application virtual machine in source data center;
Triggering backup policy controls server, so that described backup policy controls Source backups strategy described in server triggers to hold
Row server and target backup policy execute server, the snap copy of the application virtual machine of described source data center is extremely described
Target backup policy execute server;
Triggering creates the application virtual machine of business network and original state at target data center;
Trigger described backup policy and control server, so that described backup policy controls target backup described in server triggers
Strategy execution server recovers application using the described target data center that impinges upon soon of the application virtual machine of described source data center
Virtual machine.
Fourth aspect, it is empty that another embodiment of the present invention provides one kind to carry out application from source data center to target data center
Plan machine moving method, methods described includes:
Under the triggering of data center management server, the backup policy at triggering source data center and target data center is held
Row server, the backup policy of the snap copy of the application virtual machine of source data center to described target data center is executed clothes
Business device;
The snap copy of the application virtual machine of described source data center executes to the backup policy at described target data center
After server, under the triggering of described data center management server, trigger the backup policy execution at described target data center
Server recovers application virtual machine using the described target data center that impinges upon soon of the application virtual machine of described source data center.
5th aspect, it is empty that another embodiment of the present invention provides one kind to carry out application from source data center to target data center
Plan machine moving apparatus, described application virtual machine operates on described source data center source server, and described application virtual machine refers to
Realize the set of an at least virtual machine of an application;Described source data center includes source storage device, and the storage of described source sets
Standby source LUN LUN providing storage resource for described application virtual machine, described source LUN is used for storing described application virtual
The data of machine;Described target data center includes destination server and the target storage device communicating with described destination server,
Described target storage device and described source memory device communication, the data syn-chronization in described source LUN is set to described target storage
Standby target LUN, data center management server is used for managing source data center and target data center, and described device includes:
Acquisition module, for obtaining the specification of described application virtual machine and the network information of described application virtual machine;
Create instruction sending module, create instruction for sending to described target data center, described establishment instruction carries
The specification of described application virtual machine and the network information of described application virtual machine, described establishment instructs for empty according to described application
The specification of plan machine creates described application virtual machine on described destination server, and the network information according to described application virtual machine
For described application virtual machine Configuration network;
Mounting instructions sending module module, for sending mounting instructions, described mounting instructions to described target data center
For making target LUN described in described application virtual machine carry on described destination server;
Enabled instruction sending module module, for sending enabled instruction, described enabled instruction to described target data center
For starting the described application virtual machine on described destination server.
6th aspect, it is empty that another embodiment of the present invention provides one kind to carry out application from source data center to target data center
Plan machine moving apparatus, described device includes:
Creation module, under the triggering of data center management server target data center create business network and
The application virtual machine of original state;
Handover module, stops after current application virtual machine for source data center, in described data center management server
Triggering under storage device that described current data center management server is located switch to the mesh at described target data center
Mark storage device;
Status Change module, after the completion of described switching, by institute under the triggering of described data center management server
Stating the application virtual machine of original state, be changed to can running status.
7th aspect, it is empty that another embodiment of the present invention provides one kind to carry out application from source data center to target data center
Plan machine moving apparatus, described application virtual machine operates on described source data center source server, and described application virtual machine refers to
Realize the set of an at least virtual machine of an application;Described source data center includes source storage device and Source backups strategy is held
Row server;Described target data center is included target backup policy execute server, destination server and is taken with described target
The target storage device of business device communication, data center management server is used for managing source data center and target data center, institute
State device to include:
First trigger module, stops current application for the triggering when the condition of business migration meets in source data center empty
Plan machine;
Second trigger module, controls server for triggering backup policy, so that described backup policy controls server to touch
Send out Source backups strategy execution server and target backup policy execute server described, will be virtual for the application of described source data center
The snap copy of machine is to described target backup policy execute server;
3rd trigger module, creates business network for triggering at target data center and the application of original state is virtual
Machine;
4th trigger module, controls server for triggering described backup policy, so that described backup policy controls service
Device triggers described target backup policy execute server and impinges upon described mesh soon using the application virtual machine of described source data center
Application virtual machine recovers in mark data center.
Eighth aspect, it is empty that another embodiment of the present invention provides one kind to carry out application from source data center to target data center
Plan machine moving apparatus, described device includes:
6th trigger module, for, under the triggering of data center management server, triggering source data center and number of targets
According to the backup policy execute server at center, by the snap copy of the application virtual machine of source data center to described target data
The backup policy execute server of the heart;
7th trigger module, in the snap copy extremely described target data for the application virtual machine of described source data center
After the backup policy execute server of the heart, under the triggering of described data center management server, trigger in described target data
The backup policy execute server of the heart impinges upon described target data center soon using the application virtual machine of described source data center
Recover application virtual machine.
9th aspect, the embodiment of the present invention provides a kind of disaster tolerance system, and described system includes target data center, source data
Center data center management server, described source data center includes source storage device, and described source storage device is described answering
There is provided source LUN LUN of storage resource with virtual machine, described source LUN is used for storing the data of application virtual machine, described
Application virtual machine operates on described source data center source server, and described application virtual machine refers to realize an application at least
The set of one virtual machine, described target data center includes destination server and the target that communicated with described destination server is deposited
Storage equipment, described target storage device and described source memory device communication, by the data syn-chronization in described source LUN to described target
Target LUN of storage device, data center management server is used for managing source data center and target data center, described target
Data center and source data center include respective cloud computing management platform;
Described data center management server, for obtaining the specification of described application virtual machine and described application virtual machine
The network information, sends to described target data center and creates instruction, and described establishment instructs the specification carrying described application virtual machine
And the network information of described application virtual machine, send mounting instructions to described target data center, to described target data center
Send enabled instruction, described establishment instruction carries the specification of described application virtual machine and the network information of described application virtual machine,
Described establishment instructs for creating described application virtual machine according to the specification of described application virtual machine on described destination server,
And be described application virtual machine Configuration network according to the network information of described application virtual machine, described mounting instructions are used for making described
Target LUN described in described application virtual machine carry on destination server, described enabled instruction is used for starting described destination service
Described application virtual machine on device;
The cloud computing management platform at described target data center, under the triggering of described data center management server
Create the application virtual machine of business network and original state at target data center, source data center stops current application virtual machine
Afterwards, the storage device under the triggering of described data center management server, described current data center management server being located
Switch to the target storage device at described target data center, after the completion of described switching, in described data center management server
Triggering under be changed to the application virtual machine of described original state can running status;
The cloud computing management platform of described source data center, for stopping under the triggering of described data center management server
The only current application virtual machine of source data center, returns described current application virtual machine to described data center management server and stops
Result only.
Tenth aspect, another embodiment of the present invention provides a kind of disaster tolerance system, and described disaster tolerance system is included in target data
The heart, source data center, backup policy control server data center management server, described source data center includes source and deposits
Storage equipment, described source storage device provides source LUN LUN of storage resource, described source LUN for described application virtual machine
For storing the data of application virtual machine, described application virtual machine operates on described source data center source server, described should
Referred to virtual machine realize the set of an at least virtual machine of an application, described target data center includes destination server
And the target storage device communicating with described destination server, described target storage device and described source memory device communication, will
, to target LUN of described target storage device, data center management server is for managed source for data syn-chronization in described source LUN
Data center and target data center, described target data center and source data center include respective cloud computing management platform and
Respective backup policy execute server;
Described data center management server, stops in source data center for the triggering when the condition of business migration meets
Current application virtual machine, triggering backup policy controls server, so that described backup policy controls source described in server triggers standby
Part strategy execution server and target backup policy execute server, the snapshot of the application virtual machine of described source data center is copied
Shellfish creates the application of business network and original state to described target backup policy execute server, triggering at target data center
Virtual machine, the described backup policy of triggering controls server, so that described backup policy controls target backup described in server triggers
Strategy execution server recovers application using the described target data center that impinges upon soon of the application virtual machine of described source data center
Virtual machine;
Described backup policy controls server, for, under the triggering of data center management server, triggering in source data
The backup policy execute server at the heart and target data center, the snap copy of the application virtual machine of source data center is extremely described
The backup policy execute server at target data center, the snap copy of the application virtual machine of described source data center is to described mesh
After the backup policy execute server of mark data center, under the triggering of described data center management server, trigger described mesh
The backup policy execute server of mark data center impinges upon described target soon using the application virtual machine of described source data center
Application virtual machine recovers in data center;
The cloud computing management platform at described target data center, under the triggering of described data center management server
Create the application virtual machine of business network and original state at target data center, source data center stops current application virtual machine
Afterwards, the storage device under the triggering of described data center management server, described current application virtual machine being located switches to institute
State the storage device at target data center, after the completion of described switching, by institute under the triggering of described data center management server
Stating the application virtual machine of original state, be changed to can running status;
The cloud computing management platform of described source data center, for stopping under the triggering of described data center management server
The only current application virtual machine of source data center, returns described current application virtual machine to described data center management server and stops
Result only;
The backup policy execute server at described target data center, for controlling server wound according to described backup policy
The recovery policy built, the snap copy of the application virtual machine of source data center is executed clothes to the backup policy at target data center
Business device, the snap copy returning the application virtual machine of described source data center to described data center management server completes to disappear
Breath, receives the snap copy completion message of the application virtual machine according to described source data center for the described data center management server
The use snapshot issuing recovers application virtual machine instruction, sends described use to the cloud computing virtual platform at target data center
Snapshot recovers application virtual machine instruction, so that the cloud computing virtual platform at described target data center is according to described use snapshot
Recover application virtual machine instruction and recover application virtual machine, application virtual machine recovery completion message is uploaded to described backup policy control
Control server, described application virtual machine recovers the cloud computing virtual platform that completion message is target data center to be made according to described
Recover the message that application virtual machine instruction recovers to return after application virtual machine with snapshot;
The backup policy execute server of described source data center, for backup policy control server triggering under,
Send snapshot to the cloud computing virtual platform of source data center and create instruction, the cloud computing receiving described source data center is virtual
Change the snapshot establishment completion message that platform returns, by the snapshot of the application virtual machine of source data center to described target data
The network storage equipment at center, controls server to return described snapshot to described backup policy and creates completion message.
Knowable to the embodiments of the present invention, the target storage device at target data center can be with the depositing of source data center
Storage equipment communication, by target LUN of the data syn-chronization in LUN LUN of source to target storage device, and, target data
The establishment instruction that center is received enables destination server to be created on destination server according to the specification of application virtual machine
Application virtual machine and be application virtual machine Configuration network according to the network information of application virtual machine, the mounting instructions being received make
Application virtual machine on destination server can carry target LUN, the enabled instruction being received enables destination server to open
Application virtual machine on moving-target server.Due to said process and no manual intervention issues life, therefore, once to include application empty
Plan machine is in interior business place data center(For example, source data center)There is bust, business can be rapidly migrated to
Another data center(For example, target data center), recover including application virtual machine within another data center short time
All business, the disaster tolerance of this business-level can meet the needs of user well.
Brief description
Fig. 1 is provided in an embodiment of the present invention to carry out application virtual machine migration side from source data center to target data center
Method basic procedure schematic diagram;
Fig. 2 is the structural representation of the disaster tolerance system being made up of Liang Ge data center provided in an embodiment of the present invention;
Fig. 3 be another embodiment of the present invention provide carry out application virtual machine from source data center to target data center and move
Shifting method basic procedure schematic diagram;
Fig. 4 is provided in an embodiment of the present invention to carry out application virtual machine migration side from source data center to target data center
The interaction flow schematic diagram of each equipment in method;
Fig. 5 be another embodiment of the present invention provide carry out application virtual machine from source data center to target data center and move
Shifting method schematic flow sheet;
Fig. 6 be another embodiment of the present invention carry out application virtual machine migration side from source data center to target data center
Method basic procedure schematic diagram;
Fig. 7 be the embodiment of the present invention carry out application virtual machine moving apparatus base from source data center to target data center
This logical construction schematic diagram;
Fig. 8 be another embodiment of the present invention from source data center to target data center carry out application virtual machine migration dress
Put basic logical structure schematic diagram;
Fig. 9 be another embodiment of the present invention from source data center to target data center carry out application virtual machine migration dress
Put basic logical structure schematic diagram;
Figure 10 be another embodiment of the present invention provide carry out application virtual machine from source data center to target data center
Moving apparatus basic logical structure schematic diagram;
Figure 11 be another embodiment of the present invention provide carry out application virtual machine from source data center to target data center
Moving apparatus basic logical structure schematic diagram;
Figure 12 be another embodiment of the present invention provide carry out application virtual machine from source data center to target data center
Moving apparatus basic logical structure schematic diagram;
Figure 13 be another embodiment of the present invention provide carry out application virtual machine from source data center to target data center
Moving apparatus basic logical structure schematic diagram;
Figure 14 be another embodiment of the present invention provide carry out application virtual machine from source data center to target data center
Moving apparatus basic logical structure schematic diagram;
Figure 15 be another embodiment of the present invention provide carry out application virtual machine from source data center to target data center
Moving apparatus basic logical structure schematic diagram;
Figure 16 be another embodiment of the present invention provide carry out application virtual machine from source data center to target data center
Moving apparatus basic logical structure schematic diagram;
Figure 17 be another embodiment of the present invention provide carry out application virtual machine from source data center to target data center
Moving apparatus basic logical structure schematic diagram;
Figure 18 be another embodiment of the present invention provide carry out application virtual machine from source data center to target data center
Moving apparatus basic logical structure schematic diagram;
Figure 19 be another embodiment of the present invention provide carry out application virtual machine from source data center to target data center
Moving apparatus basic logical structure schematic diagram;
Figure 20 be another embodiment of the present invention provide carry out application virtual machine from source data center to target data center
Moving apparatus basic logical structure schematic diagram;
Figure 21 be another embodiment of the present invention provide carry out application virtual machine from source data center to target data center
Moving apparatus basic logical structure schematic diagram;
Figure 22 be another embodiment of the present invention provide carry out application virtual machine from source data center to target data center
Moving apparatus basic logical structure schematic diagram;
Figure 23 is disaster tolerance system basic logical structure schematic diagram provided in an embodiment of the present invention;
Figure 24 is the disaster tolerance system basic logical structure schematic diagram that another embodiment of the present invention provides.
Specific embodiment
The embodiment of the present invention provides one kind to carry out application virtual machine moving method from source data center to target data center,
Described application virtual machine operates on described source data center source server, and described application virtual machine refers to realize an application
The set of an at least virtual machine;Described source data center includes source storage device, and described source storage device is that described application is empty
Plan machine provides source LUN LUN of storage resource, and described source LUN is used for storing the data of described application virtual machine;Described
Target data center includes destination server and the target storage device communicating with described destination server, and described target storage sets
Standby with described source memory device communication, by target LUN of the data syn-chronization in described source LUN to described target storage device, several
It is used for managing source data center and target data center according to center management server, methods described includes:Described data center pipe
Reason server obtains the specification of described application virtual machine and the network information of described application virtual machine;Described data center management clothes
Business device sends to described target data center and creates instruction, described create instruction and carries the specification of described application virtual machine and described
The network information of application virtual machine, described establishment instructs for the specification according to described application virtual machine in described destination server
The described application virtual machine of upper establishment, and be described application virtual machine Configuration network according to the network information of described application virtual machine;
Described data center management server sends mounting instructions to described target data center, and described mounting instructions are used for making described mesh
Target LUN described in described application virtual machine carry on mark server;Described data center management server is to described number of targets
Send enabled instruction according to center, described enabled instruction is used for starting the described application virtual machine on described destination server.This
Bright embodiment also provides one kind accordingly to carry out application virtual machine moving apparatus and one from source data center to target data center
Plant disaster tolerance system.It is described in detail individually below.
The carrying out application virtual machine moving method from source data center to target data center and can apply of the embodiment of the present invention
In the data center constituting disaster tolerance system, its basic procedure refers to Fig. 1.Accompanying drawing 1 example from source data center to number of targets
Can be the data center management clothes that the embodiment of the present invention introduces according to the executive agent that center carries out application virtual machine moving method
Business device, it is to realize unified resource management(Unified Resource Management, URM)The Main physical equipment of platform.
Data center management server is mainly responsible for across data center(Data Center, DC)Unified resource management and running, in data
Heart management server can be deployed in the 3rd ground and not be deployed in any one DC needing to carry out resource scheduling management, such as accompanying drawing 2
Two DC illustrating, the disaster tolerance system that such as source data center and target data center are constituted, data center management server
With the cloud computing management platform in each DC(Fusion Management, FM)Annexation also can be shown that data center manage
Reason server present position relation.Accompanying drawing 1 example carry out application virtual machine migration from source data center to target data center
Method mainly includes step S101 to step S104:
S101, data center management server obtains the specification of application virtual machine and the network information of application virtual machine.
In embodiments of the present invention, apply(APPlication, APP)Virtual machine is a type of business, and business packet
Include application virtual machine, business network and template defining etc., wherein, application virtual machine are applied on data center management server
Operate on source data center source server, application virtual machine is the combination of at least virtual machine realizing an application.With
As a example typical Web framework, an application virtual machine comprises web interface server, middleware server database(Data
Base, DB)Server, different business has different service logic combinations, and all application virtual machines in each business are made
For an associated group, the unified migration of all application virtual machines in this business during a business migration.Business network includes one
The virtual network device that business is located(For example, virtual firewall)The subnet being located with business.If applying in data center management
Template is defined then it represents that the association being ready on data center management server between application virtual machine is closed on server
System, often opens an application, has opened one group of application virtual machine on cloud computing virtual platform.The present embodiments relate to
Application virtual machine migration be a kind of business migration more typically, so-called business migration, refer to that business migrates from a physics DC
To in another physics DC in strange land, in transition process, all resources of whole business migrate together.It should be noted that this
" source data center " in bright embodiment refers to the data center at this application virtual machine place before application virtual machine migration, and " mesh
Mark data center " then refers to home to return to or the purpose data center that the application virtual machine positioned at source data center will be migrated to.
Source data center includes source storage device, and source storage device provides the source LUN of storage resource for application virtual machine
(Logic Unit Number, LUN), for storing the data of application virtual machine, target data center includes target clothes to source LUN
Business device and the target storage device communicating with destination server, target storage device and source memory device communication, by the LUN of source
Data syn-chronization is to target LUN of target storage device, and data center management server is used for managing source data center and target
Data center.
As one embodiment of the invention, data center management server obtains the specification of described application virtual machine and described
The network information of application virtual machine, including:Data center management server periodically manages from the cloud computing of source data center
Platform query configuration file, this configuration file includes the specification of application virtual machine and the network information of application virtual machine.
S102, data center management server sends to target data center and creates instruction.
Specifically, data center management server sends to target data center and creates instruction is in described target data
The cloud computing management platform of the heart sends and creates instruction, so that the cloud computing management platform at described target data center is to described target
The network equipment of data center issues the network information and the target clothes to described target data center of described application virtual machine
Business device sends the specification of described application virtual machine.In embodiments of the present invention, create instruction carry application virtual machine specification and
The network information of application virtual machine, creates instruction empty for creating application on destination server according to the specification of application virtual machine
Plan machine, and be application virtual machine Configuration network according to the network information of application virtual machine.In fact, creating instruction to comprise application void
The network information of plan machine, configuring information of network appliance and application virtual machine information etc., wherein, because of the network information of application virtual machine
Relevant with business network resource with configuring information of network appliance, the instruction of business network asset creation can be classified as, and application virtual machine
Information is related to application virtual machine, can be classified as application virtual machine and create instruction.Application virtual machine packet contains application virtual machine
The LUN that IP address, the specification of application virtual machine, volume ID and current application virtual machine are located(Logical Unit
Number, LUN)Mark(ID).In fact, create the comprised information of instruction be packaged into configuration file in advance after be stored in number
According to center management server, when the condition carrying out business migration meets, inquiry can be passed through by data center management server
These configuration files obtain.So-called LUN, is to draw memory space according to preconsolidation stress with using effect on physical storage device
The logic storage unit dividing.One LUN federation belongs to a storage device, and therefore, storage device is actually the control of LUN
Device.For the relation with LUN for the storage device, the storage device that switching current application virtual machine is located, is also actually switching
The home control device of current application virtual machine place LUN.
S103, data center management server sends mounting instructions to target data center.
Mounting instructions are used for making application virtual machine carry target LUN on destination server.Data center management server
Before sending mounting instructions to target data center, also include:The cloud computing management platform of triggering source data center will currently be answered
Switch to the target storage device at target data center with the source storage device that virtual machine is located.
In the disaster tolerance system that accompanying drawing 2 example is made up of source data center and target data center, source data center
Virtual resource management(Virtual Resource Management, VRM)Node, fire wall(FireWall, FW), physics
The calculate node agency of cluster and physical cluster(Computing Node Agent, CNA)Realize the function of source server, mesh
The VRM node of mark data center, the calculate node agency of fire wall, physical cluster and physical cluster realize the work(of destination server
Can, operate in the application virtual machine on source server or destination server(Virtual Machine, VM)Access source data center
Or the storage of target data supercentral Virtual Intelligent(Virtual Intelligent Storage, VIS)Cluster, source server
On virtual resource management node the physical cluster of source data center is managed, the management of virtual resource on destination server
Node is managed to the physical cluster at target data center.
In an embodiment of the invention, the cloud computing management platform of triggering source data center is by current application virtual machine institute
Source storage device switch to the target storage device at target data center and can be:Cloud computing management to source data center
Platform sends storage device switching command.
It should be noted that as shown in Figure 2, the source storage device of the source data center of the embodiment of the present invention and number of targets
Constitute storage cluster according to the storage device at center, for example, Virtual Intelligent stores(VIS)Cluster, the source of source data center
Can be kept in touch by heartbeat message or transmission information between the target storage device at storage device and target data center;Storage
Equipment switching command also can be transferred to the cloud computing management platform at target data center, therefore, data center by heartbeat message
Management server only needs to send storage device equipment switching command to the cloud computing management platform of source data center, thus, should
Storage device switching command can be transferred to the cloud computing management platform at target data center by heartbeat message, and storage device switches
The source storage device that current application virtual machine is located after being performed by instruction switches to the target storage device at target data center.
In embodiments of the present invention, after the cloud computing management platform of source data center receives storage device switching command, in source data
The source storage device of the heart issues this storage device switching command;Cloud computing management platform due to target data center also can be passed through
Heartbeat message receives storage device switching command, and therefore, it also can issue this to the target storage device at target data center
Storage device switching command.The source storage device of source data center is by the Logical Disk of itself(Logical Disk herein is substantially appreciated that
For LUN, only LUN has repartitioned a Logical Disk again on a storage device, and this is the virtualization of storage)Priority
Turn down, the priority of the Logical Disk of itself is heightened by the target storage device at target data center, then the patrolling of target data center
Collect disk and be just automatically upgraded to primary Logical Disk, so, the source storage device that current application virtual machine is located switches to target data
The target storage device at center, storage device switching command is performed and completes.
S104, data center management server sends enabled instruction to target data center.
Enabled instruction is used for starting the application virtual machine on destination server.
Specifically, data center management server can include following S1041 to the transmission enabled instruction of target data center
And S1042:
S1041, sends enabled instruction to the cloud computing management platform at target data center, so that described target data center
Cloud computing management platform described target data center start described current application virtual machine place target data center should
Use virtual machine.
The cloud computing management platform at target data center after receiving the enabled instruction that data center management server issues,
This enabled instruction is forwarded to the destination server at target data center;Enabled instruction actually includes hanging volume instruction and starts
Application virtual machine instructs.The destination server at target data center, after receiving enabled instruction, is held according to extension volume instruction therein
The corresponding action of row is the corresponding book of carry, and executing corresponding action according to startup application virtual machine instruction therein will
Aforementioned establishment and be in the application virtual machine of original state be changed to can running status.The application virtual machine of so-called original state,
Refer to that created application virtual machine is empty virtual machine, system is not distributed at memory space, and this application virtual machine for it
In halted state i.e. temporarily also in may not operate state.
S1042, receives the execution completion message of enabled instruction.
After the destination server at target data center has executed described enabled instruction, to the cloud computing pipe at target data center
Platform returns the execution completion message of enabled instruction.The cloud computing management platform at target data center is by the execution of enabled instruction
Completion message forwards to data center management server, and the execution that data center management server receives enabled instruction completes to disappear
Breath.
Carry out application virtual machine migration from what the embodiments of the present invention provided from source data center to target data center
Method understands, the target storage device at target data center can be with the memory device communication of source data center, by source logic list
Data syn-chronization in unit LUN is to target LUN of target storage device, and, the establishment instruction that target data center is received
Destination server is enable application virtual machine to be created on destination server and according to application according to the specification of application virtual machine
The network information of virtual machine is application virtual machine Configuration network, and the mounting instructions being received make the application on destination server empty
Plan machine can carry target LUN, the enabled instruction being received enables destination server to start the application on destination server
Virtual machine.Due to said process and no manual intervention issues life, therefore, once the business place number including application virtual machine
According to center(For example, source data center)There is bust, business can be rapidly migrated to another data center(For example, mesh
Mark data center), recover all business including application virtual machine, this service level within another data center short time
Other disaster tolerance can meet the needs of user well.
Refer to accompanying drawing 3, be another embodiment of the present invention provide from source data center to target data center carry out should
With virtual machine migration method, its executive agent can be the cloud computing management platform at target data center(Fusion
Management, FM).The business migration method of accompanying drawing 3 example mainly includes step S301 to step S303:
S301, creates business network and original state at target data center under the triggering of data center management server
Application virtual machine.
In the present embodiment, target data center is identical with the target data center that previous embodiment defines, i.e. positioned at source
Home to return to or purpose data center that the application virtual machine of data center will be migrated to.As one embodiment of the invention,
Create the application virtual machine of business network and original state, bag at target data center under the triggering of data center management server
Include following S3011 to S3014:
S3011, the establishment instruction that receiving data center management server sends, create instruction and carry described application virtual machine
Specification and described application virtual machine the network information, described establishment instructs for the specification according to described application virtual machine in institute
State and described application virtual machine is created on destination server, and be that described application is virtual according to the network information of described application virtual machine
Machine Configuration network.
Similar with previous embodiment, application virtual machine information is the main contents that application virtual machine creates instruction, and it comprises
LUN identification that the IP address of application virtual machine, the specification of application virtual machine, volume ID and business are located etc., and the network information and
Configuring information of network appliance is the main contents of business network asset creation instruction.
S3012, the network information of the specification of application virtual machine and application virtual machine is issued to target data center respectively
And the network equipment.
S3013, receives the described execution completion message creating instruction.
The destination server at target data center according to application virtual machine information creating application virtual machine, then, to target
The cloud computing management platform of data center returns the execution completion message that application virtual machine creates instruction, and content comprises in target
The destination server of data center creates the application virtual machine of original state;The network equipment at target data center is believed according to network
Breath and configuring information of network appliance create business network, then, return business to the cloud computing management platform at target data center
Internet resources create the execution completion message of instruction, and the network equipment that content comprises at target data center creates service network
Network.
S3014, the implementing result creating instruction is uploaded to described data center management server.
The cloud computing management platform at target data center creates instruction and business network asset creation according to application virtual machine
The execution completion message of instruction, will create the implementing result of instruction, that is, the network equipment at target data center creates business
Network and the application virtual machine of the establishment original state of the destination server at target data center, are uploaded to data center management
Server, data center management server receives the implementing result creating instruction.
S302, after source data center stops current application virtual machine, ought under the triggering of data center management server
The storage device that front application virtual machine is located switches to the target storage device at target data center.
In the present embodiment, storage device is identical with the storage device definition of previous embodiment, and storage device is actually LUN
Controller.For the relation with LUN for the storage device, the storage device that switching current application virtual machine is located, actually
It is the home control device of switching current application virtual machine place LUN.
In an embodiment of the invention, after source data center stops current business, touching in unified resource management platform
Give the Virtual Intelligent that current business is located and store the VIS equipment that VIS equipment switches to notebook data center, including:
S3021, receives described data center management server and sends the cloud computing management platform to source data center and lead to
Cross heartbeat message transmission to the storage device switching command of the cloud computing management platform at target data center.
The source storage device that described current application virtual machine is located after being performed by storage device switching command switches to institute
State the target storage device at target data center.As it was previously stated, the source data center of the embodiment of the present invention and target data center
VIS equipment constituted VIS cluster, can lead between the VIS equipment of source data center and the VIS equipment at target data center
Cross heartbeat message to keep in touch or transmission information;VIS equipment switching command also can be transferred in target data by heartbeat message
The cloud computing management platform of the heart, therefore, unified resource management platform sends VIS to the cloud computing management platform of source data center and sets
After standby switching command, this VIS equipment switching command can be transferred to target data center by heartbeat message(I.e. in the present embodiment
Notebook data center)Cloud computing management platform.
S3022, executes storage device switching command.
In embodiments of the present invention, because the cloud computing management platform at target data center can be received by heartbeat message
Storage device switching command, therefore, it also can issue the switching of this storage device to the target storage device at target data center and refer to
Order.The source storage device of source data center is by the Logical Disk of itself(Logical Disk herein substantially can be regarded as LUN, only
LUN has repartitioned a Logical Disk on VIS equipment again, and this is the virtualization of storage)Priority turn down, in target data
The priority of the Logical Disk of itself is heightened by the target storage device of the heart, then the Logical Disk at target data center just automatic rise based on
With Logical Disk, so, the storage device that current application virtual machine is located switches to the storage device at target data center, storage
Equipment switching command is performed and completes.
S3023, the execution completion message of storage device switching command is uploaded to data center management server.
The storage device that current application virtual machine is located after being performed by storage device switching command switches to target data
The storage device at center.After storage device switching command is performed, the cloud computing management platform at target data center is in data
Heart management server returns the execution completion message of storage device switching command, and data center management server receives storage device
The execution completion message of switching command.
S303, after the completion of switching, under the triggering of data center management server by the application virtual machine of original state more
Being changed to can running status.
The application virtual machine of so-called original state, refers to that created application virtual machine is empty virtual machine, system is not
Distribution memory space, and this application virtual machine is placed in a suspend state i.e. temporarily also in may not operate state.Specifically, exist
Under the triggering of data center management server by the application virtual machine of original state be changed to can running status, can include as follows
S3031 to S3034:
S3031, the enabled instruction that receiving data center management server sends.
S3032, enabled instruction is issued to the destination server at target data center.
The cloud computing management platform at target data center after receiving the enabled instruction that data center management server issues,
This enabled instruction is forwarded to the destination server at target data center;Enabled instruction actually includes hanging volume instruction and starts
Application virtual machine instructs.The destination server at target data center, after receiving enabled instruction, is held according to extension volume instruction therein
The corresponding action of row is the corresponding book of carry, and executing corresponding action according to startup application virtual machine instruction therein will
Aforementioned establishment and be in the application virtual machine of original state be changed to can running status.
S3033, receives the execution completion message of the enabled instruction of destination server return at target data center.
After the destination server at target data center has executed enabled instruction, flat to the cloud computing management at target data center
Platform returns the execution completion message of enabled instruction.
S3034, the execution completion message of enabled instruction is uploaded to data center management server.
Below with regard to the interaction of each equipment of data center, further illustrate the embodiments of the present invention offer from source data
Center carries out application virtual machine moving method to target data center.Refer to accompanying drawing 4, be provided in an embodiment of the present invention from source
Data center carries out the interaction flow of each equipment in application virtual machine moving method to target data center.In accompanying drawing 4, URM table
According to center management server, FW1 represents the network equipment of source data center to registration, and FC1 represents the source server of source data center,
FM1 represents the cloud computing management platform of source data center, and FW2 represents the network equipment at target data center, and FC2 represents number of targets
According to the destination server at center, FM2 represents the cloud computing management platform at target data center, it should be noted that accompanying drawing 4 example
Interaction flow in, " business " can refer in particular to application virtual machine.The interaction flow of each equipment describes in detail as follows, including step S401
To step S426:
S401, the timing of data center management server inquires about current business configuration parameter, to obtain corresponding configuration file
Preserve.
Current business configuration parameter include the network information of current business place data center, configuring information of network appliance and
Application virtual machine information etc., it is subsequently flat to the cloud computing management at target data center that these also constitute data center management server
Platform(FM2)The main contents creating instruction sending, wherein, application virtual machine packet contains the IP address of application virtual machine, answers
The LUN identification being located with the specification of virtual machine, volume ID and business(ID).Current business is inquired about in the timing of data center management server
After configuration parameter, it is wrapped into into configuration file, be stored in data center management server.
S402, triggers business migration.
The triggering of business migration is to start when the condition of business migration meets.The condition satisfaction of business migration refers to user
On data center management server, manually perform business migration, or, the business migration trigger condition of definition has expired
Foot, for example, business predefined key virtual-machine fail and cannot intracardiac in notebook data restarting, or predefined
Timing migrate business moment reach.It should be noted that the condition of business migration can be used as the one of business migration strategy
Part is defined beforehand through on the service template of data center management server by user.Business migration strategy is except comprising industry
Outside the condition of business migration, business target data center to be migrated etc. can also be comprised.
S403, data center management server sends to the cloud computing management platform at target data center and creates instruction.
As it was previously stated, creating instruction to comprise the network information, configuring information of network appliance and application virtual machine information etc., its
In, because the network information and configuring information of network appliance are relevant with business network resource, the instruction of business network asset creation can be classified as,
And application virtual machine information is related to application virtual machine, application virtual machine can be classified as and create instruction.
S404, the cloud computing management platform at target data center sends business network to the network equipment at target data center
Asset creation instructs.
As it was previously stated, i.e. relevant with the business network resource network information of business network asset creation instruction and the network equipment
Configuration information.
S405, the network equipment at target data center creates business network.
Specifically, the network equipment at target data center creates service network according to the network information and configuring information of network appliance
Network.
S406, the network equipment at target data center returns business network to the cloud computing management platform at target data center
The execution completion message of asset creation instruction.
The network equipment at target data center creates after business network according to the network information and configuring information of network appliance, to
The execution completion message that the cloud computing management platform at target data center returns the instruction of business network asset creation is Internet resources
Create result, the network equipment that content comprises at target data center creates business network.
S407, the cloud computing management platform at target data center issues application void to the destination server at target data center
Plan machine creates instruction.
S408, destination server creates application virtual machine.
Specifically, destination server is the main contents that application virtual machine creates instruction according to application virtual machine information, wound
Build application virtual machine, wherein, application virtual machine packet contains the IP address of application virtual machine, the specification of application virtual machine, volume ID
The LUN identification being located with current business(ID)Deng.
S409, the destination server at target data center returns application void to the cloud computing management platform at target data center
Plan machine creates the execution completion message of instruction.
After the cloud computing virtual platform at target data center is according to application virtual machine information creating application virtual machine, to mesh
The cloud computing management platform of mark data center returns application virtual machine and creates the execution completion message instructing is application virtual machine wound
Build result, the destination server that content comprises at target data center creates the application virtual machine of original state, wherein, initially
The application virtual machine of state refers to that created application virtual machine is empty virtual machine, and system does not distribute memory space for it, and
And this application virtual machine is placed in a suspend state i.e. temporarily also in may not operate state.
S410, the cloud computing management platform at target data center returns service resources to data center management server and creates
Result.
The cloud computing management platform at target data center creates instruction and business network asset creation according to application virtual machine
The execution completion message of instruction, service resources are created result, i.e. the network equipment at target data center creates service network
Network and the application virtual machine of the establishment original state of the cloud computing virtual platform at target data center, are back to data center
Management server.
S411, data center management server issues current business to the cloud computing management platform of source data center to be stopped referring to
Order.
The current business halt instruction that data center management server sends comprises two parts, and a part is current business net
Network resource deletes instruction, and this command request deletes current business Internet resources, and another part is that the deletion of current application virtual machine refers to
Order, this command request deletes current application virtual machine.
S412, the cloud computing management platform of source data center issues current business network to the network equipment of source data center
Resource deletes instruction.
S413, the network equipment of source data center deletes current business Internet resources.
Specifically, the network equipment of source data center is deleted instruction according to current business Internet resources and is deleted current business net
Network resource.
S414, the network equipment of source data center returns current business to the cloud computing management platform of source data center to be stopped
The execution completion message of instruction.
The current business that the network equipment of source data center returns to the cloud computing management platform of source data center stops referring to
The execution completion message of order shows:Current business Internet resources are deleted.
S415, it is virtual that the cloud computing management platform of source data center issues current application to the source server of source data center
Instruction deleted by machine.
S416, the cloud computing virtual platform of source data center deletes current application virtual machine.
Specifically, the cloud computing virtual platform of source data center is deleted instruction according to current application virtual machine and is deleted currently
Application virtual machine.
S417, the cloud computing virtual platform of source data center returns currently to the cloud computing management platform of source data center
The execution completion message of business halt instruction.
The current industry that the cloud computing virtual platform of source data center returns to the cloud computing management platform of source data center
The execution completion message of business halt instruction shows:Delete current application virtual machine.
S418, the cloud computing management platform of source data center returns current business to data center management server and stops referring to
The execution completion message of order.
The current business halt instruction that the cloud computing management platform of source data center returns to data center management server
Execution completion message show:The network equipment of source data center has deleted current business Internet resources, the cloud of source data center
Calculate virtual platform and delete current application virtual machine.
S419, data center management server sends storage device switching to the cloud computing management platform of source data center and refers to
Order.
As it was previously stated, the storage device at the source data center of the embodiment of the present invention and target data center has constituted and has deposited
Storage device clusters, can be disappeared by heartbeat between the source storage device of source data center and the target storage device at target data center
Breath is kept in touch or transmission information;The storage that data center management server sends to the cloud computing management platform of source data center
Equipment switching command can be transferred to the cloud computing management platform at target data center by heartbeat message.
S420, the cloud computing management platform execution storage device switching at target data center.
Specifically, the target storage device at target data center is by the Logical Disk of itself(Logical Disk herein substantially can be managed
Solve as LUN, only LUN has repartitioned a Logical Disk on VIS equipment again, this is the virtualization of storage)Preferential
Level is heightened, and meanwhile, the priority of the Logical Disk of itself is turned down by the source storage device of source data center, then target data center
Logical Disk is just upgraded to primary Logical Disk automatically, and so, the storage device that current business is located switches to target data center
Target storage device, storage device switching command is performed and completes.
S421, the cloud computing management platform at target data center returns storage device switching to data center management server
The execution completion message of instruction.
The execution completion message of storage device switching command shows, the execution of storage device switching command completes, will be current
The storage device that business is located switches to the target storage device at target data center.
S422, data center management server sends enabled instruction to the cloud computing management platform at target data center.
S423, the cloud computing management platform at target data center forwards startup to refer to the destination server at target data center
Order.
S424, the destination server execution enabled instruction at target data center.
Enabled instruction actually includes hanging volume instruction and starts application virtual machine instruction.The destination service at target data center
After receiving enabled instruction, execute corresponding action according to extension volume instruction therein is the corresponding book of carry to device, according to it
In start application virtual machine instruction execute corresponding action will aforementioned create and be in the application virtual machine of original state more
Being changed to can running status.
S425, the destination server at target data center returns startup to the cloud computing management platform at target data center and refers to
The execution completion message of order.
S426, the cloud computing management platform at target data center returns holding of enabled instruction to data center management server
Row completion message.
From the embodiments of the present invention provide business migration method understand, target data center create business network with
The application virtual machine of original state and source data center stop current business be when the condition of business migration meets triggering,
The application virtual machine of the switching of current business and original state is changed to running status to be all by data center management server
Triggering is carried out, and does not need manual intervention, and therefore, once business place data center occurs bust, business can be fast
Speed migrates to another data center, recovers within another data center short time, and the disaster tolerance of this service level can be expired well
The needs of sufficient user.
Refer to accompanying drawing 5, be another embodiment of the present invention to carry out application from source data center to target data center empty
Plan machine moving method basic flow sheet, its executive agent can be the data center management service that another embodiment of the present invention introduces
Device, realizes unified resource management in fact(Unified Resource Management, URM)The Main physical equipment of platform.Attached
The carrying out application virtual machine moving method from source data center to target data center and mainly comprise the steps S501 of Fig. 5 example
To step S504:
S501, the triggering when the condition of business migration meets stops current application virtual machine in source data center.
In the present embodiment, the condition of business, business migration and business migration respectively with the business of aforementioned figures 1 example,
The condition of business migration and business migration is identical, does not repeat.When the condition of business migration meets, triggering is in source data
The heart stops current application virtual machine and specifically includes:
S5011, issues current application virtual machine halt instruction to the cloud computing management platform of source data center, so that source number
Cloud computing management platform according to center issues current application virtual machine and stops to the network equipment of source data center and source server
Instruction.
In the present embodiment, the current application virtual machine halt instruction that data center management server issues comprises two parts,
A part is that current business Internet resources delete instruction, and this instruction is destined to the network equipment of source data center it is desirable to delete
Current business Internet resources, another part is that current application virtual machine deletes instruction, and this instruction is destined to source data center
Source server is it is desirable to delete current application virtual machine.
S5012, receives the current application virtual machine halt instruction execution that the cloud computing management platform of source data center returns
Completion message, current application virtual machine halt instruction executes completion message and includes working as in the network equipment deletion of source data center
Front business network resource and stopped current application virtual machine in the source server of source data center.
As it was previously stated, the current application virtual machine halt instruction that data center management server issues comprises current business net
Network resource deletes instruction and current application virtual machine deletes instruction.When the network equipment of source data center, to receive current application virtual
After machine halt instruction, delete the current business Internet resources in the network equipment, when the cloud computing virtual platform of source data center
After receiving current application virtual machine halt instruction, delete the current application virtual machine in cloud computing virtual platform.Treat source data
After the source server at center and the network equipment have executed deletion action, return current to the cloud computing management platform of source data center
The execution completion message of application virtual machine halt instruction, the cloud computing management platform of source data center receives this execution and completes to disappear
Cease and return to data center management server.The content that current application virtual machine halt instruction executes completion message includes existing
The network equipment of source data center deletes current business network resource and in the cloud computing virtual platform of source data center
Stop current application virtual machine.
S502, triggering backup policy controls server, so that described backup policy controls server triggers Source backups strategy
Execute server and target backup policy execute server, will be standby to target for the snap copy of the application virtual machine of source data center
Part strategy execution server.
Specifically, triggering backup policy control server so that backup policy control server triggers source data center and
The backup policy execute server at target data center, including:
S5021, triggering backup policy controls server, so that backup policy controls the standby of server triggers source data center
Part strategy execution server creates the snapshot of the application virtual machine of source data center, the snapshot of the application virtual machine of source data center
Backup to the network storage equipment of source data center and be synchronized to the network storage equipment at target data center.
In the present embodiment, user can call backup policy to control the interface wound of server on data center management server
Build snapshot backup policy, including one of full dose snapshot, incremental snapshot and snapshot cycle or any combination.In data center
Under the triggering of management server, backup policy controls the backup policy execute server of server triggers source data center to create source
The snapshot of the application virtual machine of data center, that is,:Virtual machine snapshot is created by the backup policy execute server of source data center
Instruction is forwarded to the source server of source data center;The source server of source data center creates the fast of the virtual machine of source data center
According to rear, to disappearing that the snapshot of the virtual machine of the backup policy execute server return establishment source data center of source data center completes
Breath;The snapshot of the virtual machine of source data center is derived and is backed up to source data by the backup policy execute server of source data center
The network storage equipment at center, by synchronizing network, the snapshot of the virtual machine of source data center is synchronized to target data center
The network storage equipment.
S5022, receives backup policy and controls the snapshot that server returns to create completion message.
S5023, controlling server to send snapshot to backup policy derives instruction, so that backup policy controls server triggers
The backup policy execute server at target data center derives the snapshot of the virtual machine of described source data center.
As it was previously stated, the network that the snapshot of the application virtual machine creating in source data center can backup to source data center is deposited
Storage equipment(Network Access Storage, NAS)And it is synchronized to the network storage equipment at target data center.Therefore, when
Data center management server is derived to backup policy control server transmission snapshot when instructing, and backup policy control server can
The network storage equipment from target data center for the backup policy execute server at triggering target data center is derived source data
The snapshot of the virtual machine of the heart.
S5024, the snapshot receiving the virtual machine of source data center derives completion message.
The network storage equipment from target data center for the backup policy execute server at target data center derives source number
After snapshot according to the virtual machine at center, the snapshot returning the virtual machine of source data center to data center management server has been derived
Become message, the snapshot that data center management server receives the virtual machine of source data center derives completion message.
After receiving the snapshot of virtual machine of source data center derivation completion message, data center management server is to source number
Issue current application virtual machine according to the cloud computing management platform at center and delete instruction, the cloud computing management platform of source data center will
Current application virtual machine is deleted instruction and is forwarded to the source server of source data center.Treat that the source server of source data center will be current
Application virtual machine delete instruction execute will current application virtual machine deletion after, to the cloud computing management platform of source data center
Return the execution completion message that current application virtual machine deletes instruction.This is disappeared by the cloud computing management platform of source data center again
Cease and forward to data center management server, data center management server forwards and receives the deletion instruction of current application virtual machine
Execution completion message.
S503, triggering creates the application virtual machine of business network and original state at target data center.
In the present embodiment, triggering creates business network at target data center and the application program application of original state is empty
Plan machine comprises the steps S5031 to step S5034:
S5031, when the condition of business migration meets, sends establishment to the cloud computing management platform at target data center and refers to
Order, so that the cloud computing management platform at described target data center is empty to the network equipment at described target data center and cloud computing
Planization platform issues establishment instruction.
In embodiments of the present invention, whether the condition of business migration can be user in data center management server left-hand seat
Move the business migration that execution business migration or user define in advance on the service template of data center management server
Trigger condition, including service subscription justice crucial virtual-machine fail and cannot in notebook data intracardiac restart or make a reservation for
Justice timing migrates moment of business etc..According to above-mentioned definition, the condition satisfaction of business migration refers to user in data
Business migration is manually performed in heart management server, or, the business migration trigger condition of definition has met, for example, business
Predefined key virtual-machine fail and cannot intracardiac in notebook data restarting, or predefined timing migration industry
The moment of business reaches.It should be noted that the condition of business migration can be pre- by user as a part for business migration strategy
First pass through definition on the service template of data center management server.Business migration strategy is except comprising the condition of business migration
Outside, business target data center to be migrated etc. can also be comprised.Another it should be noted that, in embodiments of the present invention,
The network equipment can be fire wall.
Data center management server comprises net to the establishment instruction that the cloud computing management platform at target data center sends
Network information, configuring information of network appliance and application virtual machine information etc., wherein, because the network information and configuring information of network appliance with
Business network resource is relevant, can be classified as the instruction of business network asset creation, and application virtual machine information is related to application virtual machine,
Application virtual machine can be classified as and create instruction.Application virtual machine packet contains the IP address of application virtual machine, the rule of application virtual machine
The LUN that lattice, volume ID and current business are located(Logical Unit Number, LUN)Mark(ID).In fact, industry
Business the comprised information of asset creation instruction be packaged into configuration file in advance after be stored in data center management server,
When the condition of business migration meets, can pass through to inquire about the acquisition of these configuration files by data center management server.
S5032, the cloud computing management platform receiving target data center executes what completion message returned according to creating instruction
Create result, described establishment instruction execution completion message includes creating business network and in number of targets at target data center
Destination server according to center creates the application virtual machine of original state.
As it was previously stated, creating instruction to comprise the network information, configuring information of network appliance and application virtual machine information etc..Actual
On, the cloud computing management platform at target data center, after receiving establishment instruction, a portion is application virtual machine information
Send the destination server giving target data center, destination server is to realize cloud computing virtual platform(Fusion
Compute, FC)Main physical equipment, another part is that the network information and configuring information of network appliance send and give number of targets
The network equipment according to center.The network equipment at target data center and destination server instruct according to establishment, in target data
The cloud computing management platform of the heart returns and creates instruction execution completion message, i.e. the network equipment at target data center is according to network
Information and configuring information of network appliance create business network, then return network to the cloud computing management platform at target data center
Asset creation result, the network equipment that content comprises at target data center creates business network;The mesh at target data center
Mark server, according to application virtual machine information creating application virtual machine, then returns to the cloud computing management platform at target data center
Response virtual machine creating result, the application that the destination server that content comprises at target data center creates original state is empty
Plan machine.The application virtual machine of so-called original state, refers to that created application virtual machine is empty virtual machine, system is not divided for it
Join memory space, and this application virtual machine is placed in a suspend state i.e. temporarily also in may not operate state.Target data center
Cloud computing management platform according to create instruction execution completion message, to data center management server return create result, number
Receive this establishment result according to center management server.
S5033, according to creating result, issues current application virtual machine to the cloud computing management platform of source data center and stops
Instruction, so that the cloud computing management platform of described source data center is under the network equipment and source server of described source data center
Send out current application virtual machine halt instruction.
Because the destination server at target data center and the network equipment are to the cloud computing management platform at target data center
The establishment instruction execution completion message returning shows:The network equipment at target data center creates business network and in mesh
The destination server of mark data center creates the application virtual machine of original state, and therefore, data center management server can basis
Create result, issue current application virtual machine halt instruction to the cloud computing management platform of source data center, so that in source data
The cloud computing management platform of the heart issues current application virtual machine and stops to the network equipment of described source data center and source server
Instruction, thus stop current application virtual machine.
S5034, receives the holding of current application virtual machine halt instruction that the cloud computing management platform of source data center returns
Row completion message, the execution completion message of described current application virtual machine halt instruction includes setting in the network of source data center
For deletion current business Internet resources with the cloud computing virtual platform deletion current application virtual machine of source data center.
The current application virtual machine halt instruction that data center management server sends comprises two parts, and a part is current
Business network resource deletes instruction, and this instruction is destined to the network equipment of source data center it is desirable to delete current business network
Resource, another part be current application virtual machine delete instruction, this instruction be destined to source data center source server it is desirable to
Delete current application virtual machine.After the network equipment of source data center receives current application virtual machine halt instruction, delete net
Current business Internet resources in network equipment, when the source server of source data center receives current application virtual machine halt instruction
Afterwards, delete the current application virtual machine in source server.Treat that the source server of source data center and the network equipment have executed deletion
The execution completion message of current application virtual machine halt instruction after action, is returned to the cloud computing management platform of source data center,
The cloud computing management platform of source data center receives this execution completion message.
S504, triggering backup policy controls server, so that backup policy controls server triggers target backup policy to hold
Row server recovers application virtual machine using the target data center that impinges upon soon of the application virtual machine of source data center.
Refer to accompanying drawing 6, be another embodiment of the present invention to carry out application from source data center to target data center empty
Plan machine moving method basic flow sheet, its executive agent can be that the backup policy that another embodiment of the present invention introduces controls service
Device(Dispatcher DPS), and the business that the target data center referring in the present embodiment is located at source data center will be by
The home to return to moving to or purpose data center.Accompanying drawing 6 example carry out applying to target data center from source data center virtual
Machine moving method mainly comprises the steps S601 and step S602:
S601, under the triggering of data center management server, the backup at triggering source data center and target data center
Strategy execution server, by the backup policy execution of the snap copy of the application virtual machine of source data center to target data center
Server.
Specifically, under the triggering of data center management server, triggering source data center and target data center standby
Part strategy execution server, the snap copy of the application virtual machine of source data center is held to the backup policy at target data center
Row server, comprises the steps S6011 to step S6013:
S6011, the backup policy execute server of triggering source data center creates the snapshot of the virtual machine of source data center,
The snapshot of the virtual machine of source data center to the network storage equipment of source data center and is synchronized to target data center
The network storage equipment.
Specifically, backup policy controls server to issue virtual machine to the backup policy execute server of source data center fast
According to creating instruction, the establishment instruction of this virtual machine snapshot is forwarded in source data the backup policy execute server of source data center
The source server of the heart;After the source server of source data center creates the snapshot of virtual machine of source data center, to source data center
Backup policy execute server return the message that completes of snapshot of the virtual machine creating source data center;Source data center standby
The network storage that source data center was derived and backed up to the snapshot of the virtual machine of source data center is set by part strategy execution server
Standby;By synchronizing network, the snapshot of the virtual machine of source data center is synchronized to the network storage equipment at target data center.Source number
Backup policy execute server according to center controls server to return the fast of the virtual machine creating source data center to backup policy
According to the message completing.
S6012, after the message that the snapshot receiving the virtual machine creating source data center completes, receiving data centre management
The snapshot that server sends derives instruction.
The snapshot that data center management server sends is derived instruction and is controlled server triggers number of targets for backup policy
According to center backup policy execute server by the snap copy of the application virtual machine of source data center to target data center
Backup policy execute server.
S6013, the backup policy execute server at target data center creates recovery policy, so that target data center
Backup policy execute server by the backup plan of the snap copy of the application virtual machine of source data center to target data center
Slightly execute server.
Backup policy controls the backup policy execute server at target data center for the server to create recovery policy, and week
Phase property ground inquiry recovery tasks progress.As it was previously stated, passing through synchronizing network, the snapshot of the virtual machine of source data center is synchronized to
The network storage equipment at target data center.Therefore, the backup policy execute server at target data center can be from number of targets
Obtain the snapshot of the application virtual machine of source data center according to the network storage equipment at center, by the application virtual machine of source data center
Snap copy to target data center backup policy execute server.
S602, the backup policy of the snap copy of the application virtual machine of source data center to target data center executes service
After device, under the triggering of data center management server, the backup policy execute server triggering described target data center makes
Recover application virtual machine with the target data center that impinges upon soon of the application virtual machine of source data center.
Specifically, under the triggering of data center management server, the backup policy triggering described target data center is held
Row server using the application virtual machine of source data center impinge upon soon target data center recover application virtual machine include as follows
Step S6021 is to step S6024:
S6021, the use snapshot that receiving data center management server issues recovers application virtual machine instruction.
It should be noted that the use snapshot issuing in receiving data center management server recovers application application virtual machine
Before instruction, under the triggering of data center management server, create business network and original state at target data center
Application virtual machine, detailed process see step S5031 of previous embodiment to step S5034, does not repeat herein.
S6022, will recover application virtual machine instruction using snapshot and send to execute clothes to the backup policy at target data center
Business device, so that the backup policy execute server at target data center issues institute to the destination server at described target data center
State and recover application virtual machine instruction using snapshot.
The backup policy execute server at target data center receives to be recovered after application virtual machine instruction using snapshot, to mesh
The destination server of mark data center issues and recovers application virtual machine instruction using snapshot.The destination server at target data center
Execution recovers application virtual machine instruction using snapshot, recovers application virtual machine, thus realizing the migration of application virtual machine.
S6023, the application virtual machine receiving the backup policy execute server return at described target data center has recovered
Become message, described application virtual machine recovers the destination server that completion message is described target data center and uses soon according to described
Return according to the backup policy execute server recovering application virtual machine instruction and recovering application virtual machine described target data center backward
The message returned.
As it was previously stated, the backup policy execute server at target data center receives being referred to using snapshot recovery application virtual machine
After order, issue to the destination server at target data center and recover application virtual machine instruction using snapshot.Target data center
Destination server execution recovers application virtual machine instruction using snapshot, recovers application virtual machine.In the present embodiment, application is virtual
Machine recovery completion message is that the destination server at target data center recovers to answer according to using snapshot recovery application virtual machine instruction
After virtual machine, to the message of the backup policy execute server return at target data center.
S6024, described application virtual machine recovery completion message is uploaded to described data center management server.
Application virtual machine recovery completion message is uploaded in data the backup policy execute server at target data center
After heart management server, data center management server triggers source data center stops current application virtual machine, including in source number
Network equipment deletion current business Internet resources according to center and the cloud computing virtual platform in source data center are deleted currently
Application virtual machine, specifically see the related content of previous embodiment, does not repeat herein.
Refer to accompanying drawing 7, be that provided in an embodiment of the present invention to carry out application from source data center to target data center empty
Plan machine moving apparatus basic logical structure schematic diagram.For convenience of description, illustrate only the portion related to the embodiment of the present invention
Point.Accompanying drawing 7 example to carry out application virtual machine moving apparatus from source data center to target data center can be disaster tolerance system
In data center management server, with accompanying drawing 1 example carry out application virtual machine from source data center to target data center
The executive agent of moving method is corresponding.The carrying out application virtual machine from source data center to target data center and move of accompanying drawing 7 example
In moving device, application virtual machine operates on source data center source server, and application virtual machine refers to realize an application extremely
The set of a few virtual machine, source data center includes source storage device, and source storage device provides storage money for application virtual machine
Source LUN LUN in source, source LUN is used for storing the data of described application virtual machine, and target data center includes target clothes
Business device and the target storage device communicating with destination server, target storage device and source memory device communication, by the LUN of source
To target LUN of target storage device, data center management server is used for managing source data center and number of targets data syn-chronization
According to center.The carrying out application virtual machine moving apparatus from source data center to target data center and mainly include obtaining of accompanying drawing 7 example
Delivery block 701, establishment instruction sending module 702, mounting instructions send 703 and enabled instruction sending module 704, and each module is detailed
It is described as follows:
Acquisition module 701, for obtaining the specification of described application virtual machine and the network information of described application virtual machine;
Create instruction sending module 702, create instruction for sending to described target data center, described establishment instruction is taken
Specification with described application virtual machine and the network information of described application virtual machine, described establishment instructs for according to described application
The specification of virtual machine creates described application virtual machine, and the network letter according to described application virtual machine on described destination server
Cease for described application virtual machine Configuration network;
Mounting instructions sending module 703, for sending mounting instructions to described target data center, described mounting instructions are used
In making target LUN described in described application virtual machine carry on described destination server;
Enabled instruction sending module 704, for sending enabled instruction to described target data center, described enabled instruction is used
Described application virtual machine on the described destination server of startup.
It should be noted that the figures above 7 example carry out application virtual machine from source data center to target data center
In the embodiment of moving apparatus, the division of each functional module is merely illustrative of, can as needed, for example in practical application
The convenient consideration of the realization of the configuration requirement of corresponding hardware or software, and above-mentioned functions are distributed complete by different functional modules
Become, the internal structure that described will carry out application virtual machine moving apparatus from source data center to target data center is divided into not
Same functional module, to complete all or part of function described above.And, the phase in practical application, in the present embodiment
The functional module answered can be to be realized by corresponding hardware completing it is also possible to execute corresponding software by corresponding hardware, for example,
Aforesaid acquisition module, can be to have the execution aforementioned acquisition specification of application virtual machine and the network information of application virtual machine
Hardware, such as getter or be able to carry out corresponding computer program thus completing aforementioned function processor or
Other hardware devices of person;For another example aforesaid establishment instruction sending module, can be have execution aforementioned in described target data
The heart send create command function hardware, for example create commander sender or be able to carry out corresponding computer program from
And complete general processor or other hardware devices of aforementioned function(Each embodiment that this specification provides all can be applied
State description principle).
The acquisition module 701 of accompanying drawing 7 example can include query unit 801, another embodiment of the present invention as shown in Figure 8
There is provided carries out application virtual machine moving apparatus query unit 801 for periodically from source data center to target data center
From the cloud computing management platform query configuration file of described source data center, described configuration file includes described application virtual machine
Specification and the network information of described application virtual machine.
The establishment instruction sending module 702 of accompanying drawing 7 example can include the first transmitting element 901, as shown in Figure 9 this
What bright another embodiment provided carry out application virtual machine moving apparatus first from source data center to target data center sends list
Unit 901 is used for sending to create to the cloud computing management platform at target data center instructing, so that the cloud computing at target data center
Management platform issues the network information of described application virtual machine and to described mesh to the network equipment at described target data center
The destination server of mark data center sends the specification of described application virtual machine.
Accompanying drawing 7 example from source data center to target data center carry out application virtual machine moving apparatus also include switch
Trigger module 1001, what another embodiment of the present invention provided as shown in Figure 10 is carried out to target data center from source data center
Application virtual machine moving apparatus.The cloud computing management platform that handover trigger module 1001 is used for triggering described source data center ought
The source storage device that front application virtual machine is located switches to the target storage device at described target data center.
The handover trigger module 1001 of accompanying drawing 10 example includes the second transmitting element 1101, and the present invention is another as shown in Figure 11
What one embodiment provided carries out application virtual machine moving apparatus from source data center to target data center.Second transmitting element
1101 are used for sending storage device switching command, described storage device switching to the cloud computing management platform of described source data center
Instruction is transferred to the cloud computing management platform at described target data center, described storage device switching command quilt by heartbeat message
The target storage that the source storage device after execution, described current application virtual machine being located switches to described target data center sets
Standby.
Refer to accompanying drawing 12, be another embodiment of the present invention provide from source data center to target data center carry out should
With virtual machine (vm) migration device basic logical structure schematic diagram.For convenience of description, illustrate only related to the embodiment of the present invention
Part.Accompanying drawing 12 example to carry out application virtual machine moving apparatus from source data center to target data center can be disaster tolerance
The cloud computing management platform at target data center in system, with entering to target data center from source data center of accompanying drawing 3 example
The executive agent of row application virtual machine moving method is corresponding, and it mainly includes creation module 1201, handover module 1202 and state
Change module 1203, each module describes in detail as follows:
Creation module 1201, for creating service network at target data center under the triggering of data center management server
Network and the application virtual machine of original state.
Handover module 1202, stops after current application virtual machine for source data center, in data center management server
Triggering under storage device that current application virtual machine is located switch to the target storage device at target data center.
Status Change module 1203, after the completion of switching, by initial shape under the triggering of data center management server
The application virtual machine of state is changed to can running status.
The creation module 1201 of accompanying drawing 12 example can include the first receiving unit 1301, the first issuance unit 1302,
Two receiving units 1303 and the first uploading unit 1304, as shown in Figure 13 another embodiment of the present invention provide from source data
The heart carries out application virtual machine moving apparatus to target data center, wherein:
First receiving unit 1301, for receiving the establishment instruction that described data center management server sends, described wound
Build instruction and carry the specification of described application virtual machine and the network information of described application virtual machine, described establishment instructs for basis
The specification of described application virtual machine creates described application virtual machine on described destination server, and according to described application virtual machine
The network information be described application virtual machine Configuration network;
First issuance unit 1302, for by the network information of the specification of described application virtual machine and application virtual machine respectively
Be issued to target data center and the network equipment;
Second receiving unit 1303, for receiving the described execution completion message creating instruction;
First uploading unit 1304, for being uploaded to described data center management service by the implementing result creating instruction
Device.
The handover module 1202 of accompanying drawing 12 example can include the 3rd receiving unit 1401, on performance element 1402 and second
Leaflet unit 1403, carrying out to target data center from source data center that another embodiment of the present invention provides as shown in Figure 14 should
Use virtual machine (vm) migration device, wherein:
3rd receiving unit 1401, sends for receiving data center management server to the cloud computing pipe of source data center
Platform and be transferred to by heartbeat message target data center cloud computing management platform storage device switching command, storage
The source storage device that current application virtual machine is located after being performed by equipment switching command switches to the target at target data center
Storage device;
Performance element 1402, for executing storage device switching command;
Second uploading unit 1403, for being uploaded to data center's pipe by the execution completion message of storage device switching command
Reason server.
The Status Change module 1203 of accompanying drawing 12 example can include the 4th receiving unit 1501, the second issuance unit
1502nd, the 5th receiving unit 1503 and the 3rd uploading unit 1504, as shown in Figure 15 another embodiment of the present invention provide from
Source data center carries out application virtual machine moving apparatus to target data center, wherein:
4th receiving unit 1501, the enabled instruction sending for receiving data center management server;
Second issuance unit 1502, for being issued to the destination server at target data center by enabled instruction;
5th receiving unit 1503, the execution of the enabled instruction that the destination server for receiving target data center returns
Completion message;
3rd uploading unit 1504, for being uploaded to data center management service by the execution completion message of enabled instruction
Device.
Refer to accompanying drawing 16, be another embodiment of the present invention provide from source data center to target data center carry out should
With virtual machine (vm) migration device basic logical structure schematic diagram.For convenience of description, illustrate only related to the embodiment of the present invention
Part.Accompanying drawing 16 example to carry out application virtual machine moving apparatus from source data center to target data center can be disaster tolerance
Data center management server in system, carries out application void from source data center to target data center with accompanying drawing 5 example
The executive agent of plan machine moving method is corresponding, and it mainly includes the first trigger module 1601, the second trigger module the 1602, the 3rd touches
Send out module 1603 and the 4th trigger module 1604, each module describes in detail as follows:
First trigger module 1601, stops currently should in source data center for the triggering when the condition of business migration meets
Use virtual machine;
Second trigger module 1602, controls server for triggering backup policy, so that backup policy controls server to touch
The backup policy execute server that rises and target backup policy execute server, by the snapshot of the application virtual machine of source data center
It is copied to target backup policy execute server;
3rd trigger module 1603, creates business network for triggering at target data center and the application of original state is empty
Plan machine;
4th trigger module 1604, controls server for triggering described backup policy, so that described backup policy controls
Target backup policy execute server described in server triggers impinges upon institute soon using the application virtual machine of described source data center
State target data center and recover application virtual machine.
First trigger module 1601 of accompanying drawing 16 example can include the 3rd issuance unit 1701 and the 6th receiving unit
1702, what another embodiment of the present invention provided as shown in Figure 17 carries out applying virtual from source data center to target data center
Machine moving apparatus, wherein:
3rd issuance unit 1701, stops for issuing current application virtual machine to the cloud computing management platform of source data center
Only instruct, so that the cloud computing management platform of described source data center is to the network equipment of described source data center and source server
Issue current application virtual machine halt instruction;
6th receiving unit 1702, the current application that the cloud computing management platform for receiving source data center returns is virtual
Machine halt instruction executes completion message, and described current application virtual machine halt instruction execution completion message is included in described source number
Delete current business network resource according to the network equipment at center and stopped currently in the source server of described source data center
Application virtual machine.
Second trigger module 1602 of accompanying drawing 16 example can include the 5th trigger element 1801, the 7th receiving unit
1802nd, the 3rd transmitting element 1803 and the 8th receiving unit 1804, as shown in Figure 18 another embodiment of the present invention provide from
Source data center carries out application virtual machine moving apparatus to target data center, wherein:
5th trigger element 1801, controls server for triggering described backup policy, so that described backup policy controls
Source backups strategy execution server described in server triggers creates the snapshot of the application virtual machine of described source data center, described source
The snapshot of the application virtual machine of data center to the network storage equipment of described source data center and is synchronized to target data
The objective network storage device at center;
7th receiving unit 1802, controls the snapshot that server returns to create completion message for receiving backup policy;
3rd transmitting element 1803, derives instruction for controlling server to send snapshot to backup policy, so that described standby
Described in part policy control server triggers, the backup policy execute server at target data center is from described target data center
The network storage equipment derives the snapshot of the virtual machine of described source data center;
8th receiving unit 1804, the snapshot for receiving the virtual machine of source data center derives completion message.
The carrying out application virtual machine moving apparatus from source data center to target data center and can also wrap of accompanying drawing 16 example
Include the 4th and issue module 1901 and the 9th receiver module 1902, as shown in Figure 19 another embodiment of the present invention provide from source number
Carry out application virtual machine moving apparatus according to center to target data center, wherein:
4th issues module 1901, deletes for issuing current application virtual machine to the cloud computing management platform of source data center
Except instruction;
9th receiver module 1902, deletes the execution completion message of instruction for receiving current application virtual machine.
Refer to accompanying drawing 20, be another embodiment of the present invention provide from source data center to target data center carry out should
With virtual machine (vm) migration device basic logical structure schematic diagram.For convenience of description, illustrate only related to the embodiment of the present invention
Part.Accompanying drawing 20 example to carry out application virtual machine moving apparatus from source data center to target data center can be disaster tolerance
Backup policy in system controls server(Dispatcher DPS), execution master with the business migration method of accompanying drawing 6 example
Body phase is answered, and it mainly includes the 6th trigger module 2001 and the 7th trigger module 2002, and each module describes in detail as follows:
6th trigger module 2001, for, under the triggering of data center management server, triggering source data center and mesh
The backup policy execute server of mark data center, by the snap copy of the application virtual machine of source data center to described number of targets
Backup policy execute server according to center;
7th trigger module 2002, in the snap copy extremely described target data for the application virtual machine of source data center
After the backup policy execute server of the heart, under the triggering of described data center management server, trigger in described target data
The backup policy execute server of the heart impinges upon described target data center soon using the application virtual machine of described source data center
Recover application virtual machine.
6th trigger module 2001 of accompanying drawing 20 example can include the 8th trigger element 2101, the tenth receiving unit 2102
With tactful creating unit 2103, as shown in Figure 21 another embodiment of the present invention provide from source data center is to target data
The heart carries out application virtual machine moving apparatus, wherein:
8th trigger element 2101, the backup policy execute server for triggering source data center creates described source data
The snapshot of the virtual machine at center, the network storage of the snapshot of the virtual machine of described source data center to described source data center
Equipment is simultaneously synchronized to the network storage equipment at target data center;
Tenth receiving unit 2102, for after receiving the message that completes of snapshot of the virtual machine creating source data center,
The snapshot that receiving data center management server sends derives instruction;
Tactful creating unit 2103, creates recovery policy for the backup policy execute server at target data center,
So that the backup policy execute server at described target data center is by the snap copy of the application virtual machine of source data center extremely
The backup policy execute server at described target data center.
7th trigger module 2002 of accompanying drawing 20 example can include the 11st receiving unit 2201, the 4th transmitting element
2202nd, the 12nd receiving unit 2203 and the 4th uploading unit 2204, as shown in Figure 22 another embodiment of the present invention provide
Carry out application virtual machine moving apparatus from source data center to target data center, wherein:
11st receiving unit 2201, recovers application for the use snapshot that receiving data center management server issues empty
Plan machine instructs;
4th transmitting element 2202, for sending recovering application virtual machine instruction using snapshot to target data center
Backup policy execute server, so that the backup policy execute server at target data center is to the target clothes at target data center
Business device issues and recovers application virtual machine instruction using snapshot;
12nd receiving unit 2203, the application that the backup policy execute server for receiving target data center returns
Virtual machine recovers completion message, and it is fast according to using that application virtual machine recovers the destination server that completion message is target data center
According to return to the backup policy execute server at target data center after recovery application virtual machine instruction recovery application virtual machine
Message;
4th uploading unit 2204, for being uploaded to data center management service by application virtual machine recovery completion message
Device.
Refer to accompanying drawing 23, be disaster tolerance system basic logical structure schematic diagram provided in an embodiment of the present invention.For the ease of
Illustrate, illustrate only the part related to the embodiment of the present invention.The disaster tolerance system of accompanying drawing 23 example mainly includes target data
Center, source data center data center management server 2301, source data center includes source storage device, and source storage device is should
There is provided source LUN LUN of storage resource with virtual machine, source LUN is used for storing the data of application virtual machine, application is virtual
Machine operates on source data center source server, and application virtual machine refers to realize the collection of an at least virtual machine of an application
Close, target data center includes destination server and target storage device communicate with destination server, target storage device and
Source memory device communication, by target LUN of the data syn-chronization in the LUN of source to target storage device, data center management server
For managing source data center and target data center, target data center and source data center include respective cloud computing management
Platform, wherein, target data center and source data center include respective cloud computing management platform, data center management server
2301 can be that aforementioned figures 7 carry out application virtual machine from source data center to target data center to accompanying drawing 11 any example
Moving apparatus, the cloud computing management platform 2303 at target data center can be aforementioned figures 12 to accompanying drawing 15 any example from
Source data center carries out application virtual machine moving apparatus to target data center, described further below:
Data center management server 2301, for obtaining the specification of application virtual machine and the network of described application virtual machine
Information, sends to described target data center and creates instruction, and described establishment instructs specification and the institute carrying described application virtual machine
State the network information of application virtual machine, send mounting instructions to described target data center, send to described target data center
Enabled instruction, described establishment instruction carries the specification of described application virtual machine and the network information of described application virtual machine, described
Create instruction for described application virtual machine is created on described destination server according to the specification of described application virtual machine, and root
The network information according to described application virtual machine is described application virtual machine Configuration network, and described mounting instructions are used for making described target
Target LUN described in described application virtual machine carry on server, described enabled instruction is used for starting described destination server
Described application virtual machine;
The cloud computing management platform 2303 at target data center, under the triggering of data center management server 2301
Create the application virtual machine of business network and original state at target data center, source data center stops current application virtual machine
Afterwards, the storage device switching under the triggering of data center management server 2301, current data center management server being located
To the target storage device at target data center, after the completion of switching, will be just under the triggering of data center management server 2301
The application virtual machine of beginning state is changed to can running status;
The cloud computing management platform 2302 of source data center, for stopping under the triggering of data center management server 2031
The only current application virtual machine of source data center, returns what current application virtual machine stopped to data center management server 2301
Result.
Refer to accompanying drawing 24, be the disaster tolerance system basic logical structure schematic diagram that another embodiment of the present invention provides.In order to
It is easy to illustrate, illustrate only the part related to the embodiment of the present invention.The disaster tolerance system of accompanying drawing 24 example mainly includes target
Data center, source data center, data center management server 2401 and backup policy control server 2406, wherein, target
Data center and source data center include respective cloud computing management platform and respective backup policy execute server, in data
Heart management server 2401 can be aforementioned figures 16 to accompanying drawing 19 any example from source data center to target data center
Carry out application virtual machine moving apparatus, the cloud computing management platform 2403 at target data center can be aforementioned figures 14 to accompanying drawing
17 any example carry out application virtual machine moving apparatus from source data center to target data center, source data center includes source
The cloud computing management platform 2402 of data center, it can be that accompanying drawing 20 shows to accompanying drawing 23 is arbitrary that backup policy controls server 2406
Example carry out application virtual machine moving apparatus from source data center to target data center, target data center includes target data
The backup policy execute server 2404 at center is target backup policy execute server 2404, and source data center includes source data
The backup policy execute server 2405 at center is Source backups strategy execution server 2405, described further below:
Data center management server 2401, stops in source data center for the triggering when the condition of business migration meets
Current application virtual machine, triggering backup policy controls server 2406, so that backup policy controls server 2406 trigger source standby
Part strategy execution server 2405 and target backup policy execute server 2404, the application virtual machine of source data center is fast
According to being copied to target backup policy execute server 2404, triggering creates business network and original state at target data center
Application virtual machine, triggering backup policy controls server 2406, so that backup policy controls server 2406 triggering target backup
Strategy execution server 2404 using the application virtual machine of source data center impinge upon soon target data center recover application virtual
Machine;
Backup policy controls server 2406, under the triggering of data center management server 2401, trigger source number
According to the backup policy execute server 2405 at center and the backup policy execute server 2404 at target data center, by source data
The snap copy of the application virtual machine at center to target data center backup policy execute server 2404, source data center
The snap copy of application virtual machine, to the backup policy execute server 2404 at target data center, takes in data center management
Under the triggering of business device 2401, the backup policy execute server 2404 at triggering target data center uses the application of source data center
Application virtual machine is recovered at the target data center that impinges upon soon of virtual machine;
The cloud computing management platform 2403 at target data center, under the triggering of data center management server 2401
Create the application virtual machine of business network and original state at target data center, source data center stops current application virtual machine
Afterwards, the storage device under the triggering of data center management server 2401, current application virtual machine being located switches to number of targets
According to the storage device at center, after the completion of switching, by the application of original state under the triggering of data center management server 2401
Virtual machine is changed to can running status;
The cloud computing management platform 2402 of source data center, for stopping under the triggering of data center management server 2401
The only current application virtual machine of source data center, returns what current application virtual machine stopped to data center management server 401
Result;
The backup policy execute server 2404 at target data center, for controlling server 2406 to create according to backup policy
The recovery policy built, the snap copy of the application virtual machine of source data center is executed clothes to the backup policy at target data center
Business device 2404, the snap copy returning the application virtual machine of source data center to data center management server 2401 completes to disappear
Breath, receiving data center management server 2401 issues according to the snap copy completion message of the application virtual machine of source data center
Use snapshot recover application virtual machine instruction, send to the destination server at target data center that to recover application using snapshot empty
Plan machine instructs, so that the destination server at target data center is empty according to recovering application virtual machine instruction recovery application using snapshot
Plan machine, application virtual machine recovery completion message is uploaded to backup policy and controls server 2406, and application virtual machine recovers to complete
Message is that the destination server at target data center is recovered after application virtual machine instruction recovery application virtual machine according to using snapshot
The message returning;
The backup policy execute server 2405 of source data center, for controlling the triggering of server 2406 in backup policy
Under, send snapshot to the source server of source data center and create instruction, receive the snapshot that the source server of source data center returns
Create completion message, by the network storage equipment of the snapshot of the application virtual machine of source data center to target data center,
Control server 2404 to return snapshot to backup policy and create completion message.
It should be noted that the content such as information exchange between each module/unit of said apparatus, implementation procedure, due to
The inventive method embodiment is based on same design, and the technique effect that it brings is identical with the inventive method embodiment, particular content
Can be found in the narration in the inventive method embodiment, here is omitted.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
Completed with the hardware instructing correlation by program, this program can be stored in a computer-readable recording medium, storage
Medium can include:Read-only storage(ROM, Read Only Memory), random access memory(RAM, Random
Access Memory), disk or CD etc..
The one kind above embodiment of the present invention being provided carries out applying virtual from source data center to target data center
Machine moving method, device and a kind of disaster tolerance system are described in detail, and specific case used herein is former to the present invention
Reason and embodiment are set forth, and the explanation of above example is only intended to help and understands that the method for the present invention and its core are thought
Think;Simultaneously for one of ordinary skill in the art, according to the thought of the present invention, in specific embodiments and applications
All will change, in sum, this specification content should not be construed as limitation of the present invention.
Claims (19)
1. one kind carries out application virtual machine moving method from source data center to target data center it is characterised in that described should
Operate on described source data center source server with virtual machine, described application virtual machine refers to realize at least the one of an application
The set of platform virtual machine;Described source data center includes source storage device, and described source storage device carries for described application virtual machine
For source LUN LUN of storage resource, described source LUN is used for storing the data of described application virtual machine;Described number of targets
Include destination server and the target storage device, described target storage device and the institute that communicate with described destination server according to center
State source memory device communication, by target LUN of the data syn-chronization in described source LUN to described target storage device, data center
Management server is used for managing source data center and target data center, and methods described includes:
Described data center management server obtains the specification of described application virtual machine and the network information of described application virtual machine;
Described data center management server sends to described target data center and creates instruction, and described establishment instruction carries described
The specification of application virtual machine and the network information of described application virtual machine, described establishment instructs for according to described application virtual machine
Specification described application virtual machine is created on described destination server, and be institute according to the network information of described application virtual machine
State application virtual machine Configuration network;
Described data center management server sends mounting instructions to described target data center, and described mounting instructions are used for making institute
State target LUN described in described application virtual machine carry on destination server;
Described data center management server sends enabled instruction to described target data center, and described enabled instruction is used for starting
Described application virtual machine on described destination server.
2. method according to claim 1 is it is characterised in that described data center management server obtains described application void
The specification of plan machine and the network information of described application virtual machine, including:
Described data center management server is periodically from the cloud computing management platform query configuration literary composition of described source data center
Part, described configuration file includes the specification of described application virtual machine and the network information of described application virtual machine.
3. method according to claim 1 is it is characterised in that described data center management server is to described target data
Center sends and creates instruction, including:
Send to the cloud computing management platform at described target data center and create instruction, so that the cloud meter at described target data center
Calculate management platform and issue the network information of described application virtual machine and to described to the network equipment at described target data center
The destination server at target data center sends the specification of described application virtual machine.
4. method according to claim 1 is it is characterised in that described data center management server is to described target data
Before center sends mounting instructions, also include:
The source storage device that current application virtual machine is located is switched to by the cloud computing management platform triggering described source data center
The target storage device at described target data center.
5. method according to claim 4 is it is characterised in that the cloud computing management of the described source data center of described triggering is flat
The target storage device that the source storage device that current application virtual machine is located switches to described target data center is included by platform:
Send storage device switching command, described storage device switching command to the cloud computing management platform of described source data center
It is transferred to the cloud computing management platform at described target data center by heartbeat message, described storage device switching command is performed
The source storage device afterwards described current application virtual machine being located switches to the target storage device at described target data center.
6. one kind carries out application virtual machine moving method from source data center to target data center it is characterised in that described side
Method includes:
Create business network at target data center under the triggering of data center management server and the application of original state is empty
Plan machine;
After source data center stops current application virtual machine, will be described current under the triggering of described data center management server
The storage device that application virtual machine is located switches to the target storage device at described target data center;
After the completion of described switching, by the application virtual machine of described original state under the triggering of described data center management server
Being changed to can running status;
Under the described triggering in data center management server target data center create business network and original state should
Included with virtual machine:Receive the establishment instruction that described data center management server sends, described establishment instruction carries described answering
With the specification of virtual machine and the network information of described application virtual machine, described establishment instructs for according to described application virtual machine
Specification creates described application virtual machine on described destination server, and is described according to the network information of described application virtual machine
Application virtual machine Configuration network;
After described source data center stops current application virtual machine, will be described under the triggering of described data center management server
The target storage device that the storage device that current application virtual machine is located switches to described target data center includes:Receive described
Data center management server sends the cloud computing management platform to source data center and is transferred to number of targets by heartbeat message
According to the storage device switching command of the cloud computing management platform at center, described storage device switching command is worked as described after being performed
The source storage device that front application virtual machine is located switches to the target storage device at described target data center.
7. method according to claim 6 it is characterised in that described reception described data center management server send
Create instruction, described establishment instruction carries the specification of described application virtual machine and the network information of described application virtual machine, and root
After being described application virtual machine Configuration network according to the network information of described application virtual machine, also include:
That the network information of the specification of described application virtual machine and application virtual machine is issued to target data center respectively and net
Network equipment;
Receive the described execution completion message creating instruction;
The implementing result creating instruction is uploaded to described data center management server.
8. method according to claim 6 it is characterised in that described reception described data center management server send to
The cloud computing management platform of source data center is simultaneously transferred to the cloud computing management platform at target data center by heartbeat message
After storage device switching command, also include:
Execute described storage device switching command;
The execution completion message of described storage device switching command is uploaded to described data center management server.
9. method according to claim 6 is it is characterised in that under the described triggering in described data center management server
By the application virtual machine of described original state be changed to can running status, including:
Receive the enabled instruction that described data center management server sends;
Described enabled instruction is issued to the destination server at target data center;
Receive the execution completion message of the described enabled instruction of destination server return at described target data center;
The execution completion message of described enabled instruction is uploaded to described data center management server.
10. one kind carries out application virtual machine moving apparatus from source data center to target data center it is characterised in that described should
Operate on described source data center source server with virtual machine, described application virtual machine refers to realize at least the one of an application
The set of platform virtual machine;Described source data center includes source storage device, and described source storage device carries for described application virtual machine
For source LUN LUN of storage resource, described source LUN is used for storing the data of described application virtual machine;Described number of targets
Include destination server and the target storage device, described target storage device and the institute that communicate with described destination server according to center
State source memory device communication, by target LUN of the data syn-chronization in described source LUN to described target storage device, data center
Management server is used for managing source data center and target data center, and described device includes:
Acquisition module, for obtaining the specification of described application virtual machine and the network information of described application virtual machine;
Create instruction sending module, create instruction for sending to described target data center, described establishment instruction carries described
The specification of application virtual machine and the network information of described application virtual machine, described establishment instructs for according to described application virtual machine
Specification described application virtual machine is created on described destination server, and be institute according to the network information of described application virtual machine
State application virtual machine Configuration network;
Mounting instructions sending module, for sending mounting instructions to described target data center, described mounting instructions are used for making institute
State target LUN described in described application virtual machine carry on destination server;
Enabled instruction sending module, for sending enabled instruction to described target data center, described enabled instruction is used for starting
Described application virtual machine on described destination server.
11. devices according to claim 10 are it is characterised in that described acquisition module includes:
Query unit, for periodically from the cloud computing management platform query configuration file of described source data center, described joins
Put file and include the specification of described application virtual machine and the network information of described application virtual machine.
12. devices according to claim 10 are it is characterised in that described establishment instruction sending module includes:
First transmitting element, creates instruction for sending to the cloud computing management platform at described target data center, so that described
The cloud computing management platform at target data center issues described application virtual machine to the network equipment at described target data center
The network information and the specification sending described application virtual machine to the destination server at described target data center.
13. devices according to claim 10 are it is characterised in that described device also includes:
Handover trigger module, current application virtual machine is located by the cloud computing management platform for triggering described source data center
Source storage device switches to the target storage device at described target data center.
14. devices according to claim 13 are it is characterised in that described handover trigger module includes:
Second transmitting element, for sending storage device switching command, institute to the cloud computing management platform of described source data center
State the cloud computing management platform that storage device switching command is transferred to described target data center by heartbeat message, described storage
The source storage device that described current application virtual machine is located after being performed by equipment switching command switches in described target data
The target storage device of the heart.
15. one kind carry out application virtual machine moving apparatus from source data center to target data center it is characterised in that described dress
Put including:
Creation module, for creating business network and initial at target data center under the triggering of data center management server
The application virtual machine of state;
Handover module, stops after current application virtual machine for source data center, touching in described data center management server
Give the target storage device that the storage device that described current application virtual machine is located switches to described target data center;
Status Change module, after the completion of described switching, will be described first under the triggering of described data center management server
The application virtual machine of beginning state is changed to can running status;
Described creation module includes:
First receiving unit, for receiving the establishment instruction that described data center management server sends, described establishment instruction is taken
Specification with described application virtual machine and the network information of described application virtual machine, described establishment instructs for according to described application
The specification of virtual machine creates described application virtual machine, and the network letter according to described application virtual machine on described destination server
Cease for described application virtual machine Configuration network;
Described handover module includes:
3rd receiving unit, for receive described data center management server send flat to the cloud computing management of source data center
Platform and be transferred to by heartbeat message target data center cloud computing management platform storage device switching command, described storage
The source storage device that described current application virtual machine is located after being performed by equipment switching command switches in described target data
The target storage device of the heart.
16. devices according to claim 15 are it is characterised in that described creation module also includes:
First issuance unit, for being issued to mesh respectively by the network information of the specification of described application virtual machine and application virtual machine
Mark be data center and the network equipment;
Second receiving unit, for receiving the described execution completion message creating instruction;
First uploading unit, for being uploaded to described data center management server by the implementing result creating instruction.
17. devices according to claim 15 are it is characterised in that described handover module also includes:
Performance element, for executing described storage device switching command;
Second uploading unit, for being uploaded to described data center pipe by the execution completion message of described storage device switching command
Reason server.
18. devices according to claim 15 are it is characterised in that described Status Change module includes:
4th receiving unit, for receiving the enabled instruction that described data center management server sends;
Second issuance unit, for being issued to the destination server at target data center by described enabled instruction;
5th receiving unit, the execution of the described enabled instruction that the destination server for receiving described target data center returns
Completion message;
3rd uploading unit, for being uploaded to described data center management service by the execution completion message of described enabled instruction
Device.
A kind of 19. disaster tolerance systems are it is characterised in that described system includes target data center, source data center data center
Management server, described source data center includes source storage device, and described source storage device provides storage money for application virtual machine
Source LUN LUN in source, described source LUN is used for storing the data of application virtual machine, and described application virtual machine operates in institute
State on source data center source server, described application virtual machine refers to realize the set of an at least virtual machine of an application,
Described target data center includes destination server and the target storage device communicating with described destination server, and described target is deposited
Storage equipment and described source memory device communication, by the target of the data syn-chronization in described source LUN to described target storage device
LUN, data center management server is used for managing source data center and target data center, described target data center and source number
Include respective cloud computing management platform according to center;
Described data center management server, for obtaining the specification of described application virtual machine and the network of described application virtual machine
Information, sends to described target data center and creates instruction, and described establishment instructs specification and the institute carrying described application virtual machine
State the network information of application virtual machine, send mounting instructions to described target data center, send to described target data center
Enabled instruction, described establishment instruction carries the specification of described application virtual machine and the network information of described application virtual machine, described
Create instruction for described application virtual machine is created on described destination server according to the specification of described application virtual machine, and root
The network information according to described application virtual machine is described application virtual machine Configuration network, and described mounting instructions are used for making described target
Target LUN described in described application virtual machine carry on server, described enabled instruction is used for starting described destination server
Described application virtual machine;
The cloud computing management platform at described target data center, under the triggering of described data center management server in mesh
Mark data center creates the application virtual machine of business network and original state, after source data center stops current application virtual machine,
The storage device under the triggering of described data center management server, described current data center management server being located is cut
Shift to the target storage device at described target data center, after the completion of described switching, in described data center management server
Under triggering being changed to the application virtual machine of described original state can running status;
The cloud computing management platform of described source data center, for stopping source under the triggering of described data center management server
The current application virtual machine of data center, returns what described current application virtual machine stopped to described data center management server
Result;
Under the described triggering in data center management server target data center create business network and original state should
Included with virtual machine:Receive the establishment instruction that described data center management server sends, described establishment instruction carries described answering
With the specification of virtual machine and the network information of described application virtual machine, described establishment instructs for according to described application virtual machine
Specification creates described application virtual machine on described destination server, and is described according to the network information of described application virtual machine
Application virtual machine Configuration network;
After described source data center stops current application virtual machine, will be described under the triggering of described data center management server
The target storage device that the storage device that current application virtual machine is located switches to described target data center includes:Receive described
Data center management server sends the cloud computing management platform to source data center and is transferred to number of targets by heartbeat message
According to the storage device switching command of the cloud computing management platform at center, described storage device switching command is worked as described after being performed
The source storage device that front application virtual machine is located switches to the target storage device at described target data center.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310724254.3A CN103647849B (en) | 2013-12-24 | 2013-12-24 | Method and device for migrating businesses and disaster recovery system |
PCT/CN2014/085173 WO2015096500A1 (en) | 2013-12-24 | 2014-08-26 | Service migration method and device and disaster tolerance system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310724254.3A CN103647849B (en) | 2013-12-24 | 2013-12-24 | Method and device for migrating businesses and disaster recovery system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103647849A CN103647849A (en) | 2014-03-19 |
CN103647849B true CN103647849B (en) | 2017-02-08 |
Family
ID=50253003
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310724254.3A Active CN103647849B (en) | 2013-12-24 | 2013-12-24 | Method and device for migrating businesses and disaster recovery system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103647849B (en) |
WO (1) | WO2015096500A1 (en) |
Families Citing this family (47)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103647849B (en) * | 2013-12-24 | 2017-02-08 | 华为技术有限公司 | Method and device for migrating businesses and disaster recovery system |
CN104063262A (en) * | 2014-06-16 | 2014-09-24 | 南京信息工程大学 | Remote disaster recovery system and remote disaster recovery method based on virtual machines |
CN104239166B (en) * | 2014-09-11 | 2017-10-24 | 武汉噢易云计算股份有限公司 | A kind of method that file backup is realized to virtual machine in operation |
CN104268001B (en) * | 2014-09-24 | 2017-09-05 | 华为技术有限公司 | A kind of method for creating virtual machine and the device for creating virtual machine |
CN104461775A (en) * | 2014-11-26 | 2015-03-25 | 英业达科技有限公司 | Remote backup system and backup method |
CN104484231A (en) * | 2014-12-31 | 2015-04-01 | 武汉邮电科学研究院 | Virtual machine switching system and method |
EP3314424A4 (en) * | 2015-06-26 | 2019-02-06 | Intel Corporation | Techniques for virtual machine migration |
CN105094897B (en) * | 2015-07-02 | 2019-05-28 | 华为技术有限公司 | A kind of virtual machine starting method, cloud access equipment and cloud computing center |
EP3518500B1 (en) * | 2015-07-30 | 2022-06-01 | Huawei Technologies Co., Ltd. | Arbitration method, apparatus, and system used in active-active data centers |
CN107046810A (en) * | 2015-12-03 | 2017-08-15 | 华为技术有限公司 | A kind of virtual machine backup information moving method, device and system |
CN107147511A (en) * | 2016-03-01 | 2017-09-08 | 深圳市深信服电子科技有限公司 | Data center's control method and device |
CN107196987A (en) * | 2016-03-15 | 2017-09-22 | 中国移动通信集团河南有限公司 | The switching method and server of a kind of pair of centring system |
CN107231221B (en) * | 2016-03-25 | 2020-10-23 | 阿里巴巴集团控股有限公司 | Method, device and system for controlling service flow among data centers |
CN107305502B (en) * | 2016-04-21 | 2022-01-25 | 中兴通讯股份有限公司 | Application instance migration method and device |
EP3457733B1 (en) * | 2016-05-28 | 2022-04-06 | Huawei Technologies Co., Ltd. | Mobile edge orchestrator and application migration system |
CN107491339A (en) * | 2016-06-13 | 2017-12-19 | 深圳市深信服电子科技有限公司 | The virtual machine monitoring method and device of server virtualization |
CN107666493B (en) * | 2016-07-27 | 2020-08-14 | 腾讯科技(深圳)有限公司 | Database configuration method and equipment thereof |
CN107977287A (en) * | 2016-10-21 | 2018-05-01 | 中兴通讯股份有限公司 | One kind is using disaster tolerance implementation method, apparatus and system |
CN108259629B (en) * | 2016-12-28 | 2021-07-23 | 阿里巴巴集团控股有限公司 | Virtual internet protocol address switching method and device |
US11102285B2 (en) * | 2017-01-05 | 2021-08-24 | Bank Of America Corporation | Network routing tool |
CN108632067B (en) | 2017-03-21 | 2020-12-08 | 华为技术有限公司 | Disaster recovery deployment method, device and system |
CN108664496B (en) * | 2017-03-29 | 2022-03-25 | 腾讯科技(深圳)有限公司 | Data migration method and device |
CN107220104A (en) * | 2017-05-27 | 2017-09-29 | 郑州云海信息技术有限公司 | A kind of virtual machine preparedness method and apparatus |
CN109426547B (en) * | 2017-09-04 | 2022-05-17 | 华为技术有限公司 | Thermal migration method, device and system of virtual machine |
CN107562519A (en) * | 2017-09-05 | 2018-01-09 | 联想(北京)有限公司 | Moving method, system and the server of virtual machine |
CN109788007B (en) * | 2017-11-10 | 2022-02-25 | 中兴通讯股份有限公司 | Cloud platform based on two places and three centers and communication method thereof |
CN109947591B (en) * | 2017-12-20 | 2023-03-24 | 腾讯科技(深圳)有限公司 | Database remote disaster recovery system and deployment method and device thereof |
CN107995319B (en) * | 2018-01-08 | 2021-05-18 | 迈普通信技术股份有限公司 | Virtual device configuration method and network device |
CN108599998B (en) * | 2018-04-04 | 2021-11-02 | 刘昱 | Network management and control method and device and computer readable storage medium |
CN110780973A (en) * | 2018-07-31 | 2020-02-11 | 中兴通讯股份有限公司 | Virtual machine migration device, method, equipment and readable storage medium |
CN109189335A (en) * | 2018-08-16 | 2019-01-11 | 博飞信息科技(上海)有限公司 | Bad based on network state, big data quantity system migration method and storage equipment |
CN109669812A (en) * | 2018-11-27 | 2019-04-23 | 武汉烽火信息集成技术有限公司 | Cloud data center disaster tolerance system and method based on data distribution backup |
CN109669815A (en) * | 2018-12-14 | 2019-04-23 | 武汉烽火信息集成技术有限公司 | A kind of method and system restored by the long-range Mapping implementation Backup Data of LUN |
CN111414276B (en) * | 2019-01-08 | 2023-05-05 | 中国移动通信有限公司研究院 | Data disaster recovery method and device of VNF (virtual network function), VNF node and storage medium |
CN109842526B (en) * | 2019-03-12 | 2021-12-07 | 中国联合网络通信集团有限公司 | Disaster recovery method and device |
CN110321250B (en) * | 2019-06-03 | 2023-05-09 | 创新先进技术有限公司 | Disaster recovery method and device for application |
CN112416652A (en) * | 2019-08-22 | 2021-02-26 | 华为技术有限公司 | Data backup method and data backup |
CN111399975A (en) * | 2020-02-28 | 2020-07-10 | 苏州浪潮智能科技有限公司 | Virtual machine snapshot management method, device and system based on cloud computing management platform |
CN111797059A (en) * | 2020-07-07 | 2020-10-20 | 优刻得科技股份有限公司 | Method for online cloud host migration across clouds, migration controller and cloud server |
CN112540873B (en) * | 2020-12-03 | 2021-12-31 | 华云数据控股集团有限公司 | Disaster tolerance method and device, electronic equipment and disaster tolerance system |
CN112905694B (en) * | 2021-02-05 | 2024-10-01 | 广州虎牙科技有限公司 | Data synchronization method, device, server and storage medium |
CN112929221A (en) * | 2021-03-02 | 2021-06-08 | 浪潮云信息技术股份公司 | Method for realizing disaster tolerance of main and standby cloud service products |
CN113590269A (en) * | 2021-08-12 | 2021-11-02 | 深圳威科软件科技有限公司 | Method, device and equipment for connecting cloud desktop and storage medium |
CN113821384A (en) * | 2021-08-20 | 2021-12-21 | 济南浪潮数据技术有限公司 | Cross-data-center and same-city disaster recovery method, device and equipment based on cloud platform |
CN115080316B (en) * | 2022-07-06 | 2023-01-31 | 广西飞创信息科技有限公司 | Cross-storage-platform double-active disaster recovery protection method and system based on virtualization technology |
CN114924846B (en) * | 2022-07-22 | 2022-11-15 | 浙江云针信息科技有限公司 | Virtual machine migration method based on cloud operating system |
CN115562911B (en) * | 2022-12-07 | 2023-04-25 | 中科方德软件有限公司 | Virtual machine data backup method, device, system, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101669106A (en) * | 2007-04-25 | 2010-03-10 | 微软公司 | Virtual machine migration |
CN102103524A (en) * | 2010-12-23 | 2011-06-22 | 北京航空航天大学 | Memory redundancy oriented virtual machine migration device and method |
CN102662751A (en) * | 2012-03-30 | 2012-09-12 | 浪潮电子信息产业股份有限公司 | Method for improving availability of virtual machine system based on thermomigration |
CN102884763A (en) * | 2012-06-30 | 2013-01-16 | 华为技术有限公司 | Cross-data-center virtual machine migration method, service control gateway and cross-data-center virtual machine migration |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103647849B (en) * | 2013-12-24 | 2017-02-08 | 华为技术有限公司 | Method and device for migrating businesses and disaster recovery system |
-
2013
- 2013-12-24 CN CN201310724254.3A patent/CN103647849B/en active Active
-
2014
- 2014-08-26 WO PCT/CN2014/085173 patent/WO2015096500A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101669106A (en) * | 2007-04-25 | 2010-03-10 | 微软公司 | Virtual machine migration |
CN102103524A (en) * | 2010-12-23 | 2011-06-22 | 北京航空航天大学 | Memory redundancy oriented virtual machine migration device and method |
CN102662751A (en) * | 2012-03-30 | 2012-09-12 | 浪潮电子信息产业股份有限公司 | Method for improving availability of virtual machine system based on thermomigration |
CN102884763A (en) * | 2012-06-30 | 2013-01-16 | 华为技术有限公司 | Cross-data-center virtual machine migration method, service control gateway and cross-data-center virtual machine migration |
Also Published As
Publication number | Publication date |
---|---|
WO2015096500A1 (en) | 2015-07-02 |
CN103647849A (en) | 2014-03-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103647849B (en) | Method and device for migrating businesses and disaster recovery system | |
CN107256178B (en) | Container management platform | |
CN105429806B (en) | A kind of device and method of the network function virtualization based on data-driven | |
CN102103518B (en) | System for managing resources in virtual environment and implementation method thereof | |
KR101746202B1 (en) | Method and apparatus for network function virtualization | |
CN105607954B (en) | A kind of method and apparatus that stateful container migrates online | |
US9876878B2 (en) | Seamless cluster servicing | |
KR101970839B1 (en) | Replaying jobs at a secondary location of a service | |
EP3127018B1 (en) | Geographically-distributed file system using coordinated namespace replication | |
WO2020072338A1 (en) | Data backup and disaster recovery between environments | |
CN106302607B (en) | Block storage system and method applied to cloud computing | |
KR101969604B1 (en) | Automatic configuration of a recovery service | |
CN111917571B (en) | Policy management method, device and system | |
CN111162941B (en) | Method for automatically managing virtual IP (Internet protocol) in Kubernetes environment | |
CN106603725A (en) | Implementation method for enterprise cloud service virtual mirror image management service | |
WO2014113337A2 (en) | Healing cloud services during upgrades | |
US11036419B1 (en) | Distributed storage resource reservation for replication, disaster recovery and data protection across multiple sites | |
JP2011523128A (en) | Distributed virtual switch for virtualized computer systems | |
CN103973725A (en) | Distributed collaboration method and collaboration device | |
CN105072211B (en) | Domain name deployment system based on DNS and method | |
CN106250228A (en) | The method and device that virtual machine entity thermophoresis networking takes over seamlessly | |
CN105721582A (en) | Multi-node file backup system | |
CN115576655B (en) | Container data protection system, method, device, equipment and readable storage medium | |
CN103327105B (en) | Slave node service automatic recovery method in hadoop system | |
CN116723077A (en) | Distributed IT automatic operation and maintenance system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220210 Address after: 550025 Huawei cloud data center, jiaoxinggong Road, Qianzhong Avenue, Gui'an New District, Guiyang City, Guizhou Province Patentee after: Huawei Cloud Computing Technologies Co.,Ltd. Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd. |
|
TR01 | Transfer of patent right |