LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
LinkBack Search this Thread
Old 01-11-2012, 09:34 PM   #1
stphnwallace
LQ Newbie
 
Registered: Jan 2012
Posts: 2

Rep: Reputation: Disabled
Lightbulb What's the best way to do block level replication?


Hi,

I'm looking to setup an active passive LAMP cluster on RHEL 4. These servers will be virtualised on either VMware, or kvm very shortly.

The want is to be able to run any updates (app, d/b, patches) on one box only, and these changes would automatically replicated to the passive standby.

Assuming I could get all app code, (or even database as well) onto their own disk (block device), I've read that I could use http://www.drbd.org/

Maybe it's better to use native MySQL replication, Puppet for o/s patches, and just leave DRBD for app code update replication?

Any thoughts or feelings on this idea would be appreciated.
 
Old 01-12-2012, 04:05 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,047

Rep: Reputation: 471Reputation: 471Reputation: 471Reputation: 471Reputation: 471
I'd probably only modify that slightly to: use a script to perform app updates on both hosts simultaneously, mysql replication for the db and puppet for the os patching.
 
Old 01-13-2012, 04:22 PM   #3
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Debian, FreeBSD
Posts: 3,740
Blog Entries: 5

Rep: Reputation: Disabled
Just a couple comments on your thread: the first thing that came to mind when I read this was mounting a cluster-aware filesystem for both virtual servers. But your approach (supplemented by kbp's suggestion) is probably wise.

If you go the DRBD route, I'd be very curious to read about your experiences after, say, a few months in production. Please consider posting them here (or on your LQ blog).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Does raw socket block packets from transferring to upper level ? android2009 Linux - Networking 3 09-17-2010 02:36 PM
block level copying from HP/UX to RHEL 5.5 samash Other *NIX 5 07-28-2010 12:24 PM
block tty6 in run level 4? drkstr Slackware 14 07-08-2006 02:33 AM
File Byte Level replication. Jamesman Linux - Software 3 01-26-2006 02:40 PM
Level & Checks block Services (Telnet, VNC...) kt8993 Mandriva 2 10-03-2004 09:35 PM


All times are GMT -5. The time now is 01:07 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration