StarCluster - Mailing List Archive

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

From: Dan Tenenbaum <no email>
Date: Sun, 31 Oct 2010 17:15:10 -0700

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> wrote:

> Subject line says it all....
>
> Dan
>
>
> _______________________________________________
> StarCluster mailing list
> StarCluster_at_mit.edu
> http://mailman.mit.edu/mailman/listinfo/starcluster
>
>
Received on Sun Oct 31 2010 - 20:15:13 EDT
This archive was generated by hypermail 2.3.0.

Search:

Sort all by:

Date

Month

Thread

Author

Subject