diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 06:48:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 06:48:59 +0000 |
commit | d835b2cae8abc71958b69362162e6a70c3d7ef63 (patch) | |
tree | 81052e3d2ce3e1bcda085f73d925e9d6257dec15 /scripts/sbd | |
parent | Initial commit. (diff) | |
download | crmsh-d835b2cae8abc71958b69362162e6a70c3d7ef63.tar.xz crmsh-d835b2cae8abc71958b69362162e6a70c3d7ef63.zip |
Adding upstream version 4.6.0.upstream/4.6.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'scripts/sbd')
-rw-r--r-- | scripts/sbd/main.yml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/scripts/sbd/main.yml b/scripts/sbd/main.yml new file mode 100644 index 0000000..f86ef22 --- /dev/null +++ b/scripts/sbd/main.yml @@ -0,0 +1,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 |