how to separate admin,site interface

Author Message

kutty pappa

Wednesday 11 March 2009 1:32:09 am

hi,
I’m new to ezpublish, just started learning.
Could any one tell me how to separate admin interface from site interface. Idea is have two different servers, one for admin interface and another one for site interface.

Thanks in advance,

Andreas Kaiser

Wednesday 11 March 2009 4:42:20 am

This is possible having 2 ez publish installations that share the same database:

Server A
ezpublish install with "public" siteaccess configured with DB1 (could be hosted in Server A or B, or even in a dedicated server)

Server B
ezpublich with "admin" siteaccess configured with DB1

Important is that both siteaccess use the same db to have consist content in both areas/sites.

By the way, not sure why you want to have 2 server, because of security? because of performance?

We have a client that wants 2 server (a production and test server) because of security concerns, but in this case the environment are completely separate and using different db, and because of this content is not "updated" in real time in production server.

Last, you also can check if a one server, or ezpublish cluster environment would work for you...

eZ Partner in Madrid (Spain)
Web: http://www.atela.net/

Ivo Lukac

Wednesday 11 March 2009 7:52:02 am

To have one db is easy, problem is file storage.
You have 2 solutions:
- use cluster file handler (which stores file in db)
- or place storage dir on some shared space (NAS or SAN)

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

kutty pappa

Wednesday 11 March 2009 11:17:49 pm

Thanks you very much for quick response. We thought of separating it, because of security reason. Want to keep admin interface in intra server.

 

Andreas Kaiser

Thursday 12 March 2009 10:51:34 am

Hi,

By the way, we will setup similar concept (development server in client and production server(s) public available) in the next weeks/month.

But in our case separate db because of security (admin users and siteaccess will only be in development server) and 2 public servers - because of location (one in USA and 2nd in Europe).

I can send you more in deep information about this setup if you want (like directories to copy, database tables to copy, etc).

eZ Partner in Madrid (Spain)
Web: http://www.atela.net/

kutty pappa

Thursday 12 March 2009 11:10:28 pm

Hi Andreas Kaiser,
Thank you very much for immediate response. Quite interesting, please give me more information. If you give me step by step setup manual will help me more. Let me try it out.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 30 2025 21:40:52
Script start
Timing: Jan 30 2025 21:40:52
Module start 'layout'
Timing: Jan 30 2025 21:40:52
Module start 'content'
Timing: Jan 30 2025 21:40:52
Module end 'content'
Timing: Jan 30 2025 21:40:52
Script end

Main resources:

Total runtime0.0214 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 588.2578151.2266
Module start 'layout' 0.00500.0034 739.4844220.7188
Module start 'content' 0.00840.0116 960.20311,001.8359
Module end 'content' 0.02000.0014 1,962.039137.9922
Script end 0.0214  2,000.0313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002612.3230140.0002
Check MTime0.00104.7953140.0001
Mysql Total
Database connection0.00062.999310.0006
Mysqli_queries0.00209.110230.0007
Looping result0.00000.051210.0000
Template Total0.00094.310.0009
Template load0.00073.307310.0007
Template processing0.00021.003110.0002
Override
Cache load0.00052.364310.0005
General
dbfile0.00031.267880.0000
String conversion0.00000.031140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs