Re: Create Cluster using existing LVM on shared storage

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

 



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

 brassow

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?

Thanks

Ron Cronenwett


On Wed, Jun 11, 2008 at 8:16 AM, Jonathan Brassow <jbrassow@xxxxxxxxxx> wrote:
Here is a good source of information for those questions:
http://sources.redhat.com/cluster/wiki/LVMFailover

brassow

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 dual
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 with
pvdisplay.

My questions are, can an existing logical volume be used as a cluster
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 logical
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 web
server.

Any thoughts, ideas, comments, questions would be appreciated.

Thanks

Ron Cronenwett

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster


--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux