The Install Workflow¶
Workflow name: ``install``
Workflow description: Workflow for installing applications.
Workflow high-level pseudo-code:
For each node, for each node instance (in parallel):
- Wait for node instance relationships to be started. (Only start processing this node instance when the node instances it depends on are started).
- Execute
cloudify.interfaces.lifecycle.createoperation. [1] - Execute
cloudify.interfaces.relationship_lifecycle.preconfigurerelationship operations. [2] - Execute
cloudify.interfaces.lifecycle.configureoperation. [1] - Execute
cloudify.interfaces.relationship_lifecycle.postconfigurerelationship operations. [2] - Execute
cloudify.interfaces.lifecycle.startoperation. [1] - If the node instance is a host node (its type is a subtype of
cloudify.nodes.Compute):- Install agent workers and required plugins on this host.
- Execute
cloudify.interfaces.monitoring_agentinterfaceinstallandstartoperations. [1]
- Execute
cloudify.interfaces.monitoring.startoperation. [1] - Execute
cloudify.interfaces.relationship_lifecycle.establishrelationship operations. [2]
| [1] | (1, 2, 3, 4, 5) Execute the task mapped to the node’s lifecycle operation. (do nothing if no task is defined). |
| [2] | (1, 2, 3) Execute all tasks mapped to this node’s relationship lifecycle operation. (Operations are executed in the order defined by the node template relationships) |