Aegir
half-way through a big refactor. todo; move things from here to other places.
Aegir is a site management distribution.
Overview
Aegir uses Drupal multisite features to share one Drupal codebase install as a 'platform' between sites. Distributions are equal to platform+site, i.e., turnkey solutions. Content can be shared (migrated) between sites using an updated or different platform (with the same content modules, natch).
A platform and site distribution is created from a .make and .info by the Drush Provision plugin that powers the backend of Aegir. The Profiler library is installed with the .make and uses a .info file to specify modules to be initialised, including site sections/etc. from the Features module plus configuration settings via the Strongarm module. Provision initialises a site on that platform and installs the platform+site in Aegir.
Features and theme are stored using Git, --working-copy can be used to build a dev site then content can be migrated from live for testing. Dev platform is perfected, then rebuilt as live without --working-copy.
Dev/production workflow
- Drupal deployments & workflows with version control, drush_make, and Aegir (mig5, Oct 28 2009)
- Using drush hosting-import to auto-create your platform node (and other entities) (mig5, Jan 11 2011) - Updated workflow on Aegir mailing list
- From Zero to Distribution using Features, Profiler, and Drush Make (dimitri, March 9, 2011)
Stack
Relating to installing Aegir on bare servers.
See: BOA - 'Barracuda, Octopus, Aegir' bash install script.
Also;
- http://drupal.org/project/puppet-aegir
- http://drupal.org/project/puppet-drush
- https://redmine.koumbit.net/projects/puppet-apt
- https://labs.riseup.net/code/projects/shared-common
- https://github.com/Vertice/puppet-aegir
Provision
php /var/aegir/drush/drush.php @hostmaster hosting-cron --debug
Hostmaster
- remote_import - Drush extension that allows you to fetch remote sites from remote Aegir servers
- http://drupal.org/project/hosting_remote_import hosting_remote_import] - module that provides a UI for remote_import
Importing a site
- http://community.aegirproject.org/content/importing-complete-drupal-platform
- http://community.aegirproject.org/content/importing-existing-aegir-backups
Clone sites
Migrating and updating platforms
Aegir contrib
Migration between Aegirs
- Remote import - Provision, Remote import - Hostmaster - Drush extension allows you to fetch remote sites from remote Aegir servers.
Managing workflow
- https://github.com/computerminds/aegir_make_working_copy - provides git working copy option un hostmaster gui for dev sites. - broken [1]
- Hosting Features - provides a Task to Hostmaster that provides integration with a site's Features. It is currently in development but works for the most important task: Update & Commit Features