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 (1)

View Page History
* to check 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).

h1. Verifying deployment

A Petals deployment model (ie. [bus object model|busObjectModel]) can be used to verify the installation of a topology checking:
* topology architecture against the [topology object model|#topologyObjectModel],
* topology instantiation against the topology instance of the [bus object model|busObjectModel],
* for each container of the topology:
** shared libraries installed,
** components and their configuration installed,
** service units deployed and their placeholders.

h2. Launching the verification

The installation verification is launched using Petals CLI through the command '{{to-be-defined}}' requiring a bus object model and a topology instance identified by the Petals ESB container on which Petals CLI is connected.

h2. Checking topology

First, the Petals ESB container on which we are connected *must be* declared as container instance into the bus object model. Next, the current topology is retrieved from the Petals ESB container on which we are connected. Each container of the current topology *must be* declared as container instance into the bus object model, and all containers instances of the bus object model must form the current topology.

The current registry retrieved from the current topology *must* match the registry instance declared in the bus object model: same implementation, same clustering.

h2. Checking share libraries

For each shared library instance referenced in the bus object model through component instances:
* it *must* be installed on the expected container,
* the checksum of the archive used for installation *must* match the checksum declared in the component repository model.

h2. Checking components

For each component instance referenced in the bus object model:
* it *must* be installed on the expected container,
* the checksum of the archive used for installation *must* match the checksum declared in the component repository model,
* the installed component *must* use only the shared libraries declared in the bus object model,
* the configuration of the installed component *must* match the configuration declared in the bus object model for all parameter values that are not deployment properties.

h2. Checking service units

For each service unit instance referenced in the bus object model:
* it *must* be deployed on the expected container,
* the checksum of the archive used for deployment *must* match the checksum declared in the service unit object model,
* the configuration of the service unit instance *must* match the configuration declared in the bus object model for all placeholder values that are not deployment properties.

h1. Petals Deployment Model