Hi, Dejan thanks for attention following my cib xml conf I am newbie with pacemaker, any hint is very welcome! : D
==========================cib.xml========================================= <cib epoch="22" num_updates="1" admin_epoch="0" validate-with="pacemaker-1.0" crm_feature_set="3.0.1" have-quorum="1" cib-last-written="Thu May 14 12:25:12 2009" dc-uuid="57e0232d-5b78-4a1a-976e-e5335ba8266d"> <configuration> <crm_config> <cluster_property_set id="cib-bootstrap-options"> <nvpair id="cib-bootstrap-options-dc-version" name="dc-version" value="1.0.3-b133b3f19797c00f9189f4b66b513963f9d25db9"/> <nvpair id="cib-bootstrap-options-last-lrm-refresh" name="last-lrm-refresh" value="1242331451"/> </cluster_property_set> </crm_config> <nodes> <node id="57e0232d-5b78-4a1a-976e-e5335ba8266d" uname="node1" type="normal"/> <node id="12484965-e650-4d8e-bf01-2cc89e3ba90f" uname="node2" type="normal"/> </nodes> <resources> <clone id="drbdinit"> <meta_attributes id="drbdinit-meta_attributes"> <nvpair id="drbdinit-meta_attributes-target-role" name="target-role" value="Stopped"/> </meta_attributes> <group id="drbdinitd"> <primitive class="lsb" id="drbdi" type="drbd"> <operations id="drbdi-operations"> <op id="drbdi-op-monitor-15" interval="15" name="monitor" start-delay="15" timeout="15"/> </operations> <meta_attributes id="drbdi-meta_attributes"> <nvpair id="drbdi-meta_attributes-target-role" name="target-role" value="started"/> </meta_attributes> </primitive> </group> </clone> <master id="ms-drbd11"> <meta_attributes id="ms-drbd11-meta_attributes"> <nvpair id="ms-drbd11-meta_attributes-clone-max" name="clone-max" value="2"/> <nvpair id="ms-drbd11-meta_attributes-notify" name="notify" value="true"/> <nvpair id="ms-drbd11-meta_attributes-globally-unique" name="globally-unique" value="false"/> <nvpair id="ms-drbd11-meta_attributes-target-role" name="target-role" value="stopped"/> </meta_attributes> <primitive class="ocf" id="drbd11" provider="heartbeat" type="drbd"> <instance_attributes id="drbd11-instance_attributes"> <nvpair id="drbd11-instance_attributes-drbd_resource" name="drbd_resource" value="drbd11"/> </instance_attributes> <operations> <op id="drbd11-monitor-59s" interval="59s" name="monitor" role="Master" timeout="30s"/> <op id="drbd11-monitor-60s" interval="60s" name="monitor" role="Slave" timeout="30s"/> </operations> <meta_attributes id="drbd11-meta_attributes"> <nvpair id="drbd11-meta_attributes-target-role" name="target-role" value="started"/> <nvpair id="drbd11-meta_attributes-is-managed" name="is-managed" value="true"/> </meta_attributes> </primitive> </master> </resources> <constraints> <rsc_location id="ms-drbd11-placement" rsc="ms-drbd11"> <rule boolean-op="and" id="ms-drbd11-placement-rule" score="-INFINITY"> <expression attribute="#uname" id="ms-drbd11-placement-expression" operation="ne" value="node1"/> <expression attribute="#uname" id="ms-drbd11-placement-expression-0" operation="ne" value="node2"/> </rule> </rsc_location> </constraints> <rsc_defaults/> <op_defaults/> </configuration> <status> <node_state id="57e0232d-5b78-4a1a-976e-e5335ba8266d" uname="node1" ha="active" in_ccm="true" crmd="online" join="member" expected="member" crm-debug-origin="do_lrm_query" shutdown="0"> <lrm id="57e0232d-5b78-4a1a-976e-e5335ba8266d"> <lrm_resources> <lrm_resource id="drbdi:0" type="drbd" class="lsb"> <lrm_rsc_op id="drbdi:0_monitor_0" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="4:8:7:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" transition-magic="0:7;4:8:7:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" call-id="2" rc-code="7" op-status="0" interval="0" last-run="1242322143" last-rc-change="1242322143" exec-time="30" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/> <lrm_rsc_op id="drbdi:0_start_0" operation="start" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="5:11:0:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" transition-magic="0:0;5:11:0:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" call-id="6" rc-code="0" op-status="0" interval="0" last-run="1242322193" last-rc-change="1242322193" exec-time="1750" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/> <lrm_rsc_op id="drbdi:0_monitor_15000" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="6:11:0:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" transition-magic="0:0;6:11:0:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" call-id="7" rc-code="0" op-status="0" interval="15000" last-run="1242331482" last-rc-change="1242322210" exec-time="100" queue-time="0" op-digest="02a5bcf940fc8d3239701acb11438d6a"/> <lrm_rsc_op id="drbdi:0_stop_0" operation="stop" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="7:10:0:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" transition-magic="0:0;7:10:0:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" call-id="5" rc-code="0" op-status="0" interval="0" last-run="1242322181" last-rc-change="1242322181" exec-time="1370" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/> </lrm_resource> <lrm_resource id="drbd11:0" type="drbd" class="ocf" provider="heartbeat"> <lrm_rsc_op id="drbd11:0_monitor_0" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="6:12:7:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" transition-magic="0:7;6:12:7:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" call-id="8" rc-code="7" op-status="0" interval="0" last-run="1242322519" last-rc-change="1242322519" exec-time="100" queue-time="0" op-digest="b3de6267ddfd433dff4cc6bc70eac542"/> <lrm_rsc_op id="drbd11:0_start_0" operation="start" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="23:13:0:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" transition-magic="0:1;23:13:0:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" call-id="9" rc-code="1" op-status="0" interval="0" last-run="1242322538" last-rc-change="1242322538" exec-time="140" queue-time="10" op-digest="b3de6267ddfd433dff4cc6bc70eac542"/> <lrm_rsc_op id="drbd11:0_post_notify_start_0" operation="notify" crm-debug-origin="do_update_resource" crm_feature_set="3.0.1" transition-key="58:13:0:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" transition-magic="0:0;58:13:0:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" call-id="10" rc-code="0" op-status="0" interval="0" last-run="1242322539" last-rc-change="1242322539" exec-time="100" queue-time="10" op-digest="b3de6267ddfd433dff4cc6bc70eac542"/> <lrm_rsc_op id="drbd11:0_pre_notify_stop_0" operation="notify" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="56:14:0:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" transition-magic="0:0;56:14:0:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" call-id="11" rc-code="0" op-status="0" interval="0" last-run="1242322541" last-rc-change="1242322541" exec-time="50" queue-time="0" op-digest="b3de6267ddfd433dff4cc6bc70eac542"/> <lrm_rsc_op id="drbd11:0_stop_0" operation="stop" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="2:14:0:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" transition-magic="0:0;2:14:0:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" call-id="12" rc-code="0" op-status="0" interval="0" last-run="1242322543" last-rc-change="1242322543" exec-time="90" queue-time="0" op-digest="b3de6267ddfd433dff4cc6bc70eac542"/> </lrm_resource> <lrm_resource id="drbd11" type="drbd" class="ocf" provider="heartbeat"> <lrm_rsc_op id="drbd11_monitor_0" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="6:31:7:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" transition-magic="0:7;6:31:7:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" call-id="16" rc-code="7" op-status="0" interval="0" last-run="1242331445" last-rc-change="1242331445" exec-time="80" queue-time="0" op-digest="b3de6267ddfd433dff4cc6bc70eac542"/> <lrm_rsc_op id="drbd11_start_0" operation="start" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="23:32:0:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" transition-magic="0:1;23:32:0:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" call-id="17" rc-code="1" op-status="0" interval="0" last-run="1242331446" last-rc-change="1242331446" exec-time="140" queue-time="0" op-digest="b3de6267ddfd433dff4cc6bc70eac542"/> <lrm_rsc_op id="drbd11_stop_0" operation="stop" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="2:33:0:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" transition-magic="0:0;2:33:0:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" call-id="18" rc-code="0" op-status="0" interval="0" last-run="1242331446" last-rc-change="1242331446" exec-time="100" queue-time="0" op-digest="b3de6267ddfd433dff4cc6bc70eac542"/> </lrm_resource> </lrm_resources> </lrm> <transient_attributes id="57e0232d-5b78-4a1a-976e-e5335ba8266d"> <instance_attributes id="status-57e0232d-5b78-4a1a-976e-e5335ba8266d"> <nvpair id="status-57e0232d-5b78-4a1a-976e-e5335ba8266d-probe_complete" name="probe_complete" value="true"/> <nvpair id="status-57e0232d-5b78-4a1a-976e-e5335ba8266d-fail-count-drbd11:0" name="fail-count-drbd11:0" value="INFINITY"/> <nvpair id="status-57e0232d-5b78-4a1a-976e-e5335ba8266d-last-failure-drbd11:0" name="last-failure-drbd11:0" value="1242322539"/> <nvpair id="status-57e0232d-5b78-4a1a-976e-e5335ba8266d-last-failure-drbd11" name="last-failure-drbd11" value="1242331447"/> <nvpair id="status-57e0232d-5b78-4a1a-976e-e5335ba8266d-fail-count-drbd11" name="fail-count-drbd11" value="INFINITY"/> </instance_attributes> </transient_attributes> </node_state> <node_state id="12484965-e650-4d8e-bf01-2cc89e3ba90f" uname="node2" ha="active" in_ccm="true" crmd="online" join="member" expected="member" crm-debug-origin="do_lrm_query" shutdown="0"> <lrm id="12484965-e650-4d8e-bf01-2cc89e3ba90f"> <lrm_resources> <lrm_resource id="drbdi:0" type="drbd" class="lsb"> <lrm_rsc_op id="drbdi:0_monitor_0" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="6:8:7:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" transition-magic="0:7;6:8:7:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" call-id="2" rc-code="7" op-status="0" interval="0" last-run="1242322147" last-rc-change="1242322147" exec-time="40" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/> </lrm_resource> <lrm_resource id="drbdi:1" type="drbd" class="lsb"> <lrm_rsc_op id="drbdi:1_start_0" operation="start" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="11:11:0:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" transition-magic="0:0;11:11:0:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" call-id="6" rc-code="0" op-status="0" interval="0" last-run="1242322198" last-rc-change="1242322198" exec-time="1340" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/> <lrm_rsc_op id="drbdi:1_monitor_15000" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="12:11:0:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" transition-magic="0:0;12:11:0:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" call-id="7" rc-code="0" op-status="0" interval="15000" last-run="1242331494" last-rc-change="1242322216" exec-time="90" queue-time="0" op-digest="02a5bcf940fc8d3239701acb11438d6a"/> <lrm_rsc_op id="drbdi:1_stop_0" operation="stop" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="12:10:0:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" transition-magic="0:0;12:10:0:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" call-id="5" rc-code="0" op-status="0" interval="0" last-run="1242322186" last-rc-change="1242322186" exec-time="830" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/> </lrm_resource> <lrm_resource id="drbd11:0" type="drbd" class="ocf" provider="heartbeat"> <lrm_rsc_op id="drbd11:0_monitor_0" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="8:12:7:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" transition-magic="0:7;8:12:7:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" call-id="8" rc-code="7" op-status="0" interval="0" last-run="1242322524" last-rc-change="1242322524" exec-time="120" queue-time="0" op-digest="b3de6267ddfd433dff4cc6bc70eac542"/> </lrm_resource> <lrm_resource id="drbd11:1" type="drbd" class="ocf" provider="heartbeat"> <lrm_rsc_op id="drbd11:1_start_0" operation="start" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="25:13:0:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" transition-magic="0:1;25:13:0:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" call-id="9" rc-code="1" op-status="0" interval="0" last-run="1242322542" last-rc-change="1242322542" exec-time="140" queue-time="0" op-digest="b3de6267ddfd433dff4cc6bc70eac542"/> <lrm_rsc_op id="drbd11:1_post_notify_start_0" operation="notify" crm-debug-origin="do_update_resource" crm_feature_set="3.0.1" transition-key="60:13:0:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" transition-magic="0:0;60:13:0:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" call-id="10" rc-code="0" op-status="0" interval="0" last-run="1242322544" last-rc-change="1242322544" exec-time="120" queue-time="0" op-digest="b3de6267ddfd433dff4cc6bc70eac542"/> <lrm_rsc_op id="drbd11:1_pre_notify_stop_0" operation="notify" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="59:14:0:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" transition-magic="0:0;59:14:0:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" call-id="11" rc-code="0" op-status="0" interval="0" last-run="1242322546" last-rc-change="1242322546" exec-time="40" queue-time="0" op-digest="b3de6267ddfd433dff4cc6bc70eac542"/> <lrm_rsc_op id="drbd11:1_stop_0" operation="stop" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="4:14:0:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" transition-magic="0:0;4:14:0:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" call-id="12" rc-code="0" op-status="0" interval="0" last-run="1242322547" last-rc-change="1242322547" exec-time="90" queue-time="0" op-digest="b3de6267ddfd433dff4cc6bc70eac542"/> </lrm_resource> <lrm_resource id="drbd11" type="drbd" class="ocf" provider="heartbeat"> <lrm_rsc_op id="drbd11_start_0" operation="start" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="23:34:0:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" transition-magic="0:1;23:34:0:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" call-id="16" rc-code="1" op-status="0" interval="0" last-run="1242331452" last-rc-change="1242331452" exec-time="140" queue-time="0" op-digest="b3de6267ddfd433dff4cc6bc70eac542"/> <lrm_rsc_op id="drbd11_stop_0" operation="stop" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="3:35:0:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" transition-magic="0:0;3:35:0:6ac86c50-86fc-46c3-a4b9-298bbb685ecb" call-id="17" rc-code="0" op-status="0" interval="0" last-run="1242331453" last-rc-change="1242331453" exec-time="100" queue-time="0" op-digest="b3de6267ddfd433dff4cc6bc70eac542"/> </lrm_resource> </lrm_resources> </lrm> <transient_attributes id="12484965-e650-4d8e-bf01-2cc89e3ba90f"> <instance_attributes id="status-12484965-e650-4d8e-bf01-2cc89e3ba90f"> <nvpair id="status-12484965-e650-4d8e-bf01-2cc89e3ba90f-probe_complete" name="probe_complete" value="true"/> <nvpair id="status-12484965-e650-4d8e-bf01-2cc89e3ba90f-fail-count-drbd11:1" name="fail-count-drbd11:1" value="INFINITY"/> <nvpair id="status-12484965-e650-4d8e-bf01-2cc89e3ba90f-last-failure-drbd11:1" name="last-failure-drbd11:1" value="1242322540"/> <nvpair id="status-12484965-e650-4d8e-bf01-2cc89e3ba90f-last-failure-drbd11" name="last-failure-drbd11" value="1242331449"/> <nvpair id="status-12484965-e650-4d8e-bf01-2cc89e3ba90f-fail-count-drbd11" name="fail-count-drbd11" value="INFINITY"/> </instance_attributes> </transient_attributes> </node_state> </status> </cib> ======================================================================== thank you very much for the help On Fri, May 15, 2009 at 4:46 AM, Dejan Muhamedagic <deja...@fastmail.fm>wrote: > Hi, > > On Thu, May 14, 2009 at 05:13:50PM -0300, Rafael Emerick wrote: > > Hi, Dejan > > > > There is no two set of meta-attributes. > > > > I remove the ms-drbd11, add again and the error is the same: > > Error performing operation: Required data for this CIB API call not found > > Can you please post your CIB. As xml. > > Thanks, > > Dejan > > > > > Thanks, > > > > > > On Thu, May 14, 2009 at 3:43 PM, Dejan Muhamedagic <deja...@fastmail.fm > >wrote: > > > > > Hi, > > > > > > On Thu, May 14, 2009 at 03:18:15PM -0300, Rafael Emerick wrote: > > > > Hi, > > > > > > > > I'm tryng to make a cluster with xen-ha using drbd and ocfs2... > > > > > > > > I want that crm management all resources (xen machines, drbd disks > and > > > ocfs2 > > > > filesystem ). > > > > > > > > First, a create a clone lsb resource to init drbd with gui interface. > > > > Now, I'm following this manual > > > http://clusterlabs.org/wiki/DRBD_HowTo_1.0 to > > > > create the drbd disk managemnt and after make the ocfs2 filesystem. > > > > > > > > So, when i run: > > > > # crm resource start ms-drbd11 > > > > # Multiple attributes match name=target-role > > > > # Value: stopped (id=ms-drbd11-meta_attributes-target-role) > > > > # Value: started (id=drbd11-meta_attributes-target-role) > > > > # Error performing operation: Required data for this CIB API call not > > > found > > > > > > As it says, there are multiple matches for the attribute. Don't > > > know how it came to be. Perhaps you can > > > > > > crm configure edit ms-drbd11 > > > > > > and drop one of them. It could also be that there are two sets of > > > meta-attributes. > > > > > > If crm can't edit the resource (in that case please report it) > > > then you can try: > > > > > > crm configure edit xml ms-drbd11 > > > > > > Thanks, > > > > > > Dejan > > > > > > > My messages: > > > > May 14 15:07:11 node1 pengine: [4749]: info: get_fail count: > ms-drbd11 > > > has > > > > failed 1000000 times on node2 > > > > May 14 15:07:11 node1 pengine: [4749]: WARN: common_apply_stickiness: > > > > Forcing ms-drbd11 away from node2 after 1000000 failures > (max=1000000) > > > > May 14 15:07:11 node1 pengine: [4749]: WARN: native_color: Resource > > > drbd11:0 > > > > cannot run anywhere > > > > May 14 15:07:11 node1 pengine: [4749]: WARN: native_color: Resource > > > drbd11:1 > > > > cannot run anywhere > > > > May 14 15:07:11 node1 pengine: [4749]: info: master_color: ms-drbd11: > > > > Promoted 0 instances of a possible 1 to master > > > > May 14 15:07:11 node1 pengine: [4749]: notice: LogActions: Leave > resource > > > > drbdi:0 (Started node1) > > > > May 14 15:07:11 node1 pengine: [4749]: notice: LogActions: Leave > resource > > > > drbdi:1 (Started node2) > > > > May 14 15:07:11 node1 pengine: [4749]: notice: LogActions: Leave > resource > > > > drbd11:0 (Stopped) > > > > May 14 15:07:11 node1 pengine: [4749]: notice: LogActions: Leave > resource > > > > drbd11:1 (Stopped) > > > > > > > > > > > > Thank you for any help! > > > > > > > _______________________________________________ > > > > Pacemaker mailing list > > > > Pacemaker@oss.clusterlabs.org > > > > http://oss.clusterlabs.org/mailman/listinfo/pacemaker > > > > > > > > > _______________________________________________ > > > Pacemaker mailing list > > > Pacemaker@oss.clusterlabs.org > > > http://oss.clusterlabs.org/mailman/listinfo/pacemaker > > > > > > _______________________________________________ > > Pacemaker mailing list > > Pacemaker@oss.clusterlabs.org > > http://oss.clusterlabs.org/mailman/listinfo/pacemaker > > > _______________________________________________ > Pacemaker mailing list > Pacemaker@oss.clusterlabs.org > http://oss.clusterlabs.org/mailman/listinfo/pacemaker >
_______________________________________________ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker