On Thu, Feb 18, 2010 at 11:25 AM, Christian Theune <c...@gocept.com> wrote:

> On 02/18/2010 03:22 PM, Diego Acevedo wrote:
> > On Wed, Feb 17, 2010 at 5:20 PM, Christian Theune <c...@gocept.com
> > <mailto:c...@gocept.com>> wrote:
> >
> >     On 02/17/2010 06:15 PM, Diego Acevedo wrote:
> >     > Hello everybody. I have a problem with zeoraid + plone (I ask for
> the
> >     > problem in the general questions in Plone, and they say me that i
> >     could
> >     > ask here)...
> >     >
> >     > I can do work zeoraid and plone for separate, but if I try to
> >     connect my
> >     > zope client instance with the zeoraid, its dont work.
> >     >
> >     > I try different configurations:
> >     >
> >     >      zope client -> zeoraid -> zeoservers;
> >     >      zope client -> zeoserver <- zeoraid -> zeoservers
> >     >      etc
> >     >
> >     > I think that the problem is the ZODB, because zeoraid
> (gocept.zeoraid)
> >     > work with ZODB3 >= 3.9, whereas Plone 3.3.4 work with Zope 2.10,
> and
> >     > this with ZODB 3.7.1...
> >     >
> >     > so, the question is, Did someone get that zeoraid and plone work
> >     together??
> >
> >     The correct chain of configuration is:
> >
> >     Zope Server -> ZEOServer with a RAIDStorage -> other backends
> (typically
> >     the second row of ZEO servers)
> >
> >     The correct ZODB versions are:
> >
> >     Zope Server = ZODB 3.6+
> >     ZEO Servers w/ and w/o ZEORAID = ZODB 3.9
> >
> >     If you have those configurations and they don't work, then a specific
> >     error report would help.
> >
> >     Christian
> >
> >     --
> >     Christian Theune · c...@gocept.com <mailto:c...@gocept.com>
> >     gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) ·
> germany
> >     http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1
> >     Zope and Plone consulting and development
> >
> >     _______________________________________________
> >     For more information about ZODB, see the ZODB Wiki:
> >     http://www.zope.org/Wikis/ZODB/
> >
> >     ZODB-Dev mailing list  -  ZODB-Dev@zope.org <mailto:
> ZODB-Dev@zope.org>
> >     https://mail.zope.org/mailman/listinfo/zodb-dev
> >
> >
> > Oh... nice. thank you, but now I am a little confused...
> >
> > I have the next configuration right now (briefly):
> >
> > ZeoRaid:
> >
> > zeo1 address 8100
> > zeo2 address 8101
> > zeoraid address 8200 (and inside <raidstorage> server 8100; server 8101)
> >
> > Plone (it is a zeo install, not a stand alone):
> >
> > zeo-address 8100
>
> That must point to 8200, otherwise Plone will only talk to zeo1 and thus
> zeo1 and zeo2 will diverge causing ZEORaid to become inconsistent.
>
> Christian
>
> --
> Christian Theune · c...@gocept.com
> gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
> http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1
> Zope and Plone consulting and development
>
> _______________________________________________
> For more information about ZODB, see the ZODB Wiki:
> http://www.zope.org/Wikis/ZODB/
>
> ZODB-Dev mailing list  -  ZODB-Dev@zope.org
> https://mail.zope.org/mailman/listinfo/zodb-dev
>


I tested it too, but i got this error (for plone client):

2010-02-18 11:33:15 ERROR ZEO.zrpc (3334) CW: error in testConnection
(('127.0.0.1', 8200))
Traceback (most recent call last):
  File
"/home/gdlk/Plone/Zope-2.10.7-final-py2.4/lib/python/ZEO/zrpc/client.py",
line 454, in test_connection
    self.preferred = self.client.testConnection(self.conn)
  File
"/home/gdlk/Plone/Zope-2.10.7-final-py2.4/lib/python/ZEO/ClientStorage.py",
line 442, in testConnection
    stub.register(str(self._storage), self._is_read_only)
  File
"/home/gdlk/Plone/Zope-2.10.7-final-py2.4/lib/python/ZEO/ServerStub.py",
line 74, in register
    self.rpc.call('register', storage_name, read_only)
  File
"/home/gdlk/Plone/Zope-2.10.7-final-py2.4/lib/python/ZEO/zrpc/connection.py",
line 650, in call
    raise inst # error raised by server
ValueError: unknown storage: 1

Storage1 is define in zeo1 and zeo2...
_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to