Mercury is an open-source effort to create reusable, common, stable, kickass stacks for running Drupal. It began as an effort targeted to Amazon EC2, but really wants to have its stacks run anywhere/everywhere Drupal is found.
The current best place to get code from is this GitHub repository:
https://github.com/boztek/mercury
The ideas here have also spawned Pantheon Systems, which provides commercial service, but this group is about free and open-source DIY server configuration for Drupal.
Install Aegir In Mercury - New Installation
===============================================================================
Updated... for Latest Mercury 1.1 release.
However it died after verifying the first Aegir site; I dont have the time to find out why at the moment so please use the previous revision which is known to work with Mercury 1.0 and the latest Aegir. I couldn't revert this wiki page to a previous date so this note will have to suffice.
===============================================================================
===============================================================================
Read moreMercury + Aegir
A wiki for getting Aegir installed on a Mercury instance.
Please feel free to update and add to it!
serving from cache even if the backend is down
If apache or mysql goes down, or you accidentally upload bad code to your drupal site, or you put your site into maintenance mode, apache gives varnish a 5xx. Varnish knows better than to cache this page, but it will serve it if the object grace has expired. Fortunately, varnish has the ability to reset the grace and serve the "good" page from cache until apache returns a non-5xx on that page.
Read morejmeter scripts to test server performance
We've found jmeter to be very useful in determining server performance, but it can be a bit daunting to get started. I've uploaded a couple files that might help to our launchpad project (http://launchpad.net/pantheon/jmeter). They're fairly simple now but I'm very interested in ideas/code/suggestions to make these much better at testing day-to-day performance of a drupal/pressflow server.
Read moreVarnish config to cache everything except a couple of pages
Hello
Mercury 1.0 looking really good - nice work.
We have an anonymous website where we want everything to be cached by Varnish except
/somepage
/someotherpage
We set a couple of cookies (read by JS only, not Drupal) so I'd like to know whether we still need to strip these cookies via the.vcl file in order to force all pages to be cached?
Drupal users access the database via a different front end server that does not have Varnish running.
Thanks, James
Read moreMercury 1.0 Released
It's been nine months and over a thousand developer hours, but it's finally here: Project Mercury has gone 1.0. Thanks to everyone for making this possible, and to my colleague Greg for doing so much leg-work over the past month to get things ready.
Help us spread the word on the twitter and if you're so inclined, take a short user survey. Install instructions below the fold.
Read moreSetting up a multi-city website using Mercury
I am planning on launching a multi-cty website that will cover 5 cities at first and then expand as time goes on.
Originally I had planned to run each city as a completely separate Drupal install, and possibly even on different servers completely. My thinking was splitting each city into a separate install might allow me to scale better since some cities may grow larger and more popular than others.
Now Im trying to think if that is the best route to take. After browsing around this group I am really interested to set my site up using Mercury on Amazon EC2 or Rackspace.
Read moreHelp us get to Mercury 1.0!
Hey everyone. Mercury 1.0 is almost ready, and we could really use some help testing things out. As Greg posted, Mercury 1.0RC is on Amazon, and the self install instructions have been updated. The more eyes on it before we call it 1.0 official the better, so if you've been waiting to give it a test-drive, now is the time. We're going to be able to deliver fixes via BCFG2 (which is frackin' awesome), but a bug-free initial release state would be ideal.
Report bugs on Launchpad, post comments and responses on this thread here.
Also, if you are already using Mercury, you can help us plan for the future by taking this quick survey. Eight questions only!
Read moreAutoscale of memcache bins
Hi
Have found Gear6 www.gear6.com.
They provide hosted memcache with automatic scaling. Sounds interesting.
Does anybody know, how to do it with memcache?
bennos
Read moreDrupalCon SF
I didn't see a presentation on Pantheon/Mercury proposed for DrupalCon SF. Will anyone from the project be attending? Might there be a BoF?
Read moreSolr in Mercury with multi-site/multi-core usage
Anyone have a tip on making mercury's solr multi-core so it works with multi-sites?
There are some instructions over here though they use jetty method instead of tomcat
http://drupal.org/node/484800
Seems like the solr.xml included in mercury is ready for multiple cores and most of the instructions in the above post should do it?
Ive not tested with the existing mercury stuff but Ive failed at setting up a fresh multi-core solr, Im going to use the existing solr setup next test when I get some time.
Has anyone altered the mercury solr bit to account for multi-sites?
Read moreMemcache & Drupal - Clear All Caches
Still trying to figure memcached in mercury .9 ... seems to behave weirdly (breaks theme layer) when flush all caches is run. You can test this on the stock mercury 0.9 instance install admin_menu and run Flush all caches or use the drush cache clear all command and theme layer will break.
Read moreVarnish 503 Error/Empty result
Sorry if this isn't the right place for this (point me to the right one and I'll go there), but I've encountered an issue with Varnish I can't seem to find help on the web for.
Starting today, at a random time (not sure what triggered it), every single page in the Drupal site started returning a 503 error, service unavailable (no additional information).
Read moreHow to boot with Mercury in ESB?
Hi,
I moved pressflow to an ESB and it works great ! The problem I have is trying to create an AMI to avoid having to redo the steps. Since ec2 does not allow to boot with an attached ESB I am not being able to create an instance from my AMI. I guess the problem is that it cannot mount the ESB at boot time and thus to start Apache, MySql. The error message I get is "Client.InternalError".
So, the doubts I have are:
Read moreStep-by-step: Setting up Project Mercury 1.0 (Varnish, Apache, APC, Memcached and Solr) using BCFG2
Last updated by DavidMorris on Sun, 2015-10-11 02:57
Here are step-by-step instructions for building Project Mercury on a fresh server using the configuration manager BCFG2. Project Mercury has been developed on AWS ec2 but should work on Rackspace and many other VPSs, or on your home machine. We have public AMIs available of Ubuntu Jaunty versions (in both 32 and 64 bit flavors) - see http://getpantheon.com.
If you'd like to try a more current version, refer to the new wiki page on setting up Mercury 1.1 for details. You may well find the recipe for 1.1 to be simpler and quicker than this sequence. Better yet, Mercury 1.1 supports Ubuntu Lucid, the most recent LTS release.
Read morePreview of Mercury 1.0 install instructions
Mercury 1.0 is almost ready - in fact we hope to have it out before the end of the weekend.
We wanted to give folks a preview of the instructrions to create their own Mercury 1.0 (note: nothing is written in sand until Mercury 1.0 is released - we still have testing to do):
2/26/10: We've released 1.0RC for testing and comments (see http://groups.drupal.org/node/50153#comment-145523 below).
2/13/10: Updated and moved to a wiki at http://groups.drupal.org/node/50408
First-class support for ESI in Drupal: Lets Do It!
Over the past few days some of us have been discussing the aims and ambitions of this project:
There are a lot of pieces to be developed to support this properly. My aim is to get something simple in place to allow blocks, regions and panels to be served out of an ESI cache. There are further ideas to build some sort of ESI-assembly into the Boost module, and to implement an intermediary cache layer between Drupal and an external ESI cache (e.g. Varnish) to prevent multiple bootstraps.
So, let's take this discussion out to the wider community!
Read moreMercury & Ecommerce
Just wondering about the usage of Mercury / Pressflow+Varnish with things like Ubercart?
The benchmarks on http://www.missionbicycle.com/ included ubercart & panels but I wonder if it's recommended to run production ubercart on Mercury, and what the caveats are if known.
I've noticed on my test server that Block Caching (or something) seems to have weird side effects on the cart block (which I think makes sense since session is stored in a cookie) but then again isn't varnish meant to ignore anything with a cookie?
Cheers,
JP
GD Quality Warning after installing imagecache
I got a Mercury AMI instance up and running. This is my first time using AWS, so it's a bit of an exploration process for me.
After installing imagecache and image api, I see this warning in the Drupal status report.
<
blockquote>
GD Image Filtering Low Quality / Poor Performance
Works Great
This is very impressive. I was quickly able to get a "high power" drupal install up and running in under a half hour on my first try.
Thanks again for everyones work on moving drupal to the cloud.
I was playing around trying to do a multi-site install is this possible? I had problems with changes on one site impacting the other site - maybe the extensive caching? Is it best to just setup separate instances of drupal?
Read more




