[ClusterLabs] HALVM problem with 2 nodes cluster

Ferenc Wágner wferi at niif.hu
Wed Jan 18 05:03:14 EST 2017


Marco Marino <marino.mrc at gmail.com> writes:

> I agree with you for
> use_lvmetad = 0 (setting it = 1 in a clustered environment is an error)

Where does this information come from?  AFAIK, if locking_type=3 (LVM
uses internal clustered locking, that is, clvmd), lvmetad is not used
anyway, even if it's running.  So it's best to disable it to avoid
warning messages all around.  This is the case with active/active
clustering in LVM itself, in which Pacemaker isn't involved.

On the other hand, if you use Pacemaker to do active/passive clustering
by appropriately activating/deactivating your VG, this isn't clustering
from the LVM point of view, you don't set the clustered flag on your VG,
don't run clvmd and use locking_type=1.  Lvmetad should be perfectly
fine with this in principle (unless it caches metadata of inactive VGs,
which would be stupid, but I never tested this).

> but I think I have to set
> locking_type = 3 only if I use clvm

Right.
-- 
Feri




More information about the Users mailing list