DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 12th October 2008
PatrickBaer PatrickBaer is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 81
Default RAID-1 over NFS with fail-over

So this is part 3 of my odyssee

I have found a solution for almost every redundancy task in my project, beside one.

Two machines run Proxy, DNS and an ftp-daemon. Proxy redundancy and DNS are straightforward. Both machines run simultaneously. Heartbeat/CARP or similar will monitor the services and switch back and forth, they run independent processes without the need of syncing. But the ftp is tricky.

As drbd does not seem to be available for neither OpenBSD nor FBSD, how about a RAID-1 over the network:

Host 1 is active, Host 2 passive. Host 1 runs its RAID-1 with a local partition and a mounted file-system (possible?) Host 2 provides the NFS share the mirror resides in.

Host 1 fails!

Host 2 detects the outage: It kills off every connection to the failed Host 1, mounts the mirrored image and continues operating as active.

Host 1 comes back up!

Host 2 detects Host 1 as alive, mounts Host 1's mirror image as part of its RAID-1 and the array should rebuild itself, hence syncs up the Host 1 mirror. Host 2 remains active.

If Host 2 fails when active, the whole procedure is done vice versa.

What do you think?
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCP Cable Connection Fail fmgil OpenBSD General 4 1st September 2009 05:18 PM
Mounting ext2 partitions seems to fail Sunsawe FreeBSD Installation and Upgrading 2 17th June 2009 01:38 PM
Basic networking fail. diw OpenBSD General 13 31st March 2009 09:29 AM
What about FreeBSD's RAID-5? stukov FreeBSD General 3 11th November 2008 09:40 PM
RAID 10 on FreeBSD bigb89 FreeBSD General 5 11th May 2008 03:58 AM


All times are GMT. The time now is 08:32 AM.


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