From d835b2cae8abc71958b69362162e6a70c3d7ef63 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 08:48:59 +0200 Subject: Adding upstream version 4.6.0. Signed-off-by: Daniel Baumann --- templates/sbd | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 templates/sbd (limited to 'templates/sbd') diff --git a/templates/sbd b/templates/sbd new file mode 100644 index 0000000..9ab201a --- /dev/null +++ b/templates/sbd @@ -0,0 +1,34 @@ +%name sbd + +# Copyright (C) 2009 Dejan Muhamedagic +# +# License: GNU General Public License (GPL) + +# Shared storage based fencing. +# +# This template generates a single instance of external/sbd. +# +# There is quite a bit more to do to make this stonith operational. +# See http://www.linux-ha.org/wiki/SBD_Fencing for information. +# + +%required + +# The resource id (name). +# Example: +# %% id stonith-sbd +%% id + +# Name of the device (shared disk). +# NB: Make sure that the device remains the same on reboots. It's +# preferable to use udev generated names rather than the usual +# /dev/sd? +# %% sbd_device /dev/sda +%% sbd_device + +%generate + +primitive %_:id stonith:external/sbd + params sbd_device="%_:sbd_device" + op monitor interval=15s timeout=60s + op start timeout=60s -- cgit v1.2.3