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.
Skript bin/php/expclusterdisable.php, Code in kernel/private/classes/commands/expclusterdisable.php. Führen Sie es im Wurzelverzeichnis der Installation aus, als der Benutzer, unter dem der Webserver läuft:
./console exp:expclusterdisable --help
./console exp:cluster:disable --help
php bin/php/expclusterdisable.php --helpHilfetext
Was --help ausgibt, so wie der Befehl es schreibt:
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.Optionen
| Option | Wert | Hilfe |
|---|---|---|
--no-move | do not move the stored files back now (run bin/php/clusterize.php -u yourself first) | |
--apply | schreiben; ohne diese Option wird nichts geändert |
Aus den Optionsdefinitionen im Code gelesen (startup(), getOptions(), options() oder ezcConsoleOption). Jedes Skript nimmt außerdem die Standardoptionen des Skript-Frameworks (--help, --siteaccess, --debug, --quiet, --allow-root-user ...).
Siehe auch
Erzeugt von ./console exp:help:examples --language=ger-de aus bin/php/expclusterdisable.php, kernel/private/classes/commands/expclusterdisable.php. Bearbeiten Sie diese Seite nicht: Ändern Sie die Quelle oder die deutsche Übersetzung und erzeugen Sie sie neu (wie). Freie Dokumentation: GFDL 1.3 oder später.