<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font size="-1">Thanks, Adam.<br>
<br>
Playing devil's advocate to my own question here: why isn't this 1
charm broken up into separate charms that handle the different
bits of the workflow? It sounds like you'd want to break this up
into different charms along lines of modeled responsibility and
then deploy using bundles?<br>
<br>
Sorry if I'm over-simplifying.<br>
<br>
-<br>
Katherine<br>
</font><br>
<div class="moz-cite-prefix">On 02/16/2016 12:35 PM, Adam Collard
wrote:<br>
</div>
<blockquote
cite="mid:CAA1tRsvTke8ds1oJXiNejT6G93sDYEvEgA52iSnMt1GakpG+ig@mail.gmail.com"
type="cite">
<div dir="ltr">Hi Katherine,
<div dir="ltr"><br>
<div><br>
<div class="gmail_quote">
<div dir="ltr">On Tue, 16 Feb 2016 at 18:20 Katherine
Cox-Buday <<a moz-do-not-send="true"
href="mailto:katherine.cox-buday@canonical.com"
target="_blank">katherine.cox-buday@canonical.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> <font size="-1">
The team is looking closely at some of our CLI
surrounding resources, and an interesting question
came up: should units be considered homogeneous?<br>
<br>
My understanding is that it's a goal to make the
management of units more consistent, and making the
units more homogeneous would support this, but I'm
wondering from a workload perspective if this is
also true? One example I could think of to support
the discussion is a unit being elected leader and
thus taking a different path through it's workflow
than the other units. When it comes to resources,
maybe this means it pulls a different sub-set of the
declared resources, or maybe doesn't pull resources
at all (e.g. it's coordinating the rest of the units
or something).<br>
</font></div>
</blockquote>
<div><br>
</div>
<div>Yes, as a concrete example the Landscape charm[0],
does just that and runs different Landscape services on
different units, using the leader to decide what goes
where. The units are heterogeneous and under the control
of the charm.<br>
<br>
</div>
<div>Cheers,<br>
<br>
</div>
<div>Adam<br>
</div>
<div> </div>
[0] <a moz-do-not-send="true"
href="https://jujucharms.com/landscape-server/trusty/">https://jujucharms.com/landscape-server/trusty/</a><br>
</div>
</div>
</div>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
-
Katherine</pre>
</body>
</html>