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

exp:expclusterrun

Run a console command (or, with --shell, a command line) in this installation on every host of settings/cluster.ini, over ssh.

Download as PDF

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

On this page

This page is a translation. Read the English original

exp:expclusterrun

Run a console command (or, with --shell, a command line) in this installation on every host of settings/cluster.ini, over ssh.

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

./console exp:expclusterrun --help
./console exp:cluster:run --help
php bin/php/expclusterrun.php --help

Hilfetext

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

Run a command in this installation on every host, over ssh
The hosts are settings/cluster.ini [ClusterSettings] HostList[] (or --hosts). The words
after -- are a console command each host runs as bin/php/console <words> in its root, with
its PHP binary, as its User= (else the ssh login); --shell runs them as a command line for
sh. One host after the other by default, --parallel all at once. PASS/FAIL per host.

./console exp:cluster:run -- exp:cache status
./console exp:cluster:run --hosts=web,cluster -- exp:maintenance status
./console exp:cluster:run --parallel --shell -- uptime
./console exp:cluster:run --dry-run -- exp:ezcache --clear-tag=ini

Exit code: 0 every host passed; 1 a host failed; 2 wrong options or settings.

Siehe auch


Erzeugt von ./console exp:help:examples --language=ger-de aus bin/php/expclusterrun.php, kernel/private/classes/commands/expclusterrun.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