On Mon, May 24, 2010 at 4:16 AM, JimL <[email protected]> wrote:
>
> Hi Mark,
>
> I think the problem is that in your zope.conf you make no reference to the
path to the new filestorage:
>
Actually, I did:
# ZEO configuration file
%define INSTANCE /opt/Plone-2.5.5/zeocluster/server
<zeo>
address 8100
read-only false
invalidation-queue-size 100
# pid-filename $INSTANCE/var/ZEO.pid
# monitor-address PORT
# transaction-timeout SECONDS
</zeo>
<filestorage 1>
path $INSTANCE/var/Data.fs
</filestorage>
# Additions for various sites
<filestorage 2>
path $INSTANCE/var/ahs/prod/Data_ahs_prod.fs
</filestorage>
<filestorage 3>
path $INSTANCE/var/ahs/dev/Data_ahs_dev.fs
</filestorage>
<filestorage 4>
path $INSTANCE/var/ll/Data_ll.fs
</filestorage>
<filestorage 5>
path $INSTANCE/var/club/Data_heatwave.fs
</filestorage>
<eventlog>
level info
<logfile>
path $INSTANCE/log/zeo.log
</logfile>
</eventlog>
<runner>
program $INSTANCE/bin/runzeo
socket-name $INSTANCE/etc/zeo.zdsock
daemon true
forever false
backoff-limit 10
exit-codes 0, 2
directory $INSTANCE
default-to-interactive true
user plone
python /opt/Plone-2.5.5/Python-2.4.4/bin/python
zdrun /opt/Plone-2.5.5/lib/python/zdaemon/zdrun.py
# This logfile should match the one in the zeo.conf file.
# It is used by zdctl's logtail command, zdrun/zdctl doesn't write it.
logfile $INSTANCE/log/zeo.log
</runner>
And all of the databases were created when I restarted Zope.
>
> "path $INSTANCE/var/site1/Data.fs"
>
> If you are running a standalone setup then your zope.conf must look like:
>
> <zodb_db site1>
> # FileStorage for site1
> <filestorage>
> path $INSTANCE/var/site1/Data.fs
> </filestorage>
> mount-point /site1
> </zodb_db>
>
> If you are running a zeo setup, then you need to modify your
> /opt/Plone-2.5.5/zeocluster/zeoserver/etc/zeo.conf something like this:
>
> <filestorage site1storage>
> path $INSTANCE/var/site1/Data.fs
> </filestorage>
>
> If you can get things set up correctly, (maybe setting up new mount points
> in the process) then you can probably use the import/export functionality
> in
> the ZMI (see the buttons at the bottom of the page) to first export your
> subsites to .zexp files and then re-import them back into the new mount
> points.
>
> Anything big like this I usually back up the whole instance (stop Plone,
> and
> tar it all up), just in case everything goes pear-shaped.
>
"goes pear shaped" - I love it!! ;-) I also tar it all up before I do even
the most basic of surgery! Thanks for your ideas....if you have another,
please let me know!
Mark
>
> Cheers, Jim
>
>
> --
> View this message in context:
> http://plone.293351.n2.nabble.com/Having-Problems-with-Multiple-Data-fs-Files-on-One-Zope-tp5068530p5093407.html
> Sent from the Installation, Setup, Upgrades mailing list archive at
> Nabble.com.
> _______________________________________________
> Setup mailing list
> [email protected]
> http://lists.plone.org/mailman/listinfo/setup
>
_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup