[StarCluster] how do I stop a cluster from within a plugin?

Justin Riley jtriley at MIT.EDU
Sun Oct 31 20:43:18 EDT 2010


  Or just terminate them:

for node in nodes:
     node.terminate()

~Justin

On 10/31/10 8:15 PM, Dan Tenenbaum wrote:
> Sorry about all the noise, answering my own questions. But if anyone 
> is interested, here is the answer:
>
>          for node in nodes:
>              if (not node.is_master()):
>                  node.ssh.execute("halt")
>          master.ssh.execute("halt")
>
>
> On Sun, Oct 31, 2010 at 10:15 AM, Dan Tenenbaum <dtenenba at fhcrc.org 
> <mailto:dtenenba at fhcrc.org>> wrote:
>
>     Subject line says it all....
>
>     Dan
>
>
>     _______________________________________________
>     StarCluster mailing list
>     StarCluster at mit.edu <mailto:StarCluster at mit.edu>
>     http://mailman.mit.edu/mailman/listinfo/starcluster
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/starcluster/attachments/20101031/00614068/attachment.htm


More information about the StarCluster mailing list