LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-16-2010, 03:02 PM   #1
halo14
Senior Member
 
Registered: Apr 2004
Location: Surprise, AZ
Distribution: Debian | CentOS | Arch
Posts: 1,103

Rep: Reputation: 45
DRBD/Heartbeat Setup for Postgres/httpd/Samba/etc.


Working on building a High Availability system for a customer.

The goal is to provide fail-over services for our system which includes our own proprietary application that runs on top of httpd/postgresql/samba/tomcat. These systems run on CentOS 4 servers.

I have set up the drbd side so far and it syncs fine between the two systems. I can modify the data, mount, unmount, remount, modify data, etc.

My question is with implementing heartbeat and controlling the services and restoration of the primary system after a failure. I have been reading a ton of documentation online, but I was really looking for someone who has implemented this kind of system(most notably with postgres/httpd) and what potential pitfalls to look out for, what things may be required but are not clearly stated in the documentation?

Does heartbeat actually handle the startup and shutdown of the services like postgres/httpd/samba or should they be configured to startup as normal in the init system? This seems illogical since the drbd partition where the database is located is not mounted the the secondary node...

Any insight is appreciated.

Cheers.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: DRBD and MySQL - Heartbeat Setup LXer Syndicated Linux News 0 02-12-2010 11:20 PM
High availability Samba cluster DRBD + Heartbeat djalex Linux - Networking 3 09-05-2006 01:14 PM
drbd heartbeat saavik Linux - Networking 0 11-29-2005 09:56 AM
DRBD + heartbeat kridkom Linux - Software 2 04-13-2004 11:01 AM
drbd + heartbeat kridkom Linux - Networking 1 03-18-2004 01:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:08 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration