From: rohara@sourceware.org <rohara@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] Cluster Project branch, RHEL4, updated. gfs-kernel_2_6_9_76-26-g6626fda
Date: 4 Apr 2008 22:54:21 -0000 [thread overview]
Message-ID: <20080404225421.9945.qmail@sourceware.org> (raw)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Cluster Project".
http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=6626fda2200aa1abed902646371eee265be7fc04
The branch, RHEL4 has been updated
via 6626fda2200aa1abed902646371eee265be7fc04 (commit)
from c128baa7cc5397f1fcfc72d35cdb39c089c56043 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 6626fda2200aa1abed902646371eee265be7fc04
Author: Ryan O'Hara <rohara@redhat.com>
Date: Fri Apr 4 17:52:41 2008 -0500
BZ 409391 : fence_scsi and scsi_reserve script no longer use state file for
tracking registered devices (/var/run/scsi_reserve).
-----------------------------------------------------------------------
Summary of changes:
fence/agents/scsi/scsi_reserve.sysconfig | 4 ---
fence/agents/scsi/scsi_watchdog | 40 ------------------------------
fence/agents/scsi/scsi_watchdog.conf | 1 -
3 files changed, 0 insertions(+), 45 deletions(-)
delete mode 100644 fence/agents/scsi/scsi_reserve.sysconfig
delete mode 100755 fence/agents/scsi/scsi_watchdog
delete mode 100644 fence/agents/scsi/scsi_watchdog.conf
diff --git a/fence/agents/scsi/scsi_reserve.sysconfig b/fence/agents/scsi/scsi_reserve.sysconfig
deleted file mode 100644
index 06441f4..0000000
--- a/fence/agents/scsi/scsi_reserve.sysconfig
+++ /dev/null
@@ -1,4 +0,0 @@
-# Enable the watchdog daemon by setting WATCHDOG to "yes".
-# This will result in the machine being rebooted if/when it is
-# fenced from the cluster. Default is "no".
-WATCHDOG=no
diff --git a/fence/agents/scsi/scsi_watchdog b/fence/agents/scsi/scsi_watchdog
deleted file mode 100755
index 8e59de8..0000000
--- a/fence/agents/scsi/scsi_watchdog
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/bash
-
-if [ ! -f "/var/lock/subsys/scsi_reserve" ]; then
- logger -p user.warning -t scsi_reserve "file /var/lock/subsys/scsi_reserve does not exist"
- exit 0
-fi
-
-if [ ! -f "/var/run/scsi_reserve" ]; then
- logger -p user.warning -t scsi_reserve "file /var/run scsi_reserve does not exist"
- exit 0
-fi
-
-key=$( cat /var/lock/subsys/scsi_reserve )
-
-if [ -z "$key" ]; then
- logger -p user.warning -t scsi_reserve "unable to determine reservation key"
- exit 0
-fi
-
-scsi_devices=$( cat /var/run/scsi_reserve )
-
-if [ -z "$scsi_devices" ]; then
- logger -p user.warning -t scsi_reserve "no devices found"
- exit 0
-fi
-
-for dev in $scsi_devices
-do
- if sg_persist -d $dev -i -k 2>/dev/null | grep -qiE "${key#0}" ; then
- devices[${#devices[@]}]=$dev
- fi
-done
-
-if [ -z "$devices" ]; then
- logger -p user.warning -t scsi_reserve "no registered devices found"
- exit -1
-fi
-
-exit 0
-
diff --git a/fence/agents/scsi/scsi_watchdog.conf b/fence/agents/scsi/scsi_watchdog.conf
deleted file mode 100644
index 34ecd47..0000000
--- a/fence/agents/scsi/scsi_watchdog.conf
+++ /dev/null
@@ -1 +0,0 @@
-test-binary = /sbin/scsi_watchdog
hooks/post-receive
--
Cluster Project
reply other threads:[~2008-04-04 22:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080404225421.9945.qmail@sourceware.org \
--to=rohara@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.