<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-forward-container">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
Hi there,<br>
<br>
Here at CETIC, we saw a lot of questions on the web and the
mailing lists about scaling policies in Heat. The same answers
appeared everytime: "go look at the wordpress example".<br>
We decided to demonstrate how to scale resources with complicated
heat stacks, the use case being OpenShift Origin. There are
multiple interests here:<br>
<ul>
<li>Scaling policies that apply not only to Nova instances, but
also to floating ips, ports, wait conditions, ...</li>
<li>Scaling policies based on various metrics: OpenShift node
instance would scale up based on</li>
<ul>
<li>CPU usage</li>
<li>number of gears usage</li>
<li>or both criteria in the same stack<br>
</li>
</ul>
<li>Custom probe into the node instance to send to Ceilometer
the number of OpenShift gears used</li>
<li>On the fly creation of neutron router, network, subnet,
floating ip, port, ...</li>
<li>The use of a multi-file heat stack</li>
<li>The use of the HOT format (which I find more readable than
AWS CloudFormation format)<br>
</li>
</ul>
This led to a complete and complicated stack. So we really hope
this could be helpful for people who, like us, feel Heat is an
incredible tool, but are missing examples.<br>
Here it is:
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://github.com/openstack/heat-templates/tree/master/openshift-origin/F19/hot-template">https://github.com/openstack/heat-templates/tree/master/openshift-origin/F19/hot-template</a><br>
<br>
Moreover, we noticed the graphical wobbly architecture tool from
Horizon wasn't handy at all when displaying the stack
architecture, because almost all the icons were pretty much the
same. We then added new icons in order to get a better
understanding of stack architectures. <a moz-do-not-send="true"
href="https://review.openstack.org/#/c/110888/">This</a> still
needs to be merged.<br>
<br>
Would you have any question, don't hesitate to drop me an email, a
skype message, a crow, ...<br>
My best and hot wishes :)<br>
<br>
<pre class="moz-signature" cols="72">--
Michaël Van de Borne
R&D Engineer, SOA team, CETIC
Phone: +32 (0)71 49 07 45 Mobile: +32 (0)472 69 57 16, Skype: mikemowgli
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.cetic.be">www.cetic.be</a>, rue des Frères Wright, 29/3, B-6041 Charleroi
</pre>
<br>
</div>
<br>
</body>
</html>