Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,155 of 9,155 pages
About the help in other languages
All help pages

file.ini [eZDFSClusteringSettings]

Die Einstellungen von [eZDFSClusteringSettings] in file.ini: MountPointPath, DBBackend, DFSBackend, DBHost, DBPort, DBSocket, DBName, DBUser ...

Download as PDF

Address: https://doc.exponential.earth/learninminutes/exphelp/viewer/examples/ini-settings/file/eZDFSClusteringSettings.md

On this page

This page is a translation. Read the English original

file.ini [eZDFSClusteringSettings]

Der Block [eZDFSClusteringSettings] von settings/file.ini, mit 12 Einstellung(en).

Einstellungen des DFS-Cluster-Handlers

Bearbeiten Sie settings/file.ini nie selbst: Ein Update ersetzt die Datei. Schreiben Sie die Einstellungen, die Sie ändern, in ein Override, das Vorrang vor der ausgelieferten Datei hat:

  • settings/override/file.ini.append.php für jeden Siteaccess,
  • settings/siteaccess/<siteaccess>/file.ini.append.php für einen Siteaccess,
  • extension/<extension>/settings/file.ini.append.php in einer Erweiterung (gelesen, wenn die Erweiterung aktiv ist).

MountPointPath

Pfad zum NFS-Mountpunkt
Kann relativ zum Wurzelverzeichnis von Exponential oder absolut sein

Standard: leer.

<?php /* #?ini charset="utf-8"?
# 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().

Standard: eZDFSFileHandlerMySQLiBackend.

<?php /* #?ini charset="utf-8"?
# settings/override/file.ini.append.php
[eZDFSClusteringSettings]
DBBackend=eZDFSFileHandlerMySQLiBackend
*/ ?>

DFSBackend

Standard: eZDFSFileHandlerDFSBackend.

<?php /* #?ini charset="utf-8"?
# settings/override/file.ini.append.php
[eZDFSClusteringSettings]
DFSBackend=eZDFSFileHandlerDFSBackend
*/ ?>

DBHost

Standard: dbhost.

<?php /* #?ini charset="utf-8"?
# settings/override/file.ini.append.php
[eZDFSClusteringSettings]
DBHost=dbhost
*/ ?>

DBPort

Standard: 3306.

<?php /* #?ini charset="utf-8"?
# settings/override/file.ini.append.php
[eZDFSClusteringSettings]
DBPort=3306
*/ ?>

DBSocket

Standard: leer.

<?php /* #?ini charset="utf-8"?
# settings/override/file.ini.append.php
[eZDFSClusteringSettings]
DBSocket=
*/ ?>

DBName

Standard: cluster.

<?php /* #?ini charset="utf-8"?
# settings/override/file.ini.append.php
[eZDFSClusteringSettings]
DBName=cluster
*/ ?>

DBUser

Standard: root.

<?php /* #?ini charset="utf-8"?
# settings/override/file.ini.append.php
[eZDFSClusteringSettings]
DBUser=root
*/ ?>

DBPassword

Standard: leer.

<?php /* #?ini charset="utf-8"?
# settings/override/file.ini.append.php
[eZDFSClusteringSettings]
DBPassword=
*/ ?>

DBConnectRetries

Standard: 3.

<?php /* #?ini charset="utf-8"?
# settings/override/file.ini.append.php
[eZDFSClusteringSettings]
DBConnectRetries=3
*/ ?>

DBExecuteRetries

Standard: 20.

<?php /* #?ini charset="utf-8"?
# settings/override/file.ini.append.php
[eZDFSClusteringSettings]
DBExecuteRetries=20
*/ ?>

MaxCopyRetries

Wie oft höchstens versucht wird, eine DFS-Datei zu kopieren.
Erhöhen Sie diesen Wert, wenn Sie Dateien wie expiryXYZtmp.php mit 0 Byte Größe finden

Standard: 5.

<?php /* #?ini charset="utf-8"?
# settings/override/file.ini.append.php
[eZDFSClusteringSettings]
MaxCopyRetries=5
*/ ?>

Siehe auch


Erzeugt von ./console exp:help:examples --language=ger-de aus settings/file.ini. Bearbeiten Sie diese Seite nicht: Ändern Sie die Quelle oder die deutsche Übersetzung und erzeugen Sie sie neu (wie). Freie Dokumentation: GFDL 1.3 oder später.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x