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 --helpHelp 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.Related
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.