Re: [Zope] running Zope/Plone on a Windows Virtual Machine?
On 11/7/07, michael nt milne <[EMAIL PROTECTED]> wrote: > yes I realise about the single point of failure. Ideally of course we'd have > separate physical servers for this. It's an intranet so security is less of > an issue. There just seem to be advantages from running virtual machines. > I'm not an expert but aren't they easier to manage, rollback and back-up? that depends entirely on your needs. Copying away the Zope tree and the instances' products and extensions every time you change something on it and copying away the Data.fs every x hours isn't exactly hard, is it? And it requires less space. Having a VM lying aroung just to copy-over and run is also handy, but you need more resources. You decide. Design your backup/restore process well, when you need it you probably won't have much time thinking about it. > Interesting that a VM service would only require the RAM that Zope requires > normally. You would naturally think that the VM service would take up quite > a bit of RAM itself? I didn't say that. I just said, that respective to zope's RAM usage its irrelevant, whether it is inside a VM or not. Of course you need the RAM for the VM itself. --knitti ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] running Zope/Plone on a Windows Virtual Machine?
yes I realise about the single point of failure. Ideally of course we'd have separate physical servers for this. It's an intranet so security is less of an issue. There just seem to be advantages from running virtual machines. I'm not an expert but aren't they easier to manage, rollback and back-up? Possibly the best idea would be to have a dev and staging as virtual machines on one server and then the live instance on another. Interesting that a VM service would only require the RAM that Zope requires normally. You would naturally think that the VM service would take up quite a bit of RAM itself? On 11/7/07, knitti <[EMAIL PROTECTED]> wrote: > > On 11/7/07, michael nt milne <[EMAIL PROTECTED]> wrote: > > ok, so you could have two virtual machines say development and also > staging > > which sat alongside a live production 'non virtual' instance of Zope. > This > > would all sit on the one physical machine. The dev and staging instances > > would be switched off and on as required. With enough RAM and CPU would > this > > be a realistic set-up for a service? > > > Yes. Here are the implications: > - the hardware is your single point of complete failure > - the whole machine would share its performance among native and virtual > instances, so staging and development will have an impact on the > production > instance > - if you production instance gets compromised, its not far for > intruders to staging/development > - the other way round (atack on zope instance, then attack on vm to > reach the host) > is pobably not very much harder > > why don't you just run 3 zope instances on the host? If its a pure > zope application, > then they won't interfere with each other. Although you can't upgrade zope > idependently then, its in any case better resource-wise. > > --knitti > -- michael ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] running Zope/Plone on a Windows Virtual Machine?
ok, so you could have two virtual machines say development and also staging which sat alongside a live production 'non virtual' instance of Zope. This would all sit on the one physical machine. The dev and staging instances would be switched off and on as required. With enough RAM and CPU would this be a realistic set-up for a service? On 11/7/07, knitti <[EMAIL PROTECTED]> wrote: > > On 11/7/07, michael nt milne <[EMAIL PROTECTED]> wrote: > > Has anyone tried this or had any experience with this? We're using > Enfold > > Server and for staging and development purposes instead of using > separate > > machines we're thinking of setting up a 'virtual machines' on the same > > server. There appear to be many benefits. However knowing > > that Zope/Plone are RAM instensive this > > could be an issue. > > There is no issue in running Zope in Windows _or_ running Zope inside a > VM. > It does need the same amount of RAM as running it not inside a VM. Whether > that counts as "RAM intensive" or not depends on what you do with it and > whether you have a comparison to another application. > > VMs tend to have a bit lower performance per MHz, so if you can live with > that > (and have the RAM to feed the VM) go ahead. You can later decide to put it > on a dedicated machine anyway. > > --knitti > -- michael ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] running Zope/Plone on a Windows Virtual Machine?
On 11/7/07, michael nt milne <[EMAIL PROTECTED]> wrote: > ok, so you could have two virtual machines say development and also staging > which sat alongside a live production 'non virtual' instance of Zope. This > would all sit on the one physical machine. The dev and staging instances > would be switched off and on as required. With enough RAM and CPU would this > be a realistic set-up for a service? > Yes. Here are the implications: - the hardware is your single point of complete failure - the whole machine would share its performance among native and virtual instances, so staging and development will have an impact on the production instance - if you production instance gets compromised, its not far for intruders to staging/development - the other way round (atack on zope instance, then attack on vm to reach the host) is pobably not very much harder why don't you just run 3 zope instances on the host? If its a pure zope application, then they won't interfere with each other. Although you can't upgrade zope idependently then, its in any case better resource-wise. --knitti ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] running Zope/Plone on a Windows Virtual Machine?
Has anyone tried this or had any experience with this? We're using Enfold Server and for staging and development purposes instead of using separate machines we're thinking of setting up a 'virtual machines' on the same server. There appear to be many benefits. However knowing that Zope/Plone are RAM instensive this could be an issue. Thanks -- michael ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] running Zope/Plone on a Windows Virtual Machine?
On 11/7/07, michael nt milne <[EMAIL PROTECTED]> wrote: > Has anyone tried this or had any experience with this? We're using Enfold > Server and for staging and development purposes instead of using separate > machines we're thinking of setting up a 'virtual machines' on the same > server. There appear to be many benefits. However knowing > that Zope/Plone are RAM instensive this > could be an issue. There is no issue in running Zope in Windows _or_ running Zope inside a VM. It does need the same amount of RAM as running it not inside a VM. Whether that counts as "RAM intensive" or not depends on what you do with it and whether you have a comparison to another application. VMs tend to have a bit lower performance per MHz, so if you can live with that (and have the RAM to feed the VM) go ahead. You can later decide to put it on a dedicated machine anyway. --knitti ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Running zope egg-packaged product tests
Hello, I'm trying to run tests for an egg-packaged product, deployed in development mode (I'm using zope 2.10.1). I'm using the "zopectl test" command, with "--path" set to my product source directory. The problem is that the test runner seems to call the product initialize() function 2 times, resulting in duplicated profile id declarations... Is there a way to run the tests for an egg-packaged product without setting the --path option to the source dir, in order to prevent this duplication ? Thanks Seb ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Running Zope
hi, So you think that because you can not get it going it's Zopes fault? Why not ask a specific question, based on what you say below I have no idea what you are doing or what your problem; this makes it difficult to write a response. Throw in a few details so we know what you are doing. I got Zope going on Linux and FreeBSD in under 10 mins each when I first installed it as a novice. .. . Jason C. Leach ... University College of the Cariboo. .. On Sat, 2 Dec 2000, Norm LaDuke wrote: > Can anyone out there tell me why anyone would use a product whose tutorial won't > even run. You guys are either INFINITELY more patient than I or you all have > WAY too much time on your hands. I'm about 7 hours into this thing and we do > finally have zope up and running but of course the tutorial doesn't work. > Requires you to put in an ID then blows up and goes no further.What a piece > of garbage (Does my frustration show??) > > ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Running Zope ==> ZopeVirgins
I hope Norm LaDuke does take a breath and follow the advise others have given. But his post does in fact seem to be a common first-time experience. So I would like to suggest a sensible super-newbie-oriented adjustment to _all_ future Zope installations: At installation Zope system should create a default user called 'tutorial' or 'guest' or 'first-time' or something. Upon launching Zope the first time after installation, user 'tutorial' would immediately be logged in automatically and routed to the tutuorial istelf, where the first page advises him/her to create a personal user 'Id' and password for any further real-world use of Zope. This page should also include a form right there to do this. - Jason > - Original Message - > From: "Norm LaDuke" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Sunday, December 03, 2000 1:17 AM > Subject: [Zope] Running Zope > > > | Can anyone out there tell me why anyone would use a product whose tutorial > won't > | even run. You guys are either INFINITELY more patient than I or you all > have > | WAY too much time on your hands. I'm about 7 hours into this thing and we > do > | finally have zope up and running but of course the tutorial doesn't work. > | Requires you to put in an ID then blows up and goes no further.What a > piece > | of garbage (Does my frustration show??) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Running Zope
Norm, Calm down, take a deep breath, right that's better. The behaviour you see is again quite normal. The decision has been made that the superuser cannot own anything, apart from user objects and user folder type objects. So the first thing you need to do is to create another user that has management rights then use that user for all the tutorial work. This is mentioned in the docs somewhere, but it escapes me at the moment as to where that is. This should be your final major hurdle, and you'll be serving zope pages in no time ;) I would urge you to take a look at the upcoming Zope book, which is available from the front page of Zope.org. hth Phil [EMAIL PROTECTED] - Original Message - From: "Norm LaDuke" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, December 03, 2000 1:17 AM Subject: [Zope] Running Zope | Can anyone out there tell me why anyone would use a product whose tutorial won't | even run. You guys are either INFINITELY more patient than I or you all have | WAY too much time on your hands. I'm about 7 hours into this thing and we do | finally have zope up and running but of course the tutorial doesn't work. | Requires you to put in an ID then blows up and goes no further.What a piece | of garbage (Does my frustration show??) | | | ___ | Zope maillist - [EMAIL PROTECTED] | http://lists.zope.org/mailman/listinfo/zope | ** No cross posts or HTML encoding! ** | (Related lists - | http://lists.zope.org/mailman/listinfo/zope-announce | http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Running Zope
-- Original Message -- From: Norm LaDuke <[EMAIL PROTECTED]> Date: Sat, 02 Dec 2000 19:17:50 -0600 >Can anyone out there tell me why anyone would use a product whose tutorial won't >even run. You guys are either INFINITELY more patient than I or you all have >WAY too much time on your hands. I'm about 7 hours into this thing and we do >finally have zope up and running but of course the tutorial doesn't work. >Requires you to put in an ID then blows up and goes no further. What a piece >of garbage (Does my frustration show??) > > >___ >Zope maillist - [EMAIL PROTECTED] >http://lists.zope.org/mailman/listinfo/zope >** No cross posts or HTML encoding! ** >(Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) > > Digital creations offers commercial help. You are posting to a community of users here. Bashing the product we use because you are having problems is not going to get you help any faster. As well as posting such vague commens such as "The tutorial doesn't work" How exactly is it not working? When have you ever received an answer to a technical question without providing specifics? If this is a known issue with the tutorial, chances are someone else has found this out on this list and someone posted an answer or a fix already. Try searching this list before you post. There are many resources, as well as search interfaces for this list at www.zope.org/resources or /documentation ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Running Zope
Can anyone out there tell me why anyone would use a product whose tutorial won't even run. You guys are either INFINITELY more patient than I or you all have WAY too much time on your hands. I'm about 7 hours into this thing and we do finally have zope up and running but of course the tutorial doesn't work. Requires you to put in an ID then blows up and goes no further.What a piece of garbage (Does my frustration show??) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Running Zope 2.2.1 as NT service
On 27 Aug 2000, 12:50 Alexander Chelnokov wrote: > The option seems to be unavailable under W2000. 2.1.6 could be run > that way without any trouble. Could you please elaborate? I just installed 2.2.1 final on my developement machine, under win2000 prof us. The installer asked the usual questions, I answered "run as service", added "-P 0" in the registry, and finally started it by commanding "net start in a command window. Worked like a charm. Later I changed the userid for this service from "System" to "Zope". After restarting the service, it ran without trouble, too. -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Running Zope 2.2.1 as NT service
Hello zope, The option seems to be unavailable under W2000. 2.1.6 could be run that way without any trouble. Best regards, Alexander N. Chelnokov Ural Scientific Institute of Traumatology and Orthopaedics str.Bankovsky, 7. Ekaterinburg 620014 Russia ICQ: 25640913 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Running Zope 2.2 on Solaris 2.7
At 16:41 19-7-00 +0200, Andreas Rippel wrote: >I installed Zope 2.2 for Solaris 2.6 on Solaris 2.7. >After starting an accessing as superuser I wanted to add an object e.g. >a folder. >I couldn't add any kind of object, while getting messages like > Hi, First you have to create another user and give it the manager role. Then close all instance of your browser, login again as the new user you've just created. This user can add objects. Diny DIVA Faculty of Veterinary Medicine Utrecht University The Netherlands http://www.vet.uu.nl ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Running Zope 2.2 on Solaris 2.7
Andreas Rippel wrote: > I couldn't add any kind of object, while getting messages like ... > Error Type: SuperCannotOwn > Error Value: Objects cannot be owned by the superuser That's because in Zope 2.2.0, you can't create objects as the superuser. You'll have to create a user for yourself with the "Manager" role to add objects. -CJ ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Running Zope 2.2 on Solaris 2.7
I installed Zope 2.2 for Solaris 2.6 on Solaris 2.7. After starting an accessing as superuser I wanted to add an object e.g. a folder. I couldn't add any kind of object, while getting messages like >>> Zope Error Zope has encountered an error while publishing this resource. Error Type: SuperCannotOwn Error Value: Objects cannot be owned by the superuser Troubleshooting Suggestions The URL may be incorrect. The parameters passed to this resource may be incorrect. A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the HTML source for this page. If the error persists please contact the site maintainer. Thank you for your patience. Traceback (innermost last): File /opt2/Zope-2.2.0-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /opt2/Zope-2.2.0-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py, line 187, in publish File /opt2/Zope-2.2.0-solaris-2.6-sparc/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook File /opt2/Zope-2.2.0-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py, line 171, in publish File /opt2/Zope-2.2.0-solaris-2.6-sparc/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_addFolder) File /opt2/Zope-2.2.0-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_addFolder) File /opt2/Zope-2.2.0-solaris-2.6-sparc/lib/python/OFS/Folder.py, line 116, in manage_addFolder File /opt2/Zope-2.2.0-solaris-2.6-sparc/lib/python/OFS/ObjectManager.py, line 249, in _setObject (Object: ApplicationDefaultPermissions) File /opt2/Zope-2.2.0-solaris-2.6-sparc/lib/python/AccessControl/Owned.py, line 271, in manage_fixupOwnershipAfterAdd (Object: ElementWithAttributes) SuperCannotOwn: (see above) -- Andreas Rippel Universität Kaiserslautern Fachbereich Informatik (AG ICSY) Tel: ++49 (0)631 205 3676 Paul Ehrlich Straße(G32/348) Fax: ++49 (0)631 205 3056 D-67653 Kaiserslautern (Germany) EMail: [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )