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:expclusterenable

Make the installation a one-node DFS cluster: the share, the cluster tables, the settings, the files moved in; a dry run unless --apply.

Download as PDF

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

On this page

This page is a translation. Read the English original

exp:expclusterenable

Make the installation a one-node DFS cluster: the share, the cluster tables, the settings, the files moved in; a dry run unless --apply.

Skript bin/php/expclusterenable.php, Code in kernel/private/classes/commands/expclusterenable.php. Führen Sie es im Wurzelverzeichnis der Installation aus, als der Benutzer, unter dem der Webserver läuft:

./console exp:expclusterenable --help
./console exp:cluster:enable --help
php bin/php/expclusterenable.php --help

Hilfetext

Was --help ausgibt, so wie der Befehl es schreibt:

Make the installation a one-node DFS cluster
Makes the share folder (default: dfs next to the installation, --share another one outside it), the
kernel's cluster tables in the site's own database (kernel/sql/<engine>/cluster_dfs_schema.sql; the
collections of cluster_dfs_schema.json on MongoDB), the
cluster settings as a marked block of settings/override/file.ini.append.php and config.cluster.php
for the cluster gateway, clears the INI caches, and moves the stored files in with clusterize.php
(once per var directory; --no-move leaves that for later). MySQL/MariaDB, PostgreSQL, MongoDB, Oracle, SQL Server,
or SQLite for
one node only. The rewrite rule of the gateway is printed for the web server: add it
in front of the site's own rules. Files that change are backed up to var/backup/cluster/. Without
--apply nothing is written.

./console exp:cluster:enable                                  what would be done
./console exp:cluster:enable --apply
./console exp:cluster:enable --share=/mnt/e1/dfs/example.com --apply

Exit code: 0 done, shown, or on already; 1 a step failed (what was written is put back); 2 wrong
options or the installation cannot be a cluster (its database, its own cluster settings).

Optionen

OptionWertHilfe
--shareerforderlichthe share folder, an absolute path outside the installation (default: dfs next to it)
--backenderforderlichauto (the default: the site's database), mysqli, postgresql, sqlite, mongodb, oracle or sqlserver
--no-movedo not move the stored files in now (run bin/php/clusterize.php yourself)
--applyschreiben; 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/expclusterenable.php, kernel/private/classes/commands/expclusterenable.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.

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