Cool, thanks everyone - that was helpful<br><br>- Tim<br><br><div class="gmail_quote">On Tue, Jan 25, 2011 at 6:13 PM, Mihael Hategan <span dir="ltr"><<a href="mailto:hategan@mcs.anl.gov">hategan@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Right. I don't think it would be very difficult to have a broadcast of<br>
some command to all the workers. It would go along the lines of what<br>
Justin is saying.<br>
<font color="#888888"><br>
Mihael<br>
</font><div><div></div><div class="h5"><br>
On Tue, 2011-01-25 at 17:06 -0600, Justin M Wozniak wrote:<br>
> Hello Tim<br>
>       I've looked into this a bit.<br>
>       First, there is the WORKERSHELLCMD RPC that is already in there.<br>
> You could call that from, say, an AllocationHook.<br>
>       Second, there is the WORKER_COPIES functionality (cf.<br>
> Settings.java and <a href="http://worker.pl" target="_blank">worker.pl</a>).  This lets you perform arbitrary file copies<br>
> at worker start time.<br>
>       I was thinking the easiest thing might be to add a WORKER_SETUP<br>
> variable that would be similar to WORKER_COPIES and would execute right<br>
> after the WORKER_COPIES are done.  So, say, you could upload a script and<br>
> a tarball and perform a setup operation.<br>
>       We could also have a WORKER_SHUTDOWN variable.<br>
>       Justin<br>
><br>
> On Tue, 25 Jan 2011, Tim Armstrong wrote:<br>
><br>
> > Hi All,<br>
> >  Is there any mechanism in Swift where I could get swift to execute a<br>
> > command  on all of the worker machines that were currently attached to the<br>
> > coasters instance?  I basically want to stage some data out to all of the<br>
> > workers and run some setup scripts in preparation for running a whole bunch<br>
> > of tasks.<br>
> ><br>
> > I'm not sure I actually want to do this, just assessing the feasibility of<br>
> > the option.<br>
> ><br>
> > - Tim<br>
> ><br>
><br>
<br>
<br>
</div></div></blockquote></div><br>