Last active
August 29, 2015 14:11
-
-
Save tommybobbins/fc9fd1ba5616dafc8321 to your computer and use it in GitHub Desktop.
cib.xml for two node cluster and floating IP /var/lib/heartbeat/crm/cib.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cib epoch="11" num_updates="0" admin_epoch="0" validate-with="pacemaker-1.2" cr | |
m_feature_set="3.0.6" update-origin="rpi2" update-client="cibadmin" cib-last-wri | |
tten="Sat Dec 20 22:38:13 2014" have-quorum="1" dc-uuid="edc8b9e8-c444-4533-befd | |
-47c5cf52754d"> | |
<configuration> | |
<crm_config> | |
<cluster_property_set id="cib-bootstrap-options"> | |
<nvpair id="cib-bootstrap-options-dc-version" name="dc-version" value="1 | |
.1.7-ee0730e13d124c3d58f00016c3376a1de5323cff"/> | |
<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-expected-quorum-votes" name="expected- | |
quorum-votes" value="2"/> | |
<nvpair id="cib-bootstrap-options-no-quorum-policy" name="no-quorum-poli | |
cy" value="ignore"/> | |
</cluster_property_set> | |
</crm_config> | |
<nodes> | |
<node id="4918a911-1cc9-4d0a-8f06-0041d109a11a" type="normal" uname="rpi1" | |
/> | |
<node id="edc8b9e8-c444-4533-befd-47c5cf52754d" type="normal" uname="rpi2" | |
/> | |
</nodes> | |
<resources> | |
<primitive class="ocf" id="clusterIP1" provider="heartbeat" type="IPaddr2" | |
> | |
<instance_attributes id="clusterIP1-instance_attributes"> | |
<nvpair id="clusterIP1-instance_attributes-ip" name="ip" value="10.0.0 | |
.113"/> | |
<nvpair id="clusterIP1-instance_attributes-cidr_netmask" name="cidr_ne | |
tmask" value="24"/> | |
<nvpair id="clusterIP1-instance_attributes-nic" name="nic" value="eth0 | |
"/> | |
</instance_attributes> | |
<operations> | |
<op id="clusterIP1-monitor-30s" interval="30s" name="monitor"/> | |
</operations> | |
</primitive> | |
</resources> | |
<constraints/> | |
<rsc_defaults> | |
<meta_attributes id="rsc-options"> | |
<nvpair id="rsc-options-resource-stickiness" name="resource-stickiness" | |
value="100"/> | |
</meta_attributes> | |
<meta_attributes id="rsc_defaults-options"> | |
<nvpair id="rsc_defaults-options-migration-threshold" name="migration-th | |
reshold" value="2"/> | |
<nvpair id="rsc_defaults-options-failure-timeout" name="failure-timeout" | |
value="30s"/> | |
</meta_attributes> | |
</rsc_defaults> | |
</configuration> | |
</cib> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment