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

Deploy this installation on every host of settings/cluster.ini: exp:velocity deploy on each, with the host's own options.

Download as PDF

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

On this page

exp:expclusterdeploy

Deploy this installation on every host of settings/cluster.ini: exp:velocity deploy on each, with the host's own options.

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

./console exp:expclusterdeploy --help
./console exp:cluster:deploy --help
php bin/php/expclusterdeploy.php --help

Help text

Deploy on every host
Runs exp:velocity deploy on each host of settings/cluster.ini, one after the other by
default: autoloads, caches, PHP-FPM, Velocity and the caches of rendered output, in that
order, PASS/FAIL per host. Each host adds its DeployOptions[]; a host with Engine=fpm
gets --no-velocity. It runs as the host's DeployUser=, else the ssh login, because it
reloads PHP-FPM. The code must already be on the hosts (git pull, rsync): this command
does not copy files.

./console exp:cluster:deploy
./console exp:cluster:deploy --kernel --packer
./console exp:cluster:deploy --hosts=web --remote-dry-run
./console exp:cluster:deploy --dry-run

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

Generated by ./console exp:help:examples from bin/php/expclusterdeploy.php, kernel/private/classes/commands/expclusterdeploy.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