[Pacemaker] Pacemaker+LVM2+DLM+CLVMD under CentOS 5.3
Димитър Бойн
dboyn at postpath.com
Thu Nov 12 19:39:58 UTC 2009
Thanks, Andrew!
/sbin/dlm_controld is provided by cman-2.0.115-1.el5_4.2.x86_64
However I am getting in /var/log/messages a lot of:
"Nov 12 19:36:14 gppst1pbf001 dlm_controld[31980]: connect to ccs error -111, check ccsd or cluster status"
And from ccsd:
"Nov 12 19:38:33 gppst1pbf001 ccsd[16673]: Cluster is not quorate. Refusing connection.
Nov 12 19:38:33 gppst1pbf001 ccsd[16673]: Error while processing connect: Connection refused
Nov 12 19:38:34 gppst1pbf001 ccsd[16673]: Unable to connect to cluster infrastructure after 2280 seconds."
My speculation here is that while my cluster is Pacemaker the defaults in CentOS expect RedHat clustering.
Do you know how to rewire what is provided by RedHat to the Pacemaker context?
In addition following RedHat cLVMD guide I configured in my lvm.conf:
# Miscellaneous global LVM2 settings
global {
library_dir = /usr/lib64
locking_library = liblvm2clusterlock.so
<text deleted >
locking_type = 2
"
But I could find liblvm2clusterlock.so installed -neither can yum find this provided by any package?
Thanks once again!
./Dimitar Boyn
From: Andrew Beekhof [mailto:andrew at beekhof.net]
Sent: Thursday, November 12, 2009 6:01 AM
To: pacemaker at clusterlabs.org
Cc: pacemaker at clusterlabs.org
Subject: Re: [Pacemaker] Pacemaker+LVM2+DLM+CLVMD under CentOS 5.3
2009/11/11 Димитър Бойн <dboyn at postpath.com>
Hi,
Has anybody successfully configured Pacemaker+LVM2+DLM+CLVMD under CentOS 5.3?
I don't think the kernel for 5.3 is recent enough.
The DLM needs 2.6.27 or greater.
I am running pacemaker-1.0.4-23.1 previously available from http://download.opensuse.org/repositories/server:/ha-clustering/CentOS_5/x86_64/
I need to enable cluster controlled LVM locking.
Novel have released a great document at http://www.novell.com/documentation/sle_ha/pdfdoc/book_sleha/book_sleha.pdf
- however CentOS repository is missing the appropriate lvm2-cluster related packages.
I tried "compromising"by using from CentOS:
For DLM:
cman-2.0.98-1.el5.x86_64.rpm
perl-XML-LibXML-Common-0.13-8.2.2.x86_64.rpm
pexpect-2.3-1.el5.noarch.rpm
perl-Net-Telnet-3.03-5.noarch.rpm
perl-XML-NamespaceSupport-1.09-1.2.1.noarch.rpm
perl-XML-LibXML-1.58-5.x86_64.rpm
perl-XML-SAX-0.14-5.noarch.rpm
For LVM2-Cluster
lvm2-2.02.46-8.el5.x86_64.rpm
device-mapper-1.02.32-1.el5.i386.rpm
device-mapper-event-1.02.32-1.el5.x86_64.rpm
lvm2-cluster-2.02.46-8.el5.x86_64.rpm
device-mapper-1.02.32-1.el5.x86_64.rpm
But I fail starting dlm resource
primitive dlm ocf:pacemaker:controld \
meta target-role= Started
clone dlm-clone dlm \
meta target-role= Started interleave= true ordered= true
#crm_verify -LV
crm_verify[21447]: 2009/11/11_02:51:05 ERROR: unpack_rsc_op: Hard error - dlm:0_monitor_0 failed with rc=5: Preventing dlm-clone from re-starting on gppst1mlb001
crm_verify[21447]: 2009/11/11_02:51:05 ERROR: unpack_rsc_op: Hard error - dlm:0_monitor_0 failed with rc=5: Preventing dlm-clone from re-starting on gppst1pbf001
crm_verify[21447]: 2009/11/11_02:51:05 ERROR: unpack_rsc_op: Hard error - dlm:0_monitor_0 failed with rc=5: Preventing dlm-clone from re-starting on gppst1node003
Any ideas are highly appreciated!
Dimitar Boyn
Technical Marketing Engineer
Collaboration Software Group
WebEx Communications, Inc.
3979 Freedom Circle
Santa Clara, CA 95054
United States
Think before you print.
This e-mail may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply e-mail and delete all copies of this message.
_______________________________________________
Pacemaker mailing list
Pacemaker at oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20091112/a79edcfe/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 21157 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20091112/a79edcfe/attachment-0004.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 9887 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20091112/a79edcfe/attachment-0005.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.gif
Type: image/gif
Size: 68 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20091112/a79edcfe/attachment-0008.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.gif
Type: image/gif
Size: 87 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20091112/a79edcfe/attachment-0009.gif>
More information about the Pacemaker
mailing list