cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
* [Cluster-devel] SCSI-PR watchdog script
@ 2011-03-01 16:22 Ryan O'Hara
  0 siblings, 0 replies; only message in thread
From: Ryan O'Hara @ 2011-03-01 16:22 UTC (permalink / raw)
  To: cluster-devel.redhat.com


Attached is a new watchdog script to be used in conjunction with the
fence_scsi agent. Note that this script requires the previous two
patches I posted for fence_scsi. Specifically, this script depends on
the existence of the fence_scsi.key and fence_scsi.dev files located
in /var/run/cluster directory.

This script gets the local node's key from the fence_scsi.key file and
a list of devices from the fence_scsi.dev file. Each of these files is
created when unfencing occurs. The watchdog script then periodically
checks that the key is registered with at least one of the
devices. Note that the script will only trigger reboot via watchdog
(exit 2) if the key is not registered with any of the devices.

Ryan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_scsi.pl
Type: application/x-perl
Size: 2850 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/cluster-devel/attachments/20110301/e1b4c1dc/attachment.pl>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-03-01 16:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-01 16:22 [Cluster-devel] SCSI-PR watchdog script Ryan O'Hara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).