<html>
<head>
</head>
<body style="margin-top: 4px; line-height: normal; font-variant: normal; margin-right: 4px; margin-bottom: 1px; margin-left: 4px">
<p style="margin-top: 0; margin-bottom: 0">
<font size="3" face="Lucida Grande">Hi,</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<font size="3" face="Lucida Grande">I ended up writing a script that connected to the cluster and made a copy of an already created profile with a new unique name, started ipcluster, waited till the json file was created and then retrieved the json file for use in a local client, runs my script and then cleans up afterwards.</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<font size="3" face="Lucida Grande">This seems to be working fairly well except when the local script exits because of an error. In that case, I need to log in and stop the engines, clean up files etc manually.</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<font size="3" face="Lucida Grande">- dharhas</font><br><br>>>> MinRK <benjaminrk@gmail.com> 9/12/2011 4:46 PM >>><br><br><br> </p>
<div class="gmail_quote">
<p style="margin-top: 0; margin-bottom: 0">
On Mon, Sep 12, 2011 at 14:35, Fernando Perez <span dir="ltr"><<a href="mailto:fperez.net@gmail.com">fperez.net@gmail.com</a>></span> wrote:<br> </p>
<blockquote class="gmail_quote" style="margin-top: 0; border-left: 1px #ccc solid; margin-right: 0; padding-left: 0; margin-bottom: 0; margin-left: 0">
<p style="margin-top: 0; margin-bottom: 0">
Hi Dharhas,<br><br>On Fri, Sep 2, 2011 at 6:38 AM, Dharhas Pothina<br> </p>
<div class="im">
<p style="margin-top: 0; margin-bottom: 0">
<<a href="mailto:Dharhas.Pothina@twdb.state.tx.us">Dharhas.Pothina@twdb.state.tx.us</a>> wrote:<br> </p>
</div>
<div class="im">
<p style="margin-top: 0; margin-bottom: 0">
> One more related question. I've got things working as described below and it<br>> looks like each time I start ipcluster it overwrites the<br>> ipcontroller_client.json and the ipcontroller_engine.json file. Does this<br>> mean I can only have one ipcluster running? </p>
</div>
</blockquote>
<div>
<p style="margin-top: 0; margin-bottom: 0">
<br>
</p>
</div>
<div>
<p style="margin-top: 0; margin-bottom: 0">
Currently there is an expectation that controllers are singletons *per profile*. You can start as many controllers as you like, as long as they are using different profiles. </p>
</div>
<div>
<br>
</div>
<blockquote class="gmail_quote" style="margin-top: 0; border-left: 1px #ccc solid; margin-right: 0; padding-left: 0; margin-bottom: 0; margin-left: 0">
<div class="im">
<p style="margin-top: 0; margin-bottom: 0">
Or if I start the ipcluster and<br>> then copy the json file to the clients that require them can I then start<br>> another ipcluster job and use the new json file for the new clients.<br><br> </p>
</div>
<p style="margin-top: 0; margin-bottom: 0">
If you pass the --reuse flag directly to the ipcontroller script, it<br>will reuse a connection file. Let us know if this helps... </p>
</blockquote>
<blockquote class="gmail_quote" style="margin-top: 0; border-left: 1px #ccc solid; margin-right: 0; padding-left: 0; margin-bottom: 0; margin-left: 0">
<p style="margin-top: 0; margin-bottom: 0">
<br>
Cheers,<br><font color="#888888"><br style="color: #888888">f<br style="color: #888888"></font> </p>
</blockquote>
</div>
<p style="margin-top: 0; margin-bottom: 0">
<br>
</p>
</body>
</html>