Re: how do I stop a cluster from within a plugin?
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.