[Pacemaker] After a bug is closed, I was confused with default-resource-stickiness

Adrian Chapela achapela.rexistros at gmail.com
Wed Nov 26 17:25:16 UTC 2008


Andrew Beekhof escribió:
>
> On Nov 26, 2008, at 12:56 PM, Adrian Chapela wrote:
>
>> Hello,
>>
>> after the bug 
>> http://developerbugs.linux-foundation.org/show_bug.cgi?id=1852 is 
>> closed. Now I am confused with the behaviour of 
>> default-resource-stickiness.
>>
>> I want two nodes, one of them as Master (always the same..) but if 
>> this master fails I need the "Failover Master" remains as master 
>> until an admin do maintenance on the failed node. For this I have the 
>> next constraints:
>>
>> <constraints>
>>       <rsc_order id="MySQL-IP_Group" first="MySQL" 
>> first-action="promote" then="IP_Group" then-action="start"/>
>>       <rsc_colocation id="IP_Group-with-MySQL" rsc="IP_Group" 
>> with-rsc="MySQL" with-rsc-role="Master" score="INFINITY"/>
>>       <rsc_location id="loca_MySQL_node1" rsc="MySQL">
>>               <rule id="rule_loc_MySQL_node1" role="Master" score="100">
>>                       <expression id="exp_rule_MySQL_node1" 
>> attribute="#uname" operation="eq" value="node1"/>
>>               </rule>
>>       </rsc_location>
>>       <rsc_location id="loca_MySQL_node2" rsc="MySQL">
>>               <rule id="rule_loc_MySQL_node2" role="Master" score="50">
>>                       <expression id="exp_rule_MySQL_node2" 
>> attribute="#uname" operation="eq" value="node2"/>
>>               </rule>
>>       </rsc_location>
>>       <rsc_location id="mysql-connectivity" rsc="MySQL">
>>               <rule id="mysql-pingd-prefer-rule" score="-INFINITY" 
>> role="Master">
>>                       <expression id="mysql-pingd-prefer" 
>> attribute="pingd" operation="lt" value="1000"/>
>>               </rule>
>>       </rsc_location>
>> </constraints>
>>
>> Another rule is failing for me is the pingd rule but I think it is a 
>> problem with pingd. I have this messages in error log:
>> ....
>> pingd[2936]: 2008/11/26_12:46:31 info: ping_read: Retrying...
>> pingd[2936]: 2008/11/26_12:46:31 info: ping_read: Retrying...
>> ...
>
> I need a bit more to go on than those two lines :)
> Feel free to reopen the bug or create a new one - probably a new one 
> since its for pingd.
I will open a new bug because this problem is completely different than 
the shuffling resources problem. I am recreating now and then I will 
open a bug related to pingd problem.
>
>
> But anyway, this isn't the best approach... the intention was that the 
> RAs would maintain the promotion score using crm_master.
> You could simply have the RA call "crm_master -v INFINITY" as part of 
> the promote action.

I tested this option and I think this could be which I wanted it. I have 
modified my RA and I will test it for a few days.

Thank you, again ! Do you like beer too ?

>
>
>>
>>
>> I have attached status and config xml. I think pingd problem is when 
>> I unplugged cable or I down the ethernet interface (ifdown eth0). In 
>> these cases, pingd have an error "ping_read: Retrying..." and it 
>> doesn't update value but if it can get  hosts pingd update value. For 
>> me this is a problem because you could have a switch power failure 
>> and this network card will go down.
>>
>> Regards.
>> <cib validate-with="pacemaker-1.0" crm_feature_set="3.0" 
>> have-quorum="1" admin_epoch="0" epoch="43" num_updates="1" 
>> cib-last-written="Tue Nov 25 19:55:22 2008" 
>> dc-uuid="016a6a9d-898c-4606-aa59-00e64ecaab86">
>>  <configuration>
>>    <crm_config>
>>      <cluster_property_set id="cib-bootstrap-options">
>>        <nvpair id="cib-bootstrap-options-dc-version" 
>> name="dc-version" value="1.0.1-node: 
>> 8f507ac6dac7f59aeed9fb390743936a5a1ea09f"/>
>>        <nvpair id="cib-bootstrap-options-default-resource-stickiness" 
>> name="default-resource-stickiness" value="INFINITY"/>
>>        <nvpair 
>> id="cib-bootstrap-options-default-resource-failure-stickiness" 
>> name="default-resource-failure-stickiness" value="-INFINITY"/>
>>        <nvpair id="cib-bootstrap-options-stonith-action" 
>> name="stonith-action" value="poweroff"/>
>>        <nvpair id="cib-bootstrap-options-symmetric-cluster" 
>> name="symmetric-cluster" value="true"/>
>>        <nvpair id="cib-bootstrap-options-no-quorum-policy" 
>> name="no-quorum-policy" value="ignore"/>
>>        <nvpair id="cib-bootstrap-options-stop-orphan-resources" 
>> name="stop-orphan-resources" value="true"/>
>>      </cluster_property_set>
>>    </crm_config>
>>    <nodes>
>>      <node id="ea8af0a5-d8f2-41e7-a861-83236d53689f" uname="node1" 
>> type="normal"/>
>>      <node id="016a6a9d-898c-4606-aa59-00e64ecaab86" uname="node2" 
>> type="normal"/>
>>    </nodes>
>>    <resources>
>>      <master id="MySQL">
>>        <meta_attributes id="MySQL-meta">
>>          <nvpair id="MySQL-meta-1" name="clone_max" value="2"/>
>>          <nvpair id="MySQL-meta-2" name="clone_node_max" value="1"/>
>>          <nvpair id="MySQL-meta-3" name="master_max" value="1"/>
>>          <nvpair id="MySQL-meta-4" name="master_node_max" value="1"/>
>>          <nvpair id="MySQL-meta-6" name="globally-unique" 
>> value="false"/>
>>        </meta_attributes>
>>        <primitive id="MySQL-primitive" class="ocf" 
>> provider="heartbeat" type="mysql_slave_master">
>>          <operations>
>>            <op id="MySQL-op-1" name="start" interval="0s" 
>> timeout="300s"/>
>>            <op id="MySQL-op-2" name="stop" interval="0s" 
>> timeout="900s" on-fail="fence"/>
>>            <op id="MySQL-op-3" name="monitor" interval="59s" 
>> timeout="60s" role="Master" on-fail="fence"/>
>>            <op id="MySQL-op-4" name="monitor" interval="60s" 
>> timeout="60s" role="Slave" on-fail="fence"/>
>>          </operations>
>>        </primitive>
>>      </master>
>>      <group id="IP_Group">
>>        <primitive class="ocf" id="IPaddr-1" provider="heartbeat" 
>> type="IPaddr">
>>          <operations>
>>            <op id="IPaddr-1-op-monitor" interval="5s" name="monitor" 
>> timeout="5s"/>
>>            <op id="IPaddr-1-op-start" name="start" interval="0s" 
>> timeout="5s"/>
>>            <op id="IPaddr-1-op-stop" name="stop" interval="0s" 
>> timeout="5s"/>
>>          </operations>
>>          <instance_attributes id="IPaddr-1-ia">
>>            <nvpair id="IPaddr-1-IP" name="ip" value="192.168.18.24"/>
>>            <nvpair id="IPaddr-1-netmask" name="netmask" value="24"/>
>>            <nvpair id="IPaddr-1-gw" name="gw" value="192.168.18.254"/>
>>            <nvpair id="IPaddr-1-nic" name="nic" value="eth0"/>
>>          </instance_attributes>
>>        </primitive>
>>      </group>
>>      <clone id="pingd-clone">
>>        <primitive id="pingd" provider="heartbeat" class="ocf" 
>> type="pingd">
>>          <instance_attributes id="pingd-attrs">
>>            <nvpair id="pingd-dampen" name="dampen" value="5s"/>
>>            <nvpair id="pingd-multiplier" name="multiplier" 
>> value="1000"/>
>>            <nvpair id="pingd-hosts" name="host_list" 
>> value="192.168.18.210 192.168.18.254 192.168.18.253 192.168.18.200 
>> 192.168.18.201"/>
>>          </instance_attributes>
>>          <operations>
>>            <op id="pingd-clone-monitor" name="monitor" interval="5s" 
>> timeout="20s"/>
>>            <op id="pingd-clone-start" name="start" interval="0" 
>> timeout="20s"/>
>>          </operations>
>>        </primitive>
>>      </clone>
>>      <clone id="DoFencing">
>>        <meta_attributes id="DoFencing-meta">
>>          <nvpair id="DoFencing-meta-1" name="clone_max" value="2"/>
>>          <nvpair id="DoFencing-meta-2" name="clone_node_max" value="1"/>
>>        </meta_attributes>
>>        <primitive id="ssh-stonith" class="stonith" type="ssh">
>>          <instance_attributes id="ssh-stonith-attributes">
>>            <nvpair id="ssh-stonith-hostlist" name="hostlist" 
>> value="node1_backup node2_backup"/>
>>          </instance_attributes>
>>          <operations>
>>            <op id="DoFencing-monitor" name="monitor" interval="5s" 
>> timeout="20s"/>
>>            <op id="DoFencing-start" name="start" interval="0" 
>> timeout="20s"/>
>>          </operations>
>>        </primitive>
>>      </clone>
>>    </resources>
>>    <constraints>
>>      <rsc_order id="MySQL-IP_Group" first="MySQL" 
>> first-action="promote" then="IP_Group" then-action="start"/>
>>      <rsc_colocation id="IP_Group-with-MySQL" rsc="IP_Group" 
>> with-rsc="MySQL" with-rsc-role="Master" score="INFINITY"/>
>>      <rsc_location id="loca_MySQL_node1" rsc="MySQL">
>>        <rule id="rule_loc_MySQL_node1" role="Master" score="100">
>>          <expression id="exp_rule_MySQL_node1" attribute="#uname" 
>> operation="eq" value="node1"/>
>>        </rule>
>>      </rsc_location>
>>      <rsc_location id="loca_MySQL_node2" rsc="MySQL">
>>        <rule id="rule_loc_MySQL_node2" role="Master" score="50">
>>          <expression id="exp_rule_MySQL_node2" attribute="#uname" 
>> operation="eq" value="node2"/>
>>        </rule>
>>      </rsc_location>
>>      <rsc_location id="mysql-connectivity" rsc="MySQL">
>>        <rule id="mysql-pingd-prefer-rule" score="-INFINITY" 
>> role="Master">
>>          <expression id="mysql-pingd-prefer" attribute="pingd" 
>> operation="lt" value="1000"/>
>>        </rule>
>>      </rsc_location>
>>    </constraints>
>>  </configuration>
>>  <status>
>>    <node_state id="ea8af0a5-d8f2-41e7-a861-83236d53689f" 
>> uname="node1" ha="active" in_ccm="true" crmd="online" join="member" 
>> expected="member" crm-debug-origin="do_update_resource" shutdown="0">
>>      <lrm id="ea8af0a5-d8f2-41e7-a861-83236d53689f">
>>        <lrm_resources>
>>          <lrm_resource id="ssh-stonith:0" type="ssh" class="stonith">
>>            <lrm_rsc_op id="ssh-stonith:0_monitor_0" 
>> operation="monitor" crm-debug-origin="do_update_resource" 
>> crm_feature_set="3.0" 
>> transition-key="7:0:7:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> transition-magic="0:7;7:0:7:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> call-id="5" rc-code="7" op-status="0" interval="0" 
>> last-run="1227693121" last-rc-change="1227693121" exec-time="10" 
>> queue-time="0" op-digest="17d52efb8f5b8e5c8103550bc9e844ea"/>
>>            <lrm_rsc_op id="ssh-stonith:0_start_0" operation="start" 
>> crm-debug-origin="do_update_resource" crm_feature_set="3.0" 
>> transition-key="36:0:0:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> transition-magic="0:0;36:0:0:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> call-id="9" rc-code="0" op-status="0" interval="0" 
>> last-run="1227693123" last-rc-change="1227693123" exec-time="30" 
>> queue-time="0" op-digest="17d52efb8f5b8e5c8103550bc9e844ea"/>
>>            <lrm_rsc_op id="ssh-stonith:0_monitor_5000" 
>> operation="monitor" crm-debug-origin="do_update_resource" 
>> crm_feature_set="3.0" 
>> transition-key="37:0:0:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> transition-magic="0:0;37:0:0:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> call-id="10" rc-code="0" op-status="0" interval="5000" 
>> last-run="1227693124" last-rc-change="1227693124" exec-time="10" 
>> queue-time="0" op-digest="907a7a470e9a867331804888b9ce1e80"/>
>>          </lrm_resource>
>>          <lrm_resource id="pingd:0" type="pingd" class="ocf" 
>> provider="heartbeat">
>>            <lrm_rsc_op id="pingd:0_monitor_0" operation="monitor" 
>> crm-debug-origin="do_update_resource" crm_feature_set="3.0" 
>> transition-key="5:0:7:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> transition-magic="0:7;5:0:7:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> call-id="3" rc-code="7" op-status="0" interval="0" 
>> last-run="1227693121" last-rc-change="1227693121" exec-time="120" 
>> queue-time="0" op-digest="9261ebc5854ffe35e9d563fd51538c60"/>
>>            <lrm_rsc_op id="pingd:0_start_0" operation="start" 
>> crm-debug-origin="do_update_resource" crm_feature_set="3.0" 
>> transition-key="28:0:0:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> transition-magic="0:0;28:0:0:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> call-id="8" rc-code="0" op-status="0" interval="0" 
>> last-run="1227693123" last-rc-change="1227693123" exec-time="60" 
>> queue-time="0" op-digest="9261ebc5854ffe35e9d563fd51538c60"/>
>>            <lrm_rsc_op id="pingd:0_monitor_5000" operation="monitor" 
>> crm-debug-origin="do_update_resource" crm_feature_set="3.0" 
>> transition-key="29:0:0:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> transition-magic="0:0;29:0:0:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> call-id="11" rc-code="0" op-status="0" interval="5000" 
>> last-run="1227693124" last-rc-change="1227693124" exec-time="70" 
>> queue-time="0" op-digest="7f5488281ff43610738fbe71e3d15daa"/>
>>          </lrm_resource>
>>          <lrm_resource id="pingd:1" type="pingd" class="ocf" 
>> provider="heartbeat">
>>            <lrm_rsc_op id="pingd:1_monitor_0" operation="monitor" 
>> crm-debug-origin="do_update_resource" crm_feature_set="3.0" 
>> transition-key="6:0:7:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> transition-magic="0:7;6:0:7:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> call-id="4" rc-code="7" op-status="0" interval="0" 
>> last-run="1227693121" last-rc-change="1227693121" exec-time="130" 
>> queue-time="0" op-digest="9261ebc5854ffe35e9d563fd51538c60"/>
>>          </lrm_resource>
>>          <lrm_resource id="MySQL-primitive:0" 
>> type="mysql_slave_master" class="ocf" provider="heartbeat">
>>            <lrm_rsc_op id="MySQL-primitive:0_monitor_0" 
>> operation="monitor" crm-debug-origin="do_update_resource" 
>> crm_feature_set="3.0" 
>> transition-key="4:0:7:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> transition-magic="0:7;4:0:7:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> call-id="2" rc-code="7" op-status="0" interval="0" 
>> last-run="1227693121" last-rc-change="1227693121" exec-time="170" 
>> queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
>>            <lrm_rsc_op id="MySQL-primitive:0_start_0" 
>> operation="start" crm-debug-origin="do_update_resource" 
>> crm_feature_set="3.0" 
>> transition-key="15:0:0:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> transition-magic="0:0;15:0:0:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> call-id="7" rc-code="0" op-status="0" interval="0" 
>> last-run="1227693123" last-rc-change="1227693123" exec-time="4160" 
>> queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
>>            <lrm_rsc_op id="MySQL-primitive:0_promote_0" 
>> operation="promote" crm-debug-origin="do_update_resource" 
>> crm_feature_set="3.0" 
>> transition-key="12:1:0:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> transition-magic="0:0;12:1:0:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> call-id="12" rc-code="0" op-status="0" interval="0" 
>> last-run="1227693128" last-rc-change="1227693128" exec-time="280" 
>> queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
>>            <lrm_rsc_op id="MySQL-primitive:0_monitor_59000" 
>> operation="monitor" crm-debug-origin="do_update_resource" 
>> crm_feature_set="3.0" 
>> transition-key="13:1:8:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> transition-magic="0:8;13:1:8:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> call-id="13" rc-code="8" op-status="0" interval="59000" 
>> last-run="1227693130" last-rc-change="1227693130" exec-time="60" 
>> queue-time="0" op-digest="873ed4f07792aa8ff18f3254244675ea"/>
>>          </lrm_resource>
>>          <lrm_resource id="ssh-stonith:1" type="ssh" class="stonith">
>>            <lrm_rsc_op id="ssh-stonith:1_monitor_0" 
>> operation="monitor" crm-debug-origin="do_update_resource" 
>> crm_feature_set="3.0" 
>> transition-key="8:0:7:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> transition-magic="0:7;8:0:7:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> call-id="6" rc-code="7" op-status="0" interval="0" 
>> last-run="1227693122" last-rc-change="1227693122" exec-time="10" 
>> queue-time="1000" op-digest="17d52efb8f5b8e5c8103550bc9e844ea"/>
>>          </lrm_resource>
>>          <lrm_resource id="IPaddr-1" type="IPaddr" class="ocf" 
>> provider="heartbeat">
>>            <lrm_rsc_op id="IPaddr-1_monitor_0" operation="monitor" 
>> crm-debug-origin="do_update_resource" crm_feature_set="3.0" 
>> transition-key="10:4:7:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> transition-magic="0:7;10:4:7:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> call-id="14" rc-code="7" op-status="0" interval="0" 
>> last-run="1227693421" last-rc-change="1227693421" exec-time="50" 
>> queue-time="0" op-digest="b48bb877924081634aa6d6c933eb8614"/>
>>            <lrm_rsc_op id="IPaddr-1_start_0" operation="start" 
>> crm-debug-origin="do_update_resource" crm_feature_set="3.0" 
>> transition-key="28:4:0:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> transition-magic="0:0;28:4:0:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> call-id="15" rc-code="0" op-status="0" interval="0" 
>> last-run="1227693422" last-rc-change="1227693422" exec-time="170" 
>> queue-time="0" op-digest="b48bb877924081634aa6d6c933eb8614"/>
>>            <lrm_rsc_op id="IPaddr-1_monitor_5000" operation="monitor" 
>> crm-debug-origin="do_update_resource" crm_feature_set="3.0" 
>> transition-key="29:4:0:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> transition-magic="0:0;29:4:0:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> call-id="16" rc-code="0" op-status="0" interval="5000" 
>> last-run="1227693423" last-rc-change="1227693423" exec-time="60" 
>> queue-time="0" op-digest="1101679dc5ca3a988ee4240b8d77e46a"/>
>>          </lrm_resource>
>>        </lrm_resources>
>>      </lrm>
>>      <transient_attributes id="ea8af0a5-d8f2-41e7-a861-83236d53689f">
>>        <instance_attributes 
>> id="status-ea8af0a5-d8f2-41e7-a861-83236d53689f">
>>          <nvpair 
>> id="status-ea8af0a5-d8f2-41e7-a861-83236d53689f-probe_complete" 
>> name="probe_complete" value="true"/>
>>          <nvpair 
>> id="status-ea8af0a5-d8f2-41e7-a861-83236d53689f-mysql_is_running" 
>> name="mysql_is_running" value="1"/>
>>          <nvpair 
>> id="status-ea8af0a5-d8f2-41e7-a861-83236d53689f-pingd" name="pingd" 
>> value="5000"/>
>>        </instance_attributes>
>>      </transient_attributes>
>>    </node_state>
>>    <node_state id="016a6a9d-898c-4606-aa59-00e64ecaab86" 
>> uname="node2" ha="active" in_ccm="true" crmd="online" join="member" 
>> expected="member" crm-debug-origin="do_update_resource" shutdown="0">
>>      <lrm id="016a6a9d-898c-4606-aa59-00e64ecaab86">
>>        <lrm_resources>
>>          <lrm_resource id="ssh-stonith:0" type="ssh" class="stonith">
>>            <lrm_rsc_op id="ssh-stonith:0_monitor_0" 
>> operation="monitor" crm-debug-origin="do_update_resource" 
>> crm_feature_set="3.0" 
>> transition-key="13:0:7:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> transition-magic="0:7;13:0:7:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> call-id="5" rc-code="7" op-status="0" interval="0" 
>> last-run="1227693122" last-rc-change="1227693122" exec-time="0" 
>> queue-time="0" op-digest="17d52efb8f5b8e5c8103550bc9e844ea"/>
>>          </lrm_resource>
>>          <lrm_resource id="pingd:0" type="pingd" class="ocf" 
>> provider="heartbeat">
>>            <lrm_rsc_op id="pingd:0_monitor_0" operation="monitor" 
>> crm-debug-origin="do_update_resource" crm_feature_set="3.0" 
>> transition-key="11:0:7:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> transition-magic="0:7;11:0:7:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> call-id="3" rc-code="7" op-status="0" interval="0" 
>> last-run="1227693121" last-rc-change="1227693121" exec-time="130" 
>> queue-time="0" op-digest="9261ebc5854ffe35e9d563fd51538c60"/>
>>          </lrm_resource>
>>          <lrm_resource id="pingd:1" type="pingd" class="ocf" 
>> provider="heartbeat">
>>            <lrm_rsc_op id="pingd:1_monitor_0" operation="monitor" 
>> crm-debug-origin="do_update_resource" crm_feature_set="3.0" 
>> transition-key="12:0:7:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> transition-magic="0:7;12:0:7:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> call-id="4" rc-code="7" op-status="0" interval="0" 
>> last-run="1227693121" last-rc-change="1227693121" exec-time="150" 
>> queue-time="0" op-digest="9261ebc5854ffe35e9d563fd51538c60"/>
>>            <lrm_rsc_op id="pingd:1_start_0" operation="start" 
>> crm-debug-origin="do_update_resource" crm_feature_set="3.0" 
>> transition-key="30:0:0:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> transition-magic="0:0;30:0:0:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> call-id="8" rc-code="0" op-status="0" interval="0" 
>> last-run="1227693123" last-rc-change="1227693123" exec-time="90" 
>> queue-time="0" op-digest="9261ebc5854ffe35e9d563fd51538c60"/>
>>            <lrm_rsc_op id="pingd:1_monitor_5000" operation="monitor" 
>> crm-debug-origin="do_update_resource" crm_feature_set="3.0" 
>> transition-key="31:0:0:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> transition-magic="0:0;31:0:0:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> call-id="11" rc-code="0" op-status="0" interval="5000" 
>> last-run="1227693124" last-rc-change="1227693124" exec-time="80" 
>> queue-time="0" op-digest="7f5488281ff43610738fbe71e3d15daa"/>
>>          </lrm_resource>
>>          <lrm_resource id="MySQL-primitive:1" 
>> type="mysql_slave_master" class="ocf" provider="heartbeat">
>>            <lrm_rsc_op id="MySQL-primitive:1_monitor_0" 
>> operation="monitor" crm-debug-origin="do_update_resource" 
>> crm_feature_set="3.0" 
>> transition-key="10:0:7:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> transition-magic="0:7;10:0:7:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> call-id="2" rc-code="7" op-status="0" interval="0" 
>> last-run="1227693121" last-rc-change="1227693121" exec-time="210" 
>> queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
>>            <lrm_rsc_op id="MySQL-primitive:1_start_0" 
>> operation="start" crm-debug-origin="do_update_resource" 
>> crm_feature_set="3.0" 
>> transition-key="18:0:0:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> transition-magic="0:0;18:0:0:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> call-id="7" rc-code="0" op-status="0" interval="0" 
>> last-run="1227693123" last-rc-change="1227693123" exec-time="4220" 
>> queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
>>            <lrm_rsc_op id="MySQL-primitive:1_monitor_60000" 
>> operation="monitor" crm-debug-origin="do_update_resource" 
>> crm_feature_set="3.0" 
>> transition-key="17:1:0:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> transition-magic="0:0;17:1:0:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> call-id="12" rc-code="0" op-status="0" interval="60000" 
>> last-run="1227693128" last-rc-change="1227693128" exec-time="280" 
>> queue-time="0" op-digest="873ed4f07792aa8ff18f3254244675ea"/>
>>          </lrm_resource>
>>          <lrm_resource id="ssh-stonith:1" type="ssh" class="stonith">
>>            <lrm_rsc_op id="ssh-stonith:1_monitor_0" 
>> operation="monitor" crm-debug-origin="do_update_resource" 
>> crm_feature_set="3.0" 
>> transition-key="14:0:7:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> transition-magic="0:7;14:0:7:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> call-id="6" rc-code="7" op-status="0" interval="0" 
>> last-run="1227693122" last-rc-change="1227693122" exec-time="10" 
>> queue-time="1000" op-digest="17d52efb8f5b8e5c8103550bc9e844ea"/>
>>            <lrm_rsc_op id="ssh-stonith:1_start_0" operation="start" 
>> crm-debug-origin="do_update_resource" crm_feature_set="3.0" 
>> transition-key="38:0:0:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> transition-magic="0:0;38:0:0:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> call-id="9" rc-code="0" op-status="0" interval="0" 
>> last-run="1227693123" last-rc-change="1227693123" exec-time="30" 
>> queue-time="0" op-digest="17d52efb8f5b8e5c8103550bc9e844ea"/>
>>            <lrm_rsc_op id="ssh-stonith:1_monitor_5000" 
>> operation="monitor" crm-debug-origin="do_update_resource" 
>> crm_feature_set="3.0" 
>> transition-key="39:0:0:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> transition-magic="0:0;39:0:0:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> call-id="10" rc-code="0" op-status="0" interval="5000" 
>> last-run="1227693125" last-rc-change="1227693125" exec-time="0" 
>> queue-time="0" op-digest="907a7a470e9a867331804888b9ce1e80"/>
>>          </lrm_resource>
>>          <lrm_resource id="IPaddr-1" type="IPaddr" class="ocf" 
>> provider="heartbeat">
>>            <lrm_rsc_op id="IPaddr-1_monitor_0" operation="monitor" 
>> crm-debug-origin="do_update_resource" crm_feature_set="3.0" 
>> transition-key="12:4:7:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> transition-magic="0:7;12:4:7:5b64ed2f-a8f8-4bf3-be9c-4974146d5247" 
>> call-id="13" rc-code="7" op-status="0" interval="0" 
>> last-run="1227693421" last-rc-change="1227693421" exec-time="50" 
>> queue-time="0" op-digest="b48bb877924081634aa6d6c933eb8614"/>
>>          </lrm_resource>
>>        </lrm_resources>
>>      </lrm>
>>      <transient_attributes id="016a6a9d-898c-4606-aa59-00e64ecaab86">
>>        <instance_attributes 
>> id="status-016a6a9d-898c-4606-aa59-00e64ecaab86">
>>          <nvpair 
>> id="status-016a6a9d-898c-4606-aa59-00e64ecaab86-probe_complete" 
>> name="probe_complete" value="true"/>
>>          <nvpair 
>> id="status-016a6a9d-898c-4606-aa59-00e64ecaab86-mysql_is_running" 
>> name="mysql_is_running" value="0"/>
>>          <nvpair 
>> id="status-016a6a9d-898c-4606-aa59-00e64ecaab86-pingd" name="pingd" 
>> value="5000"/>
>>        </instance_attributes>
>>      </transient_attributes>
>>    </node_state>
>>  </status>
>> </cib>
>> _______________________________________________
>> Pacemaker mailing list
>> Pacemaker at clusterlabs.org
>> http://list.clusterlabs.org/mailman/listinfo/pacemaker
>
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at clusterlabs.org
> http://list.clusterlabs.org/mailman/listinfo/pacemaker
>





More information about the Pacemaker mailing list