hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : VPS Hosting : DRBD and HeartBeat
Reply

VPS Hosting Virtual private server discussion and vps hosting solutions. Review VPS hosting providers and offer advice on virtual web hosting solutions. If your service is unavailable, please click here.
Forum Jump

DRBD and HeartBeat

Reply Post New Thread In VPS Hosting Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 01-14-2011, 12:09 AM
elvis1 elvis1 is offline
Web Hosting Master
 
Join Date: May 2007
Posts: 1,519

DRBD and HeartBeat


Hi guys any clue of where I can find a useful guide and easy Centos guide to configure DRDB and Heartbeat?

Also : is there any advantage of this over Haproxy?

Thanks

__________________
imagepedia.net

Reply With Quote


Sponsored Links
  #2  
Old 01-14-2011, 04:22 AM
LinologyNetworksLLC LinologyNetworksLLC is offline
WHT Addict
 
Join Date: Jan 2006
Location: Charlotte,NC
Posts: 138
That's a fun one! I am going to bank of most people not having a clue what's you're talking about. I would head over to the CentOS wiki, they have a tutorial that is pretty solid.
http://wiki.centos.org/HowTos/Ha-Drbd

Depending on what you need to do, you may want to even considering checking out the Cluster Suite. It may be overkill for you but will give you some other options.

Is it better that HAProxy, meeh, I think it's more of being a different approach that being better. It depends on what you want to accomplish. HAProxy is going to give you front-side load balancing for spreading load across multiple servers. DRDB is going to give you HA storage for multiple storage.

The question would be what is your primary objective? Are you deploying HA to prevent a storage outage, or are you deploying multiple servers for availability? If you can give me some more insight on what you want to accomplish, I could give some more guidance.

__________________
Linology Networks,LLC - Powering Your Future, Today

Reply With Quote
  #3  
Old 01-14-2011, 08:40 AM
elvis1 elvis1 is offline
Web Hosting Master
 
Join Date: May 2007
Posts: 1,519
Hi Linology!
My aim is to be : "deploying multiple servers for availability". I am also looking forward to have something like geodns to have the shortest route to client.

Ive already been into that guide but yum install heartbeat drbd kmod-drbd retrieved me an error which obliged me to install it without broken modules or something like that.

After doing such I used locate ( previously update) to find drdb.conf and it was non existant.

__________________
imagepedia.net

Reply With Quote
Sponsored Links
  #4  
Old 01-14-2011, 09:37 AM
LinologyNetworksLLC LinologyNetworksLLC is offline
WHT Addict
 
Join Date: Jan 2006
Location: Charlotte,NC
Posts: 138
I assume you ran all the updated prior to the packages, I have never had an issue with that setup on top of a clean system.

What type of content do you have? If you're content isn't perpetually changing, you could probably get away with just using rsync between 2 nodes and heartbeat to detect when one goes down. The nature of content. and whether DBs are involved matters here. Remote DBs could help there.

If load isn't an issue you could also go with dual vps/server/nodes running heartbeat on top of shared storage. This is the route I have typically gone with our infrastructure. We run 2 vms on different servers attached to our HA storage cluster. The failover time is however long it takes the node ot boot normally, so you do end up with basically a hard reboot/restart on the device, but its easy to deploy.

I have typically used Debian for HA setups that don't involve a cluster suite stack. CentOS/RHEL are much easier to manage in HA setups using Cluster Suite and it's method, versus going it from scratch.

To be honest, there are alot of ways to deploy this. If you want to go the DRDB+Heartbeat route, and don't have any specific need for CentOS, I find it significantly easier on Debian.

Considering this is a VPS forum, if your host has a shared storage stack, versus the traditional used raid+lvm, you can get real creative. I could think of a half dozen ways to do it with shared storage, be it clustered or drdb.

__________________
Linology Networks,LLC - Powering Your Future, Today

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
DRBD vs. VMware for cPanel trustedhosting Hosting Security and Technology 7 12-20-2010 02:34 PM
DRBD with Adaptec 2405 RAID-10 Ramprage Hosting Security and Technology 5 11-16-2010 09:21 PM
Alternative to DRBD and Heartbeat Crothers Dedicated Server 1 01-18-2010 07:21 PM
DRBD clone for windows ttgt Hosting Security and Technology 1 08-01-2009 03:14 PM
Heartbeat ? tmesolutions Dedicated Server 8 07-21-2007 10:05 AM

Related posts from TheWhir.com
Title Type Date Posted


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?