<html><head></head><body bgcolor="#FFFFFF"><div>Command-line options to the notebook server have exactly zero effect on the cluster config. You *must* use the config files to configure the cluster.<br><br>-MinRK</div><div><br>On Jul 23, 2012, at 16:29, Darren Govoni <<a href="mailto:darren@ontrenet.com">darren@ontrenet.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div>
<meta http-equiv="Content-Type" content="text/html; CHARSET=UTF-8">
<meta name="GENERATOR" content="GtkHTML/3.28.3">
Hi,<br>
I am trying to connect a remote engine to a running notebook using the default config. I copied the file.<br>
It contains.<br>
{<br>
"url": "tcp://127.0.0.1:57726", <br>
"exec_key": "6dac7baf-45c3-4ab2-b642-bfa65fdac0e9", <br>
"ssh": "", <br>
"location": "10.32.6.3"<br>
}<br>
<br>
<br>
The problem is that the url property is not using the --ip= address I invoke the notebook with and<br>
the remote engine says its timing out trying to register. Any clues?<br>
<br>
thanks.<br>
<br>
On Mon, 2012-07-23 at 13:52 -0700, MinRK wrote:
<blockquote type="CITE">
<pre>On Mon, Jul 23, 2012 at 1:38 PM, Darren Govoni <<a href="mailto:darren@ontrenet.com">darren@ontrenet.com</a>> wrote:
> Ok, thanks.
>
> What I want to do is run remote engines manually and have them connect to
> the notebooks controller.
>
> I assume the notebook as a config file it creates that I can use on remote
> servers for engines to connect?
There is no notebook-specific config to the clusters. Clicking the
`start` button for profile 'foo' should be identical to doing
`ipcluster start --profile foo`. All of the parallel
connection/configuration docs still apply. That means that the
controller creates `ipcontroller-{client|engine}.json` files in
profile/security, and you can start engines with `ipengine
--profile=foo` or `ipcluster engines --profile=foo` to connect to it.
If your machines are not on a shared filesystem, you will need to pass
the connection files around as described in the docs.
>
> Or does it just use the default config location (e.g. user directory)?
>
>
> On Mon, 2012-07-23 at 13:37 -0700, MinRK wrote:
>
> On Mon, Jul 23, 2012 at 1:25 PM, Darren Govoni <<a href="mailto:darren@ontrenet.com">darren@ontrenet.com</a>> wrote:
>> Hi,
>> Can the notebook cluster connect with remote engines or vice-versa?
>
> Yes - the notebook cluster panel is just a very thin wrapper for
> ipcluster. So if you create a profile that starts engines via
> PBS/SGE/SSH, etc. that will happen when you start a cluster from the
> panel. Similarly, you can start a cluster from the panel and add
> engines to it with `ipengine` and/or `ipcluster engines` in all the
> usual ways. There is nothing special about clusters started from the
> notebook panel, other than that they can also be stopped from there.
>
> The one thing you cannot do yet is actually edit the config files for
> those profiles from the notebook interface - for that, you need access
> to the filesystem, or you can do a dirty version by writing the the
> config files with the `%%file` magic in a notebook.
>
> -MinRK
>
>>
>> thanks.
>>
>> _______________________________________________
>> IPython-User mailing list
>> <a href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a>
>> <a href="http://mail.scipy.org/mailman/listinfo/ipython-user">http://mail.scipy.org/mailman/listinfo/ipython-user</a>
>>
> _______________________________________________
> IPython-User mailing list
> <a href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a>
> <a href="http://mail.scipy.org/mailman/listinfo/ipython-user">http://mail.scipy.org/mailman/listinfo/ipython-user</a>
>
>
>
> _______________________________________________
> IPython-User mailing list
> <a href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a>
> <a href="http://mail.scipy.org/mailman/listinfo/ipython-user">http://mail.scipy.org/mailman/listinfo/ipython-user</a>
>
_______________________________________________
IPython-User mailing list
<a href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-user">http://mail.scipy.org/mailman/listinfo/ipython-user</a>
</pre>
</blockquote>
<br>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>IPython-User mailing list</span><br><span><a href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a></span><br><span><a href="http://mail.scipy.org/mailman/listinfo/ipython-user">http://mail.scipy.org/mailman/listinfo/ipython-user</a></span><br></div></blockquote></body></html>