Hi all. I've been trying for a while now to get a working config in place that
combines Linux-HA, DRBD, and iSCSI (TGTD) to deliver a master/slave target
setup. I'm trying to follow various guides/mailing list posts I've found the
refer to the pieces of such a configuration but I'm stuck trying to add the
DRBD resources. Specifically, whenever I try to configure my DRBD resources I
get the following:
# crm(drbd)# configure primitive crs ocf:linbit:drbd params drbd_resource=crs
op monitor interval=60s
WARNING: crs: action monitor not advertised in meta-data, it may not be
supported by the RA
WARNING: crs: action monitor not advertised in meta-data, it may not be
supported by the RA
I've searched a number of times for information on the DRBD resource agent but
everything I find seems to indicate that this problem has been fixed it should
work. What am I missing? Here's my setup:
--
[root@ora-disk1 ~]# cat /etc/ha.d/ha.cf
# Logging
debug 1
use_logd yes
logfacility local6
# Misc Options
traditional_compression off
compression bz2
coredumps true
# Communications
udpport 691
bcast eth0
autojoin any
# Thresholds (in seconds)
keepalive 1
warntime 6
deadtime 10
initdead 15
crm yes
--
[root@ora-disk1 ~]# crm configure show
node ora-disk1
node ora-disk2
primitive ClusterIP ocf:heartbeat:IPaddr2 \
params ip="192.168.60.125" cidr_netmask="32" \
op monitor interval="30s"
property $id="cib-bootstrap-options" \
dc-version="1.0.11-1554a83db0d3c3e546cfd3aaff6af1184f79ee87" \
cluster-infrastructure="openais" \
expected-quorum-votes="2" \
stonith-enabled="false" \
no-quorum-policy="ignore" \
last-lrm-refresh="1307994093"
rsc_defaults $id="rsc-options" \
resource-stickiness="100"
(This is after I stopped and deleted the DRBD resources I was attempting to
add.)
--
[root@ora-disk1 ~]# crm_mon -1
============
Last updated: Mon Jun 13 17:21:52 2011
Stack: openais
Current DC: ora-disk1 - partition with quorum
Version: 1.0.11-1554a83db0d3c3e546cfd3aaff6af1184f79ee87
2 Nodes configured, 2 expected votes
1 Resources configured.
============
Online: [ ora-disk1 ora-disk2 ]
ClusterIP (ocf::heartbeat:IPaddr2): Started ora-disk1
--
[root@ora-disk1 ~]# uname -a
Linux ora-disk1 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64 x86_64
x86_64 GNU/Linux
[root@ora-disk1 ~]# cat /etc/redhat-release
CentOS release 5.5 (Final)
[root@ora-disk1 ~]# rpm -qa|egrep 'pacemaker|heart|coro'
corosync-1.2.7-1.1.el5.x86_64
heartbeat-libs-3.0.3-2.3.el5.i386
corosync-1.2.7-1.1.el5.i386
heartbeat-3.0.3-2.3.el5.i386
pacemaker-libs-1.0.11-1.2.el5.i386
heartbeat-libs-3.0.3-2.3.el5.x86_64
corosynclib-1.2.7-1.1.el5.x86_64
corosynclib-1.2.7-1.1.el5.i386
pacemaker-1.0.11-1.2.el5.x86_64
heartbeat-3.0.3-2.3.el5.x86_64
pacemaker-libs-1.0.11-1.2.el5.x86_64
pacemaker-1.0.11-1.2.el5.i386
--
I'm taking guidance from a number of different places, e.g.:
http://www.drbd.org/users-guide/s-pacemaker-floating-peers.html
http://lists.community.tummy.com/pipermail/linux-ha-dev/2010-May/017418.html
http://www.mail-archive.com/[email protected]/msg05296.html
Thanks in advance,
Damon
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems