Thank you Larry, but my case was a bit different. Usually we don't need
staging, but have different configurations for development and production
in distinct servers.
In development it is usual for us to have one big Zope instance without Zeo,
with 5-10 sites in as many mount-points. The buildout includes a lot of
Plone extensions addressing the needs of a wide range of sites/applications.
In production I want to have, say, 2 sites, sharing much of the software, in
the same installation (same buildout), out of the many sites we have in
development.
For each site I plan to have:
- 1 root ZODB
- 1 mount-point, with the same folder name and file name than in the
development environment
- 1 Zeo server
- 1-2 or more Zeo clients.
The problem is that a single buildout cannot handle more than one Zeo
server, due to a limitation of the recipe collective.recipe.filestorage.
Giovanni
----- Original Message -----
From: "Larry Pitcher" <unclela...@inlandnet.com>
To: <setup@lists.plone.org>
Sent: Tuesday, March 08, 2011 6:26 PM
Subject: Re: [Setup] Multiple Plone sites in development and deployment
(,,,)
Standard procedure is to have two buildout files like: production.cfg and
staging.cfg that extend your main buildout file. These files will have the
settings for your zeo and zope instances. They will be basically the same,
but with the servers running on different ports. Install the production
and staging instances in separate directories.
I've got a script that copies the ZODB file and the blob directories from
production to staging so that I can test new things on a recent copy of
the production site.
I like keeping my production and staging environments separate like this.
I can delete the staging instance without harming the production site.
There's not too much overhead with this method. You just have to update
your buildout from SVN when you make changes, then run your buildout...
Does that help?
--
Larry Pitcher
Catapult Solutions
(...)
_______________________________________________
Setup mailing list
Setup@lists.plone.org
https://lists.plone.org/mailman/listinfo/setup