<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body 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; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); -webkit-text-size-adjust: none; ">
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; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); -webkit-text-size-adjust: none; ">
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; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); -webkit-text-size-adjust: none; ">
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; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); -webkit-text-size-adjust: none; ">
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; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); -webkit-text-size-adjust: none; ">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; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); -webkit-text-size-adjust: none; ">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; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); -webkit-text-size-adjust: none; ">
[plugin sge]</div>
<div style="color: rgb(25, 25, 25); font-family: Georgia; font-size: 18px; line-height: 23px; text-align: left; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); -webkit-text-size-adjust: none; ">
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; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); -webkit-text-size-adjust: none; ">
master_is_exec_host = False</div>
<br>
You can also force the master to be a spot instance by using 'starcluster start --force-spot-master', which can save serious cash (90%).</div>
<div><br>
</div>
<div>-Hugh<br>
<br>
<br>
On Jan 29, 2013, at 9:02 AM, &quot;Sergio Mafra&quot; &lt;<a href="mailto:sergiohmafra@gmail.com">sergiohmafra@gmail.com</a>&gt; wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<div dir="ltr">Hi fellows,
<div><br>
</div>
<div style="">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 style="">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.&nbsp;</div>
<div style="">So my question is:</div>
<div style=""><br>
</div>
<div style="">a) Can we have a cluster with differente instance types - Master and Compute nodes?</div>
<div style="">b) How to exclude Master node from being a computacional node in the job queue?</div>
<div style=""><br>
</div>
<div style=""><br>
</div>
<div style="">All the best,</div>
<div style=""><br>
</div>
<div style="">Sérgio</div>
</div>
</div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>StarCluster mailing list</span><br>
<span><a href="mailto:StarCluster@mit.edu">StarCluster@mit.edu</a></span><br>
<span><a href="http://mailman.mit.edu/mailman/listinfo/starcluster">http://mailman.mit.edu/mailman/listinfo/starcluster</a></span><br>
</div>
</blockquote>
</body>
</html>