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

exp:expclusterdisable

Take a one-node DFS cluster made by exp:cluster:enable back to a single file system: the files moved back, the settings out; a dry run unless --apply.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/commands/expclusterdisable.md

On this page

exp:expclusterdisable

Take a one-node DFS cluster made by exp:cluster:enable back to a single file system: the files moved back, the settings out; a dry run unless --apply.

Script bin/php/expclusterdisable.php, code in kernel/private/classes/commands/expclusterdisable.php. Run it from the installation root, as the user the web server runs as:

./console exp:expclusterdisable --help
./console exp:cluster:disable --help
php bin/php/expclusterdisable.php --help

Help text

Take a one-node DFS cluster back to a single file system
Moves the stored files back with clusterize.php -u (once per var directory; --no-move leaves that
for later), then takes the block of exp:cluster:enable out of settings/override/file.ini.append.php,
removes its config.cluster.php and clears the INI caches. The share folder and the cluster tables
are kept. Cluster settings that exp:cluster:enable did not write are left alone. Take the gateway
rule out of the web server's configuration first.

./console exp:cluster:disable              what would be done
./console exp:cluster:disable --apply

Exit code: 0 done, shown, or off already; 1 a step failed; 2 the cluster settings are not ours.

Options

OptionValueHelp
--no-movedo not move the stored files back now (run bin/php/clusterize.php -u yourself first)
--applywrite; without it nothing is changed

Read from the option definitions in the code (startup(), getOptions(), options() or ezcConsoleOption). Every script also takes the standard options of the script framework (--help, --siteaccess, --debug, --quiet, --allow-root-user ...).


Generated by ./console exp:help:examples from bin/php/expclusterdisable.php, kernel/private/classes/commands/expclusterdisable.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

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