[Pacemaker] Master Slave resource

ruslan usifov ruslan.usifov at gmail.com
Wed Dec 8 06:26:55 EST 2010


hello

I have 2 node cluster with follow conf:
node storage0
node storage1
primitive drbd_web ocf:linbit:drbd \
        params drbd_resource="web" \
        op monitor interval="30s" timeout="60s"
primitive iscsi_ip ocf:heartbeat:IPaddr2 \
        params ip="192.168.17.19" nic="eth1:1" cidr_netmask="24" \
        op monitor interval="10s" \
        meta target-role="Started"
primitive iscsi_web_target ocf:heartbeat:iSCSITarget \
        params iqn="iqn.2010-06.playrix.local:san.web" implementation="iet"
\
        op monitor interval="10s" timeout="30s" depth="0" \
        meta target-role="Started"
primitive iscsi_web_target_lun1 ocf:heartbeat:iSCSILogicalUnit \
        params lun="1" path="/dev/drbd1"
target_iqn="iqn.2010-06.playrix.local:san.web" implementation="iet" \
        op monitor interval="10s" timeout="30s"
group iscsi iscsi_ip iscsi_web_target iscsi_web_target_lun1
ms ms_drbd_web drbd_web \
        meta master-max="1" master-node-max="1" clone-max="2"
clone-node-max="1" notify="true" target-role="Started"
colocation iscsi_on_drbd inf: ms_drbd_web:Master iscsi
order iscsi_target_after_drbd inf: ms_drbd_web:promote iscsi_web_target
order iscsi_target_lun_after_iscsi_target inf: iscsi_web_target
iscsi_web_target_lun1
property $id="cib-bootstrap-options" \
        dc-version="1.0.10-b0266dd5ffa9c51377c68b1f29d6bc84367f51dd" \
        cluster-infrastructure="openais" \
        expected-quorum-votes="2" \
        stonith-enabled="false" \
        no-quorum-policy="ignore"
rsc_defaults $id="rsc-options" \
        resource-stickiness="100"


after some throbles with pacemaker(segfault in older version in ubuntu) I
can not get to work ms_drbd_web. It always show only slaves status:
============
Last updated: Tue Dec  7 14:00:13 2010
Stack: openais
Current DC: storage0 - partition with quorum
Version: 1.0.10-b0266dd5ffa9c51377c68b1f29d6bc84367f51dd
2 Nodes configured, 2 expected votes
2 Resources configured.
============

Online: [ storage1 storage0 ]

 Master/Slave Set: ms_drbd_web
     Slaves: [ storage0 storage1 ]
 Resource Group: iscsi
     iscsi_ip   (ocf::heartbeat:IPaddr2):       Started storage1
     iscsi_web_target   (ocf::heartbeat:iSCSITarget):   Started storage1
     iscsi_web_target_lun1      (ocf::heartbeat:iSCSILogicalUnit):
Stopped

Failed actions:
    iscsi_web_target_lun1_monitor_0 (node=storage0, call=5, rc=5,
status=complete): not installed
    iscsi_web_target_monitor_0 (node=storage0, call=4, rc=5,
status=complete): not installed
    iscsi_web_target_lun1_start_0 (node=storage1, call=13, rc=1,
status=complete): unknown error

but no split brain situation(nothing about in logs)
If i do master selection myself,

drbdadm -- --overwrite-data-of-peer primary all

pacemaker still switch move to [Slave, Slave]

I found follow errors in my corosync.log:

ERROR: clone_rsc_order_rh_non_clone: Unknown action:
iscsi_web_target_demote_0


What i do wrong, and how can i restore drdb to work?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/pacemaker/attachments/20101208/cb481a6b/attachment.html>


More information about the Pacemaker mailing list