[Pacemaker] rhel6/cman+pacemaker - how to use clvm?

David Coulson david at davidcoulson.net
Mon Apr 8 06:52:12 EDT 2013


On 4/8/13 6:42 AM, Yuriy Demchenko wrote:
>
> The purpose of my cluster is to provide HA VM and routing/gateway 
> (thus RHCS isn't an option for me - no IPaddr2 and Route resources).
> But I cannot find any documentation how to use cLVM in cman+pacemaker 
> cluster, everything I found requires use of "ocf:lvm2:clvmd" resource, 
> but there's no such resource in rhel6.4/centos6.4
> I've tried just starting service clvmd and enabling clustering in lvm 
> - that works, but clvmd wouldn't start without running cluster - so 
> apparently i need to start clvmd after pacemaker startup. But in that 
> case resource "ocf:heartbeat:lvm" would fail to start, as it requires 
> running clvmd and clvmd starts only after pacemaker...
> So I'm confused - how to use cLVM in my case?
clvmd is dependent on cman, not pacemaker. Just make sure it starts up 
in this order: cman, clvmd, pacemaker.





More information about the Pacemaker mailing list