Abstract:
Embodiments of the present invention provide an application upgrade method and an apparatus. The application upgrade method includes: receiving an application deployment request; determining a deployment package of a to-be-deployed application; determining that a version of a first platform node is below a version requirement of a node template of the to-be-deployment application for a first platform node template; acquiring a first platform node upgrade package that meets the version requirement of the node template of the to-be-deployed application for the first platform node template; upgrading the first platform node indicated by an identifier of the first platform node by using the first platform node upgrade package; determining an identifier of a to-be-upgraded application node; and upgrading the application node indicated by the identifier of the to-be-upgraded application node by using the deployment package of the to-be-deployed application.
Abstract:
Embodiments of the present invention provide an application upgrade method and an apparatus. The application upgrade method includes: receiving an application deployment request; determining a deployment package of a to-be-deployed application; determining that a version of a first platform node is below a version requirement of a node template of the to-be-deployment application for a first platform node template; acquiring a first platform node upgrade package that meets the version requirement of the node template of the to-be-deployed application for the first platform node template; upgrading the first platform node indicated by an identifier of the first platform node by using the first platform node upgrade package; determining an identifier of a to-be-upgraded application node; and upgrading the application node indicated by the identifier of the to-be-upgraded application node by using the deployment package of the to-be-deployed application.
Abstract:
A service-based elastic method in a cloud environment includes detecting, an elastic event that occurs in running of a service, determining, a node that needs to be elastic and corresponds to the elastic event, determining, according to an identifier of the node that needs to be elastic, a service topology diagram of the service, and an elastic method identifier of the service in a cloud service archive, a connection relationship that needs to be established, and creating and running the newly added node instance according to information of the node that needs to be elastic in the cloud service archive and the connection relationship. The present disclosure, running of a service can be optimized more effectively.
Abstract:
The present invention provides an application deployment method and device. The method includes: receiving an application deployment request including a resource package identifier of a resource package and method artifact information of each method artifact; acquiring the resource package according to the resource package identifier, where the resource package includes the resource description file and a deployment plan, the resource description file describes the abstract method, and the deployment plan references the abstract method; adding the method artifact information to the resource description file according to the correspondence between each method artifact and each abstract method that is in the resource description file in the resource package, to form an application deployment description file; and executing, according to the application deployment description file, the method artifact of the abstract method referenced by the deployment plan. The present invention improves expansibility of application deployment.
Abstract:
The present invention relates to the field of a resource management method and a server. The resource management method includes: acquiring, by a management server, a first stable ratio used to indicate a quantitative ratio of at least two types of servers in a CSP during stable interaction; and increasing quantities of the at least two types of servers in the CSP according to the first stable ratio. By applying the present invention, a management server on a CSP increases the quantities of all types of servers at one time according to a stable ratio. This enables all types of servers to quickly reach a stable state, and improves overall processing capabilities of all types of servers, thereby further enhancing quality of service of an application deployed on the CSP.
Abstract:
Embodiments of the present invention provide an application upgrade method and an apparatus. The application upgrade method includes: receiving an application deployment request; determining a deployment package of a to-be-deployed application; determining that a version of a first platform node is below a version requirement of a node template of the to-be-deployment application for a first platform node template; acquiring a first platform node upgrade package that meets the version requirement of the node template of the to-be-deployed application for the first platform node template; upgrading the first platform node indicated by an identifier of the first platform node by using the first platform node upgrade package; determining an identifier of a to-be-upgraded application node; and upgrading the application node indicated by the identifier of the to-be-upgraded application node by using the deployment package of the to-be-deployed application.
Abstract:
Embodiments of the present invention provide an application upgrade method and an apparatus. The application upgrade method includes: receiving an application deployment request; determining a deployment package of a to-be-deployed application; determining that a version of a first platform node is below a version requirement of a node template of the to-be-deployment application for a first platform node template; acquiring a first platform node upgrade package that meets the version requirement of the node template of the to-be-deployed application for the first platform node template; upgrading the first platform node indicated by an identifier of the first platform node by using the first platform node upgrade package; determining an identifier of a to-be-upgraded application node; and upgrading the application node indicated by the identifier of the to-be-upgraded application node by using the deployment package of the to-be-deployed application.
Abstract:
A cloud application processing method and related apparatus are provided. The method is performed by a cloud service provider, and may include determining that a working state of a first virtual machine satisfies a condition for adding a virtual machine, determining, according to an emergency policy corresponding to a first application running on the first virtual machine, a second application that has an emergency relationship with the first application, and instructing a second virtual machine on which the second application is hosted to run the first application deployed on the second virtual machine, creating a third virtual machine, deploying and starting the first application on the third virtual machine, and instructing the second virtual machine to stop running the first application after the first application is started on the third virtual machine.
Abstract:
A cloud application processing method and related apparatus are provided. The method is performed by a cloud service provider, and may include determining that a working state of a first virtual machine satisfies a condition for adding a virtual machine, determining, according to an emergency policy corresponding to a first application running on the first virtual machine, a second application that has an emergency relationship with the first application, and instructing a second virtual machine on which the second application is hosted to run the first application deployed on the second virtual machine, creating a third virtual machine, deploying and starting the first application on the third virtual machine, and instructing the second virtual machine to stop running the first application after the first application is started on the third virtual machine.