1 / 21

AEgir

AEgir. Maintain your Drupal sites. The name: AEgir. “In Norse mythology, AEgir was the god of the oceans and if Drupal is a drop of water, AEgir is the deity of large bodies of water.” groups.drupal.org. AEgir History. Originally a module called Hostmaster

mira
Download Presentation

AEgir

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. AEgir • Maintain your Drupal sites

  2. The name: AEgir • “In Norse mythology, AEgir was the god of the oceans and if Drupal is a drop of water, AEgir is the deity of large bodies of water.” • groups.drupal.org

  3. AEgir History • Originally a module called Hostmaster • First gained popularity at DrupalCon Paris (Sept 2009) • http://groups.drupal.org/aegir • #AEgir on IRC

  4. What AEgir does for you • AEgir gives users a point and click interface to • Create sites quickly • Run cron for all sites it manages • Backup and restore • Easily upgrade/migration sites (including 5 -> 6) • Clone a site • All in the same place!

  5. What AEgir is made of • Note: AEgir is neither a module nor a distribution • Group of modules • Hostmaster • Provision • Drush • A custom theme named Eldir • Run on a specific server setup

  6. Drush: (Very) Quick Tour • Stands for DRUpal SHell • A command line shell interface to Drupal • Allows an administrator to execute commands against a Drupal site without opening a browser

  7. Multi-Site Drupal • “Multi-site allows you to share a single Drupal installation (including core code, contributed modules, and themes) among several sites.” - d.o • Each site gets a directory in the sites/ directory • Each site has its own database, therefore its own content/users/settings/etc. • Only upgrade the code once

  8. Drupal / all SiteA.com SiteB.com /SITES/ Modules/ Modules/ Modules/ Themes/ Themes/ Themes/ Multi-Site Drupal

  9. AEgir Site B Site B AEgir term: Platform • Each instance of a Drupal core is a platform • AEgir manages multiple platforms • Sites can be quickly moved between platforms Platform (Drupal 6.16) Platform (Drupal 6.17) Platform (Pressflow 6.17) Site A Site C Site D

  10. AEgir term: Task Queue • Every action within AEgir is called a “task” • Each task is added to the queue • Tasks are run from the queue via a cron job • The cron job is scheduled to run during installation

  11. Tour of AEgir

  12. Creating a new site only use lowercase urls

  13. Upgrading/Migrating a site Once with a failure Once without a failure

  14. Batch platform migration • An entire platform can be migrated at once • AEgir creates a migrate task for each site

  15. Backup and Restore demo

  16. Site cloning • A new site is created with its own url • AEgir handles most link problems • Adjusts the files table • Changes the body and teaser nodes with links

  17. How AEgir works • A system account is created for AEgir to run drush command via cron job • This looks at the task queue and performs tasks • Apache is configured to include configs within the AEgir directory • AEgir user account has privilege to reload Apache • A privileged database account is stored and used to create databases and site accounts

  18. Real world problems • Installing is hard (but easier now with install script) • Adds large complexity • File permission issues • Libraries installed in sites/all/libraries • No module handling • A lot of stuff can go wrong!

  19. Advanced usage • Use drush make to create a new platform (build) for each site (application) • Support for multiple servers • Sever to server site migration and cloning • Client roles allow users to administer their own sites • Dave Hall (http://davehall.com.au/) has ~2100 sites running one AEgir instance

  20. Future development • Support for DNS • AEgir Ubercart Intergration (uc_hosting) • Support for other CMS • but not Wordpress

  21. Questions?

More Related