System and method for application deployment service
First Claim
Patent Images
1. A method for deploying changes to a domain, said method comprising:
- receiving a deployment request by an administration server, wherein the deployment request requests at least one change on at least one of a plurality of servers in a system domain;
maintaining an active application context executing on each of the plurality of servers, wherein the active application context is a view of a running system domain in terms of configuration;
generating, by the administration server, a deployment package instance for each of the plurality of servers based on the deployment request, said deployment package instance containing the change, and sending, by the administration server, the deployment package instance to each of the plurality of servers prior to committing the change;
generating an inactive copy of the active application context on each of the plurality of servers in response to receiving the deployment package instance;
applying the change contained in the deployment package instance to the inactive copy of the active application context at each of said plurality of servers;
examining the change applied to the inactive copy at each of the plurality of servers by detecting any errors caused by the change being applied to the inactive copy;
transmitting an acknowledgement by each of the plurality of servers if the change is validated after being examined, wherein said each server waits to receive a reply from the administration server before continuing with the change;
receiving an acknowledgement from each of the plurality of servers to the administration server, the acknowledgement indicating that the plurality of servers are prepared to accept the at least one change, and upon receiving the acknowledgement then sending a command by the administration server to commit the change to the plurality of servers; and
wherein, after receiving the command to commit the change, the plurality of servers deploy the change to the active application context.
2 Assignments
0 Petitions
Accused Products
Abstract
A transactional distribution infrastructure enables multiple participants to work together to deploy changes to an executing context. Embodiments can prepare new changes to executing applications based on a copy of the running context or domain rather than the actual running domain. Performing the changes on a copy of the running domain rather than on the actual running domain allows the changes to be examined, therefore providing an opportunity to detect errors and prevent the changes from causing failures on the domain.
32 Citations
17 Claims
-
1. A method for deploying changes to a domain, said method comprising:
-
receiving a deployment request by an administration server, wherein the deployment request requests at least one change on at least one of a plurality of servers in a system domain; maintaining an active application context executing on each of the plurality of servers, wherein the active application context is a view of a running system domain in terms of configuration; generating, by the administration server, a deployment package instance for each of the plurality of servers based on the deployment request, said deployment package instance containing the change, and sending, by the administration server, the deployment package instance to each of the plurality of servers prior to committing the change; generating an inactive copy of the active application context on each of the plurality of servers in response to receiving the deployment package instance; applying the change contained in the deployment package instance to the inactive copy of the active application context at each of said plurality of servers; examining the change applied to the inactive copy at each of the plurality of servers by detecting any errors caused by the change being applied to the inactive copy; transmitting an acknowledgement by each of the plurality of servers if the change is validated after being examined, wherein said each server waits to receive a reply from the administration server before continuing with the change; receiving an acknowledgement from each of the plurality of servers to the administration server, the acknowledgement indicating that the plurality of servers are prepared to accept the at least one change, and upon receiving the acknowledgement then sending a command by the administration server to commit the change to the plurality of servers; and wherein, after receiving the command to commit the change, the plurality of servers deploy the change to the active application context. - View Dependent Claims (2, 3, 8, 11, 14, 15, 16, 17)
-
-
4. A machine-readable storage medium storing one or more sequences of instructions for deploying changes to a domain, which instructions, when executed by one or more processors, cause the one or more processors to carry out the steps of:
-
receiving a deployment request by an administration server, wherein the deployment request requests at least one change on at least one of a plurality of servers in a system domain; maintaining an active application context executing on each of the plurality of servers, wherein the active application context is a view of a running system domain in terms of configuration; generating, by the administration server, a deployment package instance for each of the plurality of servers based on the deployment request, said deployment package instance containing the change, and sending, by the administration server, the deployment package instance to each of the plurality of servers prior to committing the change; generating an inactive copy of the active application context on each of the plurality of servers in response to receiving the deployment package instance; applying the change contained in the deployment package instance to the inactive copy of the active application context at each of said plurality of servers; examining the change applied to the inactive copy at each of the plurality of servers by detecting any errors caused by the change being applied to the inactive copy; transmitting an acknowledgement by each of the plurality of servers if the change is validated after being examined, wherein said each server waits to receive a reply from the administration server before continuing with the change; receiving an acknowledgement from each of the plurality of servers to the administration server, the acknowledgement indicating that the plurality of servers are prepared to accept the at least one change, and upon receiving the acknowledgement then sending a command by the administration server to commit the change to the plurality of servers; and wherein, after receiving the command to commit the change, the plurality of servers deploy the change to the active application context. - View Dependent Claims (5, 6, 9, 12)
-
-
7. An administration server for deploying changes to a domain, the administration server comprising:
-
a processor; and one or more stored sequences of instructions which, when executed by the processor, cause the processor to carry out the steps of; receiving a deployment request by an administration server, wherein the deployment request requests at least one change on at least one of a plurality of servers in a system domain; maintaining an active application context executing on each of the plurality of servers, wherein the active application context is a view of a running system domain in terms of configuration; generating, by the administration server, a deployment package instance for each of the plurality of servers based on the deployment request, said deployment package instance containing the change, and sending, by the administration server, the deployment package instance to each of the plurality of servers prior to committing the change; wherein each of the plurality of servers generates an inactive copy of the active application context in response to receiving the deployment package instance, apply the at least one change contained in the deployment package instance to the inactive copy of the active application context at each of said plurality of servers, examine the change applied to the inactive copy at each of the plurality of servers by detecting any errors caused by the change being applied to the inactive copy, and transmit an acknowledgement by each of the plurality of servers if the change is validated after being examined, wherein said each server waits to receive a reply from the administration server before continuing with the change; and receiving an acknowledgement from each of the plurality of servers to the administration server, the acknowledgement indicating that the plurality of servers are prepared to accept the change, and upon receiving the acknowledgement then sending a command by the administration server to commit the change to the plurality of servers; and wherein, after receiving the command to commit the change, the plurality of servers deploy the change to the active application context. - View Dependent Claims (10, 13)
-
Specification