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

List the hosts of settings/cluster.ini and check their settings; --check also logs in on each.

Download as PDF

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

On this page

exp:expclusterhosts

List the hosts of settings/cluster.ini and check their settings; --check also logs in on each.

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

./console exp:expclusterhosts --help
./console exp:cluster:hosts --help
php bin/php/expclusterhosts.php --help

Help text

List the hosts of settings/cluster.ini
Each host with its ssh target, port, root, PHP binary, users and engine, and what is wrong
with the settings. --check also logs in on each host and checks that its root holds
bin/php/console and that its PHP binary runs.

./console exp:cluster:hosts
./console exp:cluster:hosts --check
./console exp:cluster:hosts --json

Exit code: 0 the settings are right (and with --check every host answered); 1 a host failed
the check; 2 the settings are wrong.

Options

OptionValueHelp
--check

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/expclusterhosts.php, kernel/private/classes/commands/expclusterhosts.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