Re: [linux-lvm] has anyone used LVM in a HA cluster?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





-- Austin Gonyou <austin@coremetrics.com>

>> From what I understand you *can* mount the LVM volumes on multiple hosts

> at the same time, but you should be *readonly* on the hosts which do not
> *own* the data on the disks. You could then *remount* the volume on the
> target failover host.

I've had reasonable luck with this approach on other
platforms (HP-UX, but the LVM is similar enough that
it should work).

All it really needs is a "heartbeatd": you open a
socket to, say, echo (port 1) and every second write
a byte. If you don't get the byte back in, say, 100ms
then you try one more time before re-mounting the LV
rw on the backup host.

This can all be done w/ sockets in perl with about
20 lines of code. If both hosts monitor each other
then either monitor can scream for help.


--
Steven Lembark                               2930 W. Palmer
Workhorse Computing                       Chicago, IL 60647
                                            +1 800 762 1582

_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux