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 --helpHelp 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
| Option | Value | Help |
|---|---|---|
--no-move | do not move the stored files back now (run bin/php/clusterize.php -u yourself first) | |
--apply | write; 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 ...).
Related
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.