[DRBD-user] Re: Just making sure DRBD is the right project for me... ; -)

Luciano Miguel Ferreira Rocha strange at nsk.no-ip.org
Mon Nov 21 20:12:00 CET 2005

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On Mon, Nov 21, 2005 at 01:41:14PM +0100, Evert Meulie wrote:
> Hmm, but the current system has 4 partitions:
> 
> /boot
> /
> /var
> 
> and unfortunately not all dynamic data is on /var    :-/
> 
> I can of course move the remainder to /var as well, and use a bunch of 
> symlinks, but I'd rather leave it where it is...
> 
> The possibility of using drbd on the root-partition as well would also make 
> it easier to keep both nodes 100% in sync when it comes to Gentoo updates...

Well, if you want to go that route, I think you'll have to implement the
cluster control logic and drbd configuration in the initrd:

1. start network (one ip address for each host)
2. start drbd
3. wait while secondary is master
4. change drbd to primary. if failed, go to 3
5. continue with normal init
...
. start network (shared address as alias or on a different card)

One problem with the single host image approach is that one server just
sits idle.

If you could partition the services, you could use both servers and
reduce the workload on each one. And move all services to a single
machine while upgrading the other and move them back again.

But best of luck, whichever you decide. :)

-- 
lfr
0/0



More information about the drbd-user mailing list