[linux-lvm] Shared VG, Separate LVs

Indivar Nair indivar.nair at techterra.in
Thu Nov 23 16:14:00 UTC 2017


Sure. Will keep that in mind.
Thanks a lot, Eric.

Regards,


Indivar Nair

On Thu, Nov 23, 2017 at 7:16 PM, Eric Ren <zren at suse.com> wrote:

> Hi,
>
>
>
>
> *"I noticed you didn't configure LVM resource agent to manage your VG's
> (de)activation task, not sure if it can always work as expect, so have more
> exceptional checking :)" *
>
>              Strangely the Pacemaker active-passive configuration example
> shows VG controlled by Pacemaker, while the active-active one does not. I
> have taken the active-active configuration for Pacemaker and created 2 LVs,
> then instead of formatting it using the GFS2 clustered filesystem, I used
> normal XFS and made sure that it is mounted only on one node at a time.
> (lv01 on node 2, lv02 on node2)
>
>              https://access.redhat.com/documentation/en-us/red_hat_
> enterprise_linux/7/html/global_file_system_2/ch-clustsetup-gfs2
>
>              I can see the clustered VG and LVs as soon ocf:heartbeat:clvm
> is started.
>
> Is there anything I am missing here?
>
>
> Good. "clvm" will activate all VGs by default. If you have more than one
> VG in your cluster,  you may want to
> activate/deactivate one VG for each group of "vg" and "xfs", then you may
> need to look at LVM for each VG:
>
> https://github.com/ClusterLabs/resource-agents/blob/master/heartbeat/LVM
>
> Eric
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20171123/8c29831d/attachment.htm>


More information about the linux-lvm mailing list