Mercury

Events happening in the community are now at Drupal community events on www.drupal.org.

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.

cpelham's picture

Setting up EBS

Are there detailed instructions anywhere on how to set up the EC2 instance to work with an EBS volume? I've got Mercury going on an EC2 instance, and I've created and connected an EBS volume but now I'm lost. How do I move the Pressflow directory to the EBS volume? How do I upload my sites/all folder from local up to the EBS? How do I move the mysql databse? And how do I make sure the EC2 instance points to the files on the EBS?

Read more
joshk's picture

PANTHEON Relaunch / On-Demand Service

Hey all, just a quick heads up. We've relaunched the PANTHEON website with a new design that goes beyond the cloud and into SPACE!

http://getpantheon.com

In addition to fresh graphics, this outlines our plan to roll out an on-demand service to give people VPS instances with Mercury pre-installed at competitive prices. That'll be going live in the next couple weeks after an official 1.0 announcement.

You can read more details in my partner Zack's blog post:

http://www.chapterthree.com/blog/zack_rosen/pantheon_project_blazes_ahead

Read more
cpelham's picture

Missing install step

I created an EC2 account, got my pair key etc.
I found the mercury beta image and launched it. I chose all default settings.
I can ssh to the public DNS.
But, when i try to load the public DNS in a web browser, it always times out.
I've tried this repeatedly. Do the default security group settings need to be modified in some way?

Read more

Testing Drupal With Hudson

This wiki page is a placeholder to capture best practices for setting up Hudson to perform automated tests on Drupal.

Some quick links:

Much more to come! Add your favorite resources!

Read more
Greg Coit's picture

Mercury 0.9-Beta released

Mercury 0.9-Beta has been released. Updates in this version include:

1) mysql configured to use per-table storage for innodb
2) apc replace by memcached (apc is still installed and can be enabled in settings.php)
3) mecached configured with 8 bin by default

And as mentioned before, we're starting support for BCFG2 server configuration. BCFG2 will be fully supported by the next (1.0) release of Mercury.

The AMI names are PANTHEON-pressflow-mercury-32-0.9-Beta.manifest.xml and PANTHEON-pressflow-mercury-64-0.9-Beta.manifest.xml

AMI ID's are:

us-west:
32: ami-c7530282

Read more
Greg Coit's picture

using BCFG2 to manage Pantheon

To support our efforts to make Pantheon and all it's parts available on multiple operating systems and virtual private servers, we're implementing BCFG2 (http://trac.mcs.anl.gov/projects/bcfg2) for configuration and management. We've placed BCFG2 configuration files for Mercury on Ubuntu Jaunty 32 bit server in our launchpad project (https://launchpad.net/projectmercury) for folks to start using.

Read more
paradox281's picture

Fatal error when logging out on Mercury AMI

I am using the latest 32bit Mercury AMI, and I get this error message most of the times I log out. Please help.

Fatal error: session_start() [function.session-start]: Failed to initialize storage module: user (path: /var/lib/php5) in /var/www/pressflow/includes/bootstrap.inc on line 1550

Read more
kyle_mathews's picture

Problem w/ varnish

I was experimenting with the pantheon EC2 image today. Everything seemed to be working fine once I booted it up. I ran ab from another ec2 instance and was getting ~2000 req/sec and so forth.

I then tried moving an existing site over to the server. I rsynced my module and theme files into the pressflow install and enabled backup_migrate and imported a current sql dump from my existing site. And... things were now dog slow. I made sure to set the performance settings as before -- w/ 10 min max cache but pages are taking 2-3 secs. to load and varnish isn't serving pages at all.

Read more
Greg Coit's picture

PIFR 2 client added to Pantheon

In order to support qa.drupal.org in testing Drupal 7, we've made a AMI of PIFR 2 on Debian Lenny (64-bit). The purpose of this client is to grab a test from qa.drupal.org, run it, and send the results back to the server.

If you wish to fire up an instance and donate to testing of Drupal 7, here are the instructions (from http://qa.drupal.org/node/44):

  1. Get an account on the master server or have someone add your client test server and provide you an API key.
Read more
nullvariable's picture

Mercury instance renders multisite strange

I've got a pretty stable Mercury instance running (I forget which version). I've not got any production sites on it though I do plan to leverage a Mercury box for that soon.

On this box I have a strange quirk that I can't seem to figure out. If I've not loaded a page for several hours it sends me output of the home page in a /node format instead of the node I've set for the home page. Hit refresh and it does what it's supposed to do.

Read more
SeanBannister's picture

EC2 Instances can now Boot from Amazon EBS

Amazon just announced a new feature that allows EC2 instances to boot directly from an EBS Volume. This means the root partition of the instance is actually stored on an EBS volume, making the instance completely persistent. After reading the documentation it appears you can also automatically attach multiple EBS volumes to the instance when it's launched.

Read more
Greg Coit's picture

Mercury 0.81-Beta Released

Announcing the immediate release of Mercury 0.81-Beta for Amazon in 32 bit and 64 bit versions.

Read more
Macronomicus's picture

Consistent snapshots question

Been trying out mercury & all seems to be working quite well but now im on the snapshots bit & have a question... I followed your instructions for a single ebs drive http://groups.drupal.org/node/33092 and it all seemed to work except the consistent snapshots stuff... What is the replacement pattern for the command you listed here http://groups.drupal.org/node/36766 ... ive tried adding the relevant bits in that command but keep getting the following error.

Read more
liorkesos's picture

Mounting the persistant volume in EC2 best practice

I'm trying to figure out the correct way to mount the ebs volume for persistant storage.
What do you guys do?
I find myself mucking around moving /var around?
do you simply mount on /vol and send symlinks from /var/lib/mysql and /var/www?
Do these symlinks persist after a reboot?
Just trying to brainstorm about the steps you do to attach a volume immediately after provisioning mercury.
Lior

Read more
Greg Coit's picture

Mercury 0.8-Beta released

We are please to announce the 0.8-Beta release of Mercury AMIs for AWS. Included with this release:

  • Removed the predefined admin user from drupal. Now the first login defines the admin user
  • Moved drupal cron from the root crontab to /etc/cron.d/drupal for more flexibilty
  • Fixed as postifix misconfiguration bug
  • Now using symlinks to store mysql, varnish (and now) tomcat data to /mnt rather than moving the actual directories
  • A new script to configure varnish, php, tomcat and apc memory usage based on system RAM
Read more

Consistent EBS Snapshots for RAID arrays or single volume with Mercury

This wiki describes setting up consistent snapshots for EBS. It works with RAID arrays and a single volume. It also can be automated to run on a cron job.

Step 1: EBS Consistent Snapshots Installation

Instructions for installing ec2-consistent-backup can be found here: http://alestic.com/2009/09/ec2-consistent-snapshot.

Set-up access to Alestic PPA


codename=$(lsb_release -cs)
echo "deb http://ppa.launchpad.net/alestic/ppa/ubuntu $codename main"|sudo tee /etc/apt/sources.list.d/alestic-ppa.list

Read more

Setting up EBS as a RAID

Very similar to setting up an instance with a single EBS drive, you can also fairly easily do a RAID configuration. This leads to better performance usually and higher reliability.

Read more
steven jones's picture

Re: Setting up EBS for Mercury [Beta]

Apologies for the placement of this 'bug report' but I don't have time to correctly change the wiki page here:

http://groups.drupal.org/node/33092

It describes getting mercury running from EBS, but I think that you'll find the latest versions of mercury get mysql to read its data from /mnt/mysql not the usual /var/lib/mysql so the copying and mounting doesn't actually put the database in EBS.

I would research and correct the post properly, but I don't have time at the moment.

Read more
lukehamilton's picture

Roadmap

Hey guys,

Just started looking at this project and really impress.

I was wondering if there is any kind of roadmap or high level plan about for where you would like to take this project in the long term at all?
L

Read more
Perhaps's picture

Pantheon image downloads?

Hey guys,

First I have to say that this project looks pretty awesome for minimizing setup time on new drupal hosts. I can't wait to give it a go. Question though, is there somewhere I can download the server images? I'm particularly interested in giving them a spin on both vmware and xen. I saw the roll-your-own guide for project mercury which will allow me to get started without a server image, is there something similar for Vulcan?

Thanks.

Read more
Subscribe with RSS Syndicate content

Mercury

Group organizers

Group categories

Post Type

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: