aegir presentation
Post on 02-Jul-2015
350 Views
Preview:
DESCRIPTION
TRANSCRIPT
Aegir. Deploying and managing large networks of Drupal websites.
100 Drupal experts,
#1 in France for Drupal
What is Aegir?
A Drupal that creates
Drupals (drupalception)
A set of Drush commands
that manage servers and
websites
Why Aegir?
Easy update and
maintain Drupal core and
modules
Websites cloning
One-click websites deploy
Use cases
Mass hosting
Dev. > Stage > Live
Upgrades of existing websites
Automatic testing
Terminology
Server
Platform
Website
Client (user)
Task
Servers
Database servers (MySQL and compatible)
Web servers (Apache, nginx)
SOLR servers (with extension)
Platforms
Drupal 6+
Open Atrium
Open Publish
Drupal commerce
Panopoly
Commons
…and more
Platforms
Drupal installations
Located in /var/aegir/platforms
Can be built with .make file
Website(Automatically created)
-r--r----- 1 aegir aegir 441285 May 29 16:22 drushrc.php
drwxrws--- 13 aegir www-data 4096 May 29 16:22 files
drwxrwsr-x 2 aegir aegir 4096 May 29 16:20 libraries
drwxrwsr-x 2 aegir aegir 4096 May 29 16:20 modules
drwxrws--- 4 aegir www-data 4096 May 29 16:20 private
-r--r----- 1 aegir www-data 3278 May 29 16:20 settings.php
drwxrwsr-x 2 aegir aegir 4096 May 29 16:20 themes
automatically generated!
ArchitectureEverything is a node:
Server, Platform, Website
Correspond to a Drushalias:
@server_localhost @platform_drupal7
@music.is-amazing.com
Even task is a node:
Verify, Migrate, Clone
Correspond to command:
# drush hosting-task 88
Architecture
Frontend Backend
1. Create or choose new platform.2. Upload all your contrib modules and themes to the new target
platform. 3. Re-verify the target platform in Aegir. 4. Clone your live site with working subdomain in the old platform. 5. Re-verify old platform and also just cloned site. 6. Migrate cloned site to the new platform. 7. Check if the cloned site works without any issues. 8. if the step 7 above works, you can safely migrate the live site
Upgrading your site, Aegir style
Modules
HTTP Basic AuthHosting backup
queueHosting site gitHosting SOLRHosting VarnishHosting tasks extraHosting reinstall... and more
Extending
Custom configuration:local.settings.php
Hooks:drush_hosting_hook_pre_hosting_task()hook_provision_apache_vhost_config()hosting_hook_hosting_service()drush_hook_provision_drupal_config()hook_hosting_site_options_alter()… more at http://api.aegirproject.org/
Known problems
Complicated to installHard to debugOnce created – never
deleted. Manual deletion.2.x is still alpha3.x is only planned
Want more?
BOA stack:
Barracuda
Octopus
Why? Because Drupal installing Drupal is not enough!
Aegir installing Aegirs is better
Aegir-as-a-service
OmegaCC - http://omega8.cc/
Koumbit - http://koumbit.org
ThinkDrop - http://thinkdrop.net/
Initfour - http://www.initfour.nl/
Roadmap
Aegir 3.0
Better services support
Port to Drupal 7
Reduce core package, more contrib
Aegir 2.0 stable
Testing, testing, testing
Better nginx support
Resources
http://community.aegirproject.org
http://api.aegirproject.org
http://drupal.org/project/hostmaster
http://drupal.org/project/provision
https://groups.drupal.org/aegir-hosting-system
Questions?
Aleksey Tkachenko
atkachenko@adyax.com
@shumushin
top related