<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.28.3">
</HEAD>
<BODY BGCOLOR="#ffffff">
I see. Well, what I notice is that the notebook server creates the config files when the cluster is started and deletes it when it stops.<BR>
They don't exist when the notebook server is run, only after a cluster is started.<BR>
<BR>
How do I control that? It's using an incorrect url: property preventing remote engines from connecting (i.e. the notebook server<BR>
is not listening on the correct IP).<BR>
<BR>
Also, if I do not supply --ip=* as in "ipython notebook --ip=*" then I cannot access the notebook remotely. So that option is required for me.<BR>
However, even with this setting the url in the config is incorrect for remote engine access.<BR>
<BR>
On Mon, 2012-07-23 at 17:09 -0700, Min RK wrote:
<BLOCKQUOTE TYPE=CITE>
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
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
On Jul 23, 2012, at 16:29, Darren Govoni <<A HREF="mailto:darren@ontrenet.com">darren@ontrenet.com</A>> wrote:<BR>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE TYPE=CITE>
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>
<BR>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE TYPE=CITE>
_______________________________________________<BR>
IPython-User mailing list<BR>
<A HREF="mailto:IPython-User@scipy.org">IPython-User@scipy.org</A><BR>
<A HREF="http://mail.scipy.org/mailman/listinfo/ipython-user">http://mail.scipy.org/mailman/listinfo/ipython-user</A><BR>
<BR>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<PRE>
_______________________________________________
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>
</BODY>
</HTML>