[StarCluster] how do I stop a cluster from within a plugin?
Dan Tenenbaum
dtenenba at fhcrc.org
Sun Oct 31 20:15:10 EDT 2010
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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/starcluster/attachments/20101031/c75a4da4/attachment.htm
More information about the StarCluster
mailing list