file.ini [eZDFSClusteringSettings]
The block [eZDFSClusteringSettings] of settings/file.ini, with 12 setting(s).
DFS Cluster Handler settings
Never edit settings/file.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:
settings/override/file.ini.append.phpfor every siteaccess,settings/siteaccess/<siteaccess>/file.ini.append.phpfor one siteaccess,extension/<extension>/settings/file.ini.append.phpin an extension (read when the extension is active).
MountPointPath
Path to the NFS mount point
Can be relative to the Exponential root, or absolute
Default: empty.
# settings/override/file.ini.append.php
[eZDFSClusteringSettings]
MountPointPath=
*/ ?>DBBackend
Database backend
Available options:
- MySQLi: eZDFSFileHandlerMySQLiBackend
- PostgreSQL 13 and later: expDFSFileHandlerPostgresqlBackend (in the kernel; the earlier name
eZDFSFileHandlerPostgresqlBackend works too). Set DBPort=5432 and create the tables with
kernel/sql/postgresql/cluster_dfs_schema.sql. Optional: DBLockTimeout=<seconds> (default 10), how long
a statement waits for a row lock before the transaction is retried (DBExecuteRetries).
DBPersistentConnection=enabled keeps one connection per PHP worker between requests (PDO persistent), which
saves the login round trips of every request when the database is on another machine; count the workers of
every node against the server's max_connections first.- SQLite 3.24 and later, one machine only (a one-node cluster, tests): expDFSFileHandlerSQLiteBackend (in the
kernel). DBName is the database file (an absolute path, or a name in var/storage/sqlite3); create the tables with
kernel/sql/sqlite/cluster_dfs_schema.sql. DBHost, DBPort, DBSocket, DBUser and DBPassword are not used.
Optional: DBLockTimeout=<seconds> (default 10), how long a write waits for the database's lock.- MongoDB 5.0 and later, one server or a replica set: expDFSFileHandlerMongoDBBackend (in the kernel, only the PHP
extension mongodb). DBHost and DBPort, or DBSocket, or a whole mongodb:// or mongodb+srv:// connection string in
DBHost (a replica set); DBName is the database (DBUser is authenticated against it). Create the collections with
exp:cluster:enable or expDFSFileHandlerMongoDBBackend::createSchema() (kernel/sql/mongodb/cluster_dfs_schema.json).
Optional: DBLockTimeout=<seconds> (default 10), how long finding a server may take.- Oracle 12.1 and later: expDFSFileHandlerOracleBackend (in the kernel, only the PHP extension oci8). DBName is the
connect string (Easy Connect host:port/service, a TNS alias or a descriptor); DBHost, DBPort and DBSocket are not
used. Create the tables with kernel/sql/oracle/cluster_dfs_schema.sql (the ezoracle extension's old
eZDFSFileHandlerOracleBackend table: cluster_dfs_schema_upgrade.sql). Optional: DBLockTimeout=<seconds> (default
10), how long a change waits for a row lock; DBPersistentConnection=enabled for oci_pconnect().
Default: eZDFSFileHandlerMySQLiBackend.
# settings/override/file.ini.append.php
[eZDFSClusteringSettings]
DBBackend=eZDFSFileHandlerMySQLiBackend
*/ ?>DFSBackend
Default: eZDFSFileHandlerDFSBackend.
# settings/override/file.ini.append.php
[eZDFSClusteringSettings]
DFSBackend=eZDFSFileHandlerDFSBackend
*/ ?>DBHost
Default: dbhost.
# settings/override/file.ini.append.php
[eZDFSClusteringSettings]
DBHost=dbhost
*/ ?>DBPort
Default: 3306.
# settings/override/file.ini.append.php
[eZDFSClusteringSettings]
DBPort=3306
*/ ?>DBSocket
Default: empty.
# settings/override/file.ini.append.php
[eZDFSClusteringSettings]
DBSocket=
*/ ?>DBName
Default: cluster.
# settings/override/file.ini.append.php
[eZDFSClusteringSettings]
DBName=cluster
*/ ?>DBUser
Default: root.
# settings/override/file.ini.append.php
[eZDFSClusteringSettings]
DBUser=root
*/ ?>DBPassword
Default: empty.
# settings/override/file.ini.append.php
[eZDFSClusteringSettings]
DBPassword=
*/ ?>DBConnectRetries
Default: 3.
# settings/override/file.ini.append.php
[eZDFSClusteringSettings]
DBConnectRetries=3
*/ ?>DBExecuteRetries
Default: 20.
# settings/override/file.ini.append.php
[eZDFSClusteringSettings]
DBExecuteRetries=20
*/ ?>MaxCopyRetries
Max number of times a dfs file is tried to be copied.
Increase this value if you find files like expiryXYZtmp.php with 0 byte size
Default: 5.
# settings/override/file.ini.append.php
[eZDFSClusteringSettings]
MaxCopyRetries=5
*/ ?>Related
Generated by ./console exp:help:examples from settings/file.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.