-
Notifications
You must be signed in to change notification settings - Fork 14
/
form.yml
421 lines (402 loc) · 10.9 KB
/
form.yml
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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
cluster:
$name: HA Cluster
$type: namespace
install_packages:
$name: Install required packages
$type: boolean
$default: true
$help: Install all required packages from currently existing repositories
name:
$name: Cluster name
$default: hacluster
$optional: false
init:
$name: First node
$optional: false
$help: Node which creates the cluster
unicast:
$type: boolean
$default: false
$help: Use UDP instead of multicast
interface:
$type: text
$default: eth0
$optional: true
$help: Network interface to use for cluster communication
wait_for_initialization:
$type: number
$default: 20
$optional: true
$help: Time in seconds between hawk service is available in the first node and join command is executed
join_timeout:
$type: number
$default: 60
$optional: true
$help: Timeout in seconds to join to the cluster
admin_ip:
$type: text
$optional: true
$help: Configure a virtual IP resource in cluster
ntp:
$type: text
$placeholder: pool.ntp.org
$optional: true
$help: ntp server address
watchdog_checkbox:
$name: Configure watchdog
$type: boolean
$default: false
watchdog:
$name: Watchdog configuration
$visibleIf: .watchdog_checkbox == true
$optional: true
$type: group
module:
$name: Watchdog module to load
$type: text
$placeholder: softdog
$optional: true
device:
$name: Watchdog device
$type: text
$placeholder: /dev/watchdog
$optional: true
sbd_checkbox:
$name: Configure SBD device and SBD cluster resource
$type: boolean
$default: false
sbd:
$name: SBD configuration
$visibleIf: .sbd_checkbox == true
$optional: true
$type: group
diskless_checkbox:
$name: Diskless SBD (If device is set this option is skipped)
$type: boolean
$default: false
device:
$visibleIf: .diskless_checkbox == false
$name: SBD Device(s)
$optional: true
$type: edit-group
$itemName: ""
$minItems: 0
$prototype:
$name: SBD device path
$optional: true
$type: text
configure_sbd_checkbox:
$name: Configure sbd cluster resource
$type: boolean
$default: false
$help: This updates the resource stonith-sbd created if SBD is enabled. SBD configuration will be overwritten if the resource is defined in the configure template
configure_resource:
$name: Configure SBD resource
$visibleIf: .configure_sbd_checkbox == true
$optional: true
$type: group
force:
$name: Force commit
$type: boolean
$default: false
$help: Force commit. Use with caution, this can allow invalid parameters in the configuration
configure_resource_params:
$name: Configure SBD resource parameters
$type: boolean
$default: false
$help: Mark this option to configure SBD resource parameters
params:
$name: parameters
$visibleIf: .configure_resource_params == true
$type: edit-group
$optional: true
$prototype:
$name: New parameter
$key:
$name: Parameter name
$optional: true
value:
$name: Parameter value
$optional: true
configure_resource_operations:
$name: Configure SBD resource operations
$type: boolean
$default: false
$help: Mark this option to configure SBD resource operations like monitor
op:
$name: operation
$visibleIf: .configure_resource_operations == true
$type: group
$optional: true
resource_op_options:
$name: Select operation
$type: select
$values: [monitor, start, stop]
monitor:
$visibleIf: .resource_op_options == monitor
$optional: true
$type: edit-group
$prototype:
$name: Monitor op parameter
$key:
$name: Parameter
value:
$name: New value
start:
$visibleIf: .resource_op_options == start
$optional: true
$type: edit-group
$prototype:
$name: start op parameter
$key:
$name: Parameter
value:
$name: New value
stop:
$visibleIf: .resource_op_options == stop
$optional: true
$type: edit-group
$optional: true
$prototype:
$name: stop op parameter
$key:
$name: Parameter
value:
$name: New value
configure_resource_meta:
$name: Configure SBD meta attributes
$type: boolean
$default: false
$help: Mark this option to configure meta attributes
meta:
$name: meta
$visibleIf: .configure_resource_meta == true
$type: edit-group
$optional: true
$prototype:
$name: meta attribute
$key:
$name: attribute name
$optional: true
value:
$name: attribute value
$optional: true
ocfs2_checkbox:
$name: Configure OCFS2 device
$type: boolean
$default: false
ocfs2:
$name: OCFS2 configuration
$visibleIf: .ocfs2_checkbox == true
$optional: true
$type: group
device:
$name: OCFS2 Device(s)
$help: selecting multiple devices will automatically enable OCFS2 LVM
$type: edit-group
$itemName: ""
$optional: true
$prototype:
$name: OCFS2 device path
$optional: true
$type: text
mount:
$name: Mount path
$help: Path where the OCFS2 file system will be mounted. Defaults to /srv/clusterfs.
$type: text
$optional: true
sshkeys_checkbox:
$name: Manage ssh key usage
$type: boolean
$default: false
sshkeys:
$name: SSH keys configuration
$visibleIf: .sshkeys_checkbox == true
$optional: true
$type: group
authorize_keys:
$name: Share SSH keys information
$type: boolean
$default: false
password:
$visibleIf: .authorize_keys == true
$name: First node root password
$type: password
$optional: false
resource_agents_checkbox:
$name: Install new resource agents
$type: boolean
$default: false
resource_agents:
$name: Resource agents to install
$visibleIf: .resource_agents_checkbox == true
$optional: true
$type: edit-group
$itemName: ""
$minItems: 0
$prototype:
$name: New resource agent
$optional: true
$type: text
corosync_checkbox:
$name: Configure corosync
$type: boolean
$default: false
corosync:
$name: Corosync configuration
$visibleIf: .corosync_checkbox == true
$type: edit-group
$minItems: 0
$prototype:
$name: Corosync parameter
$optional: true
$key:
$name: Parameter name
$optional: true
value:
$name: Parameter options
$type: edit-group
$minItems: 0
$prototype:
$key:
$name: Option name
$optional: true
value:
$name: Option value
$optional: true
configure_checkbox:
$name: Configure resource agents with configuration file
$type: boolean
$default: false
configure:
$visibleIf: .configure_checkbox == true
$name: Resource agents and constraints configuration
$optional: true
$type: group
properties_checkbox:
$name: Configure cluster properties
$type: boolean
$default: false
properties:
$name: Cluster properties
$visibleIf: .properties_checkbox == true
$optional: true
$type: edit-group
$prototype:
$name: configure properties
$key:
$name: Property name
$optional: true
value:
$name: Property value
$optional: true
rsc_defaults_checkbox:
$name: Configure resource defaults
$type: boolean
$default: false
rsc_defaults:
$name: Resource defaults
$visibleIf: .rsc_defaults_checkbox == true
$type: edit-group
$prototype:
$name: Resource defaults
$key:
$name: name
$optional: true
value:
$name: value
$optional: true
op_defaults_checkbox:
$name: Configure operations defaults
$type: boolean
$default: false
op_defaults:
$name: Operation defaults
$visibleIf: .op_defaults_checkbox == true
$type: edit-group
$prototype:
$name: Operation defaults
$key:
$name: name
$optional: true
value:
$name: value
$optional: true
method:
$name: Method
$type: select
$values: [replace, update, push]
$default: update
$optional: true
force:
$name: Force commit
$type: boolean
$default: false
$help: Force commit. Use with caution, this can allow invalid parameters in the configuration
is_xml:
$name: Configuration file is xml format
$type: boolean
$default: false
configure_url_checkbox:
$name: Use configuration file (template otherwise)
$type: boolean
$default: true
url:
$visibleIf: .configure_url_checkbox == true
$name: Configuration file url (if used template data is skipped)
$optional: true
template:
$visibleIf: .configure_url_checkbox == false
$name: Jinja configuration template
$optional: true
$type: group
source:
$name: Template file path
$optional: true
$type: text
destination:
$name: New configuration file destination path
$optional: true
$type: text
parameters:
$name: Template parameters
$optional: true
$type: edit-group
$itemName: ""
$prototype:
$name: New parameter
$key:
$name: Parameter name
$optional: true
value:
$name: Parameter value
$optional: true
remove_checkbox:
$name: Remove cluster node(s)
$type: boolean
$default: false
remove:
$name: Remove node(s) from cluster
$visibleIf: .remove_checkbox == true
$optional: true
$type: edit-group
$itemName: ""
$minItems: 0
$prototype:
$name: Cluster node to be removed
$optional: true
$type: text
monitoring_enabled:
$name: Enable monitoring via ha_cluster_exporter
$type: boolean
$default: false
$help: Mark if you want to enable monitoring and have the exporter installed in all the nodes
change_hacluster_password:
$name: Update the cluster password
$type: boolean
$default: false
hacluster_password:
$visibleIf: .change_hacluster_password == true
$name: New HA cluster password
$type: password
$optional: true