layout | title | category | publish | abstract | pageord |
---|---|---|---|---|---|
bt_wiki |
Built-in Workflows Reference |
Reference |
true |
description and details on the Cloudify built-in workflows |
900 |
{%summary%} Cloudify comes with two built-in workflows: install
and uninstall
. This page will give a high level description of these workflows. {%endsummary%}
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.create
operation. 1 - Execute
cloudify.interfaces.relationship_lifecycle.preconfigure
relationship operations.2 - Execute
cloudify.interfaces.lifecycle.configure
operation.1 - Execute
cloudify.interfaces.relationship_lifecycle.postconfigure
relationship operations.2 - Execute
cloudify.interfaces.lifecycle.start
operation.1 - If the node instance is a host node (its type is a subtype of
cloudify.types.host
):- Wait for host to be started. (Wait for
cloudify.interfaces.host.get_state
operation on the node instance to returntrue
, if mapped, do nothing otherwise). - Install agent workers and required plugins on this host.
- Wait for host to be started. (Wait for
- Execute
cloudify.interfaces.relationship_lifecycle.establish
relationship operations.2
2. Execute all tasks mapped to this node's relationship lifecycle operation.
For each node, for each node instance (in parallel):
- Wait for dependent node instances to be deleted. Only start processing this node instance when the node instances dependent on it are stopped).
- If node instance is host node (its type is a subtype of
cloudify.types.host
):- Stop and uninstall agent workers.
- Execute
cloudify.interfaces.lifecycle.stop
operation.1 - Execute
cloudify.interfaces.relationship_lifecycle.unlink
relationship operations.2 - Execute
cloudify.interfaces.lifecycle.delete
operation.1
2. Execute all tasks mapped to this node's relationship lifecycle operation.