blob: f86ef22a78c26bad96e0a92d12b524b077e03c74 (
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
|
# Copyright (C) 2009 Dejan Muhamedagic
# Copyright (C) 2015 Kristoffer Gronlund
#
# License: GNU General Public License (GPL)
version: 2.2
category: Stonith
shortdesc: "SBD, Shared storage based fencing"
longdesc: |
Create a SBD STONITH resource. SBD must be configured to use
a particular shared storage device using /etc/sysconfig/sbd.
This wizard can optionally create and configure a SBD device.
A shared device must be available and visible on all nodes.
For more information, see http://www.linux-ha.org/wiki/SBD_Fencing
or the sbd(8) manual page.
parameters:
- name: id
shortdesc: Resource ID (Name)
value: sbd-fencing
example: sbd-fencing
required: true
type: resource
include:
- script: sbd-device
required: false
actions:
- include: sbd-device
- cib: |
primitive {{id}} stonith:external/sbd
pcmk_delay_max=30s
property stonith-enabled=true
|