Presentation is loading. Please wait.

Presentation is loading. Please wait.

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.

Similar presentations


Presentation on theme: "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."— 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 Multi-Site DrupalDrupalall SiteA.co m SiteB.co m /SITES/ / Modules/Modules/Modules/ Themes/Themes/Themes/

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

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 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 instancehttp://davehall.com.au

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

21 Questions?


Download ppt "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."

Similar presentations


Ads by Google