[Pkg-zope-developers] ZopeController for zope2.7

Igor Stroh igor@rulim.de
Tue, 26 Oct 2004 12:17:01 +0200


Hi all,

beeing able to parse the Zope/ZEO configs, I decided to
write a ZopeController:
ZopeController is a small shell (using python cmd module) which
provides various commands for Zope/ZEO management such as
- start/stop/restart instances
- read instance status
- add users to root acl_users
- edit inituser files
- some statistics
It relies on the fact, that all Zope instances are located in
/var/lib/zope2.7/instance and ZEO stuff is located in
/var/lib/zope2.7/zeo_instance

It should be pretty easy to extend the script so it also accepts
command line arguments (just as zopectl/zeoctl), creates
instances and resolves Zope->ZEO dependancies.

If anyone is interested:
http://stroh.scan-plus.de/zope_stuff/zope_controller.tar.gz

After some work it can be easily used as a replacement for
the old zopectl.

Cheers,
Igor