[ClusterLabs] VG activation on Active/Passive

Digimer lists at alteeve.ca
Sat Aug 29 18:37:33 UTC 2015


On 29/08/15 02:30 PM, Jorge Fábregas wrote:
> Hi,
> 
> For an active/passive cluster, using a non-cluster filesystem like ext3
> over LVM (using cLVM & DLM), would you:

No need for clustered LVM, only the active node should see the PV. When
the passive takes over, after connecting to the PV, it should do a
pvscan -> vgscan -> lvscan before mounting the FS on the LV.

Keep you cluster simple; remove everything not needed.

> -  include the VG activation in the same cloned group that hosts cLVM &
> DLM? (top of screenshot) so that in both nodes the VG is activated (even
> though this is not a cluster-filesystem so there's no need to have the
> VG activated on both sides simultaneously)?
> 
> or
> 
> - do you create a separate group with the VG activation (LVM resource)
> and tie it with the Filesystem resource? (bottom of screenshot).  This
> makes more sense to me since the VG only needs to be activated where the
> filesystem is going to be mounted.
> 
> Here's my screenshot:
> 
> http://oi60.tinypic.com/10pn9n6.jpg
> 
> I belive this last one is THE way to go for such setup (active/passive)
> but I'm wondering why I have seen examples online with the first case.
> Maybe I'm missing something.
> 
> Thanks!
> Jorge
> 
> _______________________________________________
> Users mailing list: Users at clusterlabs.org
> http://clusterlabs.org/mailman/listinfo/users
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
> 


-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?




More information about the Users mailing list