Skip to the content
Documentation

Uninstalling an eZDFS cluster

No ratings yet

After reverting a cluster setup, the metadata tables and the files on the mount are no longer used. These steps remove them. They cannot be undone: back up the cluster database and the mount first.

1. Make sure the site no longer uses the cluster

  • file.ini [ClusteringSettings] FileHandler is eZFSFileHandler on every server, and no [eZDFSClusteringSettings] block is left in settings/override/file.ini.append.php.
  • The files were copied back with ./console exp:clusterize -u, and pages with images work.
  • config.php no longer sets CLUSTER_STORAGE_BACKEND (check with ./console exp:config:list --only-set), and no rewrite rule points to index_cluster.php. Remove config.cluster.php if the site has one.

2. Remove the metadata tables

DROP TABLE ezdfsfile;
DROP TABLE ezdfsfile_cache;

The same table names are used by the PostgreSQL and Oracle backends.

3. Remove the files on the mount

Unmount the NFS export on every web server, remove it from /etc/fstab, and remove the export on the NFS server once its backup is safe.

4. Reload

Clear the INI cache, reload PHP-FPM and restart Exponential Velocity if you use it.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.