[Zope-Coders] ZEO install/runtime issues fixed
Chris McDonough
chrism@zope.com
08 Apr 2003 14:07:34 -0400
Oh, and FWIW, here's a sample zodb_db that makes the main database a
clientstorage:
<zodb_db another>
<zeoclient>
server localhost:8001
</zeoclient>
mount-point /
</zodb_db>
- C
On Tue, 2003-04-08 at 14:01, Chris McDonough wrote:
> OK, I've made the changes necessary to allow database definitions via
> the config file.
>
> I had to change the "zodb" section to "zodb_db" as Zope's database
> definitions are special in that they can have one or more "mount-point"
> keys and they should have a "name" (both for later DBTab-like
> functionality) . The database with the mount point named "/" will
> become the "main" database (the zodb_db section's name is not actually
> meaningful except for UI and bookkeeping purposes).
>
> - C
>
>
> On Mon, 2003-04-07 at 21:29, Richard Jones wrote:
> > On Monday, April 7, 2003, at 11:43 PM, Chris McDonough wrote:
> > > The various schema components (component.xml) in
> > > ZODB, ZServer, and zLOG, as well as the master schema in Zope.Startup
> > > (zopeschema.xml) are the best sources of documentation for the config
> > > file at the moment.
> >
> > Could I suggest that ZConfig spawn a feature that spits out the config
> > schema as plain-text or HTML? I believe there's enough information in
> > there to be able to generate a "template" config file from the schema,
> > akin to what's in the skel/etc/zope.conf.in (minus the <<bits>> of
> > course). The HTML would be really nice - auto-documenting the schemas
> > would be a big plus.
> >
> > On a related note, the zconfig command-line script is currently broken
> > in the "installed" Zope tree due to path issues. I'd like to move it to
> > the same scheme as the other scripts, where the bin/zconfig script is a
> > thin generated wrapper that imports and runs the script functionality
> > from the ZConfig lib. Or we could mutate the zconfig script as it's
> > installed. Either way, something needs to be done.
> >
> > In then end though, I can't seem to get a zeoclient section working
> > using the zope.conf file. The following seems to be ignored:
> >
> > <zodb>
> > <zeoclient>
> > server localhost:8082
> > </zeoclient>
> > </zodb>
> >
> > That is, my ZEO server doesn't receive a connection, and the client
> > ends up with a local FileStorage being created. What I've got above
> > _seems_ to be what I should put in there - after reading the various
> > schema xml files, the ZConfig doc PDF and the ZConfig source code to
> > figure what the socket-address value should be ... I still have no idea
> > where the <zodb> section name comes from in the schema though, and
> > would've been totally lost there if it wasn't for hints from other
> > places like Chris' email :)
> >
> >
> > > I'm not sure about command-line options...
> >
> > Surely they're defined somewhere... I can't even unravel _that_ much :)
> >
> >
> > Richard
> >
> >
> > _______________________________________________
> > Zope-Coders mailing list
> > Zope-Coders@zope.org
> > http://mail.zope.org/mailman/listinfo/zope-coders
>
>
>
> _______________________________________________
> Zope-Coders mailing list
> Zope-Coders@zope.org
> http://mail.zope.org/mailman/listinfo/zope-coders