DaemonForums  

Go Back   DaemonForums > Miscellaneous > General software and network

General software and network General OS-independent software and network questions, X11, MTA, routing, etc.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 9th October 2008
PatrickBaer PatrickBaer is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 81
Default Which OS to use for this?

Good morning,

I have this system here I want to replace with BSD, but don't know which flavor to use. Ok, here's the current setup:

Two Debian boxes running (mainly) LDAP, DHCP, postfix, a pop3 and IMAP server (Openexchange). Box 1 is the live system, box 2 is a standby taking over via heartbeat and kept in sync with drbd.

A first idea is to shut off the replication stuff. The linux-people had a lot of problems and I frankly don't see a lot of use in such a setup. The systems have a RAID 5 and the scenario of three disks crashing at once does not really supersede the problems I am afraid of. The 3ware 9500S controller seems to be supported fine. My problem is mainly the drbd part, I haven't found anything about drbd working with OpenBSD or FreeBSD. Heartbeat is available.

I thought about a setup with device two being an empty machine. Device 1 will be monitored by two other machines in the network. In case of an error, an immediate message is sent to an administrator, who will turn the broken machine off, swap the SATA drives from the raid into the spare machine and turn it back on (where the OS will fetch the current /etc stuff etc. from the raid and copy it to the local machine, keeping that part in sync. No immediate takeover yes, but my opinion is, a stable system does not need such a redundant. The current linux stuff is crashing a lot plus it is not really equipped with a reliable takeover (it needs a real network crash before the second machine takes over). If anything else falls apart, maybe we could use a mysql db to store the email data of 500G, but should be able to handle 2T as well.

So my questions:

1. Does something like drbd (www.drbd.org) exist for OpenBSD/FreeBSD?
2. If so, is it reliable and performant?
3. Can the postfix/mysql combo be recommended for OpenBSD/FreeBSD?
4. Any other recommendations?

Hope someone has experience with those questions and gives some input?

Patrick
Reply With Quote
  #2   (View Single Post)  
Old 9th October 2008
corey_james corey_james is offline
Uber Geek
 
Join Date: Apr 2008
Location: Brisbane, Australia
Posts: 238
Default

1. have a look at 'carp' ( i think it's called ) for openbsd
2. yes
3. yes
__________________
"No, that's wrong, Cartman. But don't worry, there are no stupid answers, just stupid people." -- Mr. Garrison

Forum Netiquette
Reply With Quote
  #3   (View Single Post)  
Old 9th October 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 696
Default

CARP is also available for FreeBSD (carp(4)), and possibly FreeBSD. There's VRRPD as well, which I believe is also available for Linux.

However, CARP is more of a replacement for heartbeat than for drbd, as it just provides a virtual/shared IP and will fail-over the network connection, and not the disk. ggate+gmirror would be closer to drbd.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #4   (View Single Post)  
Old 10th October 2008
drhowarddrfine drhowarddrfine is offline
VPN Cryptographer
 
Join Date: May 2008
Posts: 377
Default

Quote:
Originally Posted by phoenix View Post
CARP is also available for FreeBSD (carp(4)), and possibly FreeBSD.
And it runs on FreeBSD, possibly.
Reply With Quote
  #5   (View Single Post)  
Old 10th October 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 696
Default

D'oh! Totally meant to write NetBSD in place of the second FreeBSD.

Took me a few reads of that to figure out what you were saying. Maybe I'm a FreeBSD whore at heart?
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #6   (View Single Post)  
Old 10th October 2008
PatrickBaer PatrickBaer is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 81
Default

I noticed at first glance

But still, it's not like drbd. Anyways, I figured that I need dbmail to store the mail itself in a mysql database, am I right? Because with everything in a MySQL db I could leave the replication to MySQL instead of messing around with drbd?

Oh btw, the complete outage this morning might give BSD a little leverage on the boss' decision here *s*
Reply With Quote
  #7   (View Single Post)  
Old 16th October 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

Carp, it's a kind of fish :-)

The Common Address Redundancy Protocol, you could say is like RAID for your network hosts. You can have multiple hosts sharing a set of IP, let's say you've got a master MySQL server that replicates its data to a pair of slave servers, one for backup and one on hot standby to be swapped out with the master in the event of doomsday. Then all of a sudden your master servers disk eats itself, and you've only got the slave servers! With CARP, you should be able to have your network setup so the mysql slave server on hot standby takes over for the master, rather then making clients wait until you manually get her servicing the masters requests.


At least, that is how /I/ understand it.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:06 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick