Two ZEO instances running on same server?
I've got one ZEO instance of Plone 2.5.0 and one ZEO instance of Plone 2.5.3running on one UNIX server. These were both installed using the unified installer for UNIX. I've modified the ZEO ports and also all the ZOPE ports so that there a no conflicts between the two instances. When I access the ZMI in both instances I am seeing Plone sites mirrored between the two instances. Even though the data.fs file for both sit in different areas ....opt/Plone-2.5/zeocluster/.... opt/Plone-2.5.3/zeocluster. What I get is site names etc displayed which haven't been created in that instance and vice versa. When clicking on the site, no actual data is displayed and also skins aren't correct. It also looks like the /Products directories are mirrored in ZOPE. However if I go into site set-up in Plone and add/remove products the correct products are listed for each instance. -- michael
On 9/18/07, michael nt milne <michael.milne@gmail.com> wrote:
What I get is site names etc displayed which haven't been created in that instance and vice versa. When clicking on the site, no actual data is displayed and also skins aren't correct. It also looks like the /Products directories are mirrored in ZOPE. However if I go into site set-up in Plone and add/remove products the correct products are listed for each instance.
Sounds like you'll need to double-check your ports, you have got some wires crossed somewhere. You can doublecheck this by looking at the Data.fs sizes and modification times in both ZEO server instances, I suspect that you have both your Zope clusters write to one Data.fs only. -- Martijn Pieters
Hi The data.fs directories are both different though. It's only things like site names and product listings that are being mirrored. Not actual site content... On 9/18/07, Martijn Pieters <mj@zopatista.com> wrote:
On 9/18/07, michael nt milne <michael.milne@gmail.com> wrote:
What I get is site names etc displayed which haven't been created in that instance and vice versa. When clicking on the site, no actual data is displayed and also skins aren't correct. It also looks like the /Products directories are mirrored in ZOPE. However if I go into site set-up in Plone and add/remove products the correct products are listed for each instance.
Sounds like you'll need to double-check your ports, you have got some wires crossed somewhere.
You can doublecheck this by looking at the Data.fs sizes and modification times in both ZEO server instances, I suspect that you have both your Zope clusters write to one Data.fs only.
-- Martijn Pieters
-- michael
----- Original Message ----- From: "michael nt milne" <michael.milne@gmail.com> Subject: Re: [Zope] Two ZEO instances running on same server?
The data.fs directories are both different though. It's only things like site names and product listings that are being mirrored. Not actual site content...
As Michael mentioned, this sounds like you have some ports (or ZODB mount points) set incorrectly. To confirm: 1- examine both Data.fs files and note the sizes and last modification times 2- make a change (that will affect the ZODB) in only one of the Zope instances 3- examine both Data.fs files. Did the file size/modification time change in the expected Data.fs file and not change in the 'other' Data.fs file? Jonathan
On 9/18/07, Martijn Pieters <mj@zopatista.com> wrote:
On 9/18/07, michael nt milne <michael.milne@gmail.com> wrote:
What I get is site names etc displayed which haven't been created in that instance and vice versa. When clicking on the site, no actual data is displayed and also skins aren't correct. It also looks like the /Products directories are mirrored in ZOPE. However if I go into site set-up in Plone and add/remove products the correct products are listed for each instance.
Sounds like you'll need to double-check your ports, you have got some wires crossed somewhere.
You can doublecheck this by looking at the Data.fs sizes and modification times in both ZEO server instances, I suspect that you have both your Zope clusters write to one Data.fs only.
-- Martijn Pieters
-- michael
--------------------------------------------------------------------------------
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
-------------------------------------------------------------------------------- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.487 / Virus Database: 269.13.21/1012 - Release Date: 9/16/2007 6:32 PM
thanks for the help. Will carry out what you are saying
like you have some ports (or ZODB mount points) set incorrectly.
ports all not conflicting will check mountpoints..is this specified in the zope.conf? On 9/18/07, Jonathan <dev101@magma.ca> wrote:
----- Original Message ----- From: "michael nt milne" <michael.milne@gmail.com> Subject: Re: [Zope] Two ZEO instances running on same server?
The data.fs directories are both different though. It's only things like site names and product listings that are being mirrored. Not actual site content...
As Michael mentioned, this sounds like you have some ports (or ZODB mount points) set incorrectly. To confirm:
1- examine both Data.fs files and note the sizes and last modification times 2- make a change (that will affect the ZODB) in only one of the Zope instances 3- examine both Data.fs files. Did the file size/modification time change in the expected Data.fs file and not change in the 'other' Data.fs file?
Jonathan
On 9/18/07, Martijn Pieters <mj@zopatista.com> wrote:
On 9/18/07, michael nt milne <michael.milne@gmail.com> wrote:
What I get is site names etc displayed which haven't been created in that instance and vice versa. When clicking on the site, no actual data is displayed and also skins aren't correct. It also looks like the /Products directories are mirrored in ZOPE. However if I go into site set-up in Plone and add/remove products the correct products are listed for each instance.
Sounds like you'll need to double-check your ports, you have got some wires crossed somewhere.
You can doublecheck this by looking at the Data.fs sizes and modification times in both ZEO server instances, I suspect that you have both your Zope clusters write to one Data.fs only.
-- Martijn Pieters
-- michael
--------------------------------------------------------------------------------
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
--------------------------------------------------------------------------------
No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.487 / Virus Database: 269.13.21/1012 - Release Date: 9/16/2007 6:32 PM
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
-- michael
----- Original Message ----- From: "michael nt milne" <michael.milne@gmail.com> To: "zope list user" <zope@zope.org> Sent: Tuesday, September 18, 2007 9:25 AM Subject: Re: [Zope] Two ZEO instances running on same server?
thanks for the help. Will carry out what you are saying
like you have some ports (or ZODB mount points) set incorrectly.
ports all not conflicting
will check mountpoints..is this specified in the zope.conf?
Yes. Also viewable via the ZMI (in the 'Add' drop-down list select 'ZODB Mount Point'), but less info there. Jonathan
participants (3)
-
Jonathan -
Martijn Pieters -
michael nt milne