Service application disaster tolerance dispositions method and device
Technical field
The present embodiments relate to the communications field, more particularly to a kind of service application disaster tolerance dispositions method and device.
Background technology
With the widespread deployment of data center and the extensive use of virtual machine technique, the service application of data center is disposed
More scale, intellectuality and automation, therefore to ensureing that the disaster tolerance pattern of service application safety there has also been new challenge.
The disaster tolerance of the current service application for realizing data center, commonly used approach are the advanced industry business of cloud management platform
Using deployment, and then the disaster tolerance parameter configured according to user by disaster tolerance module, completed by disaster tolerance module according to disaster tolerance parameter
The disaster tolerance deployment of service application.Because service application deployment and the deployment of service application disaster tolerance are separation so that carry out in data
The workload that the service application deployment of the heart and the disaster tolerance of service application are disposed is larger.Therefore how preferably service application to be disposed
With service application disaster tolerance deployment integrate, while service application dispose can finishing service application disaster tolerance dispose, with
Reducing workload turns into a urgent problem to be solved.
The content of the invention
The embodiment of the present invention provides a kind of service application disaster tolerance dispositions method and device, should to solve business in the prior art
It is separation with deployment and the deployment of service application disaster tolerance so that carry out service application deployment and the appearance of service application of data center
The problem of workload of calamity deployment is larger.
In a first aspect, the embodiment of the present invention provides a kind of service application disaster tolerance dispositions method, including:
Cloud management platform obtains the industry that user is configured by the cloud management platform for the service application of data center simultaneously
Business application parameter and disaster tolerance parameter;
The service application parameter is sent to the data center by the cloud management platform, so that data center's root
The resource used according to the service application parameter establishment service application, the resource that the service application uses is the cloud pipe
Platform disposes the resource needed for the service application;
The cloud management platform receives the information for the resource that the service application that the data center sends uses;
The cloud management platform sends the disaster tolerance information needed for the disaster tolerance for disposing the service application to disaster tolerance module, described
The information for the resource that disaster tolerance packet uses containing the service application and the disaster tolerance parameter, so that the disaster tolerance module is to described
Data center sends the disaster tolerance information, and the data center completes the service application according to the disaster tolerance information of reception
Disaster tolerance is disposed.
In the first possible implementation of first aspect, the cloud management platform sends deployment institute to disaster tolerance module
The disaster tolerance information needed for the disaster tolerance of service application is stated, including:
The cloud management platform sends the disaster tolerance information needed for the disaster tolerance for disposing the service application to the disaster tolerance module,
The information for the resource that the service application that the disaster tolerance packet contains uses and the disaster tolerance parameter are the cloud management platform
Sent simultaneously to the disaster tolerance module, or,
The cloud management platform sends the disaster tolerance information needed for the disaster tolerance for disposing the service application to the disaster tolerance module,
The information for the resource that the service application that the disaster tolerance packet contains uses and the disaster tolerance parameter are the cloud management platform
Sent when different to the disaster tolerance module.
According to the first possible implementation of first aspect, in second of possible implementation, the cloud pipe
Platform sends the disaster tolerance information needed for the disaster tolerance for disposing the service application to the disaster tolerance module, and the disaster tolerance packet contains
The information of resource that uses of the service application when with the disaster tolerance parameter being the cloud management platform difference to the disaster tolerance
What module was sent, including:
The cloud management platform receive the resource that the service application that the data center sends uses information it
Before, the cloud management platform sends the disaster tolerance parameter to the disaster tolerance module;
The cloud management platform receive the resource that the service application that the data center sends uses information it
Afterwards, the cloud management platform sends the information for the resource that the service application uses to the disaster tolerance module.
According to first aspect, first aspect the first to second possible implementation any one, the 3rd
In the possible implementation of kind, the disaster tolerance module is integrated in the cloud management platform or is integrated in the data center
In.
Second aspect, the embodiment of the present invention provide a kind of service application disaster tolerance dispositions method, including:
Data center receives the service application parameter that cloud management platform is sent, and creates industry according to the service application parameter
Business using resource, it in user by the cloud management platform is that the service application configures that the service application parameter, which is,
The cloud management platform obtains after service application parameter;
The data center sends the information for the resource that the service application uses to the cloud management platform;
The data center receives the disaster tolerance information needed for the disaster tolerance for the deployment service application that disaster tolerance module is sent, institute
State the information and disaster tolerance parameter for the resource that disaster tolerance packet uses containing the service application;
The disaster tolerance that the data center completes the service application according to the disaster tolerance information of reception is disposed.
In the first possible implementation of second aspect, the data center receives the deployment that disaster tolerance module is sent
Disaster tolerance information needed for the disaster tolerance of the service application, including:
The data center receives the disaster tolerance information needed for the disaster tolerance for the deployment service application that disaster tolerance module is sent, institute
State the resource that the service application that disaster tolerance packet contains uses information and the disaster tolerance parameter be the data center simultaneously
Receive, or,
The data center receives the disaster tolerance information needed for the disaster tolerance for the deployment service application that disaster tolerance module is sent, institute
It is that the data center is different to state the information for the resource that the service application that disaster tolerance packet contains uses and the disaster tolerance parameter
When receive.
According to the first possible implementation of second aspect, in second of possible implementation, the data
Center receives the disaster tolerance information needed for the disaster tolerance for the deployment service application that disaster tolerance module is sent, what the disaster tolerance packet contained
Received during described with the disaster tolerance parameter data center's difference of the information for the resource that the service application uses, including:
Before the data center sends the information for the resource that the service application uses to the cloud management platform, institute
State data center and receive the disaster tolerance parameter that the disaster tolerance module is sent.
According to second aspect, second aspect the first to second possible implementation any one, the 3rd
In the possible implementation of kind, the disaster tolerance module is integrated in the cloud management platform or is integrated in the data center
In.
The third aspect, a kind of service application disaster tolerance deployment device of the embodiment of the present invention, including:
Gain of parameter module, it is the service application configuration of data center for obtaining user simultaneously by cloud management platform
Service application parameter and disaster tolerance parameter;
Application parameter sending module, for the service application parameter to be sent into the data center, so that the number
The resource used according to center according to the service application parameter establishment service application, the resource that the service application uses are
Resource described in the cloud management Platform deployment needed for service application;
Asset information receipt module, the letter of the resource used for receiving the service application that the data center sends
Breath;
Disaster tolerance information sending module, believe for sending the disaster tolerance needed for the disaster tolerance for disposing the service application to disaster tolerance module
Breath, the information for the resource that the disaster tolerance packet uses containing the service application and the disaster tolerance parameter, so that the disaster tolerance mould
Block sends the disaster tolerance information to the data center, and the data center completes the industry according to the disaster tolerance information of reception
The disaster tolerance deployment of business application.
In the first possible implementation of the third aspect, the disaster tolerance information sending module, specifically for described
Cloud management platform sends the disaster tolerance information needed for the disaster tolerance for disposing the service application, the disaster tolerance information to the disaster tolerance module
Comprising the information of resource that uses of the service application and the disaster tolerance parameter be the cloud management platform simultaneously to the appearance
What calamity module was sent, or,
Specifically for sending the disaster tolerance information needed for the disaster tolerance for disposing the service application, the appearance to the disaster tolerance module
When the information for the resource that the service application that calamity packet contains uses with the disaster tolerance parameter is the cloud management platform difference
Sent to the disaster tolerance module.
According to the first possible implementation of the third aspect, in second of possible implementation, the disaster tolerance
Information sending module, specifically for receive the resource that the service application that the data center sends uses information it
Before, send the disaster tolerance parameter to the disaster tolerance module;
After the information for the resource that the service application for receiving data center's transmission uses, to the disaster tolerance mould
Block sends the information for the resource that the service application uses.
According to the third aspect, the third aspect the first to second possible implementation any one, the 3rd
In the possible implementation of kind, the disaster tolerance module is integrated in the cloud management platform or is integrated in the data center
In.
Fourth aspect, the embodiment of the present invention provide a kind of service application disaster tolerance deployment device, including:
Application parameter receiving module, for receiving the service application parameter of cloud management platform transmission, and according to the business
Application parameter creates the resource that uses of service application, and the service application parameter is by the cloud management platform is institute in user
State what the cloud management platform after service application configuration service application parameter obtained;
Resource information sending module, for sending the letter for the resource that the service application uses to the cloud management platform
Breath;
Disaster tolerance information receiving module, for the appearance needed for the disaster tolerance for the deployment service application for receiving the transmission of disaster tolerance module
Calamity information, the information and disaster tolerance parameter of the resource that the disaster tolerance packet uses containing the service application;
Disaster tolerance disposes execution module, for completing the disaster tolerance portion of the service application according to the disaster tolerance information of reception
Administration.
In the first possible implementation of fourth aspect, the disaster tolerance information receiving module, specifically for receiving
Disaster tolerance information needed for the disaster tolerance for the deployment service application that disaster tolerance module is sent, the business that the disaster tolerance packet contains
Using resource information and the disaster tolerance parameter be the data center simultaneously receive, or,
Disaster tolerance information needed for the disaster tolerance of the deployment service application sent specifically for receiving disaster tolerance module, the appearance
The information for the resource that the service application that calamity packet contains uses connects when with the disaster tolerance parameter being data center's difference
Receive.
According to the first possible implementation of fourth aspect, in second of possible implementation, the disaster tolerance
Information receiving module, specifically for before the information for the resource that the service application uses is sent to the cloud management platform,
Receive the disaster tolerance parameter that the disaster tolerance module is sent.
According to fourth aspect, fourth aspect the first to second possible implementation any one, the 3rd
In the possible implementation of kind, the disaster tolerance module is integrated in the cloud management platform or is integrated in the data center
In.
Service application disaster tolerance dispositions method of the embodiment of the present invention and device, passed through by obtaining user by cloud management platform
The service application parameter and disaster tolerance parameter that cloud management platform configures for the service application of data center, service application parameter is sent
To data center, so that data center creates the resource that service application uses according to service application parameter, and data center is received
The information for the resource that the service application of transmission uses, the disaster tolerance needed for the disaster tolerance of deployment service application is sent to disaster tolerance module and is believed
Breath, the information and disaster tolerance parameter of the resource that disaster tolerance packet uses containing service application, so that disaster tolerance module is sent to data center
Disaster tolerance information, the disaster tolerance that data center applies according to the disaster tolerance information finishing service of reception are disposed.So as to solve prior art
Middle service application deployment and the deployment of service application disaster tolerance are separation so that carry out service application deployment and the business of data center
The problem of workload of the disaster tolerance deployment of application is larger, realizes and is integrated in service application deployment and the deployment of service application disaster tolerance
Together, while service application is disposed can finishing service application disaster tolerance deployment, so as to reduce workload.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are this hairs
Some bright embodiments, for those of ordinary skill in the art, without having to pay creative labor, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
The flow chart for the service application disaster tolerance dispositions method that Fig. 1 is provided by the embodiment of the present invention one;
The flow chart for the service application disaster tolerance dispositions method that Fig. 2 is provided by the embodiment of the present invention two;
The flow chart for the service application disaster tolerance dispositions method that Fig. 3 is provided by the embodiment of the present invention three;
The flow chart for the service application disaster tolerance dispositions method that Fig. 4 is provided by the embodiment of the present invention four;
The service application disaster tolerance that Fig. 5 is provided by the embodiment of the present invention five disposes the structural representation of device 500;
The service application disaster tolerance that Fig. 6 is provided by the embodiment of the present invention six disposes the structural representation of device 600.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
The flow chart for the service application disaster tolerance dispositions method that Fig. 1 is provided by the embodiment of the present invention one.The side of the present embodiment
The situation that the disaster tolerance that method is applied to apply the service application finishing service of data center is disposed.This method is by service application disaster tolerance
Dispose device to perform, the device is realized generally in a manner of hardware and/or software.The method of the present embodiment includes following step
Suddenly:
110th, cloud management platform obtains the industry that user is configured by cloud management platform for the service application of data center simultaneously
Business application parameter and disaster tolerance parameter.
Service application parameter is first sent to data by user elder generation configuration service application parameter in the prior art, cloud management platform
Center, the resource and the specific network information, service application of service application are created according to service application parameter by data center
Service application parameter of storage information used in the resource used and service application etc., created by cloud management platform in data center
The enterprising industry business application deployment of resource for the service application built, user are held by disaster tolerance module manual configuration disaster tolerance parameter, configuration
After calamity parameter, the disaster tolerance that disaster tolerance module is applied according to disaster tolerance parameter finishing service is disposed, therefore service application deployment and business should
It is separation with disaster tolerance deployment so that carry out the workload of the service application deployment of data center and the disaster tolerance deployment of service application
It is larger.Wherein, the resource that service application uses is, for example,:The title of the specific virtual machine including virtual machine of generation, CPU and interior
The size deposited, the specific network information be, for example, virtual machine connection network, the IP address of virtual machine, the storage that virtual machine uses
Information is, for example, the size for the resource that virtual machine uses, and service application parameter is, for example, database-name, instance name, database
Username and password etc..And because simultaneously user is configured with service application parameter by cloud management platform and disaster tolerance is joined in 110
Number, therefore cloud management platform can obtain service application parameter and disaster tolerance parameter simultaneously, obtain after disaster tolerance parameter can immediately by
Disaster tolerance parameter sends disaster tolerance module and performs disaster tolerance deployment, first can also be cached disaster tolerance parameter, service application to be obtained makes
The resource information that disaster tolerance parameter and service application use is sent jointly into disaster tolerance module to perform disaster tolerance after resource information
Deployment.Therefore, service application deployment and the deployment of service application disaster tolerance can be made while carried out, service application deployment and service application
Disaster tolerance deployment integrates, so as to reduce service application deployment and service application disaster tolerance deployment workload.
120th, service application parameter is sent to data center by cloud management platform, so that data center is joined according to service application
Number creates the resource that service application uses, and the resource that service application uses is the money needed for cloud management Platform deployment service application
Source.
130th, cloud management platform receives the information for the resource that the service application that data center sends uses.
140th, the disaster tolerance information needed for cloud management platform to the disaster tolerance of disaster tolerance module transmission deployment service application, disaster tolerance information
The information and disaster tolerance parameter of the resource used comprising service application, so that disaster tolerance module sends disaster tolerance information, number to data center
The disaster tolerance applied according to center according to the disaster tolerance information finishing service of reception is disposed.
Specifically, cloud management platform obtains the business that user is configured by cloud management platform for the service application of data center
Application parameter and disaster tolerance parameter, service application parameter is sent to data center, so that data center is according to service application parameter
The resource that service application uses is created, and receives the information for the resource that the service application that data center sends uses, to disaster tolerance mould
Block send deployment service application disaster tolerance needed for disaster tolerance information, the information for the resource that disaster tolerance packet uses containing service application and
Disaster tolerance parameter, so that disaster tolerance module sends disaster tolerance information to data center, data center completes industry according to the disaster tolerance information of reception
The disaster tolerance deployment of business application.
The service application disaster tolerance dispositions method that the present embodiment provides, user is obtained by cloud management platform and put down by cloud management
The service application parameter and disaster tolerance parameter that platform configures for the service application of data center, service application parameter is sent in data
The heart, so that the resource that data center uses according to service application parameter establishment service application, and receive the industry of data center's transmission
Business using resource information, to disaster tolerance module send deployment service application disaster tolerance needed for disaster tolerance information, disaster tolerance letter
The information and disaster tolerance parameter for the resource that breath uses comprising service application, so that disaster tolerance module sends disaster tolerance information to data center,
The disaster tolerance that data center applies according to the disaster tolerance information finishing service of reception is disposed.So as to solve service application in the prior art
Deployment and the deployment of service application disaster tolerance are separation so that carry out service application deployment and the disaster tolerance of service application of data center
The problem of workload of deployment is larger, realizes and integrate service application deployment and the deployment of service application disaster tolerance, in industry
Business application deployment while can finishing service application disaster tolerance dispose, so as to reduce workload.
The flow chart for the service application disaster tolerance dispositions method that Fig. 2 is provided by the embodiment of the present invention two.Reference picture 2, this reality
Applying the method for example can include:
210th, cloud management platform obtains the industry that user is configured by cloud management platform for the service application of data center simultaneously
Business application parameter and disaster tolerance parameter.
220th, service application parameter is sent to data center by cloud management platform, so that data center is joined according to service application
Number creates the resource that service application uses, and the resource that service application uses is the money needed for cloud management Platform deployment service application
Source.
230th, cloud management platform sends disaster tolerance parameter to disaster tolerance module.
240th, cloud management platform receives the information for the resource that the service application that data center sends uses.
250th, cloud management platform sends the information for the resource that service application uses to disaster tolerance module.
260th, disaster tolerance module to data center send disaster tolerance information, disaster tolerance information service using resource information and
Disaster tolerance parameter.
It should be noted that disaster tolerance module is integrated in cloud management platform or integrated in the data center
270th, the disaster tolerance that data center applies according to the disaster tolerance information finishing service of reception is disposed.
The disaster tolerance that data center applies according to the disaster tolerance information finishing service of reception is disposed, also i.e. by service application itself
The full backups such as the information and the network information of the resource that information, service application use carry out the appearance of finishing service application to Disaster Preparation Center
Calamity is disposed.
The service application disaster tolerance dispositions method that the present embodiment provides, being obtained by cloud management platform should for data center traffic
With the service application parameter and disaster tolerance parameter of configuration, and according to the service application parameter of configuration, create the money that service application uses
Source, disposed with finishing service application, and the information of the service application of deployment is sent to data center, and sent to disaster tolerance module
Disaster tolerance parameter, the information for the resource that the service application that data center sends uses is received, sending service application to disaster tolerance module makes
The information of resource, so that disaster tolerance module sends the information for the resource that disaster tolerance parameter and service application use to data center,
And make the disaster tolerance portion of the information finishing service application for the resource that data center uses according to the disaster tolerance parameter and service application of reception
Administration.It is separation so as to solve service application deployment in the prior art and the deployment of service application disaster tolerance so that carry out in data
The heart service application deployment and service application disaster tolerance dispose workload it is larger the problem of, realize by service application deployment and
Service application disaster tolerance deployment integrate, while service application dispose can finishing service application disaster tolerance dispose so that
Reduce workload.
The flow chart for the service application disaster tolerance dispositions method that Fig. 3 is provided by the embodiment of the present invention three.Reference picture 3, this reality
The difference for applying example and embodiment two is that the information for the resource that disaster tolerance parameter and service application use is to be sent to disaster tolerance mould simultaneously
Block, the method for the present embodiment can include:
310th, cloud management platform obtains the industry that user is configured by cloud management platform for the service application of data center simultaneously
Business application parameter and disaster tolerance parameter.
320th, service application parameter is sent to data center by cloud management platform, so that data center is joined according to service application
Number creates the resource that service application uses, and the resource that service application uses is the money needed for cloud management Platform deployment service application
Source.
330th, cloud management platform receives the information for the resource that the service application that data center sends uses.
340th, the disaster tolerance information needed for cloud management platform to the disaster tolerance of disaster tolerance module transmission deployment service application, disaster tolerance information
Comprising the information of resource that uses of the service application and the disaster tolerance parameter be the cloud management platform simultaneously to the appearance
What calamity module was sent.
350th, disaster tolerance module sends disaster tolerance information to data center.
360th, the disaster tolerance that data center applies according to the disaster tolerance information finishing service of reception is disposed.
The information and disaster tolerance parameter for the resource that the service application that disaster tolerance packet contains uses are cloud management platform simultaneously to appearance
What calamity module was sent, so that disaster tolerance module sends disaster tolerance information to data center, data center is complete according to the disaster tolerance information of reception
Disaster tolerance into service application is disposed.
The service application disaster tolerance dispositions method that the present embodiment provides, being obtained by cloud management platform should for data center traffic
With the service application parameter and disaster tolerance parameter of configuration, and according to the service application parameter of configuration, create the money that service application uses
Source, disposed with finishing service application, and the information of the service application of deployment is sent to data center, received data center and send
The information of resource that uses of service application, send the letter of the resource that disaster tolerance parameter and service application use simultaneously to disaster tolerance module
Breath, so that disaster tolerance module sends the information for the resource that disaster tolerance parameter and service application use to data center, so that data center
The disaster tolerance deployment of the information finishing service application of the resource used according to the disaster tolerance parameter and service application of reception.So as to solve
Service application deployment and the deployment of service application disaster tolerance are separation in the prior art so that carry out the service application portion of data center
The problem of workload that the disaster tolerance of administration and service application is disposed is larger, realize service application deployment and service application disaster tolerance portion
Administration integrates, while service application is disposed can finishing service application disaster tolerance deployment, so as to reduce workload.
The flow chart for the service application disaster tolerance dispositions method that Fig. 4 is provided by the embodiment of the present invention four.Reference picture 4, this reality
Applying the method for example can include:
410th, data center receives the service application parameter that cloud management platform is sent, and creates industry according to service application parameter
Business using resource, it in user by cloud management platform is service application configuration service application parameter that service application parameter, which is,
Cloud management platform obtains afterwards.
420th, data center sends the information for the resource that service application uses to cloud management platform.
430th, data center receives the disaster tolerance information needed for the disaster tolerance for the deployment service application that disaster tolerance module is sent, disaster tolerance letter
The information and disaster tolerance parameter for the resource that breath uses comprising service application.
440th, the disaster tolerance that data center applies according to the disaster tolerance information finishing service of reception is disposed.
Specifically, data center receives the service application parameter that cloud management platform is sent, and created according to service application parameter
Build the resource that service application uses, it in user by cloud management platform is service application configuration service application that service application parameter, which is,
Cloud management platform is obtained after parameter, and the information for the resource that service application uses is sent to cloud management platform, receives disaster tolerance module
Disaster tolerance information needed for the disaster tolerance of the deployment service application of transmission, the information for the resource that disaster tolerance packet uses containing service application and
Disaster tolerance parameter, the disaster tolerance applied according to the disaster tolerance information finishing service of reception are disposed.Should so as to solve business in the prior art
It is separation with deployment and the deployment of service application disaster tolerance so that carry out service application deployment and the appearance of service application of data center
The problem of workload of calamity deployment is larger, realizes and integrate service application deployment and the deployment of service application disaster tolerance,
Service application dispose while can finishing service application disaster tolerance dispose, so as to reduce workload.
The service application disaster tolerance dispositions method that the present embodiment provides, the industry of cloud management platform transmission is received by data center
Business application parameter, and the resource used according to service application parameter establishment service application, service application parameter are to pass through in user
Cloud management platform is cloud management platform acquisition after service application configuration service application parameter, and sending business to cloud management platform should
With the information of the resource used, the disaster tolerance information needed for the disaster tolerance for the deployment service application that disaster tolerance module is sent, disaster tolerance letter are received
The information and disaster tolerance parameter for the resource that breath uses comprising service application, the disaster tolerance applied according to the disaster tolerance information finishing service of reception
Deployment.It is separation so as to solve service application deployment in the prior art and the deployment of service application disaster tolerance so that carry out data
The problem of workload that the service application deployment at center and the disaster tolerance of service application are disposed is larger, realizes and disposes service application
With service application disaster tolerance deployment integrate, while service application dispose can finishing service application disaster tolerance dispose, from
And it is separation to reduce workload so as to solve service application deployment in the prior art and the deployment of service application disaster tolerance so that
The service application for carrying out data center disposes the problem of workload disposed with the disaster tolerance of service application is larger, realizes business
Integrated using deployment and the deployment of service application disaster tolerance, being capable of finishing service application disaster tolerance while service application is disposed
Deployment, so as to reduce workload.
On the basis of above-described embodiment four, data center receives the disaster tolerance institute for the deployment service application that disaster tolerance module is sent
The disaster tolerance information needed, can be realized in the following way:
A kind of mode is the disaster tolerance information needed for the disaster tolerance for the deployment service application that data center receives the transmission of disaster tolerance module,
The information and disaster tolerance parameter for the resource that the service application that disaster tolerance packet contains uses are data center while received;Another kind side
Formula is the disaster tolerance information needed for the disaster tolerance for the deployment service application that data center receives the transmission of disaster tolerance module, and disaster tolerance packet contains
What the information for the resource that service application uses received when with disaster tolerance parameter being data center's difference.
Further, data center receives the disaster tolerance information needed for the disaster tolerance for the deployment service application that disaster tolerance module is sent,
What the information for the resource that the service application that disaster tolerance packet contains uses received when with disaster tolerance parameter being data center's difference, including:
Before data center sends the information for the resource that service application uses to cloud management platform, data center, which receives, to be held
The disaster tolerance parameter that calamity module is sent.
Further, disaster tolerance module is integrated in the cloud management platform or is integrated in the data center
The service application disaster tolerance that Fig. 5 is provided by the embodiment of the present invention five disposes the structural representation of device 500.This implementation
The situation that the disaster tolerance that the device of example is applied to apply the service application finishing service of data center is disposed.The device is generally with hard
The mode of part and/or software is realized.Reference picture 5, the device include following module:Gain of parameter module 510, application parameter hair
Send module 520, asset information receipt module 530 and disaster tolerance information sending module 540.
Gain of parameter module 510 is used to obtain service application configuration of the user by cloud management platform for data center simultaneously
Service application parameter and disaster tolerance parameter;Application parameter sending module 520 is used to service application parameter being sent to data center,
So that the resource that data center uses according to service application parameter establishment service application, the resource that service application uses is cloud management
Resource needed for Platform deployment service application;Asset information receipt module 530 is used for the service application for receiving data center's transmission
The information of the resource used;Disaster tolerance information sending module 540 is used to send needed for the disaster tolerance of deployment service application to disaster tolerance module
Disaster tolerance information, the information and disaster tolerance parameter of the resource that disaster tolerance packet uses containing service application, so that disaster tolerance module is to data
Center sends disaster tolerance information, and the disaster tolerance that data center applies according to the disaster tolerance information finishing service of reception is disposed.
Further, disaster tolerance information sending module 540, deployment business is sent to disaster tolerance module specifically for cloud management platform
Disaster tolerance information needed for the disaster tolerance of application, the information and disaster tolerance parameter of the resource that the service application that disaster tolerance packet contains uses are cloud
What management platform was sent to disaster tolerance module simultaneously, or,
Specifically for sending the disaster tolerance information needed for the disaster tolerance of deployment service application to disaster tolerance module, disaster tolerance packet contains
Sent when the information for the resource that service application uses with disaster tolerance parameter is cloud management platform difference to disaster tolerance module.
Further, disaster tolerance information sending module 540 is specifically used for using in the service application for receiving data center's transmission
Resource information before, to disaster tolerance module send disaster tolerance parameter;In the money that the service application for receiving data center's transmission uses
After the information in source, the information for the resource that service application uses is sent to disaster tolerance module.
Further, disaster tolerance module is integrated in cloud management platform or integrated in the data center.
The service application disaster tolerance deployment device that the present embodiment provides, is in data by obtaining user by cloud management platform
The service application parameter and disaster tolerance parameter of the service application configuration of the heart, data center is sent to by service application parameter, so that number
The resource used according to center according to service application parameter establishment service application, and the service application for receiving data center's transmission uses
Resource information, send the disaster tolerance information needed for the disaster tolerance of deployment service application to disaster tolerance module, disaster tolerance packet contains business
Using resource information and disaster tolerance parameter so that disaster tolerance module to data center send disaster tolerance information, according to reception
The disaster tolerance deployment of disaster tolerance information finishing service application.So as to solve service application deployment and service application disaster tolerance in the prior art
Deployment is separation so that the workload for carrying out the service application deployment of data center and the disaster tolerance deployment of service application is larger
Problem, realize and integrate service application deployment and the deployment of service application disaster tolerance, energy while service application is disposed
Enough finishing service application disaster tolerance deployment, so as to reduce workload.
The service application disaster tolerance that Fig. 6 is provided by the embodiment of the present invention six disposes the structural representation of device 600.This implementation
The situation that the disaster tolerance that the device of example is applied to apply the service application finishing service of data center is disposed.The device is generally with hard
The mode of part and/or software is realized.Reference picture 6, the device include following module:Application parameter receiving module 610, resource letter
Cease sending module 620, disaster tolerance information receiving module 630 and disaster tolerance deployment execution module 640.
Application parameter receiving module 610 is used for the service application parameter for receiving the transmission of cloud management platform, and should according to business
The resource that uses of service application is created with parameter, and it in user by cloud management platform is that service application configures that service application parameter, which is,
Cloud management platform obtains after service application parameter;Resource information sending module 620 is used for should to cloud management platform transmission business
With the information of the resource used;Disaster tolerance information receiving module 630 is used for the appearance for receiving the deployment service application of disaster tolerance module transmission
Disaster tolerance information needed for calamity, the information and disaster tolerance parameter of the resource that disaster tolerance packet uses containing service application;Disaster tolerance deployment performs
The disaster tolerance that module 640 is used to be applied according to the disaster tolerance information finishing service of reception is disposed.
Further, disaster tolerance information receiving module 630 is specifically used for receiving the deployment service application that disaster tolerance module is sent
Disaster tolerance information needed for disaster tolerance, the information and disaster tolerance parameter of the resource that the service application that disaster tolerance packet contains uses are data center
Receive simultaneously, or,
Disaster tolerance information needed for the disaster tolerance of the deployment service application sent specifically for receiving disaster tolerance module, disaster tolerance packet
What the information for the resource that the service application contained uses received when with disaster tolerance parameter being data center's difference.
Further, disaster tolerance information receiving module, specifically in the money used to cloud management platform transmission service application
Before the information in source, the disaster tolerance parameter that disaster tolerance module is sent is received.
Further, disaster tolerance module is integrated in cloud management platform or integrated in the data center.
The service application disaster tolerance deployment device that the present embodiment provides, the service application sent by receiving cloud management platform are joined
Number, and the resource used according to service application parameter establishment service application, service application parameter are to be put down in user by cloud management
Platform is cloud management platform acquisition after service application configuration service application parameter, sends what service application used to cloud management platform
The information of resource, receives the disaster tolerance information needed for the disaster tolerance for the deployment service application that disaster tolerance module is sent, and disaster tolerance packet contains industry
Business using resource information and disaster tolerance parameter, according to the disaster tolerance information finishing service of reception apply disaster tolerance dispose.From
And it is separation to solve service application deployment in the prior art and the deployment of service application disaster tolerance so that carry out the industry of data center
The problem of workload that the disaster tolerance of business application deployment and service application is disposed is larger, realizing should by service application deployment and business
With disaster tolerance deployment integrate, while service application dispose can finishing service application disaster tolerance dispose, so as to reduce
Workload.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above-mentioned each method embodiment can lead to
The related hardware of programmed instruction is crossed to complete.Foregoing program can be stored in a computer read/write memory medium.The journey
Sequence upon execution, execution the step of including above-mentioned each method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or
Person's CD etc. is various can be with the medium of store program codes.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;To the greatest extent
The present invention is described in detail with reference to foregoing embodiments for pipe, it will be understood by those within the art that:Its according to
The technical scheme described in foregoing embodiments can so be modified, either which part or all technical characteristic are entered
Row equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technology
The scope of scheme.