Re: host (multibus) failover

Pavel Machek (pavel@bug.ucw.cz)
Tue, 18 May 1999 10:30:01 +0200


Hi!

> > PS: Almost no kernel hacking should be required. I believe everything
> > is there and "only" userland scripts + configuration should be
> > required. (Which does not mean task is easy.)
>
> Huh? How so? I was expecting to do most of my work in kernel space, since
> I'm essentially writing a block device driver (one that simply forwards to
> other block drivers). Can you clarify how this is doable in user space?

There is driver which could be usable for this, it is called network
block device. So you basically take two identical machines, connect
them with fast network.

Each machine sees raid1 over /dev/sda and /dev/nd0 pointed to other's
machine disk.

When one of machines fail, the other takes here IP address, runs fsck
on /dev/sda [which has pretty current data due to raid1 from other
machine] and mounts it without raid.

Pavel

-- 
I'm really pavel@ucw.cz. Look at http://195.113.31.123/~pavel.          Pavel
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/