What are the recommendations for number of logical volumes in a HA-LVM volume group on Red Hat High Availability Clusters?

Solution Verified - Updated -

Issue

  • When trying to move a service from CONGA interface, error clurgmgrd: [5522]: HA LVM requires Only one logical volume per volume group is seen in /var/log/messages file.
  • Why am I not able to configure multiple Logical Volumes from single VG as cluster resources ? We are created 3 LV on 1 VG.
  • Does Cluster support more than one LV on each VG ? How can I configure it?
clurgmgrd[5522]: <notice> Starting stopped service service:SVC_ORASOT 
clurgmgrd: [5522]: <err> HA LVM requires Only one logical volume per volume group. 
clurgmgrd: [5522]: <err> There are currently 3 logical volumes in vgorasot 
clurgmgrd: [5522]: <err> Failing HA LVM start of vgorasot/lvoradata_sot 
clurgmgrd[5522]: <notice> start on lvm "LVM_lvoradata_sot" returned 1 (generic error) 
clurgmgrd[5522]: <warning> #68: Failed to start service:SVC_ORASOT; return value: 1 
clurgmgrd[5522]: <notice> Stopping service service:SVC_ORASOT
  • Can multiple LVM logical volumes from single VG be configured as cluster resources ?
  • Can we configure multiple Volume Groups to be managed by the HA-LVM Cluster?
  • How many logical-volumes can I have in one volume-group under HA-LVM?
  • I want to use HA-LVM in my RHEL 5 cluster, but as I understand it, early versions of HA-LVM only permitted 1 logical-volume in the volume-group under HA-LVM control. My volume-groups have between 7 and 15 logical-volumes; would this work?
  • Does RedHat have a recommendation regarding HA-LVM and the number of logical volumes per volume group?

    • Should we just have a 1 to 1 mapping for LUN-VG-LV? i.e.:
    LUN 1 ---> VolumeGroup01  ---> LogicalVolume01
    LUN 2 ---> VolumeGroup02  ---> LogicalVolume02
    LUN 3 ---> VolumeGroup03  ---> LogicalVolume03
    LUN 4 ---> VolumeGroup04  ---> LogicalVolume04
    LUN 5 ---> VolumeGroup05  ---> LogicalVolume05
    
    • Or should we have multiple LVs per VG? i.e.:
    LUN 1 ---> VolumeGroup01  ---> LogicalVolume01
    LUN 1 ---> VolumeGroup01  ---> LogicalVolume02
    LUN 1 ---> VolumeGroup01  ---> LogicalVolume03
    LUN 1 ---> VolumeGroup01  ---> LogicalVolume04
    LUN 2 ---> VolumeGroup02  ---> LogicalVolume05
    

Environment

  • Red Hat Cluster Suite (RHCS) 4+
  • Red Hat Enterprise Linux (RHEL) 5 with the High Availability or Resilient Storage Add Ons
  • Red Hat High Availability cluster with 2 or more nodes.
  • rgmanager or Pacemaker
  • HA-LVM
    • One or more lvm (rgmanager) or LVM (Pacemaker) resources configured in the cluster

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content