Skip to the content
Documentation

DFS IO handler: comparison of v.4 vs v.5

No ratings yet

Versions Compared

Old Version 4

changes.mady.by.user Bertrand Dunogier

Saved on Dec 16, 2015

compared with

New Version Current

changes.mady.by.user Dominika Kurek

Saved on Feb 02, 2016

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Status
colour Yellow
title 5.4 / 2014.11

DFS is a requirement for use in Clustering setup. See Clustering for an overview of the feature. 

What it is meant for

...

As the binarydata handler, create a new Flysystem local adater adapter configured to read/write to the NFS mount point on each local server. As metadata handler handler, create a dfs one, configured with a doctrine connection. We recommend that a dedicated database is used for DFS metadata. In our example, we will use one named dfs. 

...

If you decide to change this setting, make sure you also set io.url_prefix to a matching value. If you set the NFS adapter's directory to "/path/to/nfs/storage", use this configuration so that the files can be served by symfonySymfony:

Code Block
exponential:
	system:
		default:
			io:
				url_prefix: "storage"

...

Web server rewrite rules.

The default eZ Publish Platform rewrite rules will let image requests be served directly from disk. With native support, files matching ^/var/([^/]+/)?storage/images(-versioned)?/.* have to be passed through /web/app.php.

...

Comments

Add a comment

Comments are read by a moderator before they appear.