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 10th October 2008
PatrickBaer PatrickBaer is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 81
Thanked 1 Time in 1 Post
Default Project layout, any comments?

Morning,

so I have made up my mind on the OS question. FreeBSD will be the choice for the main servers, while OpenBSD shall be working in the DMZ.

This is the config I have in mind:

Failover: Haven't completely made up my mind yet. Redundant systems should be able to not just monitor ICMP connectivity, but service availability and switch when the second host fails:

Scenario 1, Host A is active and crashes completely: HB-request or equivalent detects outage, Host B takes over and becomes active by bringing up IP-adress on virtual interface.

Scenario 2, Host B is active and imapd fails: Host A detects failed service and sends a "become inactive"-request to Host B, Host B turns down virtual interface, brings up virtual interface and becomes active.

Proxyservers:

OpenBSD, failover as described above
no immediate replication besides FTP. Changed config data replicated hourly via cron and rsync.
Bind9
Proxy
Spamassassin, amavisd, clamd
ftp,sftp, replication via ???

Domain Controller:

FreeBSD, failover as described above
MqSQL master-master Cluster
SMTP,imapd,pop3, configs AND emails stored in MySQL DB, hence immediate replication
DHCP (no idea about replication yet)
LDAP, Samba PDC, storage in MySQL

Fileserver:

Linux, maybe switched to FreeBSD in the future, currently no need to change
nfs, samba without any replication. In case of a hardware or OS failure, the 16 disks can be mounted in a spare case and brought up as a replacement. OS held on a spare hdd.


The PDC part and NT Domain introduction will be completely new, the other services do already run, more or less. The failover is more than buggy.



With this setup, it will(should) be able to switch back and forth between Host1 and Host2 at will. The master-master databases should make them absolutely consistent, even if the failover happens in the middle of hundreds of write transactions. The MySQL database is (I hope!) able to handle 50 to 100 users accessing the emails simultaneously and the fiber-channel connection for the replication should speed up things.

I am open for comments and suggestions! (Yes, that's a question
Reply With Quote
  #2   (View Single Post)  
Old 12th October 2008
mdh's Avatar
mdh mdh is offline
Real Name: Matt D. Harris
FreeBSD 2.2.6 User
 
Join Date: Oct 2008
Location: West Virginia
Posts: 139
Thanked 8 Times in 8 Posts
Default

Nagios is pretty extensible. I've built failover systems using it before. If you know any scripting or programming languages at all, you can probably pull it off pretty easily.
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
Need suggestions on what to name this project TerryP Off-Topic 10 6th November 2010 03:13 PM
C project to study maxrussell Programming 10 23rd January 2009 08:47 AM
Recommended Partition Layout MetalHead OpenBSD Installation and Upgrading 12 30th November 2008 10:08 AM
"Platform of the Future": Shuttleworth's Comments ninjatux Off-Topic 13 4th August 2008 11:35 PM
Keyboard Layout mfaridi FreeBSD General 6 26th June 2008 07:13 PM


All times are GMT. The time now is 01:50 AM.


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