It's not quite as fault tolerant and elegent as what you suggest, but
what we did was build the toaster in a Virtual Machine.
We have the "file" that is the entire VM on a fibrechanel drive array
that several "real" servers can see.
If the machine hosting the VM goes belly up, we simply tell one of the
other servers to take over. Takes about 5 minutes.
I also have a copy of vmware workstation running on BOTH of my desktops,
and in a pinch can copy the entire vm file to it and have my desktop
take over.
There is new software for vmware that let you do all of this on the fly,
but I think you have to buy it. Supposedly, the way it works, the vm
runs on two "phyiscal" boxes. One that is actually doing all the work
and one that is just "watching" if the one doing the work goes down,
the "watcher" takes over. Supposedly, without even an OS crash, but
failing that, just as long as it takes for a reboot.
Slick.
James
On Fri, 2007-01-26 at 08:46 -0700, Eric "Shubes" wrote:
> Warren (mailing lists) wrote:
> >
> > I have thought about setting up a backup server for emergencies. But
> > rather than doing it the way you are considering I was going to do it by
> > rsync'ing all of the directories that get used then just having a script
> > that watches the primary machine and changes the IP on the backup box if
> > the primary fails.
> >
> > As far as keeping them synchronized, something like this should work
> > (assuming that you have ssh set up and running on the standard port with
> > the proper keys in place)
> >
> > /usr/bin/rsync -avzog --delete -e ssh mainmachine:/etc/mail /etc/
> > /usr/bin/rsync -avzog --delete -e ssh mainmachine:/var/lib/mysql /var/lib/
> > /usr/bin/rsync -avzog --delete -e ssh mainmachine:/home/vpopmail /home/
> > /usr/bin/rsync -avzog --delete -e ssh mainmachine:/var/qmail /var/
>
> Watch out for /var/qmail/queue. I don't think that'll go over well, due to
> the way that filenames and inode numbers work. I don't know if a tool like
> queue_repair.py could fix this or not. You might get away with simply
> trimming out that directory.
>
>
>
--
James F. Jarrett
Information Systems Associate
Charlotte Country Day School
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]