eZ and failover

Author Message

PO Michel

Wednesday 06 September 2006 2:05:34 am

Hi,

We use ez 3.7.4 in a failover environment (2 Linux machines - one master and one slave - running the Heartbeat service). There is a filesytem synchronization between the master and the slave as well as a MySQL replication.

We encounter the following problems :

- Cache information is synchronized on the slave and generates bad displays of our web site on the slave (missing images),
- Due to the fact eZ logs user sessions in the DB, we have to import the DB on the slave after each switch on the slave in order to have mysql replication running.

Does release 3.8.3 brings improvment regarding this failover/cluster mode ?

Thanks in advance,

PO

Tony Wood

Wednesday 06 September 2006 7:20:56 am

Hi,

We have used Redhat server cluster on a project. It is pricey but does all the heavy lifting.
If you do not want to pay for Redhat then I know heartbeat can be setup to work if you want it for no money.
To resolve the var issue if you can, stretch to back end fibre storage that normally does the trick and is lovely and fast. Failing that a Crossover Gig cable into the nics can get you some of the way then you can rsync or mount an NFS location.

Tony

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

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 18 2025 16:15:41
Script start
Timing: Jan 18 2025 16:15:41
Module start 'layout'
Timing: Jan 18 2025 16:15:41
Module start 'content'
Timing: Jan 18 2025 16:15:41
Module end 'content'
Timing: Jan 18 2025 16:15:41
Script end

Main resources:

Total runtime0.0162 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 589.0234152.6250
Module start 'layout' 0.00600.0025 741.648439.4453
Module start 'content' 0.00850.0055 781.093889.3203
Module end 'content' 0.01400.0021 870.414130.3047
Script end 0.0161  900.7188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002615.9382140.0002
Check MTime0.00116.9769140.0001
Mysql Total
Database connection0.00106.023810.0010
Mysqli_queries0.002213.791830.0007
Looping result0.00000.079610.0000
Template Total0.001710.510.0017
Template load0.00095.598010.0009
Template processing0.00084.849710.0008
Override
Cache load0.00063.644610.0006
General
dbfile0.00031.670680.0000
String conversion0.00000.041240.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