Re: lvm on a share environnement (SAN inside)

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

 



hubert chomette wrote:
the two machine use the same lun, on this lun, there is one vg with a logical volume by virtual machine (10 virtual machine). The idea is if one xen is down, the other can launch the virtual machine ad continu service.

So its a high-availability cluster...

- Is it possible to allow LVM metadata modification by only one server?
- should I use clvm instead?

The link below describes what can happen.

http://www.tldp.org/HOWTO/LVM-HOWTO/sharinglvm1.html

It sounds like you should be using CLVM. CLVM extends LVM2 to provide cluster-wide management of Logical Volumes. LVM and CLVM are essentially the same thing, but CLVM is cluster aware, LVM is not.

Alasdair has some presentations which describe CLVM in detail here:

http://people.redhat.com/agk/talks/CLVM-UKUUG2007/

- Is it possible to migrate lvm to clvm without any data lost?

There's no migration involved, you just need to enable cluster locking for the shared volume group.

eg: vgchange -c y VolumeGroupName

--Dave

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

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

  Powered by Linux