blob: 096c61c2a677c64bca52c9a578481af050196181 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
|
<?xml-stylesheet href="../assets/upgrade-2.10-htmldiff.xsl" type="text/xsl"?>
<cib validate-with="pacemaker-2.0" admin_epoch="0" epoch="0" num_updates="0">
<configuration>
<crm_config/>
<nodes>
<node id="virt-063" uname="virt-063"/>
<node id="virt-064" uname="virt-064"/>
<node id="virt-069" uname="virt-069"/>
</nodes>
<resources>
<!-- potential clash between pre-existing
meta_attributes/nvpair[@name = 'requires'] vs.
op[@name = 'start'
or
@name = 'promote']/@requires
and/or
op[@name = 'start'
or
@name = 'promote']/meta_attributes/nvpair[@name = 'requires'] -->
<primitive id="myAddr1" class="ocf" provider="heartbeat" type="IPaddr2">
<operations>
<op id="myAddr1-monitor" name="monitor" interval="30s"/>
<op id="myAddr1-start" name="start" interval="0" timeout="40s"
requires="nothing">
<meta_attributes id="myAddr1-start-meta">
<nvpair id="myAddr1-start-requires" name="requires" value="stonith"/>
</meta_attributes>
</op>
</operations>
<instance_attributes id="myAddr1-params">
<nvpair id="myAddr1-ip" name="ip" value="192.0.2.10"/>
</instance_attributes>
<meta_attributes id="myAddr1-meta">
<nvpair id="myAddr1-requires" name="requires" value="quorum"/>
</meta_attributes>
</primitive>
<!-- potential clash between op[@name = 'start'
or
@name = 'promote']/@requires
and op[@name = 'start'
or
@name = 'promote']/meta_attributes/nvpair[@name = 'requires']
(would-eliminate-override-meta-attribute is missing,
allowing for direct clash in the propagation logic) -->
<primitive id="myAddr2" class="ocf" provider="heartbeat" type="IPaddr2">
<operations>
<op id="myAddr2-monitor" name="monitor" interval="30s"/>
<op id="myAddr2-start" name="start" interval="0" timeout="40s"
requires="nothing">
<meta_attributes id="myAddr2-start-meta">
<nvpair id="myAddr2-start-requires" name="requires" value="stonith"/>
</meta_attributes>
</op>
</operations>
<instance_attributes id="myAddr2-params">
<nvpair id="myAddr2-ip" name="ip" value="192.0.2.10"/>
</instance_attributes>
</primitive>
<!-- potential clash between multiple op[@name = 'start'
or
@name = 'promote']/@requires
(would-eliminate-override-meta-attribute is missing,
allowing for direct clash in the propagation logic) -->
<clone id="master1">
<meta_attributes id="master1-meta">
<nvpair id="master1-promotable" name="promotable" value="true"/>
<nvpair id="master1-promoted-node-max" name="promoted-node-max" value="1"/>
<nvpair id="master1-clone-max" name="clone-max" value="3"/>
<nvpair id="master1-promoted-max" name="promoted-max" value="1"/>
<nvpair id="master1-clone-node-max" name="clone-node-max" value="1"/>
</meta_attributes>
<primitive id="stateful1" class="ocf" type="Stateful" provider="pacemaker">
<operations>
<op id="stateful1-monitor-15s" interval="15s" name="monitor" timeout="60s"/>
<op id="stateful1-monitor-16s" interval="16s" name="monitor" timeout="60s" role="Master"/>
<op id="stateful1-promote" interval="0" name="promote" timeout="40s"
requires="quorum"/>
<op id="stateful1-start" interval="0" name="start" timeout="40s"
requires="fencing"/>
<!-- demote != promote -->
<op id="stateful1-demote" interval="0" name="demote" timeout="40s">
<meta_attributes id="stateful1-demote-meta">
<nvpair id="stateful1-demote-requires" name="requires" value="nothing"/>
</meta_attributes>
</op>
</operations>
</primitive>
</clone>
<!-- potential clash between multiple
op[@name = 'start'
or
@name = 'promote']/meta_attributes/nvpair[@name = 'requires']
(would-eliminate-override-meta-attribute is missing,
allowing for direct clash in the propagation logic) -->
<clone id="master2">
<meta_attributes id="master2-meta">
<nvpair id="master2-promotable" name="promotable" value="true"/>
<nvpair id="master2-promoted-node-max" name="promoted-node-max" value="1"/>
<nvpair id="master2-clone-max" name="clone-max" value="3"/>
<nvpair id="master2-promoted-max" name="promoted-max" value="1"/>
<nvpair id="master2-clone-node-max" name="clone-node-max" value="1"/>
</meta_attributes>
<primitive id="stateful2" class="ocf" type="Stateful" provider="pacemaker">
<operations>
<op id="stateful2-monitor-15s" interval="15s" name="monitor" timeout="60s"/>
<op id="stateful2-monitor-16s" interval="16s" name="monitor" timeout="60s" role="Master"/>
<op id="stateful2-promote" interval="0" name="promote" timeout="40s">
<meta_attributes id="stateful2-promote-meta1">
<nvpair id="stateful2-promote-requires1-1" name="requires" value="quorum"/>
<nvpair id="stateful2-promote-requires1-2" name="requires" value="nothing"/>
</meta_attributes>
<meta_attributes id="stateful2-promote-meta2">
<nvpair id="stateful2-promote-requires2-1" name="requires" value="unfencing"/>
</meta_attributes>
</op>
<op id="stateful2-start" interval="0" name="start" timeout="40s">
<meta_attributes id="stateful2-promote-meta3">
<nvpair id="stateful2-promote-requires3-1" name="requires" value="fencing"/>
</meta_attributes>
</op>
<!-- demote != promote -->
<op id="stateful2-demote" interval="0" name="demote" timeout="40s">
<meta_attributes id="stateful2-promote-meta">
<nvpair id="stateful2-promote-requires" name="requires" value="nothing"/>
</meta_attributes>
</op>
</operations>
</primitive>
</clone>
</resources>
<constraints/>
</configuration>
<status/>
</cib>
|