[GLLUG] Ubuntu Server Failover

Imran Chaudhry ichaudhry at gmail.com
Fri Aug 2 10:52:52 UTC 2013


Hi Jean,

A few years back I used drbd/heartbeat to do this [0] for a 2-node
cluster. Be warned though that this kind of thing can be complex and
maintenance heavy if doing it yourself. You might want to approach
your hosting provider support people and ask what people commonly do
for this.

[0] I think it's now the "pacemaker" project, http://www.linux-ha.org
is the jump-off point for that stuff.


On 2 August 2013 11:21, James Hawtin <oolon at ankh.org> wrote:
> On 02/08/13 10:54, Jean van Wyngaardt wrote:
>>
>> Hello Guys
>>
>> Anyone have a good experience setting up a failover server, that also
>> replicates the data from a master server?
>>
>> I would assume rsync would do nicely for the data side, but I haven't
>> really messed around too much with any failover apps before. Anyone have any
>> favourites?
>>
>> Jean
>>
> It all depends how "out of sync" you don't mind your data to be. If your
> looking for something largely in sync, shared storage solutions like ceph or
> drdb are perhaps the way to go. If however you don;t mind things being more
> out of sync, like I do with my email, then rsync is a good solution, I host
> my mail server on a vps, rather than backing up the whole thing, once a day
> I shutdown the mail server, snap shot the filesystem, start the mail server,
> mount the snapshot, then resync that to my home server (this means that the
> data is in order, ie the files will not change as I replicate, so if I do
> have to use the backup, I will not have to first fix any out of order files
> (indexes)).
>
> James
>
>
> _______________________________________________
> GLLUG mailing list
> GLLUG at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/gllug



-- 
Key fingerprint = EF78 310C C517 9564 9ECA  82F6 68FA E621 17E1 5D16
http://about.me/imranchaudhry




More information about the GLLUG mailing list