Hi, I’ve got a big problem using lvm2 with pacemaker.
My installed packages age:
lvm2-clvm v: 2.02.45-11.3.1
pacemaker v: 1.0.1-20.3
openais v: 0.80.3-26.2
I’m currently using 2 virtual machines with opensuse 11.2 (virtualbox).
The network and the cluster is working fine, running /etc/init.d/openais start the cluster goes up and:
suse1:~ # crm status
============
Last updated: Tue Sep 7 20:15:04 2010
Current DC: suse1 (suse1)
Version: 1.0.2-ec6b0bbee1f3aa72c4c2559997e675db6ab39160
2 Nodes configured.
2 Resources configured.
============
Node: suse1 (suse1): online
Node: suse2 (suse2): online
And reading here: Old Nabble - Linux-HA - clvm with opensuse 11.1 i’ve added these resources to pacemaker (locking type=3):
suse1:~ # crm configure show
node suse1
node suse2
primitive dlm ocf:pacemaker:controld \
op monitor interval="120s"
primitive clvm ocf:lvm2:clvmd \
params daemon_timeout="30"
clone dlm-clone dlm \
meta interleave="true"
property $id="cib-bootstrap-options" \
dc-version="1.0.2-ec6b0bbee1f3aa72c4c2559997e675db6ab39160" \
expected-quorum-votes="3"
Now my problem: If i try to open clvm running clvmd command i get:
suse1:~ # clvmd
clvmd could not connect to cluster manager
Consult syslog for more information
And the cluster crash (i get o lot of errors in log file)
Log file about clvmd:
Sep 7 20:18:22 suse1 clvmd: Unable to create lockspace for CLVM: Success
Where i’m wrong? What else i need to configure?
Thanks