https://github.com/kitconcept/buildout.zrs
https://github.com/kitconcept/buildout.zrs
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kitconcept/buildout.zrs
- Owner: kitconcept
- Created: 2013-11-26T06:01:10.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-11-26T07:34:01.000Z (over 12 years ago)
- Last Synced: 2026-02-17T11:31:35.006Z (4 months ago)
- Language: Python
- Size: 180 KB
- Stars: 4
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
ZEO REPLICATION EXAMPLE
=======================
Set up a master ZEO
-------------------
master.cfg::
[zeo]
recipe = plone.recipe.zeoserver[zrs]
eggs =
Plone
plone.recipe.zeoserver[zrs]
zeo-address = 8000
replicate-to = localhost:9000
Start the instance and 'var/log/zeo.log' should include::
PrimaryFactory starting on 8000
2013-11-26T08:19:38 Starting factory
Set up a slave ZEO
------------------
slave.cfg::
[zeo]
recipe = plone.recipe.zeoserver[zrs]
eggs =
Plone
plone.recipe.zeoserver[zrs]
zeo-address = 8000
replicate-to = localhost:9000
[instance]
recipe = plone.recipe.zope2instance
read-only = True
var/log/zeo.log::
2013-11-26T08:23:14 IPv4Address(TCP, '127.0.0.1', 9000): Connected
Sync Databases
--------------
If you have an existing Database, make sure you copied over 'var/filestorage' and 'var/blobstorage' from master to slave.
Further reading
---------------
* https://pypi.python.org/pypi/zc.zrs/2.4.4
* https://pypi.python.org/pypi/plone.recipe.zeoserver
* http://stackoverflow.com/questions/18742513/plone-switching-to-zrs-using-plone-recipe-zeoserver-on-plone-4-3-1
* https://github.com/codesyntax/buildout.zrsexample/blob/master/buildout.cfg