StarCluster - Mailing List Archive

Re: how do I stop a cluster from within a plugin?

From: Justin Riley <no email>
Date: Sun, 31 Oct 2010 20:43:18 -0400

  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
>
>
Received on Sun Oct 31 2010 - 20:43:25 EDT
This archive was generated by hypermail 2.3.0.

Search:

Sort all by:

Date

Month

Thread

Author

Subject