Re: [Zope] zeo and rdb backend

2000-08-14 Thread Tino Wildenhain



"Bak @ kedai" wrote:
 
  "Bak @ kedai" wrote:
  
   BTW, site summary doesnot work with zeo.  i can vview an instance fine on the
   machine that server Data.fs, but not on the other machine.
   what should we look out for when considering zeo?
 
 
 boy, am i talking to myself a lot.  another follow up.  as always, right after
 i sent a distress signal to the list, i got enlightened.
 
 i missed all my external progs when i installed  the other machine.  so, in
 the hopes of not showing how dense i am ;), in conclusion
 -get a mirror copy of your working site - products, external methods, etc
 -change host for connectiing to SQL backend.   use ip, not localhost

Better: use hostname, not localhost-alias or ip. So you can assign this
Hostname
on the local machine with 127.0.0.1 and on the remote machine with the
network
interfaces ip-address. Just for performance...

 -make sure access are granted for all machines wanting to access the sql backend
 -to minimize error, make changes from one machine only.

I have to look further, but I think a good solution for local
configuration
issues would be a mountable database for specific sections (like
products
and some folders with database-connections and such)
Imagine a situation where different instances of zope, connected via zeo
have 
to use different database-connections (odbc for windows, any other for
unix).

Regards
Tino Wildenhain

___
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] zeo and rdb backend

2000-08-14 Thread bak @ kedai

 I have to look further, but I think a good solution for local
 configuration
 issues would be a mountable database for specific sections (like
 products
 and some folders with database-connections and such)
 Imagine a situation where different instances of zope, connected via zeo
 have
 to use different database-connections (odbc for windows, any other for
 unix).

i think mountable databse is still alpha, even with filestorage.  not sure
whether it works if we use ZEO.

one thing that still bothers me, how can we minimize conflict error?  we
cannot restrict users from making changes, updates.  but users will complain
for such errors.

i'm looking at writing a howto use ZEO, and am looking for responses,notes
from the gurus, what's good, what to avoid, good design methods, multiple
storage points (still can't get to work), etc.  i need pointers, help
because i am a user not a brilliant programmer/developer like most of you
guys are, and do not fully understand ZEO.


 Regards
 Tino Wildenhain

thanks


___
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] zeo and rdb backend

2000-08-14 Thread Bill Anderson

"bak @ kedai" wrote:
 
  I have to look further, but I think a good solution for local
  configuration
  issues would be a mountable database for specific sections (like
  products
  and some folders with database-connections and such)
  Imagine a situation where different instances of zope, connected via zeo
  have
  to use different database-connections (odbc for windows, any other for
  unix).
 
 i think mountable databse is still alpha, even with filestorage.  not sure
 whether it works if we use ZEO.

Only if and for the Zeoserver that sits on the same physical machine as the ZSS.


 
 one thing that still bothers me, how can we minimize conflict error?  we
 cannot restrict users from making changes, updates.  but users will complain
 for such errors.
 
 i'm looking at writing a howto use ZEO, and am looking for responses,notes
 from the gurus, what's good, what to avoid, good design methods, multiple
 storage points (still can't get to work), etc.  i need pointers, help
 because i am a user not a brilliant programmer/developer like most of you
 guys are, and do not fully understand ZEO.

I am working on a 'paper' that I may submit to LinuxWorld Expo for NY. I may be able 
topublish some stuff on it early.


--
Do not meddle in the affairs of sysadmins, for they are easy to annoy,
and have the root password.

___
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] zeo and rdb backend

2000-07-24 Thread Bak @ kedai

On Mon, 24 Jul 2000, [EMAIL PROTECTED] wrote:
followup on my problem
i just need to give permission to both machine to access the database.  after
that, restart zope and everything is peachy

is this worth a writeup?  not too sure myself.

BTW, site summary doesnot work with zeo.  i can vview an instance fine on the
machine that server Data.fs, but not on the other machine.
what should we look out for when considering zeo?

thanks

Error type:  TypeError
Error value: string, None



Traceback (innermost last):
  File /home/kdie/temp/Zope/lib/python/ZPublisher/Publish.py, line 222, in 
publish_module
  File /home/kdie/temp/Zope/lib/python/ZPublisher/Publish.py, line 187, in publish
  File /home/kdie/temp/Zope/lib/python/Zope/__init__.py, line 221, in 
zpublisher_exception_hook
(Object: ApplicationDefaultPermissions)
  File /home/kdie/temp/Zope/lib/python/ZPublisher/Publish.py, line 171, in publish
  File /home/kdie/temp/Zope/lib/python/ZPublisher/mapply.py, line 160, in mapply
(Object: index_html)
  File /home/kdie/temp/Zope/lib/python/ZPublisher/Publish.py, line 112, in call_object
(Object: index_html)
  File /home/kdie/temp/Zope/lib/python/OFS/DTMLMethod.py, line 167, in __call__
(Object: index_html)
  File /home/kdie/temp/Zope/lib/python/DocumentTemplate/DT_String.py, line 502, in 
__call__
(Object: index_html)
  File /home/kdie/temp/Zope/lib/python/DocumentTemplate/DT_With.py, line 146, in render
(Object: FM)
  File /home/kdie/temp/Zope/lib/python/OFS/DTMLMethod.py, line 163, in __call__
(Object: simpleView)
  File /home/kdie/temp/Zope/lib/python/DocumentTemplate/DT_String.py, line 502, in 
__call__
(Object: simpleView)
  File /home/kdie/temp/Zope/lib/python/DocumentTemplate/DT_In.py, line 630, in 
renderwob
(Object: entries)
  File /home/kdie/temp/Zope/lib/python/OFS/DTMLMethod.py, line 163, in __call__
(Object: entries)
  File /home/kdie/temp/Zope/lib/python/DocumentTemplate/DT_String.py, line 502, in 
__call__
(Object: entries)
  File /home/kdie/temp/Zope/lib/python/DocumentTemplate/DT_Return.py, line 106, in 
render
(Object: siteSummaryEntries(REQUEST))
  File /home/kdie/temp/Zope/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval
(Object: siteSummaryEntries(REQUEST))
(Info: REQUEST)
  File string, line 0, in ?
  File /home/kdie/temp/Zope/lib/python/Products/ExternalMethod/ExternalMethod.py, line 
251, in __call__
(Object: siteSummaryEntries)
TypeError: (see above)


 hi
 i have a few questions about zeo and how it works (newbie)
 i managed to get zeo runniing, and i have two hosts serving one zodb.  that's
 great.
 
 but i can't access some of the data that resides in a rdbms (postgres).  i
 guess the db connection points to the wrong host since i use 
 dbname@localhost username (for postgres).
 
 tried changing host to something else (host1 as defined in /etc/hosts) but cant
 change properties.  zope said bad request.  the same error if i use zPoPyDA.
 
 does this mean that i need to use zodb to use zeo?  what should i do to use rdb
 for some of my data?
 
 i'm stuck and in need of help, pointers, docs from the great ones.
 help
 
 thanks
 -- 
 --
 http://www.kedai.com.my/kk
 Am I Evil?
 
 
 ___
 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 )
-- 
--
http://www.kedai.com.my/kk
Am I Evil?


___
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] zeo and rdb backend

2000-07-24 Thread Bak @ kedai


 "Bak @ kedai" wrote:
  
  BTW, site summary doesnot work with zeo.  i can vview an instance fine on the
  machine that server Data.fs, but not on the other machine.
  what should we look out for when considering zeo?


boy, am i talking to myself a lot.  another follow up.  as always, right after
i sent a distress signal to the list, i got enlightened.

i missed all my external progs when i installed  the other machine.  so, in
the hopes of not showing how dense i am ;), in conclusion
-get a mirror copy of your working site - products, external methods, etc
-change host for connectiing to SQL backend.   use ip, not localhost
-make sure access are granted for all machines wanting to access the sql backend
-to minimize error, make changes from one machine only.

and enjoy!

did i miss anything else?

___
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 )