diff options
Diffstat (limited to 'cts/scheduler/xml/promoted-pseudo.xml')
-rw-r--r-- | cts/scheduler/xml/promoted-pseudo.xml | 133 |
1 files changed, 133 insertions, 0 deletions
diff --git a/cts/scheduler/xml/promoted-pseudo.xml b/cts/scheduler/xml/promoted-pseudo.xml new file mode 100644 index 0000000..4c1c133 --- /dev/null +++ b/cts/scheduler/xml/promoted-pseudo.xml @@ -0,0 +1,133 @@ +<cib validate-with="pacemaker-3.7" crm_feature_set="3.0.1" have-quorum="1" dc-uuid="raki.linbit" admin_epoch="0" epoch="170" num_updates="15" cib-last-written="Fri Jul 13 13:51:08 2012"> + <configuration> + <crm_config> + <cluster_property_set id="cib-bootstrap-options"> + <nvpair id="cib-bootstrap-options-dc-version" name="dc-version" value="1.0.5-462f1569a43740667daf7b0f6b521742e9eb8fa7"/> + <nvpair id="cib-bootstrap-options-cluster-infrastructure" name="cluster-infrastructure" value="corosync"/> + <nvpair id="cib-bootstrap-options-stonith-enabled" name="stonith-enabled" value="false"/> + <nvpair name="last-lrm-refresh" id="cib-bootstrap-options-last-lrm-refresh" value="1252936429"/> + </cluster_property_set> + </crm_config> + <nodes> + <node uname="raki.linbit" type="member" id="raki.linbit"> + <instance_attributes id="nodes-raki.linbit"> + <nvpair name="standby" id="nodes-raki.linbit-standby" value="on"/> + </instance_attributes> + </node> + <node uname="sambuca.linbit" type="member" id="sambuca.linbit"> + <instance_attributes id="nodes-sambuca.linbit"> + <nvpair name="standby" id="nodes-sambuca.linbit-standby" value="off"/> + </instance_attributes> + </node> + </nodes> + <resources> + <primitive class="ocf" id="ip_float_right" provider="heartbeat" type="IPaddr2"> + <instance_attributes id="ip_float_right-instance_attributes"> + <nvpair id="ip_float_right-instance_attributes-nic" name="nic" value="eth0"/> + <nvpair id="ip_float_right-instance_attributes-ip" name="ip" value="192.168.42.124"/> + <nvpair id="ip_float_right-instance_attributes-cidr_netmask" name="cidr_netmask" value="24"/> + </instance_attributes> + </primitive> + <clone id="ms_drbd_float"> + <meta_attributes id="ms_drbd_float-meta_attributes"> + <nvpair id="ms_dbrd-float-meta_attributes-promotable" name="promotable" value="true"/> + <nvpair id="ms_drbd_float-meta_attributes-promoted-max" name="promoted-max" value="1"/> + <nvpair id="ms_drbd_float-meta_attributes-clone-max" name="clone-max" value="1"/> + <nvpair id="ms_drbd_float-meta_attributes-clone-node-max" name="clone-node-max" value="1"/> + <nvpair id="ms_drbd_float-meta_attributes-promoted-node-max" name="promoted-node-max" value="1"/> + <nvpair id="ms_drbd_float-meta_attributes-notify" name="notify" value="true"/> + <nvpair id="ms_drbd_float-meta_attributes-target-role" name="target-role" value="Promoted"/> + <nvpair id="ms_drbd_float-meta_attributes-interleave" name="interleave" value="true"/> + </meta_attributes> + <primitive class="ocf" id="drbd_float" provider="linbit" type="drbd"> + <instance_attributes id="drbd_float-instance_attributes"> + <nvpair id="drbd_float-instance_attributes-drbd_resource" name="drbd_resource" value="float"/> + </instance_attributes> + </primitive> + </clone> + <group id="nfsexport"> + <meta_attributes id="nfsexport-meta_attributes"> + <nvpair id="nfsexport-meta_attributes-ordered" name="ordered" value="true"/> + <nvpair id="nfsexport-meta_attributes-collocated" name="collocated" value="true"/> + <nvpair name="target-role" id="nfsexport-meta_attributes-target-role" value="Started"/> + </meta_attributes> + <primitive class="ocf" id="ip_nfs" provider="heartbeat" type="IPaddr2"> + <instance_attributes id="ip_nfs-instance_attributes"> + <nvpair id="ip_nfs-instance_attributes-ip" name="ip" value="10.9.9.180"/> + <nvpair id="ip_nfs-instance_attributes-nic" name="nic" value="eth0"/> + <nvpair id="ip_nfs-instance_attributes-cidr_netmask" name="cidr_netmask" value="24"/> + </instance_attributes> + </primitive> + <primitive class="ocf" id="fs_float" provider="heartbeat" type="Filesystem"> + <instance_attributes id="fs_float-instance_attributes"> + <nvpair id="fs_float-instance_attributes-device" name="device" value="/dev/drbd/by-res/float"/> + <nvpair id="fs_float-instance_attributes-directory" name="directory" value="/mnt"/> + <nvpair id="fs_float-instance_attributes-fstype" name="fstype" value="ext3"/> + <nvpair id="fs_float-instance_attributes-options" name="options" value="noatime"/> + </instance_attributes> + </primitive> + </group> + </resources> + <constraints> + <rsc_colocation id="drbd_on_right" rsc="ms_drbd_float" score="INFINITY" with-rsc="ip_float_right"/> + <rsc_order first="ip_float_right" id="right_before_drbd" then="ms_drbd_float"/> + <rsc_colocation score="INFINITY" with-rsc="ms_drbd_float" with-rsc-role="Promoted" id="fs_on_drbd" rsc="nfsexport"/> + <rsc_order first="ms_drbd_float" first-action="promote" id="drbd_before_fs" then="nfsexport" then-action="start"/> + </constraints> + <rsc_defaults/> + <op_defaults/> + </configuration> + <status> + <node_state uname="raki.linbit" ha="active" in_ccm="true" crmd="online" join="member" expected="member" shutdown="0" id="raki.linbit"> + <lrm id="raki.linbit"> + <lrm_resources> + <lrm_resource type="IPaddr2" class="ocf" provider="heartbeat" id="ip_float_right"> + <lrm_rsc_op id="ip_float_right_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.1" transition-key="4:0:7:0710a5a7-7d27-4653-8b24-ba32e856525b" transition-magic="0:7;4:0:7:0710a5a7-7d27-4653-8b24-ba32e856525b" call-id="2" rc-code="7" op-status="0" interval="0" last-run="1252936276" last-rc-change="1252936276" exec-time="80" queue-time="0" op-digest="9a14fc4f812b90c78f68c271dd42d523"/> + </lrm_resource> + <lrm_resource type="drbd" class="ocf" provider="linbit" id="drbd_float:0"> + <lrm_rsc_op id="drbd_float:0_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.1" transition-key="5:0:7:0710a5a7-7d27-4653-8b24-ba32e856525b" transition-magic="0:7;5:0:7:0710a5a7-7d27-4653-8b24-ba32e856525b" call-id="3" rc-code="7" op-status="0" interval="0" last-run="1252936276" last-rc-change="1252936276" exec-time="50" queue-time="0" op-digest="1999b0895c25e1726b8f7e173cb3fd3a"/> + </lrm_resource> + <lrm_resource id="ip_nfs" type="IPaddr2" class="ocf" provider="heartbeat"> + <lrm_rsc_op id="ip_nfs_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.1" transition-key="4:13:7:0710a5a7-7d27-4653-8b24-ba32e856525b" transition-magic="0:7;4:13:7:0710a5a7-7d27-4653-8b24-ba32e856525b" call-id="29" rc-code="7" op-status="0" interval="0" last-run="1252936425" last-rc-change="1252936425" exec-time="60" queue-time="0" op-digest="27689e651ac1ebac5dc425f53d9195e6"/> + </lrm_resource> + <lrm_resource id="fs_float" type="Filesystem" class="ocf" provider="heartbeat"> + <lrm_rsc_op id="fs_float_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.1" transition-key="4:14:7:0710a5a7-7d27-4653-8b24-ba32e856525b" transition-magic="0:7;4:14:7:0710a5a7-7d27-4653-8b24-ba32e856525b" call-id="30" rc-code="7" op-status="0" interval="0" last-run="1252936426" last-rc-change="1252936426" exec-time="80" queue-time="0" op-digest="efe1e6bec63eb3b7c686f2fdb509e225"/> + </lrm_resource> + </lrm_resources> + </lrm> + <transient_attributes id="raki.linbit"> + <instance_attributes id="status-raki.linbit"> + <nvpair id="status-raki.linbit-probe_complete" name="probe_complete" value="true"/> + <nvpair id="status-raki.linbit-last-failure-fs_float" name="last-failure-fs_float" value="1252936278"/> + </instance_attributes> + </transient_attributes> + </node_state> + <node_state uname="sambuca.linbit" ha="active" in_ccm="true" crmd="online" join="member" expected="member" shutdown="0" id="sambuca.linbit"> + <lrm id="sambuca.linbit"> + <lrm_resources> + <lrm_resource type="IPaddr2" class="ocf" provider="heartbeat" id="ip_float_right"> + <lrm_rsc_op id="ip_float_right_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.1" transition-key="9:0:7:0710a5a7-7d27-4653-8b24-ba32e856525b" transition-magic="0:7;9:0:7:0710a5a7-7d27-4653-8b24-ba32e856525b" call-id="2" rc-code="7" op-status="0" interval="0" last-run="1252936276" last-rc-change="1252936276" exec-time="70" queue-time="0" op-digest="9a14fc4f812b90c78f68c271dd42d523"/> + </lrm_resource> + <lrm_resource type="drbd" class="ocf" provider="linbit" id="drbd_float:0"> + <lrm_rsc_op id="drbd_float:0_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.1" transition-key="10:0:7:0710a5a7-7d27-4653-8b24-ba32e856525b" transition-magic="0:7;10:0:7:0710a5a7-7d27-4653-8b24-ba32e856525b" call-id="3" rc-code="7" op-status="0" interval="0" last-run="1252936277" last-rc-change="1252936277" exec-time="60" queue-time="0" op-digest="1999b0895c25e1726b8f7e173cb3fd3a"/> + <lrm_rsc_op id="drbd_float:0_start_0" operation="start" crm-debug-origin="crm_simulate" crm_feature_set="3.0.5" transition-key="4:-1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" transition-magic="0:0;4:-1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" call-id="4" rc-code="0" op-status="0" interval="0" op-digest="1999b0895c25e1726b8f7e173cb3fd3a"/> + </lrm_resource> + <lrm_resource id="ip_nfs" type="IPaddr2" class="ocf" provider="heartbeat"> + <lrm_rsc_op id="ip_nfs_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.1" transition-key="5:16:7:0710a5a7-7d27-4653-8b24-ba32e856525b" transition-magic="0:7;5:16:7:0710a5a7-7d27-4653-8b24-ba32e856525b" call-id="25" rc-code="7" op-status="0" interval="0" last-run="1252936427" last-rc-change="1252936427" exec-time="60" queue-time="0" op-digest="27689e651ac1ebac5dc425f53d9195e6"/> + </lrm_resource> + <lrm_resource id="fs_float" type="Filesystem" class="ocf" provider="heartbeat"> + <lrm_rsc_op id="fs_float_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.1" transition-key="5:17:7:0710a5a7-7d27-4653-8b24-ba32e856525b" transition-magic="0:7;5:17:7:0710a5a7-7d27-4653-8b24-ba32e856525b" call-id="26" rc-code="7" op-status="0" interval="0" last-run="1252936428" last-rc-change="1252936428" exec-time="70" queue-time="0" op-digest="efe1e6bec63eb3b7c686f2fdb509e225"/> + </lrm_resource> + </lrm_resources> + </lrm> + <transient_attributes id="sambuca.linbit"> + <instance_attributes id="status-sambuca.linbit"> + <nvpair id="status-sambuca.linbit-probe_complete" name="probe_complete" value="true"/> + <nvpair name="last-failure-fs_float" id="status-sambuca.linbit-last-failure-fs_float" value="1252936481"/> + <nvpair id="status-sambuca.linbit-fail-count-fs_float" name="fail-count-fs_float" value="INFINITY"/> + <nvpair id="status-sambuca.linbit-promoted-drbd_float:0" name="master-drbd_float:0" value="50"/> + </instance_attributes> + </transient_attributes> + </node_state> + </status> +</cib> |