<div dir="ltr">I propose this question/answer be added added to a FAQ.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 29, 2013 at 9:31 AM, MacMullan, Hugh <span dir="ltr">&lt;<a href="mailto:hughmac@wharton.upenn.edu" target="_blank">hughmac@wharton.upenn.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div dir="auto">
<div>Hi Sergio:</div>
<div><br>
</div>
<div>a -- yes!</div>
<div><br>
</div>
<div>
<div style="color:rgb(25,25,25);font-family:Georgia;font-size:18px;line-height:23px;text-align:left">
MASTER_INSTANCE_TYPE = c1.medium</div>
<div style="color:rgb(25,25,25);font-family:Georgia;font-size:18px;line-height:23px;text-align:left">
MASTER_IMAGE_ID = ami-XXXXXX</div>
<div style="color:rgb(25,25,25);font-family:Georgia;font-size:18px;line-height:23px;text-align:left">
NODE_IMAGE_ID = ami-XXXXXX</div>
<div style="color:rgb(25,25,25);font-family:Georgia;font-size:18px;line-height:23px;text-align:left">
NODE_INSTANCE_TYPE = cr1.8xlarge</div>
</div>
<div><br>
</div>
<div>b -- in config do:</div>
<div><br>
</div>
<div>In the [cluster NAME] section:</div>
<div><span style="color:rgb(25,25,25);font-family:Georgia;font-size:18px;line-height:23px;text-align:left">DISABLE_QUEUE=True</span></div>
<div><span style="color:rgb(25,25,25);font-family:Georgia;font-size:18px;line-height:23px;text-align:left">PLUGINS
 = sge</span></div>
<div><br>
Then define your sge plugin with:</div>
<div><br>
<div style="color:rgb(25,25,25);font-family:Georgia;font-size:18px;line-height:23px;text-align:left">
[plugin sge]</div>
<div style="color:rgb(25,25,25);font-family:Georgia;font-size:18px;line-height:23px;text-align:left">
setup_class = starcluster.plugins.sge.SGEPlugin</div>
<div style="color:rgb(25,25,25);font-family:Georgia;font-size:18px;line-height:23px;text-align:left">
master_is_exec_host = False</div>
<br>
You can also force the master to be a spot instance by using &#39;starcluster start --force-spot-master&#39;, which can save serious cash (90%).</div>
<div><br>
</div>
<div>-Hugh<div><div class="h5"><br>
<br>
<br>
On Jan 29, 2013, at 9:02 AM, &quot;Sergio Mafra&quot; &lt;<a href="mailto:sergiohmafra@gmail.com" target="_blank">sergiohmafra@gmail.com</a>&gt; wrote:<br>
<br>
</div></div></div><div><div class="h5">
<blockquote type="cite">
<div>
<div dir="ltr">Hi fellows,
<div><br>
</div>
<div>If we are supposed to have the instances running for a long time, LoadBlancer can help us a lot, turning on and off when is needed.</div>
<div>I wonder if we can make this more smarter and cheaper, launching the master node as a m1.small instance, taking care only for communication and queue managemente, leaving the heavier job for the compute nodes, that can take advantage of cluster
 type instance and placement groups. </div>
<div>So my question is:</div>
<div><br>
</div>
<div>a) Can we have a cluster with differente instance types - Master and Compute nodes?</div>
<div>b) How to exclude Master node from being a computacional node in the job queue?</div>
<div><br>
</div>
<div><br>
</div>
<div>All the best,</div>
<div><br>
</div>
<div>Sérgio</div>
</div>
</div>
</blockquote>
</div></div><blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>StarCluster mailing list</span><br>
<span><a href="mailto:StarCluster@mit.edu" target="_blank">StarCluster@mit.edu</a></span><br>
<span><a href="http://mailman.mit.edu/mailman/listinfo/starcluster" target="_blank">http://mailman.mit.edu/mailman/listinfo/starcluster</a></span><br>
</div>
</blockquote>
</div>

<br>_______________________________________________<br>
StarCluster mailing list<br>
<a href="mailto:StarCluster@mit.edu">StarCluster@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/starcluster" target="_blank">http://mailman.mit.edu/mailman/listinfo/starcluster</a><br>
<br></blockquote></div><br></div>