exp:expmigrationremotestatus
The migration state of remotes, read in parallel (reachable, version, lock, done, pending, failed), whether they are in sync, and the latest deploys.
Script bin/php/expmigrationremotestatus.php, code in kernel/private/classes/commands/expmigrationremotestatus.php. Run it from the installation root, as the user the web server runs as:
./console exp:expmigrationremotestatus --help
./console exp:migration:remote:status --help
php bin/php/expmigrationremotestatus.php --helpHelp text
The migration state of remotes
Reads exp:migration:status of every selected remote in parallel and lists, per remote, whether it
was reached, its kernel version, the run lock, how many migrations are done, pending and failed, and
its latest run; then whether the remotes are in sync (every migration done on all of them or on
none) and the latest deploys of this installation. Changes nothing.
./console exp:migration:remote:status
./console exp:migration:remote:status --remotes=production --format=json
./console exp:migration:remote:status --history=0Options
| Option | Value | Help |
|---|---|---|
--remotes | required | The remotes: ids or group names of [RemoteSettings] RemoteList[] in migration.ini, or all (a comma list or repeated) |
--format | required | text (default) or json (the machine output exp-migration/1) |
--parallel | required | How many remotes are worked on at the same time (default [RemoteSettings] Parallel) |
--timeout | required | Seconds each remote may take for one phase (default [RemoteSettings] Timeout) |
--history | required | How many of the latest deploys to list (default 10, 0 for none) |
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 ...).
Related
Generated by ./console exp:help:examples from bin/php/expmigrationremotestatus.php, kernel/private/classes/commands/expmigrationremotestatus.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.