[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Two Raq3i's (Mirror)
- Subject: Re: [cobalt-users] Two Raq3i's (Mirror)
- From: jk@xxxxxxxxxxxx (Jens Kristian Søgaard)
- Date: Wed Apr 26 08:44:31 2000
Keith Verkem <keith@xxxxxxxxx> writes:
> I currently own one Raq3i and have it colocated. I am purchasing another
> one and
> and going to colocate it in a different facility. I would like to mirror
> the two boxes even know there in two different places. Has any one done
> this? Any help or suggestions would be appreciated.
It is actually quite easy, and doesn't take as much bandwidth as you
could fear.
_But_ you have to satisfy with "not instant" replication. I.e. there
will always be a delay of 15 - 30 minutes before a change on one
server shows on the other.
Essentially you install ssh and rsync on both servers. Then you create
a "two-way trust" between the two systems (on the wheel account,
fx.). Setup a small cronjob that schedules rsync to run on the
important directories once every 15 or 30 minutes (or whatever
interval you see fit).
--
Jens Kristian Søgaard,
jk@xxxxxxxxxxxx -- http://www.jksoegaard.dk/
Søger du noget? -- http://www.google.com/
echo|perl -ple'$_+=4E-6*!int rand()**2+rand()**2while$i++-1E6'