<div dir="ltr"><div><div><div>You will definitely want to use addnode, otherwise the new machines won't be added to the oracle grid engine cluster, and you won't be able to give them tasks or ssh to them.<br><br></div>Have you looked at adding your scripts in the form of a plugin? It can run within the context of addnode.<br><br></div>There are ways to always use spot instances:<br><a href="http://star.mit.edu/cluster/docs/latest/manual/configuration.html">http://star.mit.edu/cluster/docs/latest/manual/configuration.html</a><br><br></div>From the manual:<br><p>The <tt class=""><span class="">addnode</span></tt> command has additional options for customizing the new node’s
instance type, AMI, spot bid, and more. See the help menu for a detailed list
of all available options:</p>
<div class=""><div class=""><pre>$ starcluster addnode --help
</pre></div>
<a href="http://star.mit.edu/cluster/docs/latest/manual/addremovenode.html">http://star.mit.edu/cluster/docs/latest/manual/addremovenode.html</a></div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 7, 2016 at 2:55 AM, rishi <span dir="ltr"><<a href="mailto:rishiraaz@gmail.com" target="_blank">rishiraaz@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi Team,<br></div>I was wondering if there is a way to add spot instances to cluster without using starcluster commands , something like manual addition.<br></div>The instances to be added are launched using a script and i want to be added to cluster tried a few things but without starcluser addnode command it is not working. <br><br></div>Please suggest.<span class="HOEnZb"><font color="#888888"><br clear="all"><div><div><div><div><br>-- <br><div><div dir="ltr"><div><div dir="ltr"><div>Rishi Raj Singh<br></div><div>Cloud ;)<br></div></div></div></div></div>
</div></div></div></div></font></span></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" rel="noreferrer" target="_blank">http://mailman.mit.edu/mailman/listinfo/starcluster</a><br>
<br></blockquote></div><br></div>