Refrence:
[OpenStack Orchestration In Depth]
https://developer.rackspace.com/blog/openstack-orchestration-in-depth-part-1-introduction-to-heat/
[Heat Orchestration Template]
http://docs.openstack.org/developer/heat/template_guide/hot_spec.html
[OpenStack Resource Types and Properties]
http://docs.openstack.org/developer/heat/template_guide/openstack.html
[Deploying Services in SUSE by heat]
http://www.susecon.com/doc/2014/sessions/HO5893.pdf
[HOT examples]
https://github.com/openstack/heat-templates/tree/master/hot
orchestration by openstack heat 03-a sample completely stack
condition resource in HOT
root@node-6:~/heat# openstack stack create condition-stack -t 05_condition.yml --parameter image_id=8cf6fd68-adc4-4a08-9b52-9a0014630c72
OS::Heat::WaitCondition & OS::Heat::WaitConditionHandle & wc_notify --data-binary
root@node-6:~/heat# cat 05_condition.yml
create a sample completely stack
root@node-6:~/heat# openstack stack create completely-stack -t 06_completely.yml --parameter "image_id=8cf6fd68-adc4-4a08-9b52-9a0014630c72" --parameter "secgroup_id=df36faf4-228b-46d4-9a9b-84e6490b455e
root@node-6:~/heat# cat 06_completely.yml
root@node-6:~/heat# openstack stack show completely-stack
show log
reference:
https://developer.rackspace.com/blog/openstack-orchestration-in-depth-part-3-multi-instance-deployments/