Petals ESB Deployer 1.0.0

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (17)

View Page History
{code}

h1. Launching a deployment

A Petals ESB bus deployment is launched through the command {{deploy}} of [Petals ESB CLI|petalsclisnapshot:Petals ESB CLI 3.2.0-SNAPSHOT#deploy]. See the documentation of the command to get more information.

h1. Executing deployment

h2. Concurrent deployments
h2. Launching a deployment

To be able to redeploy a Petals ESB bus from scratch in a minimum time, the deployment of the Petals ESB bus must be the fastest as possible. So, Petals ESB containers are deployed concurrently.
A Petals ESB bus deployment is launched through the command {{deploy}} of [Petals ESB CLI|petalsclisnapshot:Petals ESB CLI 3.2.0-SNAPSHOT#deploy]. See the documentation of the command to get more information.

h2. Error management
h2. Deployment execution

h3. Step #1: Pre-checks

Different errors can occurs during the full deployment process of a Petals ESB bus:
* errors linked to invalid model definitions,
* errors linked to unavailable artefacts,
* errors linked to unreachable machines.,
* ...

Petals ESB Deployer minimizes the appearance of these errors executing pre-checks as:
* to validate model definitions,
* model definition validations,
* to validate validating that artefacts are available and have the right checksum (this check is not sufficient to assume that artefacts will be always reachable, but this avoid error on their URL),
* to check checking that all machines are reachable (this check is not sufficient to assume that machine will be always reachable, but this avoid error on hostname, IP address and port).,
* ...

h4. Basic checks

First checks applied are the basic checks as:
* the validation of the provided bus object model. If the bus object model is invalid, the deployment process is aborted and an error is returned,
* archives associated to service unit objects, component objects and shared library object are available and have the right checksum. If a associated archive is unavailable or has an unexpected checksum, the deployment process is aborted and an error is returned,
* containers declared as running on provisioned machines are really running (a JMX connection can be established). If a container is unreachable, the deployment process is aborted and an error is returned.

h4. Dynamic checks

To complete the basic checks a set of dynamic checks is applied to validate the execution context of each container running on provisioned machines:
* the identifier of the container running on the provisioned machine must match the identifier of the associated container instance. If not, the deployment process is aborted and an error is returned.

h3. Step #2: Deployment logic execution

h4. Deployment execution

According to the bus object model, service units instance are configured and deployed taking into account required dependencies as component instances and shared library instances.

h4. Concurrent deployments

To be able to redeploy a Petals ESB bus from scratch in a minimum time, the deployment of the Petals ESB bus must be the fastest as possible. So, Petals ESB containers are deployed concurrently.

h1. Verifying deployment