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

Vadym Chepkov vchepkov at gmail.com
Mon Apr 8 13:37:17 CEST 2013


On Apr 8, 2013, at 6:52 AM, David Coulson wrote:

> 
> 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.

What if a clustered volume group appears only when pacemaker establishes iSCSI connection?

Cheers,
Vadym




More information about the Pacemaker mailing list