Author Topic

Alexandre Henriet

Tuesday 10 November 2009 1:20:21 am

Comment55693

Sure.

In fact I modified the file.ini directly (I know it's a bad practice, I wanted to reduce the complexity of my problem).

As I said, I switched the file handler in [ClusteringSettings]

[ClusteringSettings]
# Cluster file handler.
# Since 4.1 name of the filehandlers have changed
# you may choose between :
# - eZFSFileHandler
# standard file handler
# - eZFS2FileHandler
# enhanced standard file handler, with better concurrency handling
# requires linux or PHP 5.3 on windows
# - eZDBFileHandler
# database file handler
# - eZDFSFileHandler
# distributed filesystem handler with a DB overlay. Required for NFS based
# architectures
# and it is case sensitive
#FileHandler=eZFSFileHandler
FileHandler=eZDFSFileHandler

And I configured eZDFSClustering

# DFS Cluster Handler settings
[eZDFSClusteringSettings]
# Path to the NFS mount point
# Can be relative to the Exponential root, or absolute
MountPointPath=/mnt/nfs
# Database backend
DBBackend=eZDFSFileHandlerMySQLBackend
DBHost=10.2.xx.xxx # ip is valid in my conf
DBPort=3306
DBSocket=
DBName=ezcluster_dbnfs
DBUser=ezcluster
DBPassword=xxxxxx # password is different in my conf
DBConnectRetries=3
DBExecuteRetries=20

That's all I've modified ..

Database exists and can be connected by the specified user,
and /mnt/nfs is writable by the apache user ...

Alex