Re: Fencing of node

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Forgot to include cib.xml:

<cib epoch="17" num_updates="0" admin_epoch="0" validate-with="pacemaker-1.2" cib-last-written="Thu Oct  2 15:13:47 2014" update-origin="rh7cn1.devlab.sinenomine.net" update-client="cibadmin" crm_feature_set="3.0.7" have-quorum="1">
  <configuration>
    <crm_config>
      <cluster_property_set id="cib-bootstrap-options">
        <nvpair id="cib-bootstrap-options-dc-version" name="dc-version" value="1.1.10-29.el7-368c726"/>
        <nvpair id="cib-bootstrap-options-cluster-infrastructure" name="cluster-infrastructure" value="corosync"/>
        <nvpair id="cib-bootstrap-options-no-quorum-policy" name="no-quorum-policy" value="freeze"/>
      </cluster_property_set>
    </crm_config>
    <nodes>
      <node id="1" uname="rh7cn1.devlab.sinenomine.net"/>
      <node id="2" uname="rh7cn2.devlab.sinenomine.net"/>
    </nodes>
    <resources>
      <primitive class="stonith" id="ZVMPOWER" type="fence_zvm">
        <instance_attributes id="ZVMPOWER-instance_attributes">
          <nvpair id="ZVMPOWER-instance_attributes-ipaddr" name="ipaddr" value="VSMREQIU"/>
          <nvpair id="ZVMPOWER-instance_attributes-pcmk_host_map" name="pcmk_host_map" value="rh7cn1.devlab.sinenomine.net:RH7CN1;rh7cn2.devlab.sinenomine.net:RH7CN2"/>
          <nvpair id="ZVMPOWER-instance_attributes-pcmk_host_list" name="pcmk_host_list" value="rh7cn1.devlab.sinenomine.net;rh7cn2.devlab.sinenomine.net"/>
          <nvpair id="ZVMPOWER-instance_attributes-pcmk_host_check" name="pcmk_host_check" value="static-list"/>
        </instance_attributes>
        <operations>
          <op id="ZVMPOWER-monitor-interval-60s" interval="60s" name="monitor"/>
        </operations>
      </primitive>
      <clone id="dlm-clone">
        <primitive class="ocf" id="dlm" provider="pacemaker" type="controld">
          <instance_attributes id="dlm-instance_attributes"/>
          <operations>
            <op id="dlm-start-timeout-90" interval="0s" name="start" timeout="90"/>
            <op id="dlm-stop-timeout-100" interval="0s" name="stop" timeout="100"/>
            <op id="dlm-monitor-interval-30s" interval="30s" name="monitor" on-fail="fence"/>
          </operations>
        </primitive>
        <meta_attributes id="dlm-clone-meta">
          <nvpair id="dlm-interleave" name="interleave" value="true"/>
          <nvpair id="dlm-ordered" name="ordered" value="true"/>
        </meta_attributes>
      </clone>
      <clone id="clvmd-clone">
        <primitive class="ocf" id="clvmd" provider="heartbeat" type="clvm">
          <instance_attributes id="clvmd-instance_attributes"/>
          <operations>
            <op id="clvmd-start-timeout-90" interval="0s" name="start" timeout="90"/>
            <op id="clvmd-stop-timeout-90" interval="0s" name="stop" timeout="90"/>
            <op id="clvmd-monitor-interval-30s" interval="30s" name="monitor" on-fail="fence"/>
          </operations>
        </primitive>
        <meta_attributes id="clvmd-clone-meta">
          <nvpair id="clvmd-interleave" name="interleave" value="true"/>
          <nvpair id="clvmd-ordered" name="ordered" value="true"/>
        </meta_attributes>
      </clone>
      <clone id="clusterfs-clone">
        <primitive class="ocf" id="clusterfs" provider="heartbeat" type="Filesystem">
          <instance_attributes id="clusterfs-instance_attributes">
            <nvpair id="clusterfs-instance_attributes-device" name="device" value="/dev/vg_cluster/ha_lv"/>
            <nvpair id="clusterfs-instance_attributes-directory" name="directory" value="/mnt/gfs2-demo"/>
            <nvpair id="clusterfs-instance_attributes-fstype" name="fstype" value="gfs2"/>
            <nvpair id="clusterfs-instance_attributes-options" name="options" value="noatime"/>
          </instance_attributes>
          <operations>
            <op id="clusterfs-start-timeout-60" interval="0s" name="start" timeout="60"/>
            <op id="clusterfs-stop-timeout-60" interval="0s" name="stop" timeout="60"/>
            <op id="clusterfs-monitor-interval-10s" interval="10s" name="monitor" on-fail="fence"/>
          </operations>
        </primitive>
        <meta_attributes id="clusterfs-clone-meta">
          <nvpair id="clusterfs-interleave" name="interleave" value="true"/>
        </meta_attributes>
      </clone>
    </resources>
    <constraints>
      <rsc_order first="dlm-clone" first-action="start" id="order-dlm-clone-clvmd-clone-mandatory" then="clvmd-clone" then-action="start"/>
      <rsc_colocation id="colocation-clvmd-clone-dlm-clone-INFINITY" rsc="clvmd-clone" score="INFINITY" with-rsc="dlm-clone"/>
      <rsc_order first="clvmd-clone" first-action="start" id="order-clvmd-clone-clusterfs-clone-mandatory" then="clusterfs-clone" then-action="start"/>
      <rsc_colocation id="colocation-clusterfs-clone-clvmd-clone-INFINITY" rsc="clusterfs-clone" score="INFINITY" with-rsc="clvmd-clone"/>
    </constraints>
  </configuration>
</cib>

-- 
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster




[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux