[Pacemaker] Failover after fail on Ethernet Fails

Stefan Kelemen Stefan.Kelemen at gmx.de
Wed Apr 7 15:16:25 UTC 2010


-------- Original-Nachricht --------
> Datum: Wed, 7 Apr 2010 15:35:56 +0200
> Von: Andrew Beekhof <andrew at beekhof.net>
> An: The Pacemaker cluster resource manager <pacemaker at oss.clusterlabs.org>
> Betreff: Re: [Pacemaker] Failover after fail on Ethernet Fails

> On Wed, Apr 7, 2010 at 3:26 PM, Stefan Kelemen <Stefan.Kelemen at gmx.de>
> wrote:
> > Hello,
> > My Two Node Cluster
> > Debain 5/Pacemaker/Heartbeat aktual Madkiss and Backport Packets, Kernel
> 2.6.30
> > makes Failover fine, but when i disconnect the Ethernet Connection then
> show me the other Server "hey the other Node is gone" but hes do no
> migration of the Resources.
> 
> Logs? cibadmin -ql output?

CIB

server1:~# cibadmin --query --local
<cib validate-with="pacemaker-1.0" crm_feature_set="3.0.1" have-quorum="1" dc-uuid="5262f929-1082-4a85-aa05-7bd1992f15be" admin_epoch="0" epoch="166" num_updates="21">
  <configuration>
    <crm_config>
      <cluster_property_set id="cib-bootstrap-options">
        <nvpair id="cib-bootstrap-options-dc-version" name="dc-version" value="1.0.8-2c98138c2f070fcb6ddeab1084154cffbf44ba75"/>
        <nvpair id="cib-bootstrap-options-cluster-infrastructure" name="cluster-infrastructure" value="Heartbeat"/>
        <nvpair id="cib-bootstrap-options-no-quorum-policy" name="no-quorum-policy" value="ignore"/>
        <nvpair id="cib-bootstrap-options-default-resource-stickiness" name="default-resource-stickiness" value="1000"/>
        <nvpair name="last-lrm-refresh" id="cib-bootstrap-options-last-lrm-refresh" value="1270652695"/>
        <nvpair id="cib-bootstrap-options-startup-fencing" name="startup-fencing" value="false"/>
        <nvpair id="cib-bootstrap-options-stonith-enabled" name="stonith-enabled" value="false"/>
        <nvpair id="cib-bootstrap-options-default-action-timeout" name="default-action-timeout" value="120s"/>
      </cluster_property_set>
    </crm_config>
    <nodes>
      <node type="normal" uname="server1" id="3e20966a-ed64-4972-8f5a-88be0977f759">
        <instance_attributes id="nodes-3e20966a-ed64-4972-8f5a-88be0977f759">
          <nvpair name="standby" id="nodes-3e20966a-ed64-4972-8f5a-88be0977f759-standby" value="off"/>
        </instance_attributes>
      </node>
      <node type="normal" uname="server2" id="5262f929-1082-4a85-aa05-7bd1992f15be">
        <instance_attributes id="nodes-5262f929-1082-4a85-aa05-7bd1992f15be">
          <nvpair name="standby" id="nodes-5262f929-1082-4a85-aa05-7bd1992f15be-standby" value="off"/>
        </instance_attributes>
      </node>
    </nodes>
    <resources>
      <master id="ms_drbd_service">
        <meta_attributes id="ms_drbd_service-meta_attributes">
          <nvpair id="ms_drbd_service-meta_attributes-notify" name="notify" value="true"/>
        </meta_attributes>
        <primitive class="ocf" id="pri_drbd_Dienst" provider="linbit" type="drbd">
          <instance_attributes id="pri_drbd_Dienst-instance_attributes">
            <nvpair id="pri_drbd_Dienst-instance_attributes-drbd_resource" name="drbd_resource" value="t3"/>
          </instance_attributes>
          <operations>
            <op id="pri_drbd_Dienst-monitor-15" interval="15" name="monitor"/>
            <op id="pri_drbd_Dienst-start-0" interval="0" name="start" timeout="240"/>
            <op id="pri_drbd_Dienst-stop-0" interval="0" name="stop" timeout="100"/>
          </operations>
        </primitive>
      </master>
      <group id="group_t3">
        <primitive class="ocf" id="pri_FS_drbd_t3" provider="heartbeat" type="Filesystem">
          <instance_attributes id="pri_FS_drbd_t3-instance_attributes">
            <nvpair id="pri_FS_drbd_t3-instance_attributes-device" name="device" value="/dev/drbd0"/>
            <nvpair id="pri_FS_drbd_t3-instance_attributes-directory" name="directory" value="/mnt/drbd_daten"/>
            <nvpair id="pri_FS_drbd_t3-instance_attributes-fstype" name="fstype" value="ext3"/>
            <nvpair id="pri_FS_drbd_t3-instance_attributes-options" name="options" value="noatime"/>
          </instance_attributes>
        </primitive>
        <primitive class="ocf" id="pri_IP_Cluster" provider="heartbeat" type="IPaddr2">
          <instance_attributes id="pri_IP_Cluster-instance_attributes">
            <nvpair id="pri_IP_Cluster-instance_attributes-ip" name="ip" value="192.168.1.253"/>
            <nvpair id="pri_IP_Cluster-instance_attributes-cidr_netmask" name="cidr_netmask" value="24"/>
            <nvpair id="pri_IP_Cluster-instance_attributes-nic" name="nic" value="eth1"/>
          </instance_attributes>
        </primitive>
        <primitive class="ocf" id="pri_apache_Dienst" provider="heartbeat" type="apache">
          <operations>
            <op id="pri_apache_Dienst-monitor-15" interval="15" name="monitor"/>
          </operations>
          <instance_attributes id="pri_apache_Dienst-instance_attributes">
            <nvpair id="pri_apache_Dienst-instance_attributes-configfile" name="configfile" value="/etc/apache2/apache2.conf"/>
            <nvpair id="pri_apache_Dienst-instance_attributes-httpd" name="httpd" value="/usr/sbin/apache2"/>
            <nvpair id="pri_apache_Dienst-instance_attributes-port" name="port" value="80"/>
          </instance_attributes>
          <meta_attributes id="pri_apache_Dienst-meta_attributes">
            <nvpair id="pri_apache_Dienst-meta_attributes-target-role" name="target-role" value="started"/>
          </meta_attributes>
        </primitive>
        <meta_attributes id="group_t3-meta_attributes">
          <nvpair name="is-managed" id="group_t3-meta_attributes-is-managed" value="true"/>
        </meta_attributes>
      </group>
    </resources>
    <constraints>
      <rsc_colocation id="col_apache_after_drbd" rsc="group_t3" score="INFINITY" with-rsc="ms_drbd_service" with-rsc-role="Master"/>
      <rsc_order first="ms_drbd_service" first-action="promote" id="ord_apache_after_drbd" score="INFINITY" then="group_t3" then-action="start"/>
    </constraints>
    <rsc_defaults/>
    <op_defaults/>
  </configuration>
  <status>
    <node_state uname="server2" ha="active" in_ccm="true" crmd="online" expected="member" shutdown="0" join="member" id="5262f929-1082-4a85-aa05-7bd1992f15be">
      <transient_attributes id="5262f929-1082-4a85-aa05-7bd1992f15be">
        <instance_attributes id="status-5262f929-1082-4a85-aa05-7bd1992f15be">
          <nvpair id="status-5262f929-1082-4a85-aa05-7bd1992f15be-probe_complete" name="probe_complete" value="true"/>
          <nvpair id="status-5262f929-1082-4a85-aa05-7bd1992f15be-master-pri_drbd_Dienst:0" name="master-pri_drbd_Dienst:0" value="10000"/>
          <nvpair id="status-5262f929-1082-4a85-aa05-7bd1992f15be-last-failure-pri_drbd_Dienst:1" name="last-failure-pri_drbd_Dienst:1" value="1270652335"/>
        </instance_attributes>
      </transient_attributes>
      <lrm id="5262f929-1082-4a85-aa05-7bd1992f15be">
        <lrm_resources>
          <lrm_resource id="pri_apache_Dienst" type="apache" class="ocf" provider="heartbeat">
            <lrm_rsc_op id="pri_apache_Dienst_monitor_0" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="12:0:7:309da05c-4754-4f15-9a95-4b8b34730b7f" transition-magic="0:7;12:0:7:309da05c-4754-4f15-9a95-4b8b34730b7f" call-id="5" rc-code="7" op-status="0" interval="0" last-run="1270651694" last-rc-change="1270651694" exec-time="670" queue-time="0" op-digest="592a5e45deff3022dc73ad2b8b690624"/>
            <lrm_rsc_op id="pri_apache_Dienst_start_0" operation="start" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="44:32:0:309da05c-4754-4f15-9a95-4b8b34730b7f" transition-magic="0:0;44:32:0:309da05c-4754-4f15-9a95-4b8b34730b7f" call-id="48" rc-code="0" op-status="0" interval="0" last-run="1270652724" last-rc-change="1270652724" exec-time="750" queue-time="0" op-digest="592a5e45deff3022dc73ad2b8b690624"/>
            <lrm_rsc_op id="pri_apache_Dienst_monitor_15000" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="45:32:0:309da05c-4754-4f15-9a95-4b8b34730b7f" transition-magic="0:0;45:32:0:309da05c-4754-4f15-9a95-4b8b34730b7f" call-id="49" rc-code="0" op-status="0" interval="15000" last-run="1270652891" last-rc-change="1270652725" exec-time="140" queue-time="0" op-digest="80b94a8e74a4ac7d41102e0b2bec9129"/>
          </lrm_resource>
          <lrm_resource id="pri_IP_Cluster" type="IPaddr2" class="ocf" provider="heartbeat">
            <lrm_rsc_op id="pri_IP_Cluster_monitor_0" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="11:0:7:309da05c-4754-4f15-9a95-4b8b34730b7f" transition-magic="0:7;11:0:7:309da05c-4754-4f15-9a95-4b8b34730b7f" call-id="4" rc-code="7" op-status="0" interval="0" last-run="1270651694" last-rc-change="1270651694" exec-time="300" queue-time="0" op-digest="ab9506a065e05252980696cd889aac20"/>
            <lrm_rsc_op id="pri_IP_Cluster_start_0" operation="start" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="42:32:0:309da05c-4754-4f15-9a95-4b8b34730b7f" transition-magic="0:0;42:32:0:309da05c-4754-4f15-9a95-4b8b34730b7f" call-id="47" rc-code="0" op-status="0" interval="0" last-run="1270652723" last-rc-change="1270652723" exec-time="70" queue-time="0" op-digest="ab9506a065e05252980696cd889aac20"/>
          </lrm_resource>
          <lrm_resource type="drbd" class="ocf" provider="linbit" id="pri_drbd_Dienst:0">
            <lrm_rsc_op id="pri_drbd_Dienst:0_start_0" operation="start" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="6:25:0:309da05c-4754-4f15-9a95-4b8b34730b7f" transition-magic="0:0;6:25:0:309da05c-4754-4f15-9a95-4b8b34730b7f" call-id="36" rc-code="0" op-status="0" interval="0" last-run="1270652689" last-rc-change="1270652689" exec-time="60" queue-time="0" op-digest="da70ef5b9aed870d7c0944ce6ee989e2"/>
            <lrm_rsc_op id="pri_drbd_Dienst:0_promote_0" operation="promote" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="10:32:0:309da05c-4754-4f15-9a95-4b8b34730b7f" transition-magic="0:0;10:32:0:309da05c-4754-4f15-9a95-4b8b34730b7f" call-id="44" rc-code="0" op-status="0" interval="0" last-run="1270652722" last-rc-change="1270652722" exec-time="90" queue-time="0" op-digest="da70ef5b9aed870d7c0944ce6ee989e2"/>
            <lrm_rsc_op id="pri_drbd_Dienst:0_post_notify_promote_0" operation="notify" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="62:32:0:309da05c-4754-4f15-9a95-4b8b34730b7f" transition-magic="0:0;62:32:0:309da05c-4754-4f15-9a95-4b8b34730b7f" call-id="45" rc-code="0" op-status="0" interval="0" last-run="1270652722" last-rc-change="1270652722" exec-time="70" queue-time="0" op-digest="da70ef5b9aed870d7c0944ce6ee989e2"/>
            <lrm_rsc_op operation="notify" crm_feature_set="3.0.1" rc-code="0" op-status="0" interval="0" queue-time="0" op-digest="da70ef5b9aed870d7c0944ce6ee989e2" id="pri_drbd_Dienst:0_pre_notify_demote_0" transition-key="61:36:0:309da05c-4754-4f15-9a95-4b8b34730b7f" transition-magic="0:0;61:36:0:309da05c-4754-4f15-9a95-4b8b34730b7f" call-id="51" last-run="1270652914" last-rc-change="1270652914" exec-time="50"/>
            <lrm_rsc_op id="pri_drbd_Dienst:0_post_notify_demote_0" operation="notify" crm-debug-origin="do_update_resource" crm_feature_set="3.0.1" transition-key="62:36:0:309da05c-4754-4f15-9a95-4b8b34730b7f" transition-magic="0:0;62:36:0:309da05c-4754-4f15-9a95-4b8b34730b7f" call-id="52" rc-code="0" op-status="0" interval="0" last-run="1270652916" last-rc-change="1270652916" exec-time="70" queue-time="0" op-digest="da70ef5b9aed870d7c0944ce6ee989e2"/>
            <lrm_rsc_op id="pri_drbd_Dienst:0_pre_notify_stop_0" operation="notify" crm-debug-origin="do_update_resource" crm_feature_set="3.0.1" transition-key="54:36:0:309da05c-4754-4f15-9a95-4b8b34730b7f" transition-magic="0:0;54:36:0:309da05c-4754-4f15-9a95-4b8b34730b7f" call-id="53" rc-code="0" op-status="0" interval="0" last-run="1270652917" last-rc-change="1270652917" exec-time="80" queue-time="0" op-digest="da70ef5b9aed870d7c0944ce6ee989e2"/>
            <lrm_rsc_op id="pri_drbd_Dienst:0_post_notify_stop_0" operation="notify" crm-debug-origin="do_update_resource" crm_feature_set="3.0.1" transition-key="55:36:0:309da05c-4754-4f15-9a95-4b8b34730b7f" transition-magic="0:0;55:36:0:309da05c-4754-4f15-9a95-4b8b34730b7f" call-id="54" rc-code="0" op-status="0" interval="0" last-run="1270652919" last-rc-change="1270652919" exec-time="110" queue-time="0" op-digest="da70ef5b9aed870d7c0944ce6ee989e2"/>
            <lrm_rsc_op id="pri_drbd_Dienst:0_pre_notify_start_0" operation="notify" crm-debug-origin="do_update_resource" crm_feature_set="3.0.1" transition-key="51:37:0:309da05c-4754-4f15-9a95-4b8b34730b7f" transition-magic="0:0;51:37:0:309da05c-4754-4f15-9a95-4b8b34730b7f" call-id="55" rc-code="0" op-status="0" interval="0" last-run="1270652919" last-rc-change="1270652919" exec-time="60" queue-time="0" op-digest="da70ef5b9aed870d7c0944ce6ee989e2"/>
            <lrm_rsc_op id="pri_drbd_Dienst:0_post_notify_start_0" operation="notify" crm-debug-origin="do_update_resource" crm_feature_set="3.0.1" transition-key="52:37:0:309da05c-4754-4f15-9a95-4b8b34730b7f" transition-magic="0:0;52:37:0:309da05c-4754-4f15-9a95-4b8b34730b7f" call-id="56" rc-code="0" op-status="0" interval="0" last-run="1270652921" last-rc-change="1270652921" exec-time="70" queue-time="0" op-digest="da70ef5b9aed870d7c0944ce6ee989e2"/>
          </lrm_resource>
          <lrm_resource id="pri_FS_drbd_t3" type="Filesystem" class="ocf" provider="heartbeat">
            <lrm_rsc_op id="pri_FS_drbd_t3_monitor_0" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="10:0:7:309da05c-4754-4f15-9a95-4b8b34730b7f" transition-magic="0:7;10:0:7:309da05c-4754-4f15-9a95-4b8b34730b7f" call-id="3" rc-code="7" op-status="0" interval="0" last-run="1270651694" last-rc-change="1270651694" exec-time="220" queue-time="0" op-digest="0948723f8c5b98b0d6330e30199bfe83"/>
            <lrm_rsc_op id="pri_FS_drbd_t3_start_0" operation="start" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="40:32:0:309da05c-4754-4f15-9a95-4b8b34730b7f" transition-magic="0:0;40:32:0:309da05c-4754-4f15-9a95-4b8b34730b7f" call-id="46" rc-code="0" op-status="0" interval="0" last-run="1270652723" last-rc-change="1270652723" exec-time="280" queue-time="0" op-digest="0948723f8c5b98b0d6330e30199bfe83"/>
          </lrm_resource>
        </lrm_resources>
      </lrm>
    </node_state>
    <node_state uname="server1" ha="active" in_ccm="true" crmd="online" join="member" expected="member" shutdown="0" id="3e20966a-ed64-4972-8f5a-88be0977f759">
      <transient_attributes id="3e20966a-ed64-4972-8f5a-88be0977f759">
        <instance_attributes id="status-3e20966a-ed64-4972-8f5a-88be0977f759">
          <nvpair id="status-3e20966a-ed64-4972-8f5a-88be0977f759-probe_complete" name="probe_complete" value="true"/>
          <nvpair id="status-3e20966a-ed64-4972-8f5a-88be0977f759-last-failure-pri_drbd_Dienst:0" name="last-failure-pri_drbd_Dienst:0" value="1270652285"/>
          <nvpair id="status-3e20966a-ed64-4972-8f5a-88be0977f759-master-pri_drbd_Dienst:1" name="master-pri_drbd_Dienst:1" value="10000"/>
        </instance_attributes>
      </transient_attributes>
      <lrm id="3e20966a-ed64-4972-8f5a-88be0977f759">
        <lrm_resources>
          <lrm_resource id="pri_apache_Dienst" type="apache" class="ocf" provider="heartbeat">
            <lrm_rsc_op id="pri_apache_Dienst_monitor_0" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="7:0:7:309da05c-4754-4f15-9a95-4b8b34730b7f" transition-magic="0:7;7:0:7:309da05c-4754-4f15-9a95-4b8b34730b7f" call-id="5" rc-code="7" op-status="0" interval="0" last-run="1270651695" last-rc-change="1270651695" exec-time="440" queue-time="0" op-digest="592a5e45deff3022dc73ad2b8b690624"/>
            <lrm_rsc_op id="pri_apache_Dienst_start_0" operation="start" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="41:31:0:309da05c-4754-4f15-9a95-4b8b34730b7f" transition-magic="0:0;41:31:0:309da05c-4754-4f15-9a95-4b8b34730b7f" call-id="55" rc-code="0" op-status="0" interval="0" last-run="1270652698" last-rc-change="1270652698" exec-time="270" queue-time="0" op-digest="592a5e45deff3022dc73ad2b8b690624"/>
            <lrm_rsc_op id="pri_apache_Dienst_stop_0" operation="stop" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="43:32:0:309da05c-4754-4f15-9a95-4b8b34730b7f" transition-magic="0:0;43:32:0:309da05c-4754-4f15-9a95-4b8b34730b7f" call-id="57" rc-code="0" op-status="0" interval="0" last-run="1270652715" last-rc-change="1270652715" exec-time="1320" queue-time="0" op-digest="592a5e45deff3022dc73ad2b8b690624"/>
          </lrm_resource>
          <lrm_resource id="pri_IP_Cluster" type="IPaddr2" class="ocf" provider="heartbeat">
            <lrm_rsc_op id="pri_IP_Cluster_monitor_0" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="6:0:7:309da05c-4754-4f15-9a95-4b8b34730b7f" transition-magic="0:7;6:0:7:309da05c-4754-4f15-9a95-4b8b34730b7f" call-id="4" rc-code="7" op-status="0" interval="0" last-run="1270651695" last-rc-change="1270651695" exec-time="340" queue-time="0" op-digest="ab9506a065e05252980696cd889aac20"/>
            <lrm_rsc_op id="pri_IP_Cluster_start_0" operation="start" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="39:19:0:309da05c-4754-4f15-9a95-4b8b34730b7f" transition-magic="0:0;39:19:0:309da05c-4754-4f15-9a95-4b8b34730b7f" call-id="42" rc-code="0" op-status="0" interval="0" last-run="1270652477" last-rc-change="1270652477" exec-time="100" queue-time="0" op-digest="ab9506a065e05252980696cd889aac20"/>
            <lrm_rsc_op id="pri_IP_Cluster_stop_0" operation="stop" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="41:32:0:309da05c-4754-4f15-9a95-4b8b34730b7f" transition-magic="0:0;41:32:0:309da05c-4754-4f15-9a95-4b8b34730b7f" call-id="59" rc-code="0" op-status="0" interval="0" last-run="1270652717" last-rc-change="1270652717" exec-time="100" queue-time="0" op-digest="ab9506a065e05252980696cd889aac20"/>
          </lrm_resource>
          <lrm_resource type="drbd" class="ocf" provider="linbit" id="pri_drbd_Dienst:1">
            <lrm_rsc_op id="pri_drbd_Dienst:1_monitor_0" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="6:30:7:309da05c-4754-4f15-9a95-4b8b34730b7f" transition-magic="0:8;6:30:7:309da05c-4754-4f15-9a95-4b8b34730b7f" call-id="53" rc-code="8" op-status="0" interval="0" last-run="1270652696" last-rc-change="1270652696" exec-time="270" queue-time="0" op-digest="da70ef5b9aed870d7c0944ce6ee989e2"/>
            <lrm_rsc_op operation="demote" crm_feature_set="3.0.1" rc-code="0" op-status="0" interval="0" queue-time="0" op-digest="da70ef5b9aed870d7c0944ce6ee989e2" id="pri_drbd_Dienst:1_demote_0" transition-key="11:36:0:309da05c-4754-4f15-9a95-4b8b34730b7f" transition-magic="0:0;11:36:0:309da05c-4754-4f15-9a95-4b8b34730b7f" call-id="70" last-run="1270652915" last-rc-change="1270652915" exec-time="80"/>
            <lrm_rsc_op id="pri_drbd_Dienst:1_pre_notify_promote_0" operation="notify" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="54:0:0:3074482f-1db8-433e-955c-486e92d0a35c" transition-magic="0:0;54:0:0:3074482f-1db8-433e-955c-486e92d0a35c" call-id="66" rc-code="0" op-status="0" interval="0" last-run="1270652793" last-rc-change="1270652793" exec-time="140" queue-time="0" op-digest="da70ef5b9aed870d7c0944ce6ee989e2"/>
            <lrm_rsc_op operation="promote" crm_feature_set="3.0.1" transition-key="8:0:0:3074482f-1db8-433e-955c-486e92d0a35c" call-id="67" interval="0" op-digest="da70ef5b9aed870d7c0944ce6ee989e2" id="pri_drbd_Dienst:1_promote_0" transition-magic="2:-2;8:0:0:3074482f-1db8-433e-955c-486e92d0a35c" rc-code="-2" op-status="2" last-run="1270652793" last-rc-change="1270652914" exec-time="120020" queue-time="0"/>
            <lrm_rsc_op operation="notify" crm_feature_set="3.0.1" rc-code="0" op-status="0" interval="0" op-digest="da70ef5b9aed870d7c0944ce6ee989e2" id="pri_drbd_Dienst:1_pre_notify_demote_0" transition-key="63:36:0:309da05c-4754-4f15-9a95-4b8b34730b7f" transition-magic="0:0;63:36:0:309da05c-4754-4f15-9a95-4b8b34730b7f" call-id="69" last-run="1270652915" last-rc-change="1270652915" exec-time="140" queue-time="0"/>
            <lrm_rsc_op id="pri_drbd_Dienst:1_post_notify_demote_0" operation="notify" crm-debug-origin="do_update_resource" crm_feature_set="3.0.1" transition-key="64:36:0:309da05c-4754-4f15-9a95-4b8b34730b7f" transition-magic="0:0;64:36:0:309da05c-4754-4f15-9a95-4b8b34730b7f" call-id="71" rc-code="0" op-status="0" interval="0" last-run="1270652916" last-rc-change="1270652916" exec-time="130" queue-time="0" op-digest="da70ef5b9aed870d7c0944ce6ee989e2"/>
            <lrm_rsc_op id="pri_drbd_Dienst:1_pre_notify_stop_0" operation="notify" crm-debug-origin="do_update_resource" crm_feature_set="3.0.1" transition-key="56:36:0:309da05c-4754-4f15-9a95-4b8b34730b7f" transition-magic="0:0;56:36:0:309da05c-4754-4f15-9a95-4b8b34730b7f" call-id="72" rc-code="0" op-status="0" interval="0" last-run="1270652917" last-rc-change="1270652917" exec-time="100" queue-time="10" op-digest="da70ef5b9aed870d7c0944ce6ee989e2"/>
            <lrm_rsc_op id="pri_drbd_Dienst:1_stop_0" operation="stop" crm-debug-origin="do_update_resource" crm_feature_set="3.0.1" transition-key="2:36:0:309da05c-4754-4f15-9a95-4b8b34730b7f" transition-magic="0:0;2:36:0:309da05c-4754-4f15-9a95-4b8b34730b7f" call-id="73" rc-code="0" op-status="0" interval="0" last-run="1270652918" last-rc-change="1270652918" exec-time="180" queue-time="0" op-digest="da70ef5b9aed870d7c0944ce6ee989e2"/>
            <lrm_rsc_op id="pri_drbd_Dienst:1_start_0" operation="start" crm-debug-origin="do_update_resource" crm_feature_set="3.0.1" transition-key="10:37:0:309da05c-4754-4f15-9a95-4b8b34730b7f" transition-magic="0:0;10:37:0:309da05c-4754-4f15-9a95-4b8b34730b7f" call-id="74" rc-code="0" op-status="0" interval="0" last-run="1270652920" last-rc-change="1270652920" exec-time="280" queue-time="0" op-digest="da70ef5b9aed870d7c0944ce6ee989e2"/>
            <lrm_rsc_op id="pri_drbd_Dienst:1_post_notify_start_0" operation="notify" crm-debug-origin="do_update_resource" crm_feature_set="3.0.1" transition-key="53:37:0:309da05c-4754-4f15-9a95-4b8b34730b7f" transition-magic="0:0;53:37:0:309da05c-4754-4f15-9a95-4b8b34730b7f" call-id="75" rc-code="0" op-status="0" interval="0" last-run="1270652921" last-rc-change="1270652921" exec-time="100" queue-time="0" op-digest="da70ef5b9aed870d7c0944ce6ee989e2"/>
            <lrm_rsc_op id="pri_drbd_Dienst:1_monitor_15000" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.1" transition-key="11:37:0:309da05c-4754-4f15-9a95-4b8b34730b7f" transition-magic="0:0;11:37:0:309da05c-4754-4f15-9a95-4b8b34730b7f" call-id="76" rc-code="0" op-status="0" interval="15000" last-run="1270652922" last-rc-change="1270652922" exec-time="100" queue-time="0" op-digest="82e7d06ad00dbd29aac6fdebba6ba8b0"/>
          </lrm_resource>
          <lrm_resource id="pri_FS_drbd_t3" type="Filesystem" class="ocf" provider="heartbeat">
            <lrm_rsc_op id="pri_FS_drbd_t3_monitor_0" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="5:0:7:309da05c-4754-4f15-9a95-4b8b34730b7f" transition-magic="0:7;5:0:7:309da05c-4754-4f15-9a95-4b8b34730b7f" call-id="3" rc-code="7" op-status="0" interval="0" last-run="1270651695" last-rc-change="1270651695" exec-time="250" queue-time="0" op-digest="0948723f8c5b98b0d6330e30199bfe83"/>
            <lrm_rsc_op id="pri_FS_drbd_t3_start_0" operation="start" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="37:18:0:309da05c-4754-4f15-9a95-4b8b34730b7f" transition-magic="0:0;37:18:0:309da05c-4754-4f15-9a95-4b8b34730b7f" call-id="41" rc-code="0" op-status="0" interval="0" last-run="1270652476" last-rc-change="1270652476" exec-time="290" queue-time="0" op-digest="0948723f8c5b98b0d6330e30199bfe83"/>
            <lrm_rsc_op id="pri_FS_drbd_t3_stop_0" operation="stop" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1" transition-key="39:32:0:309da05c-4754-4f15-9a95-4b8b34730b7f" transition-magic="0:0;39:32:0:309da05c-4754-4f15-9a95-4b8b34730b7f" call-id="60" rc-code="0" op-status="0" interval="0" last-run="1270652718" last-rc-change="1270652718" exec-time="140" queue-time="0" op-digest="0948723f8c5b98b0d6330e30199bfe83"/>
          </lrm_resource>
        </lrm_resources>
      </lrm>
    </node_state>
  </status>
</cib>


> 
> >
> > ------------------------
> >
> > My Config in Simple look
> >
> > node $id="3e20966a-ed64-4972-8f5a-88be0977f759" server1 \
> >        attributes standby="off"
> > node $id="5262f929-1082-4a85-aa05-7bd1992f15be" server2 \
> >        attributes standby="off"
> > primitive pri_FS_drbd_t3 ocf:heartbeat:Filesystem \
> >        params device="/dev/drbd0" directory="/mnt/drbd_daten"
> fstype="ext3" options="noatime"
> > primitive pri_IP_Cluster ocf:heartbeat:IPaddr2 \
> >        params ip="192.168.1.253" cidr_netmask="24" nic="eth1"
> > primitive pri_apache_Dienst ocf:heartbeat:apache \
> >        op monitor interval="15" \
> >        params configfile="/etc/apache2/apache2.conf"
> httpd="/usr/sbin/apache2" port="80" \
> >        meta target-role="started"
> > primitive pri_drbd_Dienst ocf:linbit:drbd \
> >        params drbd_resource="t3" \
> >        op monitor interval="15" \
> >        op start interval="0" timeout="240" \
> >        op stop interval="0" timeout="100"
> > group group_t3 pri_FS_drbd_t3 pri_IP_Cluster pri_apache_Dienst
> > ms ms_drbd_service pri_drbd_Dienst \
> >        meta notify="true"
> > colocation col_apache_after_drbd inf: group_t3 ms_drbd_service:Master
> > order ord_apache_after_drbd inf: ms_drbd_service:promote group_t3:start
> > property $id="cib-bootstrap-options" \
> >        dc-version="1.0.8-2c98138c2f070fcb6ddeab1084154cffbf44ba75" \
> >        cluster-infrastructure="Heartbeat" \
> >        no-quorum-policy="ignore" \
> >        default-resource-stickiness="1000" \
> >        last-lrm-refresh="1270557498" \
> >        startup-fencing="false" \
> >        stonith-enabled="false" \
> >        default-action-timeout="120s"
> >
> >
> > Regards Stefan Kelemen
> >
> > --
> > GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
> > Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
> >
> > _______________________________________________
> > Pacemaker mailing list
> > Pacemaker at oss.clusterlabs.org
> > http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> >
> 
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker

-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01




More information about the Pacemaker mailing list