Drupal platforms (codebases) are deployed under /var/aegir/platforms/
. Sites are deployed using Drupal’s “multi-site” feature, at /var/aegir/platforms/PLATFORM_NAME/web/sites/SITE_NAME
.
update.php
This procedure is pessimistic about updates, and does not trust backup integrity. Thus, the site is offline throughout. The gzipping and unzipping is time-consuming and i/o intensive. So much so, that our worker daemon runs under ionice
, and we run all tasks serially, to avoid simultaneous updates taking down a server. The database import is also time-consuming.
As a result of this pessimism, we incur significant downtime on every update, even when everything goes perfectly.
Drupal platforms are still deployed under /var/aegir/platforms/
. However, sites are deployed at /var/aegir/sites/SITE_NAME
. Again, using Drupal’s “multi-site” feature, we then symlink the site directory into the platform at /var/aegir/platforms/PLATFORM_NAME/web/sites/SITE_NAME
.
/var/aegir/sites/SITE_NAME-test/
)update.php
update.php
This procedure is optimistic about updates, but still verifies every backup’s integrity. The site is only offline for the bare minimum to reliably run database updates. While the total time for the update is likely to be similar, downtime is minimized.