[Linux-cluster] Create Cluster using existing LVM on shared storage

Ron Cronenwett rcronenwett at gmail.com
Wed Jun 11 00:12:55 UTC 2008


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




More information about the Linux-cluster mailing list