OSDN Git Service

Ticket#427関連として、パラメータ関連の修正を実施
[ultramonkey-l7/ultramonkey-l7-v3.git] / doc / heartbeat-ra / cib.xml-sample.sslproxy
1  <cib admin_epoch="0" epoch="0" num_updates="0">
2    <configuration>
3      <crm_config>
4        <cluster_property_set id="cib-bootstrap-options">
5          <attributes>
6            <nvpair id="cib-bootstrap-options-no-quorum-policy" name="no-quorum-policy" value="ignore"/>
7            <nvpair id="cib-bootstrap-options-stonith-enabled" name="stonith-enabled" value="false"/>
8            <nvpair id="cib-bootstrap-options-default-resource-stickiness" name="default-resource-stickiness" value="INFINITY"/>
9            <nvpair id="cib-bootstrap-options-default-resource-failure-stickiness" name="default-resource-failure-stickiness" value="-INFINITY"/>
10            <nvpair id="cib-bootstrap-options-default-action-timeout" name="default-action-timeout" value="120s"/>
11          </attributes>
12        </cluster_property_set>
13      </crm_config>
14      <nodes/>
15      <resources>
16        <group id="grpUltraMonkey1">
17          <primitive id="prmVIPcheck" class="ocf" type="VIPcheck" provider="heartbeat">
18            <instance_attributes id="prmVIPcheck_instance_attrs">
19              <attributes>
20                <nvpair id="atr:VIPcheck:ex:VIPcheck:target_ip" name="target_ip" value="192.168.1.200"/>
21                <nvpair id="atr:VIPcheck:ex:VIPcheck:count" name="count" value="1"/>
22                <nvpair id="atr:VIPcheck:ex:VIPcheck:wait" name="wait" value="10"/>
23              </attributes>
24            </instance_attributes>
25            <operations>
26              <op id="op:VIPcheck:ex:VIPcheck:start" name="start" timeout="90s" on_fail="block" start_delay="2s"/>
27            </operations>
28          </primitive>
29          <primitive id="prmVIP" class="ocf" type="IPaddr2" provider="heartbeat">
30            <instance_attributes id="prmVIP_instance_attrs">
31              <attributes>
32                <nvpair id="atr:VIP:ex:IPadder2:ip" name="ip" value="192.168.1.200"/>
33                <nvpair id="atr:VIP:ex:IPadder2:nic" name="nic" value="eth1"/>
34                <nvpair id="atr:VIP:ex:IPadder2:cidr_netmask" name="cidr_netmask" value="24"/>
35              </attributes>
36            </instance_attributes>
37            <operations>
38              <op id="op:VIP:ex:IPadder2:start" name="start" timeout="60s" on_fail="restart"/>
39              <op id="op:VIP:ex:IPadder2:monitor" name="monitor" interval="10s" timeout="60s" on_fail="restart"/>
40              <op id="op:VIP:ex:IPadder2:stop" name="stop" timeout="60s" on_fail="block"/>
41            </operations>
42          </primitive>
43          <primitive id="prmL7directord" class="ocf" type="L7directord" provider="heartbeat">
44            <operations>
45              <op id="op:L7directord:ex:L7directord:start" name="start" timeout="60s" on_fail="restart"/>
46              <op id="op:L7directord:ex:L7directord:monitor" name="monitor" interval="10s" timeout="60s" on_fail="restart"/>
47              <op id="op:L7directord:ex:L7directord:stop" name="stop" timeout="60s" on_fail="block"/>
48            </operations>
49          </primitive>
50          <primitive id="prmSSLProxy" class="ocf" type="SSLProxy" provider="heartbeat">
51            <operations>
52              <op id="op:SSLProxy:ex:SSLProxy:start" name="start" timeout="60s" on_fail="restart"/>
53              <op id="op:SSLProxy:ex:SSLProxy:monitor" name="monitor" interval="10s" timeout="60s" on_fail="restart"/>
54              <op id="op:SSLProxy:ex:SSLProxy:stop" name="stop" timeout="60s" on_fail="block"/>
55            </operations>
56          </primitive>
57          <primitive id="prmBackVIP" class="ocf" type="IPaddr2" provider="heartbeat">
58            <instance_attributes id="prmBackVIP_instance_attrs">
59              <attributes>
60                <nvpair id="atr:BackVIP:ex:IPadder2:ip" name="ip" value="192.168.46.10"/>
61                <nvpair id="atr:BackVIP:ex:IPadder2:nic" name="nic" value="bond0"/>
62                <nvpair id="atr:BackVIP:ex:IPadder2:cidr_netmask" name="cidr_netmask" value="28"/>
63              </attributes>
64            </instance_attributes>
65            <operations>
66              <op id="op:BackVIP:ex:IPadder2:start" name="start" timeout="60s" on_fail="restart"/>
67              <op id="op:BackVIP:ex:IPadder2:monitor" name="monitor" interval="10s" timeout="60s" on_fail="restart"/>
68              <op id="op:BackVIP:ex:IPadder2:stop" name="stop" timeout="60s" on_fail="block"/>
69            </operations>
70          </primitive>
71        </group>
72        <clone id="grpClone1" ordered="false" interleave="false" notify="false" globally_unique="false">
73          <instance_attributes id="grpClone1_attrs">
74            <attributes>
75             <nvpair id="atr:Clone1:ex:clone:clone_max" name="clone_max" value="2"/>
76             <nvpair id="atr:Clone1:ex:clone:clone_node_max" name="clone_node_max" value="1"/>
77            </attributes>
78          </instance_attributes>
79          <primitive id="prmL7vsd" class="ocf" type="L7vsd" provider="heartbeat">
80            <operations>
81              <op id="op:L7vsd:ex:L7vsd:start" name="start" timeout="60s" on_fail="restart"/>
82              <op id="op:L7vsd:ex:L7vsd:monitor" name="monitor" interval="10s" timeout="60s" on_fail="restart"/>
83              <op id="op:L7vsd:ex:L7vsd:stop" name="stop" timeout="60s" on_fail="block"/>
84            </operations>
85          </primitive>
86        </clone>
87      </resources>
88      <constraints>
89        <rsc_colocation id="colocation_UltraMonkey1_and_Clone1" from="grpUltraMonkey1" to="grpClone1" score="INFINITY"/>
90        <rsc_location id="location_node01_200" rsc="grpUltraMonkey1">
91          <rule id="prefered_location_node01_200" score="200">
92            <expression attribute="#uname" id="location:grpUltraMonkey:node01" operation="eq" value="LB01"/>
93          </rule>
94        </rsc_location>
95        <rsc_location id="location_node02_100" rsc="grpUltraMonkey1">
96          <rule id="prefered_location_node02_100" score="100">
97            <expression attribute="#uname" id="location:grpUltraMonkey:node02" operation="eq" value="LB02"/>
98          </rule>
99        </rsc_location>
100        <rsc_location id="rul_PN1_dsc" rsc="grpUltraMonkey1">
101          <rule id="prefered_rul_PN1_dsc" score="-INFINITY" boolean_op="and">
102            <expression attribute="default_ping_set" id="PN1_dsc:expr:defined" operation="defined"/>
103            <expression attribute="default_ping_set" id="PN1_dsc:expr:lt" operation="lt" value="100"/>
104          </rule>
105        </rsc_location>
106        <rsc_location id="rul_diskcheck_status_internal" rsc="grpUltraMonkey1">
107          <rule id="preferd_diskcheck_status_internal" score="-INFINITY" boolean_op="and">
108            <expression attribute="diskcheck_status_internal" id="diskcheck_status_internal:defined" operation="defined"/>
109            <expression attribute="diskcheck_status_internal" id="diskcheck_status_internal:eq" operation="eq" value="ERROR"/>
110          </rule>
111        </rsc_location>
112        <rsc_order id="order_UltraMonkey1_and_Clone1" from="grpClone1" action="start" type="before" to="grpUltraMonkey1" score="0"/>
113      </constraints>
114    </configuration>
115  </cib>