[Zope] zeo.conf socket
Chris McDonough
chrism at plope.com
Mon Dec 13 11:11:11 EST 2004
On Mon, 2004-12-13 at 16:36 +0100, Michele Marcionelli wrote:
> Hello Zope-List,
>
> I hope I'm in the appropriate list ;-)
>
> I'm trying to configure Zope-2.7.3 with ZEO (this is my first
> experience with Zope > 2.5.x) and I read somewhere that in the
> configuration file 'zeo.conf' in the <zeo>-section you can set the key
> 'address' to a 'host:port' pair or a 'unix domain socket'.
Yup. If that's true (I haven't read the config file), a "host:port"
pair means e.g. "localhost:9999", while a "unix domain socket" would be
something like "/a/path/to/zeo.sock'
> In the <runner>-section there is also a 'socket-name' key, that's
> default value is '$INSTANCE/etc/zeo.zdsock'.
>
> Now: what is the difference between the 'address' (when set to a
> socket) and the 'socket-name'? And where has the zope-client to 'point
> to'? address od socket-name?
The 'socket-name' key in the <runner> section is not related to ZEO.
Ignore it.
The 'address' when set to a unix domain socket value needs to point to
the socket file that the ZEO server creates (if it is configured to do
so; it has its own configuration file). The 'address', when set to a
"hostname:port" setting must point to the host name and port on which
the ZEO server is listening (again, see the ZEO server configuration).
- C
More information about the Zope
mailing list