Multiple zope instances using the same storage
I have an unusual setup. I have 4 distinct Zope instances (4 seperate Data.fs'). Each Data.fs is identical - Data is kept in a RDBMS. I have a product I need to install that stores data in the ZODB. This data is stored in one folder. Now, I *think* I can simply mount this folder in each ZODB and serve the storage through a ZEO server - however I've never done this setup, so I want to make sure this makes sense and I'm not overlooking potential problems. This is a legacy setup that I'm not responsible for, so I'm trying to keep my footprint in this setup as small as possible. Using Zope 2.7.9. Thanks, Mark
Mark Gibson schrieb:
I have an unusual setup. I have 4 distinct Zope instances (4 seperate Data.fs'). Each Data.fs is identical - Data is kept in a RDBMS. I have a product I need to install that stores data in the ZODB. This data is stored in one folder.
Now, I *think* I can simply mount this folder in each ZODB and serve the storage through a ZEO server - however I've never done this setup, so I want to make sure this makes sense and I'm not overlooking potential problems.
This is a legacy setup that I'm not responsible for, so I'm trying to keep my footprint in this setup as small as possible. Using Zope 2.7.9.
Thanks, Mark this should be possible there is even a tutorial someplace. google for mountpoint or catalog in an extra data.fs or something such robert
Mark Gibson wrote at 2008-12-6 11:22 -0700:
I have an unusual setup. I have 4 distinct Zope instances (4 seperate Data.fs'). Each Data.fs is identical - Data is kept in a RDBMS. I have a product I need to install that stores data in the ZODB. This data is stored in one folder.
Now, I *think* I can simply mount this folder in each ZODB and serve the storage through a ZEO server - however I've never done this setup, so I want to make sure this makes sense and I'm not overlooking potential problems.
This should be possible -- though I expect that you can use a single "Data.fs", serve it with ZEO and mount it in each of your Zope instances. There is little reason to have 4 identical "Data.fs" once you have decided to use ZEO anywhere. -- Dieter
Dieter Maurer wrote:
Mark Gibson wrote at 2008-12-6 11:22 -0700:
I have an unusual setup. I have 4 distinct Zope instances (4 seperate Data.fs'). Each Data.fs is identical - Data is kept in a RDBMS. I have a product I need to install that stores data in the ZODB. This data is stored in one folder.
Now, I *think* I can simply mount this folder in each ZODB and serve the storage through a ZEO server - however I've never done this setup, so I want to make sure this makes sense and I'm not overlooking potential problems.
This should be possible -- though I expect that you can use a single "Data.fs", serve it with ZEO and mount it in each of your Zope instances. There is little reason to have 4 identical "Data.fs" once you have decided to use ZEO anywhere.
Thanks Dieter. I agree with you. This isn't my setup, so I would like to avoid having too much of an impact on their setup, but I'll bring it up with the client. Mark
participants (3)
-
Dieter Maurer -
Mark Gibson -
robert rottermann