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

Configurable DFS cluster backend

The DFS cluster uses two handlers: DB, and FS. So far, the FS handler was hardcoded and couldn't be changed. Starting from 5.4, it can be set in an INI file.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/features/5.4/configurable_dfs_cluster_backend.md

On this page

Configurable DFS cluster backend

The DFS cluster uses two handlers: DB, and FS. So far, the FS handler was hardcoded and couldn't be changed. Starting from 5.4, it can be set in an INI file.

Configuration

A new INI setting, eZDFSClusteringSettings.DFSBackend, is introduced. It expects the name of a class that implements eZDFSFileHandlerDFSBackendInterface:

[eZDFSClusteringSettings]
DFSBackend=MyDFSBackend

Backend class initialization

By default, the configured backend will be created with the new keyword, without any argument.

If complex initialization steps are required, backends can implement eZDFSFileHandlerDFSBackendFactoryInterface. This interface has a build() static method. Within the implementation, dependencies can be resolved, and configuration loaded.

Limitations

Due to the order of settings parsing, cluster related settings must be placed in the global file.ini override, and not in an extension or a siteaccess.

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This page was inherited from the documentation of the original software. It is not covered by the GNU Free Documentation License; it is distributed under the GNU General Public License, version 2.

Copyright (C) 1999 - 2014 eZ Systems AS and contributors