[Pacemaker] pingd fails to update CIB
Marc Villacorta
sysadmin at genaker.net
Thu Mar 25 12:05:23 UTC 2010
I have the same problem as Quentin Smith (sticky pingd value="0").
[12:49:44 ha1] ~> rpm -qa | egrep -i "pacemaker|corosync|heartbeat|resource"
heartbeat-libs-3.0.2-2.el5
heartbeat-3.0.2-2.el5
pacemaker-libs-1.0.8-1.el5
resource-agents-1.0.1-1.el5
corosync-1.2.0-1.el5
pacemaker-1.0.8-1.el5
corosynclib-1.2.0-1.el5
[12:38:10 ha1] ~> crm configure show
node ha1.intra.genaker.net
node ha2.intra.genaker.net
primitive MyDrbd ocf:linbit:drbd \
params drbd_resource="r0" \
op monitor interval="15s" \
op start interval="0" timeout="240s" \
op stop interval="0" timeout="100s"
primitive MyFs ocf:heartbeat:Filesystem \
params device="/dev/drbd/by-res/r0" directory="/data" fstype="ext3"
\
op start interval="0" timeout="60s" \
op stop interval="0" timeout="60s"
primitive MyIp ocf:heartbeat:IPaddr2 \
params ip="10.1.1.6" nic="eth0" cidr_netmask="32"
broadcast="10.1.1.255" iflabel="Cluster" \
op monitor interval="10s" \
op start interval="0" timeout="90s" \
op stop interval="0" timeout="100s"
primitive MyPing ocf:pacemaker:pingd \
params host_list="10.1.1.1" multiplier="100" \
op monitor interval="15s" timeout="20s" \
op start interval="0" timeout="90s" \
op stop interval="0" timeout="100s"
group MyGroup MyFs MyIp
ms MyMsDrbd MyDrbd \
meta master-max="1" master-node-max="1" clone-max="2"
clone-node-max="1" notify="true"
clone MyPingClone MyPing \
meta globally-unique="false"
location MyLocation MyMsDrbd \
rule $id="MyLocation-rule" $role="Master" -inf: not_defined pingd or
pingd lte 0
colocation MyColocation inf: MyGroup MyMsDrbd:Master
order MyOrder inf: MyMsDrbd:promote MyGroup:start
property $id="cib-bootstrap-options" \
cluster-infrastructure="openais" \
stonith-enabled="false" \
no-quorum-policy="ignore" \
dc-version="1.0.8-2a76c6ac04bcccf42b89a08e55bfbd90da2fb49a" \
expected-quorum-votes="2"
[12:23:54 ha1] ~> cibadmin -Q | grep "name=\"pingd\" value="
<nvpair id="status-ha2.intra.genaker.net-pingd" name="pingd"
value="0"/>
<nvpair id="status-ha1.intra.genaker.net-pingd" name="pingd"
value="0"/>
[12:23:59 ha1] ~> attrd_updater -R
[12:24:13 ha1] ~> cibadmin -Q | grep "name=\"pingd\" value="
<nvpair id="status-ha2.intra.genaker.net-pingd" name="pingd"
value="100"/>
<nvpair id="status-ha1.intra.genaker.net-pingd" name="pingd"
value="100"/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20100325/c33f2274/attachment-0002.htm>
More information about the Pacemaker
mailing list