[Pacemaker] Ordering set of resources, problem in ordering chain of resources

rakesh k rakirocker4236 at gmail.com
Tue Apr 19 10:04:52 UTC 2011


Hi Andrew

As mentioned please find the output of cibadmin -Ql in this post.

<cib validate-with="pacemaker-1.0" crm_feature_set="3.0.1" have-quorum="1"
dc-uuid="87b8b88e-3ded-4e34-8708-46f7afe62935" admin_epoch="0" epoch="1105"
num_updates="18">
  <configuration>
    <crm_config>
      <cluster_property_set id="cib-bootstrap-options">
        <nvpair id="cib-bootstrap-options-dc-version" name="dc-version"
value="1.0.9-89bd754939df5150de7cd76835f98fe90851b677"/>
        <nvpair id="cib-bootstrap-options-cluster-infrastructure"
name="cluster-infrastructure" value="Heartbeat"/>
        <nvpair id="cib-bootstrap-options-stonith-enabled"
name="stonith-enabled" value="false"/>
        <nvpair id="cib-bootstrap-options-no-quorum-policy"
name="no-quorum-policy" value="ignore"/>
        <nvpair id="cib-bootstrap-options-last-lrm-refresh"
name="last-lrm-refresh" value="1300787402"/>
      </cluster_property_set>
    </crm_config>
    <nodes>
      <node id="87b8b88e-3ded-4e34-8708-46f7afe62935" type="normal"
uname="mysql3"/>
      <node id="6317f856-e57b-4a03-acf1-ca81af4f19ce" type="normal"
uname="cisco-demomsf"/>
    </nodes>
    <resources>
      <primitive class="ocf" id="HttpdVIP" provider="heartbeat"
type="IPaddr3">
        <instance_attributes id="HttpdVIP-instance_attributes">
          <nvpair id="HttpdVIP-instance_attributes-ip" name="ip"
value="172.21.52.149"/>
          <nvpair id="HttpdVIP-instance_attributes-eth_num" name="eth_num"
value="eth0:4"/>
          <nvpair id="HttpdVIP-instance_attributes-vip_cleanup_file"
name="vip_cleanup_file" value="/var/run/bigha.pid"/>
        </instance_attributes>
        <operations>
          <op id="HttpdVIP-start-0" interval="0" name="start"
timeout="120s"/>
          <op id="HttpdVIP-monitor-30s" interval="30s" name="monitor"/>
        </operations>
        <meta_attributes id="HttpdVIP-meta_attributes">
          <nvpair id="HttpdVIP-meta_attributes-target-role"
name="target-role" value="Started"/>
        </meta_attributes>
      </primitive>
      <primitive class="ocf" id="Httpd" provider="heartbeat" type="apache">
        <instance_attributes id="Httpd-instance_attributes">
          <nvpair id="Httpd-instance_attributes-configfile"
name="configfile" value="/etc/httpd/conf/httpd.conf"/>
          <nvpair id="Httpd-instance_attributes-httpd" name="httpd"
value="/usr/sbin/httpd"/>
          <nvpair id="Httpd-instance_attributes-client" name="client"
value="curl"/>
          <nvpair id="Httpd-instance_attributes-statusurl" name="statusurl"
value="http://localhost/img/test.html"/>
          <nvpair id="Httpd-instance_attributes-testregex" name="testregex"
value="*</html>"/>
        </instance_attributes>
        <operations>
          <op id="Httpd-start-0" interval="0" name="start" timeout="60s"/>
          <op id="Httpd-monitor-50s" interval="50s" name="monitor"
timeout="50s"/>
        </operations>
        <meta_attributes id="Httpd-meta_attributes">
          <nvpair id="Httpd-meta_attributes-target-role" name="target-role"
value="Started"/>
        </meta_attributes>
      </primitive>
      <primitive class="ocf" provider="msf" type="tomcat" id="Tomcat1">
        <instance_attributes id="Tomcat1-instance_attributes">
          <nvpair id="Tomcat1-instance_attributes-tomcat_name"
name="tomcat_name" value="tomcat"/>
          <nvpair id="Tomcat1-instance_attributes-statusurl"
name="statusurl" value="http://localhost:8080/dbtest/testtomcat.html"/>
          <nvpair id="Tomcat1-instance_attributes-java_home"
name="java_home" value="/"/>
          <nvpair id="Tomcat1-instance_attributes-catalina_home"
name="catalina_home" value="/home/msf/runtime/tomcat/apache-tomcat-6.0.18"/>
          <nvpair id="Tomcat1-instance_attributes-client" name="client"
value="curl"/>
          <nvpair id="Tomcat1-instance_attributes-testregex"
name="testregex" value="*</html>"/>
        </instance_attributes>
        <operations>
          <op id="Tomcat1-start-0" interval="0" name="start" timeout="60s"/>
          <op id="Tomcat1-monitor-50s" interval="50s" name="monitor"
timeout="50s"/>
          <op id="Tomcat1-stop-0" interval="0" name="stop"/>
        </operations>
        <meta_attributes id="Tomcat1-meta_attributes">
          <nvpair name="target-role"
id="Tomcat1-meta_attributes-target-role" value="Started"/>
        </meta_attributes>
      </primitive>
      <primitive class="ocf" id="Tomcat1VIP" provider="heartbeat"
type="IPaddr3">
        <instance_attributes id="Tomcat1VIP-instance_attributes">
          <nvpair id="Tomcat1VIP-instance_attributes-ip" name="ip"
value="172.21.52.140"/>
          <nvpair id="Tomcat1VIP-instance_attributes-eth_num" name="eth_num"
value="eth0:2"/>
          <nvpair id="Tomcat1VIP-instance_attributes-vip_cleanup_file"
name="vip_cleanup_file" value="/var/run/bigha.pid"/>
        </instance_attributes>
        <operations>
          <op id="Tomcat1VIP-start-0" interval="0" name="start"
timeout="120s"/>
          <op id="Tomcat1VIP-monitor-30s" interval="30s" name="monitor"/>
        </operations>
        <meta_attributes id="Tomcat1VIP-meta_attributes">
          <nvpair id="Tomcat1VIP-meta_attributes-target-role"
name="target-role" value="Started"/>
        </meta_attributes>
      </primitive>
      <primitive class="ocf" provider="heartbeat" type="IPaddr3"
id="MysqlVIP">
        <instance_attributes id="MysqlVIP-instance_attributes">
          <nvpair id="MysqlVIP-instance_attributes-ip" name="ip"
value="172.21.52.150"/>
          <nvpair id="MysqlVIP-instance_attributes-eth_num" name="eth_num"
value="eth0:3"/>
          <nvpair id="MysqlVIP-instance_attributes-vip_cleanup_file"
name="vip_cleanup_file" value="/var/run/bigha.pid"/>
        </instance_attributes>
        <operations>
          <op id="MysqlVIP-start-0" interval="0" name="start"
timeout="120s"/>
          <op id="MysqlVIP-monitor-30s" interval="30s" name="monitor"/>
        </operations>
        <meta_attributes id="MysqlVIP-meta_attributes">
          <nvpair name="target-role"
id="MysqlVIP-meta_attributes-target-role" value="Started"/>
        </meta_attributes>
      </primitive>
      <master id="MS_Mysql">
        <meta_attributes id="MS_Mysql-meta_attributes">
          <nvpair id="MS_Mysql-meta_attributes-notify" name="notify"
value="true"/>
          <nvpair name="target-role"
id="MS_Mysql-meta_attributes-target-role" value="Stopped"/>
        </meta_attributes>
        <primitive class="ocf" id="Mysql" provider="heartbeat" type="mysql">
          <instance_attributes id="Mysql-instance_attributes">
            <nvpair id="Mysql-instance_attributes-binary" name="binary"
value="/usr/bin/mysqld_safe"/>
            <nvpair id="Mysql-instance_attributes-config" name="config"
value="/etc/my.cnf"/>
            <nvpair id="Mysql-instance_attributes-datadir" name="datadir"
value="/var/lib/mysql"/>
            <nvpair id="Mysql-instance_attributes-user" name="user"
value="mysql"/>
            <nvpair id="Mysql-instance_attributes-pid" name="pid"
value="/var/lib/mysql/mysql.pid"/>
            <nvpair id="Mysql-instance_attributes-socket" name="socket"
value="/var/lib/mysql/mysql.sock"/>
            <nvpair id="Mysql-instance_attributes-test_passwd"
name="test_passwd" value="slavepass"/>
            <nvpair id="Mysql-instance_attributes-test_table"
name="test_table" value="msfha.conn"/>
            <nvpair id="Mysql-instance_attributes-test_user"
name="test_user" value="repl"/>
            <nvpair id="Mysql-instance_attributes-replication_user"
name="replication_user" value="repl"/>
            <nvpair id="Mysql-instance_attributes-replication_passwd"
name="replication_passwd" value="slavepass"/>
          </instance_attributes>
          <operations>
            <op id="Mysql-start-0" interval="0" name="start"
timeout="120s"/>
            <op id="Mysql-stop-0" interval="0" name="stop" timeout="120s"/>
            <op id="Mysql-monitor-10s" interval="10s" name="monitor"
role="Master" timeout="8s"/>
            <op id="Mysql-monitor-12s" interval="12s" name="monitor"
timeout="8s"/>
          </operations>
        </primitive>
      </master>
      <primitive class="ocf" id="Tomcat2" provider="msf" type="tomcat">
        <instance_attributes id="Tomcat2-instance_attributes">
          <nvpair id="Tomcat2-instance_attributes-tomcat_name"
name="tomcat_name" value="tomcat"/>
          <nvpair id="Tomcat2-instance_attributes-statusurl"
name="statusurl" value="http://localhost:8081/"/>
          <nvpair id="Tomcat2-instance_attributes-java_home"
name="java_home" value="/"/>
          <nvpair id="Tomcat2-instance_attributes-catalina_home"
name="catalina_home"
value="/home/msf/runtime/tomcat2/apache-tomcat-6.0.18"/>
          <nvpair id="Tomcat2-instance_attributes-client" name="client"
value="curl"/>
          <nvpair id="Tomcat2-instance_attributes-testregex"
name="testregex" value="*</html>"/>
        </instance_attributes>
        <operations>
          <op id="Tomcat2-start-0" interval="0" name="start" timeout="60s"/>
          <op id="Tomcat2-monitor-50s" interval="50s" name="monitor"
timeout="50s"/>
          <op id="Tomcat2-stop-0" interval="0" name="stop"/>
        </operations>
        <meta_attributes id="Tomcat2-meta_attributes">
          <nvpair id="Tomcat2-meta_attributes-target-role"
name="target-role" value="Started"/>
        </meta_attributes>
      </primitive>
      <primitive class="ocf" id="Tomcat2VIP" provider="heartbeat"
type="IPaddr3">
        <instance_attributes id="Tomcat2VIP-instance_attributes">
          <nvpair id="Tomcat2VIP-instance_attributes-ip" name="ip"
value="172.21.52.139"/>
          <nvpair id="Tomcat2VIP-instance_attributes-eth_num" name="eth_num"
value="eth0:4"/>
          <nvpair id="Tomcat2VIP-instance_attributes-vip_cleanup_file"
name="vip_cleanup_file" value="/var/run/bigha.pid"/>
        </instance_attributes>
        <operations>
          <op id="Tomcat2VIP-start-0" interval="0" name="start"
timeout="120s"/>
          <op id="Tomcat2VIP-monitor-30s" interval="30s" name="monitor"/>
        </operations>
        <meta_attributes id="Tomcat2VIP-meta_attributes">
          <nvpair id="Tomcat2VIP-meta_attributes-target-role"
name="target-role" value="Started"/>
        </meta_attributes>
      </primitive>
    </resources>
    <constraints>
      <rsc_colocation id="Httpd-with-ip" rsc="HttpdVIP" score="INFINITY"
with-rsc="Httpd"/>
      <rsc_colocation id="Tomcat1-with-ip" rsc="Tomcat1VIP" score="INFINITY"
with-rsc="Tomcat1"/>
      <rsc_colocation id="Mysql-with-ip" rsc="MysqlVIP" score="INFINITY"
with-rsc="MS_Mysql" with-rsc-role="Master"/>
      <rsc_location id="L_Master" rsc="MS_Mysql">
        <rule id="L_Master-rule" role="Master" score="100">
          <expression attribute="#uname" id="L_Master-expression"
operation="eq" value="cisco-demomsf"/>
        </rule>
        <rule id="L_Master-rule1" role="Master" score="100">
          <expression attribute="#uname" id="L_Master-expression-0"
operation="eq" value="mysql3"/>
        </rule>
      </rsc_location>
      <rsc_order first="HttpdVIP" id="Httpd-after-op" score="INFINITY"
then="Httpd"/>
      <rsc_order first="MysqlVIP" id="Mysql-after-ip" score="INFINITY"
then="MS_Mysql"/>
      <rsc_order first="Tomcat1VIP" id="Tomcat1-after-ip" score="INFINITY"
then="Tomcat1"/>
      <rsc_order first="MS_Mysql" id="Tomcat1-after-MYSQL" score="INFINITY"
then="Tomcat1VIP"/>
      <rsc_colocation id="Tomcat2-with-Tomcat" rsc="Tomcat1"
score="INFINITY" with-rsc="Tomcat2VIP"/>
      <rsc_order first="Tomcat2VIP" id="Tomcat2-after-ip" score="INFINITY"
then="Tomcat2"/>
      <rsc_order first="Tomcat2" id="Httpd-after-Tomcat2" score="INFINITY"
then="Httpd"/>
      <rsc_colocation id="tomcat2-with-ip" rsc="Tomcat2VIP" score="INFINITY"
with-rsc="Tomcat2"/>
    </constraints>
    <rsc_defaults>
      <meta_attributes id="rsc-options">
        <nvpair id="rsc-options-resource-stickiness"
name="resource-stickiness" value="100"/>
      </meta_attributes>
    </rsc_defaults>
    <op_defaults/>
  </configuration>
  <status>
    <node_state uname="mysql3" ha="active" in_ccm="true" crmd="online"
join="member" expected="member" shutdown="0"
id="87b8b88e-3ded-4e34-8708-46f7afe62935">
      <lrm id="87b8b88e-3ded-4e34-8708-46f7afe62935">
        <lrm_resources>
          <lrm_resource id="Tomcat1" type="tomcat" class="ocf"
provider="msf">
            <lrm_rsc_op id="Tomcat1_monitor_0" operation="monitor"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="6:0:7:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:7;6:0:7:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="4" rc-code="7" op-status="0" interval="0" last-run="1303195949"
last-rc-change="1303195949" exec-time="20" queue-time="0"
op-digest="61b400a8e288dcebce6d286001d94590"/>
          </lrm_resource>
          <lrm_resource id="Tomcat1VIP" type="IPaddr3" class="ocf"
provider="heartbeat">
            <lrm_rsc_op id="Tomcat1VIP_monitor_0" operation="monitor"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="7:0:7:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:7;7:0:7:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="5" rc-code="7" op-status="0" interval="0" last-run="1303195949"
last-rc-change="1303195949" exec-time="160" queue-time="0"
op-digest="f185e2d51f9970a09eb8807689027f32"/>
          </lrm_resource>
          <lrm_resource id="HttpdVIP" type="IPaddr3" class="ocf"
provider="heartbeat">
            <lrm_rsc_op id="HttpdVIP_monitor_0" operation="monitor"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="4:0:7:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:7;4:0:7:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="2" rc-code="7" op-status="0" interval="0" last-run="1303195949"
last-rc-change="1303195949" exec-time="210" queue-time="0"
op-digest="dd53bbba0ff9da01eaba2c9fef622447"/>
            <lrm_rsc_op id="HttpdVIP_start_0" operation="start"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="5:1:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:0;5:1:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="10" rc-code="0" op-status="0" interval="0" last-run="1303195952"
last-rc-change="1303195952" exec-time="10760" queue-time="0"
op-digest="dd53bbba0ff9da01eaba2c9fef622447"/>
            <lrm_rsc_op id="HttpdVIP_monitor_30000" operation="monitor"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="7:2:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:0;7:2:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="12" rc-code="0" op-status="0" interval="30000"
last-run="1303195970" last-rc-change="1303195970" exec-time="200"
queue-time="0" op-digest="6055db27bd794524c7d3961e9ffeece8"/>
          </lrm_resource>
          <lrm_resource id="Httpd" type="apache" class="ocf"
provider="heartbeat">
            <lrm_rsc_op id="Httpd_monitor_0" operation="monitor"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="5:0:7:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:7;5:0:7:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="3" rc-code="7" op-status="0" interval="0" last-run="1303195949"
last-rc-change="1303195949" exec-time="210" queue-time="0"
op-digest="c9641d9803f5562a0f4e74e265fdf33d"/>
            <lrm_rsc_op id="Httpd_start_0" operation="start"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="10:3:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:0;10:3:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="16" rc-code="0" op-status="0" interval="0" last-run="1303195977"
last-rc-change="1303195977" exec-time="220" queue-time="0"
op-digest="c9641d9803f5562a0f4e74e265fdf33d"/>
            <lrm_rsc_op id="Httpd_monitor_50000" operation="monitor"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="11:3:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:0;11:3:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="18" rc-code="0" op-status="0" interval="50000"
last-run="1303195977" last-rc-change="1303195977" exec-time="60"
queue-time="0" op-digest="16bbe93b3239f7666139277bdddcb690"/>
          </lrm_resource>
          <lrm_resource type="IPaddr3" class="ocf" provider="heartbeat"
id="MysqlVIP">
            <lrm_rsc_op id="MysqlVIP_monitor_0" operation="monitor"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="8:0:7:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:7;8:0:7:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="6" rc-code="7" op-status="0" interval="0" last-run="1303195949"
last-rc-change="1303195949" exec-time="170" queue-time="0"
op-digest="c2e64819b2adc07985af2b7eb7c1f0af"/>
            <lrm_rsc_op operation="start" crm_feature_set="3.0.1"
rc-code="0" op-status="0" interval="0" queue-time="0"
op-digest="c2e64819b2adc07985af2b7eb7c1f0af" id="MysqlVIP_start_0"
transition-key="17:15:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:0;17:15:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="42" last-run="1303197641" last-rc-change="1303197641"
exec-time="10560"/>
            <lrm_rsc_op operation="monitor" crm_feature_set="3.0.1"
rc-code="0" op-status="0" interval="30000" queue-time="0"
op-digest="d39b820eb95a078a3a72c4346673a544" id="MysqlVIP_monitor_30000"
transition-key="18:15:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:0;18:15:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="43" last-run="1303197652" last-rc-change="1303197652"
exec-time="220"/>
            <lrm_rsc_op operation="stop" crm_feature_set="3.0.1" rc-code="0"
op-status="0" interval="0" queue-time="0"
op-digest="c2e64819b2adc07985af2b7eb7c1f0af" id="MysqlVIP_stop_0"
transition-key="19:32:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:0;19:32:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="55" last-run="1303207218" last-rc-change="1303207218"
exec-time="10490"/>
          </lrm_resource>
          <lrm_resource type="mysql" class="ocf" provider="heartbeat"
id="Mysql:0">
            <lrm_rsc_op id="Mysql:0_monitor_0" operation="monitor"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="9:0:7:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:7;9:0:7:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="7" rc-code="7" op-status="0" interval="0" last-run="1303195950"
last-rc-change="1303195950" exec-time="70" queue-time="1000"
op-digest="932125359d1c755081106e266778dcbd"/>
            <lrm_rsc_op operation="start" crm_feature_set="3.0.1"
rc-code="0" op-status="0" interval="0" queue-time="0"
op-digest="932125359d1c755081106e266778dcbd" id="Mysql:0_start_0"
transition-key="19:15:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:0;19:15:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="44" last-run="1303197652" last-rc-change="1303197652"
exec-time="4240"/>
            <lrm_rsc_op operation="notify" crm_feature_set="3.0.1"
rc-code="0" op-status="0" interval="0" exec-time="30" queue-time="0"
op-digest="932125359d1c755081106e266778dcbd"
id="Mysql:0_post_notify_start_0"
transition-key="62:15:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:0;62:15:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="45" last-run="1303197657" last-rc-change="1303197657"/>
            <lrm_rsc_op operation="notify" crm_feature_set="3.0.1"
rc-code="0" op-status="0" interval="0"
op-digest="932125359d1c755081106e266778dcbd" exec-time="60"
id="Mysql:0_pre_notify_promote_0"
transition-key="70:16:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:0;70:16:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="46" last-run="1303197659" last-rc-change="1303197659"
queue-time="0"/>
            <lrm_rsc_op operation="promote" crm_feature_set="3.0.1"
rc-code="0" op-status="0" interval="0" exec-time="70" queue-time="0"
op-digest="932125359d1c755081106e266778dcbd" id="Mysql:0_promote_0"
transition-key="23:16:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:0;23:16:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="47" last-run="1303197660" last-rc-change="1303197660"/>
            <lrm_rsc_op operation="notify" crm_feature_set="3.0.1"
rc-code="0" op-status="0" interval="0" queue-time="0"
op-digest="932125359d1c755081106e266778dcbd"
id="Mysql:0_post_notify_promote_0"
transition-key="71:16:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:0;71:16:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="48" last-run="1303197660" last-rc-change="1303197660"
exec-time="40"/>
            <lrm_rsc_op operation="monitor" crm_feature_set="3.0.1"
rc-code="8" op-status="0" interval="10000" queue-time="0"
op-digest="282b206c37147b338449bf3cf06f0e42" id="Mysql:0_monitor_10000"
transition-key="25:17:8:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:8;25:17:8:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="49" last-run="1303197666" last-rc-change="1303197666"
exec-time="50"/>
            <lrm_rsc_op operation="notify" crm_feature_set="3.0.1"
rc-code="0" op-status="0" interval="0" queue-time="0"
op-digest="932125359d1c755081106e266778dcbd"
id="Mysql:0_pre_notify_demote_0"
transition-key="64:30:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:0;64:30:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="50" last-run="1303207203" last-rc-change="1303207203"
exec-time="50"/>
            <lrm_rsc_op operation="demote" crm_feature_set="3.0.1"
rc-code="0" op-status="0" interval="0" queue-time="0"
op-digest="932125359d1c755081106e266778dcbd" id="Mysql:0_demote_0"
transition-key="23:30:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:0;23:30:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="51" last-run="1303207204" last-rc-change="1303207204"
exec-time="80"/>
            <lrm_rsc_op operation="notify" crm_feature_set="3.0.1"
rc-code="0" op-status="0" interval="0" exec-time="40" queue-time="0"
op-digest="932125359d1c755081106e266778dcbd"
id="Mysql:0_post_notify_demote_0"
transition-key="65:30:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:0;65:30:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="52" last-run="1303207204" last-rc-change="1303207204"/>
            <lrm_rsc_op operation="notify" crm_feature_set="3.0.1"
rc-code="0" op-status="0" interval="0" queue-time="0"
op-digest="932125359d1c755081106e266778dcbd" id="Mysql:0_pre_notify_stop_0"
transition-key="62:31:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:0;62:31:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="53" last-run="1303207205" last-rc-change="1303207205"
exec-time="30"/>
            <lrm_rsc_op operation="stop" crm_feature_set="3.0.1" rc-code="0"
op-status="0" interval="0" queue-time="0"
op-digest="932125359d1c755081106e266778dcbd" id="Mysql:0_stop_0"
transition-key="22:31:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:0;22:31:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="54" last-run="1303207212" last-rc-change="1303207212"
exec-time="1080"/>
          </lrm_resource>
          <lrm_resource id="Tomcat2" type="tomcat" class="ocf"
provider="msf">
            <lrm_rsc_op id="Tomcat2_monitor_0" operation="monitor"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="10:0:7:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:7;10:0:7:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="8" rc-code="7" op-status="0" interval="0" last-run="1303195950"
last-rc-change="1303195950" exec-time="80" queue-time="1000"
op-digest="a0d471cf2cc03dbc876691895455470d"/>
          </lrm_resource>
          <lrm_resource id="Tomcat2VIP" type="IPaddr3" class="ocf"
provider="heartbeat">
            <lrm_rsc_op id="Tomcat2VIP_monitor_0" operation="monitor"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="11:0:7:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:7;11:0:7:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="9" rc-code="7" op-status="0" interval="0" last-run="1303195950"
last-rc-change="1303195950" exec-time="90" queue-time="1000"
op-digest="a4aa7ec711bab94520a7321a4cc3407f"/>
          </lrm_resource>
        </lrm_resources>
      </lrm>
      <transient_attributes id="87b8b88e-3ded-4e34-8708-46f7afe62935">
        <instance_attributes
id="status-87b8b88e-3ded-4e34-8708-46f7afe62935">
          <nvpair
id="status-87b8b88e-3ded-4e34-8708-46f7afe62935-probe_complete"
name="probe_complete" value="true"/>
        </instance_attributes>
      </transient_attributes>
    </node_state>
    <node_state uname="cisco-demomsf" ha="active" in_ccm="true"
crmd="online" join="member" expected="member" shutdown="0"
id="6317f856-e57b-4a03-acf1-ca81af4f19ce">
      <lrm id="6317f856-e57b-4a03-acf1-ca81af4f19ce">
        <lrm_resources>
          <lrm_resource type="tomcat" class="ocf" provider="msf"
id="Tomcat1">
            <lrm_rsc_op id="Tomcat1_monitor_0" operation="monitor"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="15:0:7:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:7;15:0:7:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="4" rc-code="7" op-status="0" interval="0" last-run="1303195950"
last-rc-change="1303195950" exec-time="40" queue-time="0"
op-digest="61b400a8e288dcebce6d286001d94590"/>
            <lrm_rsc_op operation="start" crm_feature_set="3.0.1"
rc-code="0" op-status="0" interval="0" queue-time="0"
op-digest="61b400a8e288dcebce6d286001d94590" id="Tomcat1_start_0"
transition-key="16:19:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:0;16:19:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="60" last-run="1303197917" last-rc-change="1303197917"
exec-time="3840"/>
            <lrm_rsc_op operation="monitor" crm_feature_set="3.0.1"
rc-code="0" op-status="0" interval="50000" exec-time="30" queue-time="0"
op-digest="f1033152fdbd6adde9c97a37762570bd" id="Tomcat1_monitor_50000"
transition-key="17:19:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:0;17:19:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="62" last-run="1303197922" last-rc-change="1303197922"/>
            <lrm_rsc_op operation="stop" crm_feature_set="3.0.1" rc-code="0"
op-status="0" interval="0" queue-time="0"
op-digest="61b400a8e288dcebce6d286001d94590" id="Tomcat1_stop_0"
transition-key="18:30:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:0;18:30:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="63" last-run="1303207205" last-rc-change="1303207205"
exec-time="570"/>
          </lrm_resource>
          <lrm_resource type="IPaddr3" class="ocf" provider="heartbeat"
id="Tomcat1VIP">
            <lrm_rsc_op id="Tomcat1VIP_monitor_0" operation="monitor"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="16:0:7:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:7;16:0:7:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="5" rc-code="7" op-status="0" interval="0" last-run="1303195950"
last-rc-change="1303195950" exec-time="60" queue-time="0"
op-digest="f185e2d51f9970a09eb8807689027f32"/>
            <lrm_rsc_op operation="start" crm_feature_set="3.0.1"
rc-code="0" op-status="0" interval="0" queue-time="0"
op-digest="f185e2d51f9970a09eb8807689027f32" id="Tomcat1VIP_start_0"
transition-key="20:31:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:0;20:31:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="68" last-run="1303207213" last-rc-change="1303207213"
exec-time="5210"/>
            <lrm_rsc_op operation="monitor" crm_feature_set="3.0.1"
rc-code="0" op-status="0" interval="30000" queue-time="0"
op-digest="ff7257d9664d9be4c2a869210173dc61" id="Tomcat1VIP_monitor_30000"
transition-key="19:19:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:0;19:19:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="61" last-run="1303197917" last-rc-change="1303197917"
exec-time="60"/>
            <lrm_rsc_op operation="stop" crm_feature_set="3.0.1" rc-code="0"
op-status="0" interval="0" queue-time="0"
op-digest="f185e2d51f9970a09eb8807689027f32" id="Tomcat1VIP_stop_0"
transition-key="16:32:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:0;16:32:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="70" last-run="1303207219" last-rc-change="1303207219"
exec-time="6430"/>
          </lrm_resource>
          <lrm_resource id="HttpdVIP" type="IPaddr3" class="ocf"
provider="heartbeat">
            <lrm_rsc_op id="HttpdVIP_monitor_0" operation="monitor"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="13:0:7:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:7;13:0:7:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="2" rc-code="7" op-status="0" interval="0" last-run="1303195950"
last-rc-change="1303195950" exec-time="130" queue-time="0"
op-digest="dd53bbba0ff9da01eaba2c9fef622447"/>
          </lrm_resource>
          <lrm_resource id="Httpd" type="apache" class="ocf"
provider="heartbeat">
            <lrm_rsc_op id="Httpd_monitor_0" operation="monitor"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="14:0:7:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:7;14:0:7:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="3" rc-code="7" op-status="0" interval="0" last-run="1303195950"
last-rc-change="1303195950" exec-time="160" queue-time="0"
op-digest="c9641d9803f5562a0f4e74e265fdf33d"/>
          </lrm_resource>
          <lrm_resource id="Tomcat2VIP" type="IPaddr3" class="ocf"
provider="heartbeat">
            <lrm_rsc_op id="Tomcat2VIP_monitor_0" operation="monitor"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="20:0:7:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:7;20:0:7:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="9" rc-code="7" op-status="0" interval="0" last-run="1303195951"
last-rc-change="1303195951" exec-time="30" queue-time="1010"
op-digest="a4aa7ec711bab94520a7321a4cc3407f"/>
            <lrm_rsc_op id="Tomcat2VIP_start_0" operation="start"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="46:1:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:0;46:1:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="10" rc-code="0" op-status="0" interval="0" last-run="1303195952"
last-rc-change="1303195952" exec-time="7010" queue-time="10"
op-digest="a4aa7ec711bab94520a7321a4cc3407f"/>
            <lrm_rsc_op id="Tomcat2VIP_monitor_30000" operation="monitor"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="50:2:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:0;50:2:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="12" rc-code="0" op-status="0" interval="30000"
last-run="1303195971" last-rc-change="1303195971" exec-time="120"
queue-time="0" op-digest="1bf2085dfcac56da328486d4406f8778"/>
          </lrm_resource>
          <lrm_resource id="Tomcat2" type="tomcat" class="ocf"
provider="msf">
            <lrm_rsc_op id="Tomcat2_monitor_0" operation="monitor"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="19:0:7:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:7;19:0:7:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="8" rc-code="7" op-status="0" interval="0" last-run="1303195951"
last-rc-change="1303195951" exec-time="100" queue-time="1010"
op-digest="a0d471cf2cc03dbc876691895455470d"/>
            <lrm_rsc_op id="Tomcat2_start_0" operation="start"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="46:2:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:0;46:2:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="11" rc-code="0" op-status="0" interval="0" last-run="1303195971"
last-rc-change="1303195971" exec-time="3490" queue-time="0"
op-digest="a0d471cf2cc03dbc876691895455470d"/>
            <lrm_rsc_op id="Tomcat2_monitor_50000" operation="monitor"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="53:3:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:0;53:3:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="16" rc-code="0" op-status="0" interval="50000"
last-run="1303195978" last-rc-change="1303195978" exec-time="100"
queue-time="0" op-digest="c4c3d0437202d1691cb1da9f9f57c91c"/>
          </lrm_resource>
          <lrm_resource type="mysql" class="ocf" provider="heartbeat"
id="Mysql:1">
            <lrm_rsc_op id="Mysql:1_monitor_0" operation="monitor"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="18:0:7:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:7;18:0:7:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="7" rc-code="7" op-status="0" interval="0" last-run="1303195951"
last-rc-change="1303195951" exec-time="100" queue-time="1010"
op-digest="932125359d1c755081106e266778dcbd"/>
            <lrm_rsc_op operation="start" crm_feature_set="3.0.1"
rc-code="0" op-status="0" interval="0" queue-time="0"
op-digest="932125359d1c755081106e266778dcbd" exec-time="4190"
id="Mysql:1_start_0"
transition-key="22:15:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:0;22:15:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="48" last-run="1303197653" last-rc-change="1303197653"/>
            <lrm_rsc_op operation="notify" crm_feature_set="3.0.1"
rc-code="0" op-status="0" interval="0" exec-time="30" queue-time="0"
op-digest="932125359d1c755081106e266778dcbd"
id="Mysql:1_post_notify_start_0"
transition-key="63:15:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:0;63:15:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="49" last-run="1303197659" last-rc-change="1303197659"/>
            <lrm_rsc_op operation="notify" crm_feature_set="3.0.1"
rc-code="0" op-status="0" interval="0" queue-time="0"
op-digest="932125359d1c755081106e266778dcbd"
id="Mysql:1_pre_notify_promote_0"
transition-key="72:16:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:0;72:16:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="51" last-run="1303197661" last-rc-change="1303197661"
exec-time="100"/>
            <lrm_rsc_op operation="notify" crm_feature_set="3.0.1"
rc-code="0" op-status="0" interval="0" exec-time="50" queue-time="0"
op-digest="932125359d1c755081106e266778dcbd"
id="Mysql:1_post_notify_promote_0"
transition-key="73:16:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:0;73:16:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="52" last-run="1303197662" last-rc-change="1303197662"/>
            <lrm_rsc_op operation="monitor" crm_feature_set="3.0.1"
rc-code="0" op-status="0" interval="12000" queue-time="0"
op-digest="282b206c37147b338449bf3cf06f0e42" id="Mysql:1_monitor_12000"
transition-key="29:17:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:0;29:17:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="55" last-run="1303197668" last-rc-change="1303197668"
exec-time="90"/>
            <lrm_rsc_op operation="notify" crm_feature_set="3.0.1"
rc-code="0" op-status="0" interval="0" queue-time="0"
op-digest="932125359d1c755081106e266778dcbd"
id="Mysql:1_pre_notify_demote_0"
transition-key="66:30:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:0;66:30:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="64" last-run="1303207204" last-rc-change="1303207204"
exec-time="70"/>
            <lrm_rsc_op operation="notify" crm_feature_set="3.0.1"
rc-code="0" op-status="0" interval="0" queue-time="0"
op-digest="932125359d1c755081106e266778dcbd" exec-time="110"
id="Mysql:1_post_notify_demote_0"
transition-key="67:30:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:0;67:30:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="65" last-run="1303207205" last-rc-change="1303207205"/>
            <lrm_rsc_op operation="notify" crm_feature_set="3.0.1"
rc-code="0" op-status="0" interval="0"
op-digest="932125359d1c755081106e266778dcbd" id="Mysql:1_pre_notify_stop_0"
transition-key="63:31:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:0;63:31:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="67" last-run="1303207206" last-rc-change="1303207206"
exec-time="30" queue-time="10"/>
            <lrm_rsc_op operation="stop" crm_feature_set="3.0.1" rc-code="0"
op-status="0" interval="0" queue-time="0"
op-digest="932125359d1c755081106e266778dcbd" id="Mysql:1_stop_0"
transition-key="23:31:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:0;23:31:0:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="69" last-run="1303207213" last-rc-change="1303207213"
exec-time="2090"/>
          </lrm_resource>
          <lrm_resource id="MysqlVIP" type="IPaddr3" class="ocf"
provider="heartbeat">
            <lrm_rsc_op id="MysqlVIP_monitor_0" operation="monitor"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="17:0:7:a356cb5d-9967-4536-a072-08ab31cf6a03"
transition-magic="0:7;17:0:7:a356cb5d-9967-4536-a072-08ab31cf6a03"
call-id="6" rc-code="7" op-status="0" interval="0" last-run="1303195951"
last-rc-change="1303195951" exec-time="120" queue-time="1000"
op-digest="c2e64819b2adc07985af2b7eb7c1f0af"/>
          </lrm_resource>
        </lrm_resources>
      </lrm>
      <transient_attributes id="6317f856-e57b-4a03-acf1-ca81af4f19ce">
        <instance_attributes
id="status-6317f856-e57b-4a03-acf1-ca81af4f19ce">
          <nvpair
id="status-6317f856-e57b-4a03-acf1-ca81af4f19ce-probe_complete"
name="probe_complete" value="true"/>
        </instance_attributes>
      </transient_attributes>
    </node_state>
  </status>
</cib>


Regards
Rakesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20110419/6c251d5d/attachment.htm>


More information about the Pacemaker mailing list