As fas as I know, you need to have the "tid" parameter set in the iscsitarget RA when using tgt.
Kind regards, Caspar Op 7 jul. 2011 11:49 schreef <[email protected]> het volgende: > hi.. > > im new and setting up my first HA Cluster. Corosync and Pacemaker > running fine and all IPs get moved, drbd works but iscsi drives me > crazy > > my config: > ... > primitive iscsiLUN ocf:heartbeat:iSCSILogicalUnit \ > params path="/dev/drbd0" > target_iqn="iqn.2011-06.de.my-domain.viki:drbd0" lun="0" > primitive iscsiTarget ocf:heartbeat:iSCSITarget \ > params iqn="iqn.2011-06.de.my-domain.viki:drbd0" > property $id="cib-bootstrap-options" \ > dc-version="1.1.5-1.1.el5-01e86afaaa6d4a8c4836f68df80ababd6ca3902f" \ > cluster-infrastructure="openais" \ > expected-quorum-votes="2" \ > stonith-enabled="false" \ > no-quorum-policy="ignore" > rsc_defaults $id="rsc-options" \ > resource-stickiness="100" > > my /etc/tgt/tgt.conf > <target iqn.2011-06.de.my-domain.viki:drbd0> > backing-store /dev/drbd0 > </target> > > crm_mon shows: > iscsiLUN_monitor_0 (node=viki-2.my-domain.de, call=13, rc=6, > status=complete): not configured > iscsiTarget_monitor_0 (node=viki-2.my-domain.de, call=12, rc=6, > status=complete): not configured > > /var/log/messages > Jul 7 11:44:48 viki-2 pengine: [22330]: WARN: unpack_rsc_op: > Processing failed op iscsi-tgtd_start_0 on viki-2.my-domain.de: not > running (7) > Jul 7 11:44:48 viki-2 attrd: [22329]: info: attrd_trigger_update: > Sending flush op to all hosts for: fail-count-iscsi-tgtd (INFINITY) > Jul 7 11:44:49 viki-2 pengine: [22330]: WARN: > common_apply_stickiness: Forcing iscsi-tgtd away from > viki-1.my-domain.de after 1000000 failures (max=1000000) > Jul 7 11:44:49 viki-2 pengine: [22330]: WARN: > common_apply_stickiness: Forcing iscsi-tgtd away from > viki-2.my-domain.de after 1000000 failures (max=1000000) > Jul 7 11:44:59 viki-2 attrd: [22329]: info: attrd_trigger_update: > Sending flush op to all hosts for: last-failure-iscsi-tgtd > (1310030469) > > any ideas or hinds > > thx > Hans Peter > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
