Index Changes

Service Assembly Life Cycle Operation result for cluster target


Similar to deploy / undeploy results, the result of service assembly life cycle operations could be mixed-bag. This page documents the expected response from the facade DeploymentService when the response from each instance is not always complete success.

Consider a cluster setup with three instances : I1, I2 and I3. Components C1, C2 and C3 are installed to this Cluster. A Service Assembly SA with three Service Units Su1, Su2, Su3 targetes to components C1, C2 and C3 is deployed to the cluster.

The possible life cycle success / failures / partial-success cases are captured in the tables below, along with the expected response from the facade DeploymentService. Each component result in the response received from the facade deployment service would be a composite result which has all the task-status-msg and exception-info from each instance component result

( S = SUCCESS and F = FAILED in the table below )

Service Assembly Start

Case 1:

Instance C1 C2 C3 Response
I1 S F F partial success: management message returned
I2 F S F partial success: management message returned
I3 F F S partial success: management message returned
Facade S S S sucess: management message returned.

Case 2:

Instance C1 C2 C3 Response
I1 S F F partial success: management message returned
I2 F S F partial success: management message returned
I3 F F F failure: exception thrown with management message
Facade S S F partial success: management message returned.

Case 3:

Instance C1 C2 C3 Response
I1 F F F failure: exception thrown with management message
I2 F F F failure: exception thrown with management message
I3 F F F failure: exception thrown with management message
Facade F F F failure: exception thrown with management message.

Service Assembly Stop

Case 1:

Instance C1 C2 C3 Response
I1 S F F failure: exception thrown with management message.
I2 F S F failure: exception thrown with management message.
I3 F F S failure: exception thrown with management message.
Facade F F F Get the runtime state of the Service Assembly after the operation, if it is stopped, return a success composite message else its a failure: exception thrown with management message.

Case 2:

Instance C1 C2 C3 Response
I1 S F F failure: exception thrown with management message.
I2 F S F failure: exception thrown with management message.
I3 S S S success: management message returned
Facade F F F Get the runtime state of the Service Assembly after the operation, if it is stopped, return a success composite message else its a failure: exception thrown with management message.

Case 3:

Instance C1 C2 C3 Response
I1 S F F failure: exception thrown with management message
I2 S F F failure: exception thrown with management message
I3 S F F failure: exception thrown with management message
Facade S F F Get the runtime state of the Service Assembly after the operation, if it is stopped, return a success composite message else its a failure: exception thrown with management message.

Case 4:

Instance C1 C2 C3 Response
I1 S S S success: management message returned
I2 S S S success: management message returned
I3 S S S success: management message returned
Facade S S S success: management message returned

Service Assembly Shutdown ( similar to stop )

JSPWiki v2.4.100
[RSS]
« Home Index Changes Prefs
This page (revision-1) was last changed on 17-Nov-06 17:05 PM, -0800 by sureshp