[Linux-cluster] Create Cluster using existing LVM on shared storage
jbrassow at redhat.com
Thu Jun 12 16:20:56 UTC 2008
Snapshot volumes are the only thing that would not work (because there
is no cluster-aware snapshot implementation yet).
Other than that, all your volumes will convert just fine without
having to recreate, etc.
Once you've got the cluster infrastructure setup, all you need to do is:
*> setup cluster infrastructure
*> install lvm2-cluster
1> vgchange -an <volume group> # deactivate volumes
2> vgchange -cy <volume group> # set cluster attribute
3> vgchange -ay <volume group> # re-activate the volumes
On Jun 11, 2008, at 8:23 AM, Ron Cronenwett wrote:
> Excellent, this answers most of what I was looking for.
> Just one question, if I were to install CLVM, can the existing volume
> group and logical volume be converted or would I need to recreate
> everything and restore the data from a back up copy?
> Ron Cronenwett
> On Wed, Jun 11, 2008 at 8:16 AM, Jonathan Brassow
> <jbrassow at redhat.com> wrote:
>> Here is a good source of information for those questions:
>> On Jun 10, 2008, at 7:12 PM, Ron Cronenwett wrote:
>>> Hi all,
>>> I have been presented a pair of servers (RHEL 5.2) connected to a
>>> port scsi array. The storage has been configured as one large disk
>>> partitioned into /dev/sdb1 /dev/sdb2,and /dev/sdb3 with dev/sdb3 the
>>> sole device in a physical volume. Several logical volumes have been
>>> created on the physical volume. Currently the logical volumes are
>>> mounted on server A. Server B was added to the mix as a new server.
>>> Server B sees the external storage with fdisk -l and the volumes
>>> My questions are, can an existing logical volume be used as a
>>> resource that is mounted on one node or the other (but not both)?
>>> Would this work with just the existing LVM or would CLVM be
>>> needed? If
>>> I need CLVM, can the existing logical volumes be used without
>>> destroying the existing data? In either case, would all the logical
>>> volumes need to be mounted on the same server or can just one
>>> volume be mounted on one server while the remaining logical volumes
>>> are mounted on the other?
>>> The idea is to create an active-passive HA cluster of an existing
>>> Any thoughts, ideas, comments, questions would be appreciated.
>>> Ron Cronenwett
>>> Linux-cluster mailing list
>>> Linux-cluster at redhat.com
>> Linux-cluster mailing list
>> Linux-cluster at redhat.com
> Linux-cluster mailing list
> Linux-cluster at redhat.com
More information about the Linux-cluster