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 )
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. |
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 |