Posted by mpaler on June 4, 2010 at 8:39pm
Ok, so you have your Mercury system up and running and everything is going swimmingly. Are there any regular "maintenance" tasks (besides your version upgrades and security patches) one should perform to keep this wonderful Varnish enhanced Pressflow system running smoothly.
Thanks in advance,
Mike

Comments
id like to know too
id like to know too
re: Ongoing maintenance of a Mercury Server
I can think of the following things (others will probably have more to add):
Running /usr/local/bin/update_mercury will grab any updates for the version of mercury that your running. It then runs BCFG2 to apply these updates. BCFG2 will also look for and apply any ubuntu package updates that it finds.
Running /usr/local/bin/update_pressflow will grab any updates from presslow's launchpad account and apply them.
Making backups is an important maintenance task that we have yet to touch on in the mercury project.
We are going to start looking at monitoring system status soon - it's important to know the health of your server. :)
Hope this helps,
Greg
--
Greg Coit
Systems Administrator
http://www.chapterthree.com
monitoring...
Yeah -- it seems that monitoring would be the way to go. What are you guys thinking for monitoring? Something that includes a check of varnish and memcached health would be great.
Thanks so much for the follow ups to our questions..
Mike
monitoring...
Any opinions on these Munin Varnish monitoring plugins?
http://exchange.munin-monitoring.org/plugins/search?keyword=varnish
re: monitoring...
Munin is at the top of our list for potential monitoring apps, but I have yet to look at it in detail. I'm hoping we can start work on adding it to Mercury as soon as Mercury 1.1 stable is released.
--
Greg Coit
Systems Administrator
http://www.chapterthree.com
Any tips on setting up
Any tips on setting up backups for a mercury instance with an EBS?
I wrote a basic how on
I wrote a basic how on setting up Mercury with EBS, http://groups.drupal.org/node/33092 and also one for doing it as a RAID: http://groups.drupal.org/node/36750
It may be a tad out of date but should be pretty easy to follow.
Doug
@nullvariable | www.nullvariable.com
Files onto EBS?
Hi Doug,
I used your Mercury with EBS tutorial. It was easy to follow. Thanks for that.
I'm thinking it would be great to also have the /sites/default/files directory (or even the whole /sites dir) mapped to an EBS block. Is this something you have tried? What do you think of this idea.
Thanks,
Mike
I've done that with my
I've done that with my installs. Same step(s) as moving mysql. I've got my whole pressflow install on my EBS volume but you could move any part or the whole thing using the same idea of moving to the ebs and then setting up a link back to it.
This code sample fits in the flow of the steps outlined and moves the entire web root to the EBS volume:
# make the new doc root for apache
sudo mkdir /vol/var
# move instance doc root to new doc root area
mv /var/www /vol/var/www
# make the new doc root for apache
sudo ln -s /vol/var/www /var/www
# restart apache so new doc root is used
sudo /etc/init.d/apache2 restart
Hope that helps.
Doug
@nullvariable | www.nullvariable.com
Thanks for the tip. That's
Thanks for the tip. That's the way I figured it could/should be done -- I was just hesitant because it seemed too easy.
re: I wrote a basic how on
Doug,
I didn't know about your RAID howto - I added it to the Pantheon documentation (along with your EBS howto).
Thanks!
Greg
--
Greg Coit
Systems Administrator
http://www.chapterthree.com
sure thing :)
sure thing :)
Doug
@nullvariable | www.nullvariable.com
re: Any tips on setting up
If the server is an EBS-based one, then I would read Eric Hammond's posts describing EBS snapshot on alestic.com.
If the server is an instance-based one, i would recommend moving at least the data we store in /mnt to an EBS volume (see http://groups.drupal.org/node/73648 for a list of that data).
A tool that I have had very good luck with is rsnapshot - it uses rsync to backup local and remote filesystems while minimizing bandwidth and storage.
Did I answer your question?
Greg
--
Greg Coit
Systems Administrator
http://www.chapterthree.com
Yes Greg, thank you very much
Yes Greg, thank you very much